diff options
author | Chris Pascoe <c.pascoe@itee.uq.edu.au> | 2008-04-22 13:45:15 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:45 -0400 |
commit | b3fb91d20ca111316854a166ff88b0c8c0f2388b (patch) | |
tree | efdccc4715f7d0c37514bd6b43d4419b3fac9b76 /drivers/media/video/cx88/cx88-dvb.c | |
parent | 9507901ef329b2dd3417372c7c9b2abcfd5c1885 (diff) |
V4L/DVB (7258): Support DVB-T tuning on the DViCO FusionHDTV DVB-T Pro
Add support for tuning DVB-T channels on DViCO's FusionHDTV DVB-T Pro board.
The IR remote and analog tuner are not supported at this time.
Some changes made by Mauro Chehab to allow merging it with some other xc3028
patches.
Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88-dvb.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-dvb.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c index c786d951a04b..591037d8d14f 100644 --- a/drivers/media/video/cx88/cx88-dvb.c +++ b/drivers/media/video/cx88/cx88-dvb.c | |||
@@ -237,6 +237,19 @@ static struct zl10353_config dvico_fusionhdtv_hybrid = { | |||
237 | .no_tuner = 1, | 237 | .no_tuner = 1, |
238 | }; | 238 | }; |
239 | 239 | ||
240 | static struct zl10353_config dvico_fusionhdtv_xc3028 = { | ||
241 | .demod_address = 0x0f, | ||
242 | .if2 = 45600, | ||
243 | .no_tuner = 1, | ||
244 | }; | ||
245 | |||
246 | static struct mt352_config dvico_fusionhdtv_mt352_xc3028 = { | ||
247 | .demod_address = 0x0f, | ||
248 | .if2 = 4560, | ||
249 | .no_tuner = 1, | ||
250 | .demod_init = dvico_fusionhdtv_demod_init, | ||
251 | }; | ||
252 | |||
240 | static struct zl10353_config dvico_fusionhdtv_plus_v1_1 = { | 253 | static struct zl10353_config dvico_fusionhdtv_plus_v1_1 = { |
241 | .demod_address = 0x0f, | 254 | .demod_address = 0x0f, |
242 | }; | 255 | }; |
@@ -567,6 +580,16 @@ static int dvb_register(struct cx8802_dev *dev) | |||
567 | DVB_PLL_THOMSON_FE6600); | 580 | DVB_PLL_THOMSON_FE6600); |
568 | } | 581 | } |
569 | break; | 582 | break; |
583 | case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_PRO: | ||
584 | dev->dvb.frontend = dvb_attach(zl10353_attach, | ||
585 | &dvico_fusionhdtv_xc3028, | ||
586 | &dev->core->i2c_adap); | ||
587 | if (dev->dvb.frontend == NULL) | ||
588 | dev->dvb.frontend = dvb_attach(mt352_attach, | ||
589 | &dvico_fusionhdtv_mt352_xc3028, | ||
590 | &dev->core->i2c_adap); | ||
591 | attach_xc3028 = 1; | ||
592 | break; | ||
570 | case CX88_BOARD_PCHDTV_HD3000: | 593 | case CX88_BOARD_PCHDTV_HD3000: |
571 | dev->dvb.frontend = dvb_attach(or51132_attach, &pchdtv_hd3000, | 594 | dev->dvb.frontend = dvb_attach(or51132_attach, &pchdtv_hd3000, |
572 | &dev->core->i2c_adap); | 595 | &dev->core->i2c_adap); |