Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: dvb-frontends/dvb-pll: add tda6651 ISDB-T pll_desc

This patch adds a PLL "description" of Philips TDA6651 for ISDB-T.
It was extracted from (the former) va1j5jf8007t.c of EarthSoft PT1,
thus the desc might include PT1 specific configs.

Signed-off-by: Akihiro Tsukada <tskd08@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

authored by

Akihiro Tsukada and committed by
Mauro Carvalho Chehab
648db06d 86f65c21

+25
+24
drivers/media/dvb-frontends/dvb-pll.c
··· 550 550 } 551 551 }; 552 552 553 + /* Philips TDA6651 ISDB-T, used in Earthsoft PT1 */ 554 + static const struct dvb_pll_desc dvb_pll_tda665x_earth_pt1 = { 555 + .name = "Philips TDA6651 ISDB-T (EarthSoft PT1)", 556 + .min = 90000000, 557 + .max = 770000000, 558 + .iffreq = 57000000, 559 + .initdata = (u8[]){ 5, 0x0e, 0x7f, 0xc1, 0x80, 0x80 }, 560 + .count = 10, 561 + .entries = { 562 + { 140000000, 142857, 0xc1, 0x81 }, 563 + { 170000000, 142857, 0xc1, 0xa1 }, 564 + { 220000000, 142857, 0xc1, 0x62 }, 565 + { 330000000, 142857, 0xc1, 0xa2 }, 566 + { 402000000, 142857, 0xc1, 0xe2 }, 567 + { 450000000, 142857, 0xc1, 0x64 }, 568 + { 550000000, 142857, 0xc1, 0x84 }, 569 + { 600000000, 142857, 0xc1, 0xa4 }, 570 + { 700000000, 142857, 0xc1, 0xc4 }, 571 + { 770000000, 142857, 0xc1, 0xe4 }, 572 + } 573 + }; 574 + 553 575 /* ----------------------------------------------------------- */ 554 576 555 577 static const struct dvb_pll_desc *pll_list[] = { ··· 596 574 [DVB_PLL_SAMSUNG_TBDU18132] = &dvb_pll_samsung_tbdu18132, 597 575 [DVB_PLL_SAMSUNG_TBMU24112] = &dvb_pll_samsung_tbmu24112, 598 576 [DVB_PLL_TUA6034_FRIIO] = &dvb_pll_tua6034_friio, 577 + [DVB_PLL_TDA665X_EARTH_PT1] = &dvb_pll_tda665x_earth_pt1, 599 578 }; 600 579 601 580 /* ----------------------------------------------------------- */ ··· 919 896 {"tdee4", DVB_PLL_TDEE4}, 920 897 {"dtt7520x", DVB_PLL_THOMSON_DTT7520X}, 921 898 {"tua6034_friio", DVB_PLL_TUA6034_FRIIO}, 899 + {"tda665x_earthpt1", DVB_PLL_TDA665X_EARTH_PT1}, 922 900 {} 923 901 }; 924 902
+1
drivers/media/dvb-frontends/dvb-pll.h
··· 30 30 #define DVB_PLL_TDEE4 18 31 31 #define DVB_PLL_THOMSON_DTT7520X 19 32 32 #define DVB_PLL_TUA6034_FRIIO 20 33 + #define DVB_PLL_TDA665X_EARTH_PT1 21 33 34 34 35 struct dvb_pll_config { 35 36 struct dvb_frontend *fe;