aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-dvb.c
diff options
context:
space:
mode:
authorRusty Scott <rustys@ieee.org>2006-04-07 01:21:31 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 00:57:48 -0400
commitda215d22d82d547c5312f61ac9881ad571e67eea (patch)
treebb5f951cd219acb8fe4f97e5608ad4ddb078e0c7 /drivers/media/video/cx88/cx88-dvb.c
parent62838084b4c4c83cd511893132e2d8da84f48813 (diff)
V4L/DVB (3735): Add support for pcHDTV HD5500 ATSC/QAM
Added card definitions for the pcHDTV HD5500 ATSC/QAM card Signed-off-by: Rusty Scott <rustys@ieee.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> 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.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c
index 3619a449aefd..5c05e09e73fa 100644
--- a/drivers/media/video/cx88/cx88-dvb.c
+++ b/drivers/media/video/cx88/cx88-dvb.c
@@ -455,6 +455,14 @@ static struct lgdt330x_config fusionhdtv_5_gold = {
455 .pll_set = lgdt330x_pll_set, 455 .pll_set = lgdt330x_pll_set,
456 .set_ts_params = lgdt330x_set_ts_param, 456 .set_ts_params = lgdt330x_set_ts_param,
457}; 457};
458
459static struct lgdt330x_config pchdtv_hd5500 = {
460 .demod_address = 0x59,
461 .demod_chip = LGDT3303,
462 .serial_mpeg = 0x40, /* TPSERIAL for 3303 in TOP_CONTROL */
463 .pll_set = lgdt330x_pll_set,
464 .set_ts_params = lgdt330x_set_ts_param,
465};
458#endif 466#endif
459 467
460#ifdef HAVE_NXT200X 468#ifdef HAVE_NXT200X
@@ -661,6 +669,22 @@ static int dvb_register(struct cx8802_dev *dev)
661 &dev->core->i2c_adap); 669 &dev->core->i2c_adap);
662 } 670 }
663 break; 671 break;
672 case CX88_BOARD_PCHDTV_HD5500:
673 dev->ts_gen_cntrl = 0x08;
674 {
675 /* Do a hardware reset of chip before using it. */
676 struct cx88_core *core = dev->core;
677
678 cx_clear(MO_GP0_IO, 1);
679 mdelay(100);
680 cx_set(MO_GP0_IO, 1);
681 mdelay(200);
682 dev->core->pll_addr = 0x61;
683 dev->core->pll_desc = &dvb_pll_tdvs_tua6034;
684 dev->dvb.frontend = lgdt330x_attach(&pchdtv_hd5500,
685 &dev->core->i2c_adap);
686 }
687 break;
664#endif 688#endif
665#ifdef HAVE_NXT200X 689#ifdef HAVE_NXT200X
666 case CX88_BOARD_ATI_HDTVWONDER: 690 case CX88_BOARD_ATI_HDTVWONDER: