summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx23885/cx23885-dvb.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-09-08 14:17:13 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2007-09-08 14:17:13 -0400
commitd1c13402d0c6dedd352fd44b20a24c4e9cbab543 (patch)
tree184a4996f291a15defc878bbc2b168d08767df55 /linux/drivers/media/video/cx23885/cx23885-dvb.c
parent0f81ffde8b48544ab4eb875c1810c99af374ce43 (diff)
downloadmediapointer-dvb-s2-d1c13402d0c6dedd352fd44b20a24c4e9cbab543.tar.gz
mediapointer-dvb-s2-d1c13402d0c6dedd352fd44b20a24c4e9cbab543.tar.bz2
cx23885: add support for DViCO FusionHDTV 5 Express
From: Michael Krufky <mkrufky@linuxtv.org> This patch adds digital ATSC / QAM support for the DViCO FusionHDTV5 Express. Remote control is supported by ir-kbd-i2c, RTC is supported by rtc-isl1208. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video/cx23885/cx23885-dvb.c')
-rw-r--r--linux/drivers/media/video/cx23885/cx23885-dvb.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-dvb.c b/linux/drivers/media/video/cx23885/cx23885-dvb.c
index 7411acdef..73040fbde 100644
--- a/linux/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/linux/drivers/media/video/cx23885/cx23885-dvb.c
@@ -33,6 +33,8 @@
#include "s5h1409.h"
#include "mt2131.h"
+#include "lgdt330x.h"
+#include "dvb-pll.h"
static unsigned int debug = 0;
@@ -102,6 +104,12 @@ static struct mt2131_config hauppauge_generic_tunerconfig = {
0x61
};
+static struct lgdt330x_config fusionhdtv_5_express = {
+ .demod_address = 0x0e,
+ .demod_chip = LGDT3303,
+ .serial_mpeg = 0x40,
+};
+
static int dvb_register(struct cx23885_tsport *port)
{
struct cx23885_dev *dev = port->dev;
@@ -132,6 +140,16 @@ static int dvb_register(struct cx23885_tsport *port)
&hauppauge_generic_tunerconfig, 0);
}
break;
+ case CX23885_BOARD_DVICO_FUSIONHDTV_5_EXP:
+ port->dvb.frontend = dvb_attach(lgdt330x_attach,
+ &fusionhdtv_5_express,
+ &dev->i2c_bus[0].i2c_adap);
+ if (port->dvb.frontend != NULL) {
+ dvb_attach(dvb_pll_attach, port->dvb.frontend,
+ 0x61, &dev->i2c_bus[0].i2c_adap,
+ DVB_PLL_LG_TDVS_H06XF);
+ }
+ break;
default:
printk("%s: The frontend of your DVB/ATSC card isn't supported yet\n",
dev->name);