V4L/DVB (5798): Dvb-pll: add support for Philips fcv1236d
authorMichael Krufky <mkrufky@linuxtv.org>
Sat, 14 Oct 2006 01:18:01 +0000 (22:18 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 18 Jul 2007 17:24:24 +0000 (14:24 -0300)
This patch adds support to the dvb-pll library for the
Philips fcv1236d tuner, based on the FCV1236D datasheet.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/dvb-pll.c
drivers/media/dvb/frontends/dvb-pll.h

index 01a11262c8db89b559951d566c96c810598e69dc..f3d500eb586245df3dd37c528655587b220a1bb8 100644 (file)
@@ -499,6 +499,24 @@ static struct dvb_pll_desc dvb_pll_opera1 = {
        }
 };
 
+/* Philips FCV1236D
+ */
+struct dvb_pll_desc dvb_pll_fcv1236d = {
+/* Bit_0: RF Input select
+ * Bit_1: 0=digital, 1=analog
+ */
+       .name  = "Philips FCV1236D",
+       .min   =  53000000,
+       .max   = 803000000,
+       .iffreq= 44000000,
+       .count = 3,
+       .entries = {
+               { 159000000, 62500, 0x8e, 0xa0 },
+               { 453000000, 62500, 0x8e, 0x90 },
+               { 999999999, 62500, 0x8e, 0x30 },
+       },
+};
+
 /* ----------------------------------------------------------- */
 
 static struct dvb_pll_desc *pll_list[] = {
@@ -524,6 +542,7 @@ static struct dvb_pll_desc *pll_list[] = {
        [DVB_PLL_PHILIPS_TD1316]         = &dvb_pll_philips_td1316,
        [DVB_PLL_THOMSON_FE6600]         = &dvb_pll_thomson_fe6600,
        [DVB_PLL_OPERA1]                 = &dvb_pll_opera1,
+       [DVB_PLL_FCV1236D]               = &dvb_pll_fcv1236d,
 };
 
 /* ----------------------------------------------------------- */
index 66464e1e1a005af5f053634754cc2c2c59831ccc..e93a8104052bb12b9ff5257d902798a27396aac0 100644 (file)
@@ -30,6 +30,7 @@
 #define DVB_PLL_PHILIPS_TD1316         19
 #define DVB_PLL_THOMSON_FE6600         20
 #define DVB_PLL_OPERA1                 21
+#define DVB_PLL_FCV1236D               22
 
 /**
  * Attach a dvb-pll to the supplied frontend structure.