瀏覽代碼

V4L/DVB (12287): dvb-pll: Add Samsung TDTC9251DH0 DVB-T NIM

No datasheet, tuner data comes from code in flexcop driver.  This tuner is
also used on the AVerTV 771 supported by the bttv driver, but that code
uses a different tuner configuration, which is surprising.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Trent Piepho 16 年之前
父節點
當前提交
a104ed073b
共有 2 個文件被更改,包括 16 次插入0 次删除
  1. 15 0
      drivers/media/dvb/frontends/dvb-pll.c
  2. 1 0
      drivers/media/dvb/frontends/dvb-pll.h

+ 15 - 0
drivers/media/dvb/frontends/dvb-pll.c

@@ -389,6 +389,20 @@ static struct dvb_pll_desc dvb_pll_samsung_dtos403ih102a = {
 	}
 	}
 };
 };
 
 
+/* Samsung TDTC9251DH0 DVB-T NIM, as used on AirStar 2 */
+static struct dvb_pll_desc dvb_pll_samsung_tdtc9251dh0 = {
+	.name	= "Samsung TDTC9251DH0",
+	.min	=  48000000,
+	.max	= 863000000,
+	.iffreq	=  36166667,
+	.count	= 3,
+	.entries = {
+		{ 157500000, 166667, 0xcc, 0x09 },
+		{ 443000000, 166667, 0xcc, 0x0a },
+		{ 863000000, 166667, 0xcc, 0x08 },
+	}
+};
+
 /* ----------------------------------------------------------- */
 /* ----------------------------------------------------------- */
 
 
 static struct dvb_pll_desc *pll_list[] = {
 static struct dvb_pll_desc *pll_list[] = {
@@ -407,6 +421,7 @@ static struct dvb_pll_desc *pll_list[] = {
 	[DVB_PLL_PHILIPS_SD1878_TDA8261] = &dvb_pll_philips_sd1878_tda8261,
 	[DVB_PLL_PHILIPS_SD1878_TDA8261] = &dvb_pll_philips_sd1878_tda8261,
 	[DVB_PLL_OPERA1]                 = &dvb_pll_opera1,
 	[DVB_PLL_OPERA1]                 = &dvb_pll_opera1,
 	[DVB_PLL_SAMSUNG_DTOS403IH102A]  = &dvb_pll_samsung_dtos403ih102a,
 	[DVB_PLL_SAMSUNG_DTOS403IH102A]  = &dvb_pll_samsung_dtos403ih102a,
+	[DVB_PLL_SAMSUNG_TDTC9251DH0]    = &dvb_pll_samsung_tdtc9251dh0,
 };
 };
 
 
 /* ----------------------------------------------------------- */
 /* ----------------------------------------------------------- */

+ 1 - 0
drivers/media/dvb/frontends/dvb-pll.h

@@ -23,6 +23,7 @@
 #define DVB_PLL_PHILIPS_SD1878_TDA8261 12
 #define DVB_PLL_PHILIPS_SD1878_TDA8261 12
 #define DVB_PLL_OPERA1                 13
 #define DVB_PLL_OPERA1                 13
 #define DVB_PLL_SAMSUNG_DTOS403IH102A  14
 #define DVB_PLL_SAMSUNG_DTOS403IH102A  14
+#define DVB_PLL_SAMSUNG_TDTC9251DH0    15
 
 
 /**
 /**
  * Attach a dvb-pll to the supplied frontend structure.
  * Attach a dvb-pll to the supplied frontend structure.