diff options
author | Kirk Lapray <kirk.lapray@gmail.com> | 2005-11-09 00:35:39 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:56:04 -0500 |
commit | 147418c9ca7bdffadafb0122c15b1eae167142f4 (patch) | |
tree | 23589a4e9bd88524f361de527c288ebf492950c2 | |
parent | f1016dec71a4ff3cf49110137c87ab988bd316e6 (diff) |
[PATCH] dvb: add support for plls used by nxt200x
- Added support for the following:
Philips TUV1236D - ATI HDTV Wonder
ALPS TDHU2 - AverTVHD MCE A180
Samsung TBMV30111IN - Air2PC ATSC - 2nd generation
These will be used in a new NXT200X driver that incorporates the NXT2002
driver and adds support for a couple NXT2004 based cards.
Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Cc: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/media/dvb/frontends/dvb-pll.c | 52 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/dvb-pll.h | 4 |
2 files changed, 56 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/dvb-pll.c b/drivers/media/dvb/frontends/dvb-pll.c index 6668839f9474..6ba7433c2aa7 100644 --- a/drivers/media/dvb/frontends/dvb-pll.c +++ b/drivers/media/dvb/frontends/dvb-pll.c | |||
@@ -292,6 +292,58 @@ struct dvb_pll_desc dvb_pll_tded4 = { | |||
292 | }; | 292 | }; |
293 | EXPORT_SYMBOL(dvb_pll_tded4); | 293 | EXPORT_SYMBOL(dvb_pll_tded4); |
294 | 294 | ||
295 | /* ALPS TDHU2 | ||
296 | * used in AverTVHD MCE A180 | ||
297 | */ | ||
298 | struct dvb_pll_desc dvb_pll_tdhu2 = { | ||
299 | .name = "ALPS TDHU2", | ||
300 | .min = 54000000, | ||
301 | .max = 864000000, | ||
302 | .count = 4, | ||
303 | .entries = { | ||
304 | { 162000000, 44000000, 62500, 0x85, 0x01 }, | ||
305 | { 426000000, 44000000, 62500, 0x85, 0x02 }, | ||
306 | { 782000000, 44000000, 62500, 0x85, 0x08 }, | ||
307 | { 999999999, 44000000, 62500, 0x85, 0x88 }, | ||
308 | } | ||
309 | }; | ||
310 | EXPORT_SYMBOL(dvb_pll_tdhu2); | ||
311 | |||
312 | /* Philips TUV1236D | ||
313 | * used in ATI HDTV Wonder | ||
314 | */ | ||
315 | struct dvb_pll_desc dvb_pll_tuv1236d = { | ||
316 | .name = "Philips TUV1236D", | ||
317 | .min = 57000000, | ||
318 | .max = 864000000, | ||
319 | .count = 3, | ||
320 | .entries = { | ||
321 | { 157250000, 44000000, 62500, 0xc6, 0x41 }, | ||
322 | { 454000000, 44000000, 62500, 0xc6, 0x42 }, | ||
323 | { 999999999, 44000000, 62500, 0xc6, 0x44 }, | ||
324 | }, | ||
325 | }; | ||
326 | EXPORT_SYMBOL(dvb_pll_tuv1236d); | ||
327 | |||
328 | /* Samsung TBMV30111IN | ||
329 | * used in Air2PC ATSC - 2nd generation (nxt2002) | ||
330 | */ | ||
331 | struct dvb_pll_desc dvb_pll_tbmv30111in = { | ||
332 | .name = "Samsung TBMV30111IN", | ||
333 | .min = 54000000, | ||
334 | .max = 860000000, | ||
335 | .count = 4, | ||
336 | .entries = { | ||
337 | { 172000000, 44000000, 166666, 0xb4, 0x01 }, | ||
338 | { 214000000, 44000000, 166666, 0xb4, 0x02 }, | ||
339 | { 467000000, 44000000, 166666, 0xbc, 0x02 }, | ||
340 | { 721000000, 44000000, 166666, 0xbc, 0x08 }, | ||
341 | { 841000000, 44000000, 166666, 0xf4, 0x08 }, | ||
342 | { 999999999, 44000000, 166666, 0xfc, 0x02 }, | ||
343 | } | ||
344 | }; | ||
345 | EXPORT_SYMBOL(dvb_pll_tbmv30111in); | ||
346 | |||
295 | /* ----------------------------------------------------------- */ | 347 | /* ----------------------------------------------------------- */ |
296 | /* code */ | 348 | /* code */ |
297 | 349 | ||
diff --git a/drivers/media/dvb/frontends/dvb-pll.h b/drivers/media/dvb/frontends/dvb-pll.h index 205b2d1a8852..497d31dcf41e 100644 --- a/drivers/media/dvb/frontends/dvb-pll.h +++ b/drivers/media/dvb/frontends/dvb-pll.h | |||
@@ -36,6 +36,10 @@ extern struct dvb_pll_desc dvb_pll_tda665x; | |||
36 | extern struct dvb_pll_desc dvb_pll_fmd1216me; | 36 | extern struct dvb_pll_desc dvb_pll_fmd1216me; |
37 | extern struct dvb_pll_desc dvb_pll_tded4; | 37 | extern struct dvb_pll_desc dvb_pll_tded4; |
38 | 38 | ||
39 | extern struct dvb_pll_desc dvb_pll_tuv1236d; | ||
40 | extern struct dvb_pll_desc dvb_pll_tdhu2; | ||
41 | extern struct dvb_pll_desc dvb_pll_tbmv30111in; | ||
42 | |||
39 | int dvb_pll_configure(struct dvb_pll_desc *desc, u8 *buf, | 43 | int dvb_pll_configure(struct dvb_pll_desc *desc, u8 *buf, |
40 | u32 freq, int bandwidth); | 44 | u32 freq, int bandwidth); |
41 | 45 | ||