diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2009-06-11 18:21:34 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-12 11:17:49 -0400 |
commit | 9d5d75a9eb85d49dc539ce0beb184754e0bad60d (patch) | |
tree | df3a4bad8b4576b78285525fab52fcab640d78cf /drivers | |
parent | f52c48535ffc5c470b07d774d9dc8414c98deb2b (diff) |
V4L/DVB (12289): dvb-pll: Add support for Samsung TBMU24112 DVB-S NIM
Tuner parameters determined from code in flexcop driver. That code rounded
the divisor down instead of to the nearest value. This was probably not
intentional and the dvb-pll version will round to nearest.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/frontends/dvb-pll.c | 14 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/dvb-pll.h | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/dvb-pll.c b/drivers/media/dvb/frontends/dvb-pll.c index 7d2d487c9ad4..587ad1bd9b13 100644 --- a/drivers/media/dvb/frontends/dvb-pll.c +++ b/drivers/media/dvb/frontends/dvb-pll.c | |||
@@ -424,6 +424,19 @@ static struct dvb_pll_desc dvb_pll_samsung_tbdu18132 = { | |||
424 | { 0x1ffff * 125 + 125/2, 125, 0x84 | 0x60, }, */ | 424 | { 0x1ffff * 125 + 125/2, 125, 0x84 | 0x60, }, */ |
425 | }; | 425 | }; |
426 | 426 | ||
427 | /* Samsung TBMU24112 DVB-S NIM with SL1935 zero-IF tuner */ | ||
428 | static struct dvb_pll_desc dvb_pll_samsung_tbmu24112 = { | ||
429 | .name = "Samsung TBMU24112", | ||
430 | .min = 950000, | ||
431 | .max = 2150000, /* guesses */ | ||
432 | .iffreq = 0, | ||
433 | .count = 2, | ||
434 | .entries = { | ||
435 | { 1500000, 125, 0x84, 0x18 }, | ||
436 | { 9999999, 125, 0x84, 0x08 }, | ||
437 | } | ||
438 | }; | ||
439 | |||
427 | /* ----------------------------------------------------------- */ | 440 | /* ----------------------------------------------------------- */ |
428 | 441 | ||
429 | static struct dvb_pll_desc *pll_list[] = { | 442 | static struct dvb_pll_desc *pll_list[] = { |
@@ -444,6 +457,7 @@ static struct dvb_pll_desc *pll_list[] = { | |||
444 | [DVB_PLL_SAMSUNG_DTOS403IH102A] = &dvb_pll_samsung_dtos403ih102a, | 457 | [DVB_PLL_SAMSUNG_DTOS403IH102A] = &dvb_pll_samsung_dtos403ih102a, |
445 | [DVB_PLL_SAMSUNG_TDTC9251DH0] = &dvb_pll_samsung_tdtc9251dh0, | 458 | [DVB_PLL_SAMSUNG_TDTC9251DH0] = &dvb_pll_samsung_tdtc9251dh0, |
446 | [DVB_PLL_SAMSUNG_TBDU18132] = &dvb_pll_samsung_tbdu18132, | 459 | [DVB_PLL_SAMSUNG_TBDU18132] = &dvb_pll_samsung_tbdu18132, |
460 | [DVB_PLL_SAMSUNG_TBMU24112] = &dvb_pll_samsung_tbmu24112, | ||
447 | }; | 461 | }; |
448 | 462 | ||
449 | /* ----------------------------------------------------------- */ | 463 | /* ----------------------------------------------------------- */ |
diff --git a/drivers/media/dvb/frontends/dvb-pll.h b/drivers/media/dvb/frontends/dvb-pll.h index 7905f3440998..c1035812c9e9 100644 --- a/drivers/media/dvb/frontends/dvb-pll.h +++ b/drivers/media/dvb/frontends/dvb-pll.h | |||
@@ -25,6 +25,7 @@ | |||
25 | #define DVB_PLL_SAMSUNG_DTOS403IH102A 14 | 25 | #define DVB_PLL_SAMSUNG_DTOS403IH102A 14 |
26 | #define DVB_PLL_SAMSUNG_TDTC9251DH0 15 | 26 | #define DVB_PLL_SAMSUNG_TDTC9251DH0 15 |
27 | #define DVB_PLL_SAMSUNG_TBDU18132 16 | 27 | #define DVB_PLL_SAMSUNG_TBDU18132 16 |
28 | #define DVB_PLL_SAMSUNG_TBMU24112 17 | ||
28 | 29 | ||
29 | /** | 30 | /** |
30 | * Attach a dvb-pll to the supplied frontend structure. | 31 | * Attach a dvb-pll to the supplied frontend structure. |