From 516035449e0dfc4b7aaa668f824da2f35fb06d20 Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Sun, 24 Jul 2005 19:09:28 +0000 Subject: * cx88-dvb.c: - Added DVB card setup for DViCO FusionHDTV5 Gold using TUA6034 pll. This code is currently #if 0. It will be enabled when lgdt3303 (or lgdt330x) is ready. Signed-off-by: Michael Krufky --- linux/drivers/media/video/cx88/cx88-dvb.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'linux/drivers') diff --git a/linux/drivers/media/video/cx88/cx88-dvb.c b/linux/drivers/media/video/cx88/cx88-dvb.c index b4839b865..9b79371c2 100644 --- a/linux/drivers/media/video/cx88/cx88-dvb.c +++ b/linux/drivers/media/video/cx88/cx88-dvb.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-dvb.c,v 1.50 2005/07/23 10:08:00 mkrufky Exp $ + * $Id: cx88-dvb.c,v 1.51 2005/07/24 19:09:28 mkrufky Exp $ * * device driver for Conexant 2388x based TV cards * MPEG Transport Stream (DVB) routines @@ -341,6 +341,25 @@ static int dvb_register(struct cx8802_dev *dev) &dev->core->i2c_adap); } break; +#if 0 + /* The following code will be enabled once lgdt3303 is ready */ + case CX88_BOARD_DVICO_FUSIONHDTV_5_GOLD: + dev->ts_gen_cntrl = 0x08; + { + /* Do a hardware reset of chip before using it. */ + struct cx88_core *core = dev->core; + + cx_clear(MO_GP0_IO, 1); + mdelay(100); + cx_set(MO_GP0_IO, 9); + mdelay(200); + dev->core->pll_addr = 0x61; + dev->core->pll_desc = &dvb_pll_tua6034; + dev->dvb.frontend = lgdt3302_attach(&fusionhdtv_3_gold, + &dev->core->i2c_adap); + } + break; +#endif #endif default: printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n", -- cgit v1.2.3