aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-dvb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx88/cx88-dvb.c')
-rw-r--r--drivers/media/video/cx88/cx88-dvb.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c
index 806afc610d87..690477a67917 100644
--- a/drivers/media/video/cx88/cx88-dvb.c
+++ b/drivers/media/video/cx88/cx88-dvb.c
@@ -220,6 +220,13 @@ static struct lgdt3302_config fusionhdtv_3_gold_q = {
220 .pll_desc = &dvb_pll_microtune_4042, 220 .pll_desc = &dvb_pll_microtune_4042,
221 .set_ts_params = lgdt3302_set_ts_param, 221 .set_ts_params = lgdt3302_set_ts_param,
222}; 222};
223
224static struct lgdt3302_config fusionhdtv_3_gold_t = {
225 .demod_address = 0x0e,
226 .pll_address = 0x61,
227 .pll_desc = &dvb_pll_thomson_dtt7611,
228 .set_ts_params = lgdt3302_set_ts_param,
229};
223#endif 230#endif
224 231
225static int dvb_register(struct cx8802_dev *dev) 232static int dvb_register(struct cx8802_dev *dev)
@@ -282,6 +289,20 @@ static int dvb_register(struct cx8802_dev *dev)
282 &dev->core->i2c_adap); 289 &dev->core->i2c_adap);
283 } 290 }
284 break; 291 break;
292 case CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_T:
293 dev->ts_gen_cntrl = 0x08;
294 {
295 /* Do a hardware reset of chip before using it. */
296 struct cx88_core *core = dev->core;
297
298 cx_clear(MO_GP0_IO, 1);
299 mdelay(100);
300 cx_set(MO_GP0_IO, 9); /* ANT connector too FIXME */
301 mdelay(200);
302 dev->dvb.frontend = lgdt3302_attach(&fusionhdtv_3_gold_t,
303 &dev->core->i2c_adap);
304 }
305 break;
285#endif 306#endif
286 default: 307 default:
287 printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n", 308 printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n",