summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-dvb.c
diff options
context:
space:
mode:
authorMichael Krufky <devnull@localhost>2005-07-04 19:35:05 +0000
committerMichael Krufky <devnull@localhost>2005-07-04 19:35:05 +0000
commit829a5aa8d7d014704e5d02fb38af739f2e57f192 (patch)
treeaca301ce502c2509254a6450d0643cb539fd2dd7 /linux/drivers/media/video/cx88/cx88-dvb.c
parentcfbf086445b3ec8ce3c71ff4fd9ca26316e354cb (diff)
downloadmediapointer-dvb-s2-829a5aa8d7d014704e5d02fb38af739f2e57f192.tar.gz
mediapointer-dvb-s2-829a5aa8d7d014704e5d02fb38af739f2e57f192.tar.bz2
* cx88-cards.c, cx88-dvb.c, cx88-mpeg.c:
* dvb-pll.c, dvb-pll.h: - Add DVB support for DViCO FusionHDTV3 Gold-T. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-dvb.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-dvb.c23
1 files changed, 22 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-dvb.c b/linux/drivers/media/video/cx88/cx88-dvb.c
index 7c481f7d7..5544e1d6a 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.40 2005/07/04 01:15:08 mkrufky Exp $
+ * $Id: cx88-dvb.c,v 1.41 2005/07/04 19:35:05 mkrufky Exp $
*
* device driver for Conexant 2388x based TV cards
* MPEG Transport Stream (DVB) routines
@@ -220,6 +220,13 @@ static struct lgdt3302_config fusionhdtv_3_gold_q = {
.pll_desc = &dvb_pll_microtune_4042,
.set_ts_params = lgdt3302_set_ts_param,
};
+
+static struct lgdt3302_config fusionhdtv_3_gold_t = {
+ .demod_address = 0x0e,
+ .pll_address = 0x61,
+ .pll_desc = &dvb_pll_thomson_dtt7611,
+ .set_ts_params = lgdt3302_set_ts_param,
+};
#endif
static int dvb_register(struct cx8802_dev *dev)
@@ -284,6 +291,20 @@ static int dvb_register(struct cx8802_dev *dev)
&dev->core->i2c_adap);
}
break;
+ case CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_T:
+ 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); /* ANT connector too FIXME */
+ mdelay(200);
+ dev->dvb.frontend = lgdt3302_attach(&fusionhdtv_3_gold_t,
+ &dev->core->i2c_adap);
+ }
+ break;
#endif
default:
printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n",