aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885-dvb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-dvb.c')
-rw-r--r--drivers/media/video/cx23885/cx23885-dvb.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c
index ffa4c49d6916..0ace919195df 100644
--- a/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/drivers/media/video/cx23885/cx23885-dvb.c
@@ -32,6 +32,8 @@
32 32
33#include "s5h1409.h" 33#include "s5h1409.h"
34#include "mt2131.h" 34#include "mt2131.h"
35#include "lgdt330x.h"
36#include "dvb-pll.h"
35 37
36static unsigned int debug = 0; 38static unsigned int debug = 0;
37 39
@@ -101,6 +103,12 @@ static struct mt2131_config hauppauge_generic_tunerconfig = {
101 0x61 103 0x61
102}; 104};
103 105
106static struct lgdt330x_config fusionhdtv_5_express = {
107 .demod_address = 0x0e,
108 .demod_chip = LGDT3303,
109 .serial_mpeg = 0x40,
110};
111
104static int dvb_register(struct cx23885_tsport *port) 112static int dvb_register(struct cx23885_tsport *port)
105{ 113{
106 struct cx23885_dev *dev = port->dev; 114 struct cx23885_dev *dev = port->dev;
@@ -131,6 +139,16 @@ static int dvb_register(struct cx23885_tsport *port)
131 &hauppauge_generic_tunerconfig, 0); 139 &hauppauge_generic_tunerconfig, 0);
132 } 140 }
133 break; 141 break;
142 case CX23885_BOARD_DVICO_FUSIONHDTV_5_EXP:
143 port->dvb.frontend = dvb_attach(lgdt330x_attach,
144 &fusionhdtv_5_express,
145 &dev->i2c_bus[0].i2c_adap);
146 if (port->dvb.frontend != NULL) {
147 dvb_attach(dvb_pll_attach, port->dvb.frontend,
148 0x61, &dev->i2c_bus[0].i2c_adap,
149 DVB_PLL_LG_TDVS_H06XF);
150 }
151 break;
134 default: 152 default:
135 printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n", 153 printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n",
136 dev->name); 154 dev->name);