[PATCH] dvb: add support for plls used by nxt200x
authorKirk Lapray <kirk.lapray@gmail.com>
Wed, 9 Nov 2005 05:35:39 +0000 (21:35 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:04 +0000 (07:56 -0800)
- 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>
drivers/media/dvb/frontends/dvb-pll.c
drivers/media/dvb/frontends/dvb-pll.h

index 6668839f9474b792dd494c991be875b88692ad62..6ba7433c2aa7b92b7ff062df4e37ac1a1b3908f0 100644 (file)
@@ -292,6 +292,58 @@ struct dvb_pll_desc dvb_pll_tded4 = {
 };
 EXPORT_SYMBOL(dvb_pll_tded4);
 
+/* ALPS TDHU2
+ * used in AverTVHD MCE A180
+ */
+struct dvb_pll_desc dvb_pll_tdhu2 = {
+       .name = "ALPS TDHU2",
+       .min = 54000000,
+       .max = 864000000,
+       .count = 4,
+       .entries = {
+               { 162000000, 44000000, 62500, 0x85, 0x01 },
+               { 426000000, 44000000, 62500, 0x85, 0x02 },
+               { 782000000, 44000000, 62500, 0x85, 0x08 },
+               { 999999999, 44000000, 62500, 0x85, 0x88 },
+       }
+};
+EXPORT_SYMBOL(dvb_pll_tdhu2);
+
+/* Philips TUV1236D
+ * used in ATI HDTV Wonder
+ */
+struct dvb_pll_desc dvb_pll_tuv1236d = {
+       .name  = "Philips TUV1236D",
+       .min   =  57000000,
+       .max   = 864000000,
+       .count = 3,
+       .entries = {
+               { 157250000, 44000000, 62500, 0xc6, 0x41 },
+               { 454000000, 44000000, 62500, 0xc6, 0x42 },
+               { 999999999, 44000000, 62500, 0xc6, 0x44 },
+       },
+};
+EXPORT_SYMBOL(dvb_pll_tuv1236d);
+
+/* Samsung TBMV30111IN
+ * used in Air2PC ATSC - 2nd generation (nxt2002)
+ */
+struct dvb_pll_desc dvb_pll_tbmv30111in = {
+       .name = "Samsung TBMV30111IN",
+       .min = 54000000,
+       .max = 860000000,
+       .count = 4,
+       .entries = {
+               { 172000000, 44000000, 166666, 0xb4, 0x01 },
+               { 214000000, 44000000, 166666, 0xb4, 0x02 },
+               { 467000000, 44000000, 166666, 0xbc, 0x02 },
+               { 721000000, 44000000, 166666, 0xbc, 0x08 },
+               { 841000000, 44000000, 166666, 0xf4, 0x08 },
+               { 999999999, 44000000, 166666, 0xfc, 0x02 },
+       }
+};
+EXPORT_SYMBOL(dvb_pll_tbmv30111in);
+
 /* ----------------------------------------------------------- */
 /* code                                                        */
 
index 205b2d1a88520a476a2fd7e05847f7debf05b8d4..497d31dcf41ebd0e832004ce6194f02a4b913287 100644 (file)
@@ -36,6 +36,10 @@ extern struct dvb_pll_desc dvb_pll_tda665x;
 extern struct dvb_pll_desc dvb_pll_fmd1216me;
 extern struct dvb_pll_desc dvb_pll_tded4;
 
+extern struct dvb_pll_desc dvb_pll_tuv1236d;
+extern struct dvb_pll_desc dvb_pll_tdhu2;
+extern struct dvb_pll_desc dvb_pll_tbmv30111in;
+
 int dvb_pll_configure(struct dvb_pll_desc *desc, u8 *buf,
                      u32 freq, int bandwidth);