aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2006-10-13 21:18:01 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 13:24:24 -0400
commitf1b24397e86c4c5b6984e2e67c17a53cdab14b35 (patch)
tree0b1af58719ebe36ddc846bd3c2d624482fc148d4 /drivers/media
parentd06cdbe59068a143ff2de2474fea62923cb7026f (diff)
V4L/DVB (5798): Dvb-pll: add support for Philips fcv1236d
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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/frontends/dvb-pll.c19
-rw-r--r--drivers/media/dvb/frontends/dvb-pll.h1
2 files changed, 20 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/dvb-pll.c b/drivers/media/dvb/frontends/dvb-pll.c
index 01a11262c8db..f3d500eb5862 100644
--- a/drivers/media/dvb/frontends/dvb-pll.c
+++ b/drivers/media/dvb/frontends/dvb-pll.c
@@ -499,6 +499,24 @@ static struct dvb_pll_desc dvb_pll_opera1 = {
499 } 499 }
500}; 500};
501 501
502/* Philips FCV1236D
503 */
504struct dvb_pll_desc dvb_pll_fcv1236d = {
505/* Bit_0: RF Input select
506 * Bit_1: 0=digital, 1=analog
507 */
508 .name = "Philips FCV1236D",
509 .min = 53000000,
510 .max = 803000000,
511 .iffreq= 44000000,
512 .count = 3,
513 .entries = {
514 { 159000000, 62500, 0x8e, 0xa0 },
515 { 453000000, 62500, 0x8e, 0x90 },
516 { 999999999, 62500, 0x8e, 0x30 },
517 },
518};
519
502/* ----------------------------------------------------------- */ 520/* ----------------------------------------------------------- */
503 521
504static struct dvb_pll_desc *pll_list[] = { 522static struct dvb_pll_desc *pll_list[] = {
@@ -524,6 +542,7 @@ static struct dvb_pll_desc *pll_list[] = {
524 [DVB_PLL_PHILIPS_TD1316] = &dvb_pll_philips_td1316, 542 [DVB_PLL_PHILIPS_TD1316] = &dvb_pll_philips_td1316,
525 [DVB_PLL_THOMSON_FE6600] = &dvb_pll_thomson_fe6600, 543 [DVB_PLL_THOMSON_FE6600] = &dvb_pll_thomson_fe6600,
526 [DVB_PLL_OPERA1] = &dvb_pll_opera1, 544 [DVB_PLL_OPERA1] = &dvb_pll_opera1,
545 [DVB_PLL_FCV1236D] = &dvb_pll_fcv1236d,
527}; 546};
528 547
529/* ----------------------------------------------------------- */ 548/* ----------------------------------------------------------- */
diff --git a/drivers/media/dvb/frontends/dvb-pll.h b/drivers/media/dvb/frontends/dvb-pll.h
index 66464e1e1a00..e93a8104052b 100644
--- a/drivers/media/dvb/frontends/dvb-pll.h
+++ b/drivers/media/dvb/frontends/dvb-pll.h
@@ -30,6 +30,7 @@
30#define DVB_PLL_PHILIPS_TD1316 19 30#define DVB_PLL_PHILIPS_TD1316 19
31#define DVB_PLL_THOMSON_FE6600 20 31#define DVB_PLL_THOMSON_FE6600 20
32#define DVB_PLL_OPERA1 21 32#define DVB_PLL_OPERA1 21
33#define DVB_PLL_FCV1236D 22
33 34
34/** 35/**
35 * Attach a dvb-pll to the supplied frontend structure. 36 * Attach a dvb-pll to the supplied frontend structure.