aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2006-06-12 12:41:47 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 01:05:08 -0400
commit66dd0fccbdbb77db897dd5870a67cb8022899adc (patch)
tree29db27b66ffadc1a9c18c84d657e5a8113816cf8 /drivers/media/video
parentfd174c67253505d6af4a32c6e3d7ec8cbaed320d (diff)
V4L/DVB (4097): Cx88: add support for DViCO FusionHDTV DVB-T Dual PCI based on zl10353
This patch adds support for a newer version of this device using the zl10353 frontend instead of the mt352 frontend. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/cx88/cx88-dvb.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c
index a3a628739a9c..7db9d4052625 100644
--- a/drivers/media/video/cx88/cx88-dvb.c
+++ b/drivers/media/video/cx88/cx88-dvb.c
@@ -593,17 +593,29 @@ static int dvb_register(struct cx8802_dev *dev)
593 printk("%s: built without vp3054 support\n", dev->core->name); 593 printk("%s: built without vp3054 support\n", dev->core->name);
594#endif 594#endif
595 break; 595 break;
596#endif
597#if defined(HAVE_MT352) || defined(HAVE_ZL10353)
596 case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL: 598 case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL:
599#ifdef HAVE_MT352
597 /* The tin box says DEE1601, but it seems to be DTT7579 600 /* The tin box says DEE1601, but it seems to be DTT7579
598 * compatible, with a slightly different MT352 AGC gain. */ 601 * compatible, with a slightly different MT352 AGC gain. */
599 dev->dvb.frontend = mt352_attach(&dvico_fusionhdtv_dual, 602 dev->dvb.frontend = mt352_attach(&dvico_fusionhdtv_dual,
600 &dev->core->i2c_adap); 603 &dev->core->i2c_adap);
601 if (dev->dvb.frontend != NULL) { 604 if (dev->dvb.frontend != NULL) {
602 dvb_pll_attach(dev->dvb.frontend, 0x61, &dev->core->i2c_adap, &dvb_pll_thomson_dtt7579); 605 dvb_pll_attach(dev->dvb.frontend, 0x61, &dev->core->i2c_adap, &dvb_pll_thomson_dtt7579);
606 break;
603 } 607 }
604 break;
605#endif 608#endif
606#ifdef HAVE_ZL10353 609#ifdef HAVE_ZL10353
610 /* ZL10353 replaces MT352 on later cards */
611 dev->dvb.frontend = zl10353_attach(&dvico_fusionhdtv_plus_v1_1, &dev->core->i2c_adap);
612 if (dev->dvb.frontend != NULL) {
613 dvb_pll_attach(dev->dvb.frontend, 0x61, &dev->core->i2c_adap, &dvb_pll_thomson_dtt7579);
614 }
615#endif
616 break;
617#endif /* HAVE_MT352 || HAVE_ZL10353 */
618#ifdef HAVE_ZL10353
607 case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_HYBRID: 619 case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_HYBRID:
608 dev->core->pll_addr = 0x61; 620 dev->core->pll_addr = 0x61;
609 dev->core->pll_desc = &dvb_pll_thomson_fe6600; 621 dev->core->pll_desc = &dvb_pll_thomson_fe6600;