tuner-types.c 58 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952
  1. /*
  2. *
  3. * i2c tv tuner chip device type database.
  4. *
  5. */
  6. #include <linux/i2c.h>
  7. #include <linux/module.h>
  8. #include <media/tuner.h>
  9. #include <media/tuner-types.h>
  10. /* ---------------------------------------------------------------------- */
  11. /*
  12. * The floats in the tuner struct are computed at compile time
  13. * by gcc and cast back to integers. Thus we don't violate the
  14. * "no float in kernel" rule.
  15. *
  16. * A tuner_range may be referenced by multiple tuner_params structs.
  17. * There are many duplicates in here. Reusing tuner_range structs,
  18. * rather than defining new ones for each tuner, will cut down on
  19. * memory usage, and is preferred when possible.
  20. *
  21. * Each tuner_params array may contain one or more elements, one
  22. * for each video standard.
  23. *
  24. * FIXME: tuner_params struct contains an element, tda988x. We must
  25. * set this for all tuners that contain a tda988x chip, and then we
  26. * can remove this setting from the various card structs.
  27. *
  28. * FIXME: Right now, all tuners are using the first tuner_params[]
  29. * array element for analog mode. In the future, we will be merging
  30. * similar tuner definitions together, such that each tuner definition
  31. * will have a tuner_params struct for each available video standard.
  32. * At that point, the tuner_params[] array element will be chosen
  33. * based on the video standard in use.
  34. */
  35. /* The following was taken from dvb-pll.c: */
  36. /* Set AGC TOP value to 103 dBuV:
  37. * 0x80 = Control Byte
  38. * 0x40 = 250 uA charge pump (irrelevant)
  39. * 0x18 = Aux Byte to follow
  40. * 0x06 = 64.5 kHz divider (irrelevant)
  41. * 0x01 = Disable Vt (aka sleep)
  42. *
  43. * 0x00 = AGC Time constant 2s Iagc = 300 nA (vs 0x80 = 9 nA)
  44. * 0x50 = AGC Take over point = 103 dBuV
  45. */
  46. static u8 tua603x_agc103[] = { 2, 0x80|0x40|0x18|0x06|0x01, 0x00|0x50 };
  47. /* 0x04 = 166.67 kHz divider
  48. *
  49. * 0x80 = AGC Time constant 50ms Iagc = 9 uA
  50. * 0x20 = AGC Take over point = 112 dBuV
  51. */
  52. static u8 tua603x_agc112[] = { 2, 0x80|0x40|0x18|0x04|0x01, 0x80|0x20 };
  53. /* 0-9 */
  54. /* ------------ TUNER_TEMIC_PAL - TEMIC PAL ------------ */
  55. static struct tuner_range tuner_temic_pal_ranges[] = {
  56. { 16 * 140.25 /*MHz*/, 0x8e, 0x02, },
  57. { 16 * 463.25 /*MHz*/, 0x8e, 0x04, },
  58. { 16 * 999.99 , 0x8e, 0x01, },
  59. };
  60. static struct tuner_params tuner_temic_pal_params[] = {
  61. {
  62. .type = TUNER_PARAM_TYPE_PAL,
  63. .ranges = tuner_temic_pal_ranges,
  64. .count = ARRAY_SIZE(tuner_temic_pal_ranges),
  65. },
  66. };
  67. /* ------------ TUNER_PHILIPS_PAL_I - Philips PAL_I ------------ */
  68. static struct tuner_range tuner_philips_pal_i_ranges[] = {
  69. { 16 * 140.25 /*MHz*/, 0x8e, 0xa0, },
  70. { 16 * 463.25 /*MHz*/, 0x8e, 0x90, },
  71. { 16 * 999.99 , 0x8e, 0x30, },
  72. };
  73. static struct tuner_params tuner_philips_pal_i_params[] = {
  74. {
  75. .type = TUNER_PARAM_TYPE_PAL,
  76. .ranges = tuner_philips_pal_i_ranges,
  77. .count = ARRAY_SIZE(tuner_philips_pal_i_ranges),
  78. },
  79. };
  80. /* ------------ TUNER_PHILIPS_NTSC - Philips NTSC ------------ */
  81. static struct tuner_range tuner_philips_ntsc_ranges[] = {
  82. { 16 * 157.25 /*MHz*/, 0x8e, 0xa0, },
  83. { 16 * 451.25 /*MHz*/, 0x8e, 0x90, },
  84. { 16 * 999.99 , 0x8e, 0x30, },
  85. };
  86. static struct tuner_params tuner_philips_ntsc_params[] = {
  87. {
  88. .type = TUNER_PARAM_TYPE_NTSC,
  89. .ranges = tuner_philips_ntsc_ranges,
  90. .count = ARRAY_SIZE(tuner_philips_ntsc_ranges),
  91. .cb_first_if_lower_freq = 1,
  92. },
  93. };
  94. /* ------------ TUNER_PHILIPS_SECAM - Philips SECAM ------------ */
  95. static struct tuner_range tuner_philips_secam_ranges[] = {
  96. { 16 * 168.25 /*MHz*/, 0x8e, 0xa7, },
  97. { 16 * 447.25 /*MHz*/, 0x8e, 0x97, },
  98. { 16 * 999.99 , 0x8e, 0x37, },
  99. };
  100. static struct tuner_params tuner_philips_secam_params[] = {
  101. {
  102. .type = TUNER_PARAM_TYPE_SECAM,
  103. .ranges = tuner_philips_secam_ranges,
  104. .count = ARRAY_SIZE(tuner_philips_secam_ranges),
  105. .cb_first_if_lower_freq = 1,
  106. },
  107. };
  108. /* ------------ TUNER_PHILIPS_PAL - Philips PAL ------------ */
  109. static struct tuner_range tuner_philips_pal_ranges[] = {
  110. { 16 * 168.25 /*MHz*/, 0x8e, 0xa0, },
  111. { 16 * 447.25 /*MHz*/, 0x8e, 0x90, },
  112. { 16 * 999.99 , 0x8e, 0x30, },
  113. };
  114. static struct tuner_params tuner_philips_pal_params[] = {
  115. {
  116. .type = TUNER_PARAM_TYPE_PAL,
  117. .ranges = tuner_philips_pal_ranges,
  118. .count = ARRAY_SIZE(tuner_philips_pal_ranges),
  119. .cb_first_if_lower_freq = 1,
  120. },
  121. };
  122. /* ------------ TUNER_TEMIC_NTSC - TEMIC NTSC ------------ */
  123. static struct tuner_range tuner_temic_ntsc_ranges[] = {
  124. { 16 * 157.25 /*MHz*/, 0x8e, 0x02, },
  125. { 16 * 463.25 /*MHz*/, 0x8e, 0x04, },
  126. { 16 * 999.99 , 0x8e, 0x01, },
  127. };
  128. static struct tuner_params tuner_temic_ntsc_params[] = {
  129. {
  130. .type = TUNER_PARAM_TYPE_NTSC,
  131. .ranges = tuner_temic_ntsc_ranges,
  132. .count = ARRAY_SIZE(tuner_temic_ntsc_ranges),
  133. },
  134. };
  135. /* ------------ TUNER_TEMIC_PAL_I - TEMIC PAL_I ------------ */
  136. static struct tuner_range tuner_temic_pal_i_ranges[] = {
  137. { 16 * 170.00 /*MHz*/, 0x8e, 0x02, },
  138. { 16 * 450.00 /*MHz*/, 0x8e, 0x04, },
  139. { 16 * 999.99 , 0x8e, 0x01, },
  140. };
  141. static struct tuner_params tuner_temic_pal_i_params[] = {
  142. {
  143. .type = TUNER_PARAM_TYPE_PAL,
  144. .ranges = tuner_temic_pal_i_ranges,
  145. .count = ARRAY_SIZE(tuner_temic_pal_i_ranges),
  146. },
  147. };
  148. /* ------------ TUNER_TEMIC_4036FY5_NTSC - TEMIC NTSC ------------ */
  149. static struct tuner_range tuner_temic_4036fy5_ntsc_ranges[] = {
  150. { 16 * 157.25 /*MHz*/, 0x8e, 0xa0, },
  151. { 16 * 463.25 /*MHz*/, 0x8e, 0x90, },
  152. { 16 * 999.99 , 0x8e, 0x30, },
  153. };
  154. static struct tuner_params tuner_temic_4036fy5_ntsc_params[] = {
  155. {
  156. .type = TUNER_PARAM_TYPE_NTSC,
  157. .ranges = tuner_temic_4036fy5_ntsc_ranges,
  158. .count = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_ranges),
  159. },
  160. };
  161. /* ------------ TUNER_ALPS_TSBH1_NTSC - TEMIC NTSC ------------ */
  162. static struct tuner_range tuner_alps_tsb_1_ranges[] = {
  163. { 16 * 137.25 /*MHz*/, 0x8e, 0x01, },
  164. { 16 * 385.25 /*MHz*/, 0x8e, 0x02, },
  165. { 16 * 999.99 , 0x8e, 0x08, },
  166. };
  167. static struct tuner_params tuner_alps_tsbh1_ntsc_params[] = {
  168. {
  169. .type = TUNER_PARAM_TYPE_NTSC,
  170. .ranges = tuner_alps_tsb_1_ranges,
  171. .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges),
  172. },
  173. };
  174. /* 10-19 */
  175. /* ------------ TUNER_ALPS_TSBE1_PAL - TEMIC PAL ------------ */
  176. static struct tuner_params tuner_alps_tsb_1_params[] = {
  177. {
  178. .type = TUNER_PARAM_TYPE_PAL,
  179. .ranges = tuner_alps_tsb_1_ranges,
  180. .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges),
  181. },
  182. };
  183. /* ------------ TUNER_ALPS_TSBB5_PAL_I - Alps PAL_I ------------ */
  184. static struct tuner_range tuner_alps_tsb_5_pal_ranges[] = {
  185. { 16 * 133.25 /*MHz*/, 0x8e, 0x01, },
  186. { 16 * 351.25 /*MHz*/, 0x8e, 0x02, },
  187. { 16 * 999.99 , 0x8e, 0x08, },
  188. };
  189. static struct tuner_params tuner_alps_tsbb5_params[] = {
  190. {
  191. .type = TUNER_PARAM_TYPE_PAL,
  192. .ranges = tuner_alps_tsb_5_pal_ranges,
  193. .count = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges),
  194. },
  195. };
  196. /* ------------ TUNER_ALPS_TSBE5_PAL - Alps PAL ------------ */
  197. static struct tuner_params tuner_alps_tsbe5_params[] = {
  198. {
  199. .type = TUNER_PARAM_TYPE_PAL,
  200. .ranges = tuner_alps_tsb_5_pal_ranges,
  201. .count = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges),
  202. },
  203. };
  204. /* ------------ TUNER_ALPS_TSBC5_PAL - Alps PAL ------------ */
  205. static struct tuner_params tuner_alps_tsbc5_params[] = {
  206. {
  207. .type = TUNER_PARAM_TYPE_PAL,
  208. .ranges = tuner_alps_tsb_5_pal_ranges,
  209. .count = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges),
  210. },
  211. };
  212. /* ------------ TUNER_TEMIC_4006FH5_PAL - TEMIC PAL ------------ */
  213. static struct tuner_range tuner_lg_pal_ranges[] = {
  214. { 16 * 170.00 /*MHz*/, 0x8e, 0xa0, },
  215. { 16 * 450.00 /*MHz*/, 0x8e, 0x90, },
  216. { 16 * 999.99 , 0x8e, 0x30, },
  217. };
  218. static struct tuner_params tuner_temic_4006fh5_params[] = {
  219. {
  220. .type = TUNER_PARAM_TYPE_PAL,
  221. .ranges = tuner_lg_pal_ranges,
  222. .count = ARRAY_SIZE(tuner_lg_pal_ranges),
  223. },
  224. };
  225. /* ------------ TUNER_ALPS_TSHC6_NTSC - Alps NTSC ------------ */
  226. static struct tuner_range tuner_alps_tshc6_ntsc_ranges[] = {
  227. { 16 * 137.25 /*MHz*/, 0x8e, 0x14, },
  228. { 16 * 385.25 /*MHz*/, 0x8e, 0x12, },
  229. { 16 * 999.99 , 0x8e, 0x11, },
  230. };
  231. static struct tuner_params tuner_alps_tshc6_params[] = {
  232. {
  233. .type = TUNER_PARAM_TYPE_NTSC,
  234. .ranges = tuner_alps_tshc6_ntsc_ranges,
  235. .count = ARRAY_SIZE(tuner_alps_tshc6_ntsc_ranges),
  236. },
  237. };
  238. /* ------------ TUNER_TEMIC_PAL_DK - TEMIC PAL ------------ */
  239. static struct tuner_range tuner_temic_pal_dk_ranges[] = {
  240. { 16 * 168.25 /*MHz*/, 0x8e, 0xa0, },
  241. { 16 * 456.25 /*MHz*/, 0x8e, 0x90, },
  242. { 16 * 999.99 , 0x8e, 0x30, },
  243. };
  244. static struct tuner_params tuner_temic_pal_dk_params[] = {
  245. {
  246. .type = TUNER_PARAM_TYPE_PAL,
  247. .ranges = tuner_temic_pal_dk_ranges,
  248. .count = ARRAY_SIZE(tuner_temic_pal_dk_ranges),
  249. },
  250. };
  251. /* ------------ TUNER_PHILIPS_NTSC_M - Philips NTSC ------------ */
  252. static struct tuner_range tuner_philips_ntsc_m_ranges[] = {
  253. { 16 * 160.00 /*MHz*/, 0x8e, 0xa0, },
  254. { 16 * 454.00 /*MHz*/, 0x8e, 0x90, },
  255. { 16 * 999.99 , 0x8e, 0x30, },
  256. };
  257. static struct tuner_params tuner_philips_ntsc_m_params[] = {
  258. {
  259. .type = TUNER_PARAM_TYPE_NTSC,
  260. .ranges = tuner_philips_ntsc_m_ranges,
  261. .count = ARRAY_SIZE(tuner_philips_ntsc_m_ranges),
  262. },
  263. };
  264. /* ------------ TUNER_TEMIC_4066FY5_PAL_I - TEMIC PAL_I ------------ */
  265. static struct tuner_range tuner_temic_40x6f_5_pal_ranges[] = {
  266. { 16 * 169.00 /*MHz*/, 0x8e, 0xa0, },
  267. { 16 * 454.00 /*MHz*/, 0x8e, 0x90, },
  268. { 16 * 999.99 , 0x8e, 0x30, },
  269. };
  270. static struct tuner_params tuner_temic_4066fy5_pal_i_params[] = {
  271. {
  272. .type = TUNER_PARAM_TYPE_PAL,
  273. .ranges = tuner_temic_40x6f_5_pal_ranges,
  274. .count = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges),
  275. },
  276. };
  277. /* ------------ TUNER_TEMIC_4006FN5_MULTI_PAL - TEMIC PAL ------------ */
  278. static struct tuner_params tuner_temic_4006fn5_multi_params[] = {
  279. {
  280. .type = TUNER_PARAM_TYPE_PAL,
  281. .ranges = tuner_temic_40x6f_5_pal_ranges,
  282. .count = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges),
  283. },
  284. };
  285. /* 20-29 */
  286. /* ------------ TUNER_TEMIC_4009FR5_PAL - TEMIC PAL ------------ */
  287. static struct tuner_range tuner_temic_4009f_5_pal_ranges[] = {
  288. { 16 * 141.00 /*MHz*/, 0x8e, 0xa0, },
  289. { 16 * 464.00 /*MHz*/, 0x8e, 0x90, },
  290. { 16 * 999.99 , 0x8e, 0x30, },
  291. };
  292. static struct tuner_params tuner_temic_4009f_5_params[] = {
  293. {
  294. .type = TUNER_PARAM_TYPE_PAL,
  295. .ranges = tuner_temic_4009f_5_pal_ranges,
  296. .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
  297. },
  298. };
  299. /* ------------ TUNER_TEMIC_4039FR5_NTSC - TEMIC NTSC ------------ */
  300. static struct tuner_range tuner_temic_4x3x_f_5_ntsc_ranges[] = {
  301. { 16 * 158.00 /*MHz*/, 0x8e, 0xa0, },
  302. { 16 * 453.00 /*MHz*/, 0x8e, 0x90, },
  303. { 16 * 999.99 , 0x8e, 0x30, },
  304. };
  305. static struct tuner_params tuner_temic_4039fr5_params[] = {
  306. {
  307. .type = TUNER_PARAM_TYPE_NTSC,
  308. .ranges = tuner_temic_4x3x_f_5_ntsc_ranges,
  309. .count = ARRAY_SIZE(tuner_temic_4x3x_f_5_ntsc_ranges),
  310. },
  311. };
  312. /* ------------ TUNER_TEMIC_4046FM5 - TEMIC PAL ------------ */
  313. static struct tuner_params tuner_temic_4046fm5_params[] = {
  314. {
  315. .type = TUNER_PARAM_TYPE_PAL,
  316. .ranges = tuner_temic_40x6f_5_pal_ranges,
  317. .count = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges),
  318. },
  319. };
  320. /* ------------ TUNER_PHILIPS_PAL_DK - Philips PAL ------------ */
  321. static struct tuner_params tuner_philips_pal_dk_params[] = {
  322. {
  323. .type = TUNER_PARAM_TYPE_PAL,
  324. .ranges = tuner_lg_pal_ranges,
  325. .count = ARRAY_SIZE(tuner_lg_pal_ranges),
  326. },
  327. };
  328. /* ------------ TUNER_PHILIPS_FQ1216ME - Philips PAL ------------ */
  329. static struct tuner_params tuner_philips_fq1216me_params[] = {
  330. {
  331. .type = TUNER_PARAM_TYPE_PAL,
  332. .ranges = tuner_lg_pal_ranges,
  333. .count = ARRAY_SIZE(tuner_lg_pal_ranges),
  334. .has_tda9887 = 1,
  335. .port1_active = 1,
  336. .port2_active = 1,
  337. .port2_invert_for_secam_lc = 1,
  338. },
  339. };
  340. /* ------------ TUNER_LG_PAL_I_FM - LGINNOTEK PAL_I ------------ */
  341. static struct tuner_params tuner_lg_pal_i_fm_params[] = {
  342. {
  343. .type = TUNER_PARAM_TYPE_PAL,
  344. .ranges = tuner_lg_pal_ranges,
  345. .count = ARRAY_SIZE(tuner_lg_pal_ranges),
  346. },
  347. };
  348. /* ------------ TUNER_LG_PAL_I - LGINNOTEK PAL_I ------------ */
  349. static struct tuner_params tuner_lg_pal_i_params[] = {
  350. {
  351. .type = TUNER_PARAM_TYPE_PAL,
  352. .ranges = tuner_lg_pal_ranges,
  353. .count = ARRAY_SIZE(tuner_lg_pal_ranges),
  354. },
  355. };
  356. /* ------------ TUNER_LG_NTSC_FM - LGINNOTEK NTSC ------------ */
  357. static struct tuner_range tuner_lg_ntsc_fm_ranges[] = {
  358. { 16 * 210.00 /*MHz*/, 0x8e, 0xa0, },
  359. { 16 * 497.00 /*MHz*/, 0x8e, 0x90, },
  360. { 16 * 999.99 , 0x8e, 0x30, },
  361. };
  362. static struct tuner_params tuner_lg_ntsc_fm_params[] = {
  363. {
  364. .type = TUNER_PARAM_TYPE_NTSC,
  365. .ranges = tuner_lg_ntsc_fm_ranges,
  366. .count = ARRAY_SIZE(tuner_lg_ntsc_fm_ranges),
  367. },
  368. };
  369. /* ------------ TUNER_LG_PAL_FM - LGINNOTEK PAL ------------ */
  370. static struct tuner_params tuner_lg_pal_fm_params[] = {
  371. {
  372. .type = TUNER_PARAM_TYPE_PAL,
  373. .ranges = tuner_lg_pal_ranges,
  374. .count = ARRAY_SIZE(tuner_lg_pal_ranges),
  375. },
  376. };
  377. /* ------------ TUNER_LG_PAL - LGINNOTEK PAL ------------ */
  378. static struct tuner_params tuner_lg_pal_params[] = {
  379. {
  380. .type = TUNER_PARAM_TYPE_PAL,
  381. .ranges = tuner_lg_pal_ranges,
  382. .count = ARRAY_SIZE(tuner_lg_pal_ranges),
  383. },
  384. };
  385. /* 30-39 */
  386. /* ------------ TUNER_TEMIC_4009FN5_MULTI_PAL_FM - TEMIC PAL ------------ */
  387. static struct tuner_params tuner_temic_4009_fn5_multi_pal_fm_params[] = {
  388. {
  389. .type = TUNER_PARAM_TYPE_PAL,
  390. .ranges = tuner_temic_4009f_5_pal_ranges,
  391. .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
  392. },
  393. };
  394. /* ------------ TUNER_SHARP_2U5JF5540_NTSC - SHARP NTSC ------------ */
  395. static struct tuner_range tuner_sharp_2u5jf5540_ntsc_ranges[] = {
  396. { 16 * 137.25 /*MHz*/, 0x8e, 0x01, },
  397. { 16 * 317.25 /*MHz*/, 0x8e, 0x02, },
  398. { 16 * 999.99 , 0x8e, 0x08, },
  399. };
  400. static struct tuner_params tuner_sharp_2u5jf5540_params[] = {
  401. {
  402. .type = TUNER_PARAM_TYPE_NTSC,
  403. .ranges = tuner_sharp_2u5jf5540_ntsc_ranges,
  404. .count = ARRAY_SIZE(tuner_sharp_2u5jf5540_ntsc_ranges),
  405. },
  406. };
  407. /* ------------ TUNER_Samsung_PAL_TCPM9091PD27 - Samsung PAL ------------ */
  408. static struct tuner_range tuner_samsung_pal_tcpm9091pd27_ranges[] = {
  409. { 16 * 169 /*MHz*/, 0x8e, 0xa0, },
  410. { 16 * 464 /*MHz*/, 0x8e, 0x90, },
  411. { 16 * 999.99 , 0x8e, 0x30, },
  412. };
  413. static struct tuner_params tuner_samsung_pal_tcpm9091pd27_params[] = {
  414. {
  415. .type = TUNER_PARAM_TYPE_PAL,
  416. .ranges = tuner_samsung_pal_tcpm9091pd27_ranges,
  417. .count = ARRAY_SIZE(tuner_samsung_pal_tcpm9091pd27_ranges),
  418. },
  419. };
  420. /* ------------ TUNER_TEMIC_4106FH5 - TEMIC PAL ------------ */
  421. static struct tuner_params tuner_temic_4106fh5_params[] = {
  422. {
  423. .type = TUNER_PARAM_TYPE_PAL,
  424. .ranges = tuner_temic_4009f_5_pal_ranges,
  425. .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
  426. },
  427. };
  428. /* ------------ TUNER_TEMIC_4012FY5 - TEMIC PAL ------------ */
  429. static struct tuner_params tuner_temic_4012fy5_params[] = {
  430. {
  431. .type = TUNER_PARAM_TYPE_PAL,
  432. .ranges = tuner_temic_pal_ranges,
  433. .count = ARRAY_SIZE(tuner_temic_pal_ranges),
  434. },
  435. };
  436. /* ------------ TUNER_TEMIC_4136FY5 - TEMIC NTSC ------------ */
  437. static struct tuner_params tuner_temic_4136_fy5_params[] = {
  438. {
  439. .type = TUNER_PARAM_TYPE_NTSC,
  440. .ranges = tuner_temic_4x3x_f_5_ntsc_ranges,
  441. .count = ARRAY_SIZE(tuner_temic_4x3x_f_5_ntsc_ranges),
  442. },
  443. };
  444. /* ------------ TUNER_LG_PAL_NEW_TAPC - LGINNOTEK PAL ------------ */
  445. static struct tuner_range tuner_lg_new_tapc_ranges[] = {
  446. { 16 * 170.00 /*MHz*/, 0x8e, 0x01, },
  447. { 16 * 450.00 /*MHz*/, 0x8e, 0x02, },
  448. { 16 * 999.99 , 0x8e, 0x08, },
  449. };
  450. static struct tuner_params tuner_lg_pal_new_tapc_params[] = {
  451. {
  452. .type = TUNER_PARAM_TYPE_PAL,
  453. .ranges = tuner_lg_new_tapc_ranges,
  454. .count = ARRAY_SIZE(tuner_lg_new_tapc_ranges),
  455. },
  456. };
  457. /* ------------ TUNER_PHILIPS_FM1216ME_MK3 - Philips PAL ------------ */
  458. static struct tuner_range tuner_fm1216me_mk3_pal_ranges[] = {
  459. { 16 * 158.00 /*MHz*/, 0x8e, 0x01, },
  460. { 16 * 442.00 /*MHz*/, 0x8e, 0x02, },
  461. { 16 * 999.99 , 0x8e, 0x04, },
  462. };
  463. static struct tuner_params tuner_fm1216me_mk3_params[] = {
  464. {
  465. .type = TUNER_PARAM_TYPE_PAL,
  466. .ranges = tuner_fm1216me_mk3_pal_ranges,
  467. .count = ARRAY_SIZE(tuner_fm1216me_mk3_pal_ranges),
  468. .cb_first_if_lower_freq = 1,
  469. .has_tda9887 = 1,
  470. .port1_active = 1,
  471. .port2_active = 1,
  472. .port2_invert_for_secam_lc = 1,
  473. .port1_fm_high_sensitivity = 1,
  474. .default_top_mid = -2,
  475. .default_top_secam_mid = -2,
  476. .default_top_secam_high = -2,
  477. },
  478. };
  479. /* ------------ TUNER_PHILIPS_FM1216MK5 - Philips PAL ------------ */
  480. static struct tuner_range tuner_fm1216mk5_pal_ranges[] = {
  481. { 16 * 158.00 /*MHz*/, 0xce, 0x01, },
  482. { 16 * 441.00 /*MHz*/, 0xce, 0x02, },
  483. { 16 * 864.00 , 0xce, 0x04, },
  484. };
  485. static struct tuner_params tuner_fm1216mk5_params[] = {
  486. {
  487. .type = TUNER_PARAM_TYPE_PAL,
  488. .ranges = tuner_fm1216mk5_pal_ranges,
  489. .count = ARRAY_SIZE(tuner_fm1216mk5_pal_ranges),
  490. .cb_first_if_lower_freq = 1,
  491. .has_tda9887 = 1,
  492. .port1_active = 1,
  493. .port2_active = 1,
  494. .port2_invert_for_secam_lc = 1,
  495. .port1_fm_high_sensitivity = 1,
  496. .default_top_mid = -2,
  497. .default_top_secam_mid = -2,
  498. .default_top_secam_high = -2,
  499. },
  500. };
  501. /* ------------ TUNER_LG_NTSC_NEW_TAPC - LGINNOTEK NTSC ------------ */
  502. static struct tuner_params tuner_lg_ntsc_new_tapc_params[] = {
  503. {
  504. .type = TUNER_PARAM_TYPE_NTSC,
  505. .ranges = tuner_lg_new_tapc_ranges,
  506. .count = ARRAY_SIZE(tuner_lg_new_tapc_ranges),
  507. },
  508. };
  509. /* 40-49 */
  510. /* ------------ TUNER_HITACHI_NTSC - HITACHI NTSC ------------ */
  511. static struct tuner_params tuner_hitachi_ntsc_params[] = {
  512. {
  513. .type = TUNER_PARAM_TYPE_NTSC,
  514. .ranges = tuner_lg_new_tapc_ranges,
  515. .count = ARRAY_SIZE(tuner_lg_new_tapc_ranges),
  516. },
  517. };
  518. /* ------------ TUNER_PHILIPS_PAL_MK - Philips PAL ------------ */
  519. static struct tuner_range tuner_philips_pal_mk_pal_ranges[] = {
  520. { 16 * 140.25 /*MHz*/, 0x8e, 0x01, },
  521. { 16 * 463.25 /*MHz*/, 0x8e, 0xc2, },
  522. { 16 * 999.99 , 0x8e, 0xcf, },
  523. };
  524. static struct tuner_params tuner_philips_pal_mk_params[] = {
  525. {
  526. .type = TUNER_PARAM_TYPE_PAL,
  527. .ranges = tuner_philips_pal_mk_pal_ranges,
  528. .count = ARRAY_SIZE(tuner_philips_pal_mk_pal_ranges),
  529. },
  530. };
  531. /* ---- TUNER_PHILIPS_FCV1236D - Philips FCV1236D (ATSC/NTSC) ---- */
  532. static struct tuner_range tuner_philips_fcv1236d_ntsc_ranges[] = {
  533. { 16 * 157.25 /*MHz*/, 0x8e, 0xa2, },
  534. { 16 * 451.25 /*MHz*/, 0x8e, 0x92, },
  535. { 16 * 999.99 , 0x8e, 0x32, },
  536. };
  537. static struct tuner_range tuner_philips_fcv1236d_atsc_ranges[] = {
  538. { 16 * 159.00 /*MHz*/, 0x8e, 0xa0, },
  539. { 16 * 453.00 /*MHz*/, 0x8e, 0x90, },
  540. { 16 * 999.99 , 0x8e, 0x30, },
  541. };
  542. static struct tuner_params tuner_philips_fcv1236d_params[] = {
  543. {
  544. .type = TUNER_PARAM_TYPE_NTSC,
  545. .ranges = tuner_philips_fcv1236d_ntsc_ranges,
  546. .count = ARRAY_SIZE(tuner_philips_fcv1236d_ntsc_ranges),
  547. },
  548. {
  549. .type = TUNER_PARAM_TYPE_DIGITAL,
  550. .ranges = tuner_philips_fcv1236d_atsc_ranges,
  551. .count = ARRAY_SIZE(tuner_philips_fcv1236d_atsc_ranges),
  552. .iffreq = 16 * 44.00,
  553. },
  554. };
  555. /* ------------ TUNER_PHILIPS_FM1236_MK3 - Philips NTSC ------------ */
  556. static struct tuner_range tuner_fm1236_mk3_ntsc_ranges[] = {
  557. { 16 * 160.00 /*MHz*/, 0x8e, 0x01, },
  558. { 16 * 442.00 /*MHz*/, 0x8e, 0x02, },
  559. { 16 * 999.99 , 0x8e, 0x04, },
  560. };
  561. static struct tuner_params tuner_fm1236_mk3_params[] = {
  562. {
  563. .type = TUNER_PARAM_TYPE_NTSC,
  564. .ranges = tuner_fm1236_mk3_ntsc_ranges,
  565. .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
  566. .cb_first_if_lower_freq = 1,
  567. .has_tda9887 = 1,
  568. .port1_active = 1,
  569. .port2_active = 1,
  570. .port1_fm_high_sensitivity = 1,
  571. },
  572. };
  573. /* ------------ TUNER_PHILIPS_4IN1 - Philips NTSC ------------ */
  574. static struct tuner_params tuner_philips_4in1_params[] = {
  575. {
  576. .type = TUNER_PARAM_TYPE_NTSC,
  577. .ranges = tuner_fm1236_mk3_ntsc_ranges,
  578. .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
  579. },
  580. };
  581. /* ------------ TUNER_MICROTUNE_4049FM5 - Microtune PAL ------------ */
  582. static struct tuner_params tuner_microtune_4049_fm5_params[] = {
  583. {
  584. .type = TUNER_PARAM_TYPE_PAL,
  585. .ranges = tuner_temic_4009f_5_pal_ranges,
  586. .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
  587. .has_tda9887 = 1,
  588. .port1_invert_for_secam_lc = 1,
  589. .default_pll_gating_18 = 1,
  590. .fm_gain_normal=1,
  591. .radio_if = 1, /* 33.3 MHz */
  592. },
  593. };
  594. /* ------------ TUNER_PANASONIC_VP27 - Panasonic NTSC ------------ */
  595. static struct tuner_range tuner_panasonic_vp27_ntsc_ranges[] = {
  596. { 16 * 160.00 /*MHz*/, 0xce, 0x01, },
  597. { 16 * 454.00 /*MHz*/, 0xce, 0x02, },
  598. { 16 * 999.99 , 0xce, 0x08, },
  599. };
  600. static struct tuner_params tuner_panasonic_vp27_params[] = {
  601. {
  602. .type = TUNER_PARAM_TYPE_NTSC,
  603. .ranges = tuner_panasonic_vp27_ntsc_ranges,
  604. .count = ARRAY_SIZE(tuner_panasonic_vp27_ntsc_ranges),
  605. .has_tda9887 = 1,
  606. .intercarrier_mode = 1,
  607. .default_top_low = -3,
  608. .default_top_mid = -3,
  609. .default_top_high = -3,
  610. },
  611. };
  612. /* ------------ TUNER_TNF_8831BGFF - Philips PAL ------------ */
  613. static struct tuner_range tuner_tnf_8831bgff_pal_ranges[] = {
  614. { 16 * 161.25 /*MHz*/, 0x8e, 0xa0, },
  615. { 16 * 463.25 /*MHz*/, 0x8e, 0x90, },
  616. { 16 * 999.99 , 0x8e, 0x30, },
  617. };
  618. static struct tuner_params tuner_tnf_8831bgff_params[] = {
  619. {
  620. .type = TUNER_PARAM_TYPE_PAL,
  621. .ranges = tuner_tnf_8831bgff_pal_ranges,
  622. .count = ARRAY_SIZE(tuner_tnf_8831bgff_pal_ranges),
  623. },
  624. };
  625. /* ------------ TUNER_MICROTUNE_4042FI5 - Microtune NTSC ------------ */
  626. static struct tuner_range tuner_microtune_4042fi5_ntsc_ranges[] = {
  627. { 16 * 162.00 /*MHz*/, 0x8e, 0xa2, },
  628. { 16 * 457.00 /*MHz*/, 0x8e, 0x94, },
  629. { 16 * 999.99 , 0x8e, 0x31, },
  630. };
  631. static struct tuner_range tuner_microtune_4042fi5_atsc_ranges[] = {
  632. { 16 * 162.00 /*MHz*/, 0x8e, 0xa1, },
  633. { 16 * 457.00 /*MHz*/, 0x8e, 0x91, },
  634. { 16 * 999.99 , 0x8e, 0x31, },
  635. };
  636. static struct tuner_params tuner_microtune_4042fi5_params[] = {
  637. {
  638. .type = TUNER_PARAM_TYPE_NTSC,
  639. .ranges = tuner_microtune_4042fi5_ntsc_ranges,
  640. .count = ARRAY_SIZE(tuner_microtune_4042fi5_ntsc_ranges),
  641. },
  642. {
  643. .type = TUNER_PARAM_TYPE_DIGITAL,
  644. .ranges = tuner_microtune_4042fi5_atsc_ranges,
  645. .count = ARRAY_SIZE(tuner_microtune_4042fi5_atsc_ranges),
  646. .iffreq = 16 * 44.00 /*MHz*/,
  647. },
  648. };
  649. /* 50-59 */
  650. /* ------------ TUNER_TCL_2002N - TCL NTSC ------------ */
  651. static struct tuner_range tuner_tcl_2002n_ntsc_ranges[] = {
  652. { 16 * 172.00 /*MHz*/, 0x8e, 0x01, },
  653. { 16 * 448.00 /*MHz*/, 0x8e, 0x02, },
  654. { 16 * 999.99 , 0x8e, 0x08, },
  655. };
  656. static struct tuner_params tuner_tcl_2002n_params[] = {
  657. {
  658. .type = TUNER_PARAM_TYPE_NTSC,
  659. .ranges = tuner_tcl_2002n_ntsc_ranges,
  660. .count = ARRAY_SIZE(tuner_tcl_2002n_ntsc_ranges),
  661. .cb_first_if_lower_freq = 1,
  662. },
  663. };
  664. /* ------------ TUNER_PHILIPS_FM1256_IH3 - Philips PAL ------------ */
  665. static struct tuner_params tuner_philips_fm1256_ih3_params[] = {
  666. {
  667. .type = TUNER_PARAM_TYPE_PAL,
  668. .ranges = tuner_fm1236_mk3_ntsc_ranges,
  669. .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
  670. .radio_if = 1, /* 33.3 MHz */
  671. },
  672. };
  673. /* ------------ TUNER_THOMSON_DTT7610 - THOMSON ATSC ------------ */
  674. /* single range used for both ntsc and atsc */
  675. static struct tuner_range tuner_thomson_dtt7610_ntsc_ranges[] = {
  676. { 16 * 157.25 /*MHz*/, 0x8e, 0x39, },
  677. { 16 * 454.00 /*MHz*/, 0x8e, 0x3a, },
  678. { 16 * 999.99 , 0x8e, 0x3c, },
  679. };
  680. static struct tuner_params tuner_thomson_dtt7610_params[] = {
  681. {
  682. .type = TUNER_PARAM_TYPE_NTSC,
  683. .ranges = tuner_thomson_dtt7610_ntsc_ranges,
  684. .count = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges),
  685. },
  686. {
  687. .type = TUNER_PARAM_TYPE_DIGITAL,
  688. .ranges = tuner_thomson_dtt7610_ntsc_ranges,
  689. .count = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges),
  690. .iffreq = 16 * 44.00 /*MHz*/,
  691. },
  692. };
  693. /* ------------ TUNER_PHILIPS_FQ1286 - Philips NTSC ------------ */
  694. static struct tuner_range tuner_philips_fq1286_ntsc_ranges[] = {
  695. { 16 * 160.00 /*MHz*/, 0x8e, 0x41, },
  696. { 16 * 454.00 /*MHz*/, 0x8e, 0x42, },
  697. { 16 * 999.99 , 0x8e, 0x04, },
  698. };
  699. static struct tuner_params tuner_philips_fq1286_params[] = {
  700. {
  701. .type = TUNER_PARAM_TYPE_NTSC,
  702. .ranges = tuner_philips_fq1286_ntsc_ranges,
  703. .count = ARRAY_SIZE(tuner_philips_fq1286_ntsc_ranges),
  704. },
  705. };
  706. /* ------------ TUNER_TCL_2002MB - TCL PAL ------------ */
  707. static struct tuner_range tuner_tcl_2002mb_pal_ranges[] = {
  708. { 16 * 170.00 /*MHz*/, 0xce, 0x01, },
  709. { 16 * 450.00 /*MHz*/, 0xce, 0x02, },
  710. { 16 * 999.99 , 0xce, 0x08, },
  711. };
  712. static struct tuner_params tuner_tcl_2002mb_params[] = {
  713. {
  714. .type = TUNER_PARAM_TYPE_PAL,
  715. .ranges = tuner_tcl_2002mb_pal_ranges,
  716. .count = ARRAY_SIZE(tuner_tcl_2002mb_pal_ranges),
  717. },
  718. };
  719. /* ------------ TUNER_PHILIPS_FQ1216AME_MK4 - Philips PAL ------------ */
  720. static struct tuner_range tuner_philips_fq12_6a___mk4_pal_ranges[] = {
  721. { 16 * 160.00 /*MHz*/, 0xce, 0x01, },
  722. { 16 * 442.00 /*MHz*/, 0xce, 0x02, },
  723. { 16 * 999.99 , 0xce, 0x04, },
  724. };
  725. static struct tuner_params tuner_philips_fq1216ame_mk4_params[] = {
  726. {
  727. .type = TUNER_PARAM_TYPE_PAL,
  728. .ranges = tuner_philips_fq12_6a___mk4_pal_ranges,
  729. .count = ARRAY_SIZE(tuner_philips_fq12_6a___mk4_pal_ranges),
  730. .has_tda9887 = 1,
  731. .port1_active = 1,
  732. .port2_invert_for_secam_lc = 1,
  733. .default_top_mid = -2,
  734. .default_top_secam_low = -2,
  735. .default_top_secam_mid = -2,
  736. .default_top_secam_high = -2,
  737. },
  738. };
  739. /* ------------ TUNER_PHILIPS_FQ1236A_MK4 - Philips NTSC ------------ */
  740. static struct tuner_params tuner_philips_fq1236a_mk4_params[] = {
  741. {
  742. .type = TUNER_PARAM_TYPE_NTSC,
  743. .ranges = tuner_fm1236_mk3_ntsc_ranges,
  744. .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
  745. },
  746. };
  747. /* ------------ TUNER_YMEC_TVF_8531MF - Philips NTSC ------------ */
  748. static struct tuner_params tuner_ymec_tvf_8531mf_params[] = {
  749. {
  750. .type = TUNER_PARAM_TYPE_NTSC,
  751. .ranges = tuner_philips_ntsc_m_ranges,
  752. .count = ARRAY_SIZE(tuner_philips_ntsc_m_ranges),
  753. },
  754. };
  755. /* ------------ TUNER_YMEC_TVF_5533MF - Philips NTSC ------------ */
  756. static struct tuner_range tuner_ymec_tvf_5533mf_ntsc_ranges[] = {
  757. { 16 * 160.00 /*MHz*/, 0x8e, 0x01, },
  758. { 16 * 454.00 /*MHz*/, 0x8e, 0x02, },
  759. { 16 * 999.99 , 0x8e, 0x04, },
  760. };
  761. static struct tuner_params tuner_ymec_tvf_5533mf_params[] = {
  762. {
  763. .type = TUNER_PARAM_TYPE_NTSC,
  764. .ranges = tuner_ymec_tvf_5533mf_ntsc_ranges,
  765. .count = ARRAY_SIZE(tuner_ymec_tvf_5533mf_ntsc_ranges),
  766. },
  767. };
  768. /* 60-69 */
  769. /* ------------ TUNER_THOMSON_DTT761X - THOMSON ATSC ------------ */
  770. /* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */
  771. static struct tuner_range tuner_thomson_dtt761x_ntsc_ranges[] = {
  772. { 16 * 145.25 /*MHz*/, 0x8e, 0x39, },
  773. { 16 * 415.25 /*MHz*/, 0x8e, 0x3a, },
  774. { 16 * 999.99 , 0x8e, 0x3c, },
  775. };
  776. static struct tuner_range tuner_thomson_dtt761x_atsc_ranges[] = {
  777. { 16 * 147.00 /*MHz*/, 0x8e, 0x39, },
  778. { 16 * 417.00 /*MHz*/, 0x8e, 0x3a, },
  779. { 16 * 999.99 , 0x8e, 0x3c, },
  780. };
  781. static struct tuner_params tuner_thomson_dtt761x_params[] = {
  782. {
  783. .type = TUNER_PARAM_TYPE_NTSC,
  784. .ranges = tuner_thomson_dtt761x_ntsc_ranges,
  785. .count = ARRAY_SIZE(tuner_thomson_dtt761x_ntsc_ranges),
  786. .has_tda9887 = 1,
  787. .fm_gain_normal = 1,
  788. .radio_if = 2, /* 41.3 MHz */
  789. },
  790. {
  791. .type = TUNER_PARAM_TYPE_DIGITAL,
  792. .ranges = tuner_thomson_dtt761x_atsc_ranges,
  793. .count = ARRAY_SIZE(tuner_thomson_dtt761x_atsc_ranges),
  794. .iffreq = 16 * 44.00, /*MHz*/
  795. },
  796. };
  797. /* ------------ TUNER_TENA_9533_DI - Philips PAL ------------ */
  798. static struct tuner_range tuner_tena_9533_di_pal_ranges[] = {
  799. { 16 * 160.25 /*MHz*/, 0x8e, 0x01, },
  800. { 16 * 464.25 /*MHz*/, 0x8e, 0x02, },
  801. { 16 * 999.99 , 0x8e, 0x04, },
  802. };
  803. static struct tuner_params tuner_tena_9533_di_params[] = {
  804. {
  805. .type = TUNER_PARAM_TYPE_PAL,
  806. .ranges = tuner_tena_9533_di_pal_ranges,
  807. .count = ARRAY_SIZE(tuner_tena_9533_di_pal_ranges),
  808. },
  809. };
  810. /* ------------ TUNER_TENA_TNF_5337 - Tena tnf5337MFD STD M/N ------------ */
  811. static struct tuner_range tuner_tena_tnf_5337_ntsc_ranges[] = {
  812. { 16 * 166.25 /*MHz*/, 0x86, 0x01, },
  813. { 16 * 466.25 /*MHz*/, 0x86, 0x02, },
  814. { 16 * 999.99 , 0x86, 0x08, },
  815. };
  816. static struct tuner_params tuner_tena_tnf_5337_params[] = {
  817. {
  818. .type = TUNER_PARAM_TYPE_NTSC,
  819. .ranges = tuner_tena_tnf_5337_ntsc_ranges,
  820. .count = ARRAY_SIZE(tuner_tena_tnf_5337_ntsc_ranges),
  821. },
  822. };
  823. /* ------------ TUNER_PHILIPS_FMD1216ME(X)_MK3 - Philips PAL ------------ */
  824. static struct tuner_range tuner_philips_fmd1216me_mk3_pal_ranges[] = {
  825. { 16 * 160.00 /*MHz*/, 0x86, 0x51, },
  826. { 16 * 442.00 /*MHz*/, 0x86, 0x52, },
  827. { 16 * 999.99 , 0x86, 0x54, },
  828. };
  829. static struct tuner_range tuner_philips_fmd1216me_mk3_dvb_ranges[] = {
  830. { 16 * 143.87 /*MHz*/, 0xbc, 0x41 },
  831. { 16 * 158.87 /*MHz*/, 0xf4, 0x41 },
  832. { 16 * 329.87 /*MHz*/, 0xbc, 0x42 },
  833. { 16 * 441.87 /*MHz*/, 0xf4, 0x42 },
  834. { 16 * 625.87 /*MHz*/, 0xbc, 0x44 },
  835. { 16 * 803.87 /*MHz*/, 0xf4, 0x44 },
  836. { 16 * 999.99 , 0xfc, 0x44 },
  837. };
  838. static struct tuner_params tuner_philips_fmd1216me_mk3_params[] = {
  839. {
  840. .type = TUNER_PARAM_TYPE_PAL,
  841. .ranges = tuner_philips_fmd1216me_mk3_pal_ranges,
  842. .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_pal_ranges),
  843. .has_tda9887 = 1,
  844. .port1_active = 1,
  845. .port2_active = 1,
  846. .port2_fm_high_sensitivity = 1,
  847. .port2_invert_for_secam_lc = 1,
  848. .port1_set_for_fm_mono = 1,
  849. },
  850. {
  851. .type = TUNER_PARAM_TYPE_DIGITAL,
  852. .ranges = tuner_philips_fmd1216me_mk3_dvb_ranges,
  853. .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_dvb_ranges),
  854. .iffreq = 16 * 36.125, /*MHz*/
  855. },
  856. };
  857. static struct tuner_params tuner_philips_fmd1216mex_mk3_params[] = {
  858. {
  859. .type = TUNER_PARAM_TYPE_PAL,
  860. .ranges = tuner_philips_fmd1216me_mk3_pal_ranges,
  861. .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_pal_ranges),
  862. .has_tda9887 = 1,
  863. .port1_active = 1,
  864. .port2_active = 1,
  865. .port2_fm_high_sensitivity = 1,
  866. .port2_invert_for_secam_lc = 1,
  867. .port1_set_for_fm_mono = 1,
  868. .radio_if = 1,
  869. .fm_gain_normal = 1,
  870. },
  871. {
  872. .type = TUNER_PARAM_TYPE_DIGITAL,
  873. .ranges = tuner_philips_fmd1216me_mk3_dvb_ranges,
  874. .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_dvb_ranges),
  875. .iffreq = 16 * 36.125, /*MHz*/
  876. },
  877. };
  878. /* ------ TUNER_LG_TDVS_H06XF - LG INNOTEK / INFINEON ATSC ----- */
  879. static struct tuner_range tuner_tua6034_ntsc_ranges[] = {
  880. { 16 * 165.00 /*MHz*/, 0x8e, 0x01 },
  881. { 16 * 450.00 /*MHz*/, 0x8e, 0x02 },
  882. { 16 * 999.99 , 0x8e, 0x04 },
  883. };
  884. static struct tuner_range tuner_tua6034_atsc_ranges[] = {
  885. { 16 * 165.00 /*MHz*/, 0xce, 0x01 },
  886. { 16 * 450.00 /*MHz*/, 0xce, 0x02 },
  887. { 16 * 999.99 , 0xce, 0x04 },
  888. };
  889. static struct tuner_params tuner_lg_tdvs_h06xf_params[] = {
  890. {
  891. .type = TUNER_PARAM_TYPE_NTSC,
  892. .ranges = tuner_tua6034_ntsc_ranges,
  893. .count = ARRAY_SIZE(tuner_tua6034_ntsc_ranges),
  894. },
  895. {
  896. .type = TUNER_PARAM_TYPE_DIGITAL,
  897. .ranges = tuner_tua6034_atsc_ranges,
  898. .count = ARRAY_SIZE(tuner_tua6034_atsc_ranges),
  899. .iffreq = 16 * 44.00,
  900. },
  901. };
  902. /* ------------ TUNER_YMEC_TVF66T5_B_DFF - Philips PAL ------------ */
  903. static struct tuner_range tuner_ymec_tvf66t5_b_dff_pal_ranges[] = {
  904. { 16 * 160.25 /*MHz*/, 0x8e, 0x01, },
  905. { 16 * 464.25 /*MHz*/, 0x8e, 0x02, },
  906. { 16 * 999.99 , 0x8e, 0x08, },
  907. };
  908. static struct tuner_params tuner_ymec_tvf66t5_b_dff_params[] = {
  909. {
  910. .type = TUNER_PARAM_TYPE_PAL,
  911. .ranges = tuner_ymec_tvf66t5_b_dff_pal_ranges,
  912. .count = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_pal_ranges),
  913. },
  914. };
  915. /* ------------ TUNER_LG_NTSC_TALN_MINI - LGINNOTEK NTSC ------------ */
  916. static struct tuner_range tuner_lg_taln_ntsc_ranges[] = {
  917. { 16 * 137.25 /*MHz*/, 0x8e, 0x01, },
  918. { 16 * 373.25 /*MHz*/, 0x8e, 0x02, },
  919. { 16 * 999.99 , 0x8e, 0x08, },
  920. };
  921. static struct tuner_range tuner_lg_taln_pal_secam_ranges[] = {
  922. { 16 * 150.00 /*MHz*/, 0x8e, 0x01, },
  923. { 16 * 425.00 /*MHz*/, 0x8e, 0x02, },
  924. { 16 * 999.99 , 0x8e, 0x08, },
  925. };
  926. static struct tuner_params tuner_lg_taln_params[] = {
  927. {
  928. .type = TUNER_PARAM_TYPE_NTSC,
  929. .ranges = tuner_lg_taln_ntsc_ranges,
  930. .count = ARRAY_SIZE(tuner_lg_taln_ntsc_ranges),
  931. },{
  932. .type = TUNER_PARAM_TYPE_PAL,
  933. .ranges = tuner_lg_taln_pal_secam_ranges,
  934. .count = ARRAY_SIZE(tuner_lg_taln_pal_secam_ranges),
  935. },
  936. };
  937. /* ------------ TUNER_PHILIPS_TD1316 - Philips PAL ------------ */
  938. static struct tuner_range tuner_philips_td1316_pal_ranges[] = {
  939. { 16 * 160.00 /*MHz*/, 0xc8, 0xa1, },
  940. { 16 * 442.00 /*MHz*/, 0xc8, 0xa2, },
  941. { 16 * 999.99 , 0xc8, 0xa4, },
  942. };
  943. static struct tuner_range tuner_philips_td1316_dvb_ranges[] = {
  944. { 16 * 93.834 /*MHz*/, 0xca, 0x60, },
  945. { 16 * 123.834 /*MHz*/, 0xca, 0xa0, },
  946. { 16 * 163.834 /*MHz*/, 0xca, 0xc0, },
  947. { 16 * 253.834 /*MHz*/, 0xca, 0x60, },
  948. { 16 * 383.834 /*MHz*/, 0xca, 0xa0, },
  949. { 16 * 443.834 /*MHz*/, 0xca, 0xc0, },
  950. { 16 * 583.834 /*MHz*/, 0xca, 0x60, },
  951. { 16 * 793.834 /*MHz*/, 0xca, 0xa0, },
  952. { 16 * 999.999 , 0xca, 0xe0, },
  953. };
  954. static struct tuner_params tuner_philips_td1316_params[] = {
  955. {
  956. .type = TUNER_PARAM_TYPE_PAL,
  957. .ranges = tuner_philips_td1316_pal_ranges,
  958. .count = ARRAY_SIZE(tuner_philips_td1316_pal_ranges),
  959. },
  960. {
  961. .type = TUNER_PARAM_TYPE_DIGITAL,
  962. .ranges = tuner_philips_td1316_dvb_ranges,
  963. .count = ARRAY_SIZE(tuner_philips_td1316_dvb_ranges),
  964. .iffreq = 16 * 36.166667 /*MHz*/,
  965. },
  966. };
  967. /* ------------ TUNER_PHILIPS_TUV1236D - Philips ATSC ------------ */
  968. static struct tuner_range tuner_tuv1236d_ntsc_ranges[] = {
  969. { 16 * 157.25 /*MHz*/, 0xce, 0x01, },
  970. { 16 * 454.00 /*MHz*/, 0xce, 0x02, },
  971. { 16 * 999.99 , 0xce, 0x04, },
  972. };
  973. static struct tuner_range tuner_tuv1236d_atsc_ranges[] = {
  974. { 16 * 157.25 /*MHz*/, 0xc6, 0x41, },
  975. { 16 * 454.00 /*MHz*/, 0xc6, 0x42, },
  976. { 16 * 999.99 , 0xc6, 0x44, },
  977. };
  978. static struct tuner_params tuner_tuv1236d_params[] = {
  979. {
  980. .type = TUNER_PARAM_TYPE_NTSC,
  981. .ranges = tuner_tuv1236d_ntsc_ranges,
  982. .count = ARRAY_SIZE(tuner_tuv1236d_ntsc_ranges),
  983. },
  984. {
  985. .type = TUNER_PARAM_TYPE_DIGITAL,
  986. .ranges = tuner_tuv1236d_atsc_ranges,
  987. .count = ARRAY_SIZE(tuner_tuv1236d_atsc_ranges),
  988. .iffreq = 16 * 44.00,
  989. },
  990. };
  991. /* ------------ TUNER_TNF_xxx5 - Texas Instruments--------- */
  992. /* This is known to work with Tenna TVF58t5-MFF and TVF5835 MFF
  993. * but it is expected to work also with other Tenna/Ymec
  994. * models based on TI SN 761677 chip on both PAL and NTSC
  995. */
  996. static struct tuner_range tuner_tnf_5335_d_if_pal_ranges[] = {
  997. { 16 * 168.25 /*MHz*/, 0x8e, 0x01, },
  998. { 16 * 471.25 /*MHz*/, 0x8e, 0x02, },
  999. { 16 * 999.99 , 0x8e, 0x08, },
  1000. };
  1001. static struct tuner_range tuner_tnf_5335mf_ntsc_ranges[] = {
  1002. { 16 * 169.25 /*MHz*/, 0x8e, 0x01, },
  1003. { 16 * 469.25 /*MHz*/, 0x8e, 0x02, },
  1004. { 16 * 999.99 , 0x8e, 0x08, },
  1005. };
  1006. static struct tuner_params tuner_tnf_5335mf_params[] = {
  1007. {
  1008. .type = TUNER_PARAM_TYPE_NTSC,
  1009. .ranges = tuner_tnf_5335mf_ntsc_ranges,
  1010. .count = ARRAY_SIZE(tuner_tnf_5335mf_ntsc_ranges),
  1011. },
  1012. {
  1013. .type = TUNER_PARAM_TYPE_PAL,
  1014. .ranges = tuner_tnf_5335_d_if_pal_ranges,
  1015. .count = ARRAY_SIZE(tuner_tnf_5335_d_if_pal_ranges),
  1016. },
  1017. };
  1018. /* 70-79 */
  1019. /* ------------ TUNER_SAMSUNG_TCPN_2121P30A - Samsung NTSC ------------ */
  1020. /* '+ 4' turns on the Low Noise Amplifier */
  1021. static struct tuner_range tuner_samsung_tcpn_2121p30a_ntsc_ranges[] = {
  1022. { 16 * 130.00 /*MHz*/, 0xce, 0x01 + 4, },
  1023. { 16 * 364.50 /*MHz*/, 0xce, 0x02 + 4, },
  1024. { 16 * 999.99 , 0xce, 0x08 + 4, },
  1025. };
  1026. static struct tuner_params tuner_samsung_tcpn_2121p30a_params[] = {
  1027. {
  1028. .type = TUNER_PARAM_TYPE_NTSC,
  1029. .ranges = tuner_samsung_tcpn_2121p30a_ntsc_ranges,
  1030. .count = ARRAY_SIZE(tuner_samsung_tcpn_2121p30a_ntsc_ranges),
  1031. },
  1032. };
  1033. /* ------------ TUNER_THOMSON_FE6600 - DViCO Hybrid PAL ------------ */
  1034. static struct tuner_range tuner_thomson_fe6600_pal_ranges[] = {
  1035. { 16 * 160.00 /*MHz*/, 0xfe, 0x11, },
  1036. { 16 * 442.00 /*MHz*/, 0xf6, 0x12, },
  1037. { 16 * 999.99 , 0xf6, 0x18, },
  1038. };
  1039. static struct tuner_range tuner_thomson_fe6600_dvb_ranges[] = {
  1040. { 16 * 250.00 /*MHz*/, 0xb4, 0x12, },
  1041. { 16 * 455.00 /*MHz*/, 0xfe, 0x11, },
  1042. { 16 * 775.50 /*MHz*/, 0xbc, 0x18, },
  1043. { 16 * 999.99 , 0xf4, 0x18, },
  1044. };
  1045. static struct tuner_params tuner_thomson_fe6600_params[] = {
  1046. {
  1047. .type = TUNER_PARAM_TYPE_PAL,
  1048. .ranges = tuner_thomson_fe6600_pal_ranges,
  1049. .count = ARRAY_SIZE(tuner_thomson_fe6600_pal_ranges),
  1050. },
  1051. {
  1052. .type = TUNER_PARAM_TYPE_DIGITAL,
  1053. .ranges = tuner_thomson_fe6600_dvb_ranges,
  1054. .count = ARRAY_SIZE(tuner_thomson_fe6600_dvb_ranges),
  1055. .iffreq = 16 * 36.125 /*MHz*/,
  1056. },
  1057. };
  1058. /* ------------ TUNER_SAMSUNG_TCPG_6121P30A - Samsung PAL ------------ */
  1059. /* '+ 4' turns on the Low Noise Amplifier */
  1060. static struct tuner_range tuner_samsung_tcpg_6121p30a_pal_ranges[] = {
  1061. { 16 * 146.25 /*MHz*/, 0xce, 0x01 + 4, },
  1062. { 16 * 428.50 /*MHz*/, 0xce, 0x02 + 4, },
  1063. { 16 * 999.99 , 0xce, 0x08 + 4, },
  1064. };
  1065. static struct tuner_params tuner_samsung_tcpg_6121p30a_params[] = {
  1066. {
  1067. .type = TUNER_PARAM_TYPE_PAL,
  1068. .ranges = tuner_samsung_tcpg_6121p30a_pal_ranges,
  1069. .count = ARRAY_SIZE(tuner_samsung_tcpg_6121p30a_pal_ranges),
  1070. .has_tda9887 = 1,
  1071. .port1_active = 1,
  1072. .port2_active = 1,
  1073. .port2_invert_for_secam_lc = 1,
  1074. },
  1075. };
  1076. /* ------------ TUNER_TCL_MF02GIP-5N-E - TCL MF02GIP-5N ------------ */
  1077. static struct tuner_range tuner_tcl_mf02gip_5n_ntsc_ranges[] = {
  1078. { 16 * 172.00 /*MHz*/, 0x8e, 0x01, },
  1079. { 16 * 448.00 /*MHz*/, 0x8e, 0x02, },
  1080. { 16 * 999.99 , 0x8e, 0x04, },
  1081. };
  1082. static struct tuner_params tuner_tcl_mf02gip_5n_params[] = {
  1083. {
  1084. .type = TUNER_PARAM_TYPE_NTSC,
  1085. .ranges = tuner_tcl_mf02gip_5n_ntsc_ranges,
  1086. .count = ARRAY_SIZE(tuner_tcl_mf02gip_5n_ntsc_ranges),
  1087. .cb_first_if_lower_freq = 1,
  1088. },
  1089. };
  1090. /* 80-89 */
  1091. /* --------- TUNER_PHILIPS_FQ1216LME_MK3 -- active loopthrough, no FM ------- */
  1092. static struct tuner_params tuner_fq1216lme_mk3_params[] = {
  1093. {
  1094. .type = TUNER_PARAM_TYPE_PAL,
  1095. .ranges = tuner_fm1216me_mk3_pal_ranges,
  1096. .count = ARRAY_SIZE(tuner_fm1216me_mk3_pal_ranges),
  1097. .cb_first_if_lower_freq = 1, /* not specified, but safe to do */
  1098. .has_tda9887 = 1, /* TDA9886 */
  1099. .port1_active = 1,
  1100. .port2_active = 1,
  1101. .port2_invert_for_secam_lc = 1,
  1102. .default_top_low = 4,
  1103. .default_top_mid = 4,
  1104. .default_top_high = 4,
  1105. .default_top_secam_low = 4,
  1106. .default_top_secam_mid = 4,
  1107. .default_top_secam_high = 4,
  1108. },
  1109. };
  1110. /* ----- TUNER_PARTSNIC_PTI_5NF05 - Partsnic (Daewoo) PTI-5NF05 NTSC ----- */
  1111. static struct tuner_range tuner_partsnic_pti_5nf05_ranges[] = {
  1112. /* The datasheet specified channel ranges and the bandswitch byte */
  1113. /* The control byte value of 0x8e is just a guess */
  1114. { 16 * 133.25 /*MHz*/, 0x8e, 0x01, }, /* Channels 2 - B */
  1115. { 16 * 367.25 /*MHz*/, 0x8e, 0x02, }, /* Channels C - W+11 */
  1116. { 16 * 999.99 , 0x8e, 0x08, }, /* Channels W+12 - 69 */
  1117. };
  1118. static struct tuner_params tuner_partsnic_pti_5nf05_params[] = {
  1119. {
  1120. .type = TUNER_PARAM_TYPE_NTSC,
  1121. .ranges = tuner_partsnic_pti_5nf05_ranges,
  1122. .count = ARRAY_SIZE(tuner_partsnic_pti_5nf05_ranges),
  1123. .cb_first_if_lower_freq = 1, /* not specified but safe to do */
  1124. },
  1125. };
  1126. /* --------- TUNER_PHILIPS_CU1216L - DVB-C NIM ------------------------- */
  1127. static struct tuner_range tuner_cu1216l_ranges[] = {
  1128. { 16 * 160.25 /*MHz*/, 0xce, 0x01 },
  1129. { 16 * 444.25 /*MHz*/, 0xce, 0x02 },
  1130. { 16 * 999.99 , 0xce, 0x04 },
  1131. };
  1132. static struct tuner_params tuner_philips_cu1216l_params[] = {
  1133. {
  1134. .type = TUNER_PARAM_TYPE_DIGITAL,
  1135. .ranges = tuner_cu1216l_ranges,
  1136. .count = ARRAY_SIZE(tuner_cu1216l_ranges),
  1137. .iffreq = 16 * 36.125, /*MHz*/
  1138. },
  1139. };
  1140. /* ---------------------- TUNER_SONY_BTF_PXN01Z ------------------------ */
  1141. static struct tuner_range tuner_sony_btf_pxn01z_ranges[] = {
  1142. { 16 * 137.25 /*MHz*/, 0x8e, 0x01, },
  1143. { 16 * 367.25 /*MHz*/, 0x8e, 0x02, },
  1144. { 16 * 999.99 , 0x8e, 0x04, },
  1145. };
  1146. static struct tuner_params tuner_sony_btf_pxn01z_params[] = {
  1147. {
  1148. .type = TUNER_PARAM_TYPE_NTSC,
  1149. .ranges = tuner_sony_btf_pxn01z_ranges,
  1150. .count = ARRAY_SIZE(tuner_sony_btf_pxn01z_ranges),
  1151. },
  1152. };
  1153. /* ------------ TUNER_PHILIPS_FQ1236_MK5 - Philips NTSC ------------ */
  1154. static struct tuner_params tuner_philips_fq1236_mk5_params[] = {
  1155. {
  1156. .type = TUNER_PARAM_TYPE_NTSC,
  1157. .ranges = tuner_fm1236_mk3_ntsc_ranges,
  1158. .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
  1159. .has_tda9887 = 1, /* TDA9885, no FM radio */
  1160. },
  1161. };
  1162. /* --------- Sony BTF-PG472Z PAL/SECAM ------- */
  1163. static struct tuner_range tuner_sony_btf_pg472z_ranges[] = {
  1164. { 16 * 144.25 /*MHz*/, 0xc6, 0x01, },
  1165. { 16 * 427.25 /*MHz*/, 0xc6, 0x02, },
  1166. { 16 * 999.99 , 0xc6, 0x04, },
  1167. };
  1168. static struct tuner_params tuner_sony_btf_pg472z_params[] = {
  1169. {
  1170. .type = TUNER_PARAM_TYPE_PAL,
  1171. .ranges = tuner_sony_btf_pg472z_ranges,
  1172. .count = ARRAY_SIZE(tuner_sony_btf_pg472z_ranges),
  1173. .has_tda9887 = 1,
  1174. .port1_active = 1,
  1175. .port2_invert_for_secam_lc = 1,
  1176. },
  1177. };
  1178. /* 90-99 */
  1179. /* --------- Sony BTF-PG467Z NTSC-M-JP ------- */
  1180. static struct tuner_range tuner_sony_btf_pg467z_ranges[] = {
  1181. { 16 * 220.25 /*MHz*/, 0xc6, 0x01, },
  1182. { 16 * 467.25 /*MHz*/, 0xc6, 0x02, },
  1183. { 16 * 999.99 , 0xc6, 0x04, },
  1184. };
  1185. static struct tuner_params tuner_sony_btf_pg467z_params[] = {
  1186. {
  1187. .type = TUNER_PARAM_TYPE_NTSC,
  1188. .ranges = tuner_sony_btf_pg467z_ranges,
  1189. .count = ARRAY_SIZE(tuner_sony_btf_pg467z_ranges),
  1190. },
  1191. };
  1192. /* --------- Sony BTF-PG463Z NTSC-M ------- */
  1193. static struct tuner_range tuner_sony_btf_pg463z_ranges[] = {
  1194. { 16 * 130.25 /*MHz*/, 0xc6, 0x01, },
  1195. { 16 * 364.25 /*MHz*/, 0xc6, 0x02, },
  1196. { 16 * 999.99 , 0xc6, 0x04, },
  1197. };
  1198. static struct tuner_params tuner_sony_btf_pg463z_params[] = {
  1199. {
  1200. .type = TUNER_PARAM_TYPE_NTSC,
  1201. .ranges = tuner_sony_btf_pg463z_ranges,
  1202. .count = ARRAY_SIZE(tuner_sony_btf_pg463z_ranges),
  1203. },
  1204. };
  1205. /* --------------------------------------------------------------------- */
  1206. struct tunertype tuners[] = {
  1207. /* 0-9 */
  1208. [TUNER_TEMIC_PAL] = { /* TEMIC PAL */
  1209. .name = "Temic PAL (4002 FH5)",
  1210. .params = tuner_temic_pal_params,
  1211. .count = ARRAY_SIZE(tuner_temic_pal_params),
  1212. },
  1213. [TUNER_PHILIPS_PAL_I] = { /* Philips PAL_I */
  1214. .name = "Philips PAL_I (FI1246 and compatibles)",
  1215. .params = tuner_philips_pal_i_params,
  1216. .count = ARRAY_SIZE(tuner_philips_pal_i_params),
  1217. },
  1218. [TUNER_PHILIPS_NTSC] = { /* Philips NTSC */
  1219. .name = "Philips NTSC (FI1236,FM1236 and compatibles)",
  1220. .params = tuner_philips_ntsc_params,
  1221. .count = ARRAY_SIZE(tuner_philips_ntsc_params),
  1222. },
  1223. [TUNER_PHILIPS_SECAM] = { /* Philips SECAM */
  1224. .name = "Philips (SECAM+PAL_BG) (FI1216MF, FM1216MF, FR1216MF)",
  1225. .params = tuner_philips_secam_params,
  1226. .count = ARRAY_SIZE(tuner_philips_secam_params),
  1227. },
  1228. [TUNER_ABSENT] = { /* Tuner Absent */
  1229. .name = "NoTuner",
  1230. },
  1231. [TUNER_PHILIPS_PAL] = { /* Philips PAL */
  1232. .name = "Philips PAL_BG (FI1216 and compatibles)",
  1233. .params = tuner_philips_pal_params,
  1234. .count = ARRAY_SIZE(tuner_philips_pal_params),
  1235. },
  1236. [TUNER_TEMIC_NTSC] = { /* TEMIC NTSC */
  1237. .name = "Temic NTSC (4032 FY5)",
  1238. .params = tuner_temic_ntsc_params,
  1239. .count = ARRAY_SIZE(tuner_temic_ntsc_params),
  1240. },
  1241. [TUNER_TEMIC_PAL_I] = { /* TEMIC PAL_I */
  1242. .name = "Temic PAL_I (4062 FY5)",
  1243. .params = tuner_temic_pal_i_params,
  1244. .count = ARRAY_SIZE(tuner_temic_pal_i_params),
  1245. },
  1246. [TUNER_TEMIC_4036FY5_NTSC] = { /* TEMIC NTSC */
  1247. .name = "Temic NTSC (4036 FY5)",
  1248. .params = tuner_temic_4036fy5_ntsc_params,
  1249. .count = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_params),
  1250. },
  1251. [TUNER_ALPS_TSBH1_NTSC] = { /* TEMIC NTSC */
  1252. .name = "Alps HSBH1",
  1253. .params = tuner_alps_tsbh1_ntsc_params,
  1254. .count = ARRAY_SIZE(tuner_alps_tsbh1_ntsc_params),
  1255. },
  1256. /* 10-19 */
  1257. [TUNER_ALPS_TSBE1_PAL] = { /* TEMIC PAL */
  1258. .name = "Alps TSBE1",
  1259. .params = tuner_alps_tsb_1_params,
  1260. .count = ARRAY_SIZE(tuner_alps_tsb_1_params),
  1261. },
  1262. [TUNER_ALPS_TSBB5_PAL_I] = { /* Alps PAL_I */
  1263. .name = "Alps TSBB5",
  1264. .params = tuner_alps_tsbb5_params,
  1265. .count = ARRAY_SIZE(tuner_alps_tsbb5_params),
  1266. },
  1267. [TUNER_ALPS_TSBE5_PAL] = { /* Alps PAL */
  1268. .name = "Alps TSBE5",
  1269. .params = tuner_alps_tsbe5_params,
  1270. .count = ARRAY_SIZE(tuner_alps_tsbe5_params),
  1271. },
  1272. [TUNER_ALPS_TSBC5_PAL] = { /* Alps PAL */
  1273. .name = "Alps TSBC5",
  1274. .params = tuner_alps_tsbc5_params,
  1275. .count = ARRAY_SIZE(tuner_alps_tsbc5_params),
  1276. },
  1277. [TUNER_TEMIC_4006FH5_PAL] = { /* TEMIC PAL */
  1278. .name = "Temic PAL_BG (4006FH5)",
  1279. .params = tuner_temic_4006fh5_params,
  1280. .count = ARRAY_SIZE(tuner_temic_4006fh5_params),
  1281. },
  1282. [TUNER_ALPS_TSHC6_NTSC] = { /* Alps NTSC */
  1283. .name = "Alps TSCH6",
  1284. .params = tuner_alps_tshc6_params,
  1285. .count = ARRAY_SIZE(tuner_alps_tshc6_params),
  1286. },
  1287. [TUNER_TEMIC_PAL_DK] = { /* TEMIC PAL */
  1288. .name = "Temic PAL_DK (4016 FY5)",
  1289. .params = tuner_temic_pal_dk_params,
  1290. .count = ARRAY_SIZE(tuner_temic_pal_dk_params),
  1291. },
  1292. [TUNER_PHILIPS_NTSC_M] = { /* Philips NTSC */
  1293. .name = "Philips NTSC_M (MK2)",
  1294. .params = tuner_philips_ntsc_m_params,
  1295. .count = ARRAY_SIZE(tuner_philips_ntsc_m_params),
  1296. },
  1297. [TUNER_TEMIC_4066FY5_PAL_I] = { /* TEMIC PAL_I */
  1298. .name = "Temic PAL_I (4066 FY5)",
  1299. .params = tuner_temic_4066fy5_pal_i_params,
  1300. .count = ARRAY_SIZE(tuner_temic_4066fy5_pal_i_params),
  1301. },
  1302. [TUNER_TEMIC_4006FN5_MULTI_PAL] = { /* TEMIC PAL */
  1303. .name = "Temic PAL* auto (4006 FN5)",
  1304. .params = tuner_temic_4006fn5_multi_params,
  1305. .count = ARRAY_SIZE(tuner_temic_4006fn5_multi_params),
  1306. },
  1307. /* 20-29 */
  1308. [TUNER_TEMIC_4009FR5_PAL] = { /* TEMIC PAL */
  1309. .name = "Temic PAL_BG (4009 FR5) or PAL_I (4069 FR5)",
  1310. .params = tuner_temic_4009f_5_params,
  1311. .count = ARRAY_SIZE(tuner_temic_4009f_5_params),
  1312. },
  1313. [TUNER_TEMIC_4039FR5_NTSC] = { /* TEMIC NTSC */
  1314. .name = "Temic NTSC (4039 FR5)",
  1315. .params = tuner_temic_4039fr5_params,
  1316. .count = ARRAY_SIZE(tuner_temic_4039fr5_params),
  1317. },
  1318. [TUNER_TEMIC_4046FM5] = { /* TEMIC PAL */
  1319. .name = "Temic PAL/SECAM multi (4046 FM5)",
  1320. .params = tuner_temic_4046fm5_params,
  1321. .count = ARRAY_SIZE(tuner_temic_4046fm5_params),
  1322. },
  1323. [TUNER_PHILIPS_PAL_DK] = { /* Philips PAL */
  1324. .name = "Philips PAL_DK (FI1256 and compatibles)",
  1325. .params = tuner_philips_pal_dk_params,
  1326. .count = ARRAY_SIZE(tuner_philips_pal_dk_params),
  1327. },
  1328. [TUNER_PHILIPS_FQ1216ME] = { /* Philips PAL */
  1329. .name = "Philips PAL/SECAM multi (FQ1216ME)",
  1330. .params = tuner_philips_fq1216me_params,
  1331. .count = ARRAY_SIZE(tuner_philips_fq1216me_params),
  1332. },
  1333. [TUNER_LG_PAL_I_FM] = { /* LGINNOTEK PAL_I */
  1334. .name = "LG PAL_I+FM (TAPC-I001D)",
  1335. .params = tuner_lg_pal_i_fm_params,
  1336. .count = ARRAY_SIZE(tuner_lg_pal_i_fm_params),
  1337. },
  1338. [TUNER_LG_PAL_I] = { /* LGINNOTEK PAL_I */
  1339. .name = "LG PAL_I (TAPC-I701D)",
  1340. .params = tuner_lg_pal_i_params,
  1341. .count = ARRAY_SIZE(tuner_lg_pal_i_params),
  1342. },
  1343. [TUNER_LG_NTSC_FM] = { /* LGINNOTEK NTSC */
  1344. .name = "LG NTSC+FM (TPI8NSR01F)",
  1345. .params = tuner_lg_ntsc_fm_params,
  1346. .count = ARRAY_SIZE(tuner_lg_ntsc_fm_params),
  1347. },
  1348. [TUNER_LG_PAL_FM] = { /* LGINNOTEK PAL */
  1349. .name = "LG PAL_BG+FM (TPI8PSB01D)",
  1350. .params = tuner_lg_pal_fm_params,
  1351. .count = ARRAY_SIZE(tuner_lg_pal_fm_params),
  1352. },
  1353. [TUNER_LG_PAL] = { /* LGINNOTEK PAL */
  1354. .name = "LG PAL_BG (TPI8PSB11D)",
  1355. .params = tuner_lg_pal_params,
  1356. .count = ARRAY_SIZE(tuner_lg_pal_params),
  1357. },
  1358. /* 30-39 */
  1359. [TUNER_TEMIC_4009FN5_MULTI_PAL_FM] = { /* TEMIC PAL */
  1360. .name = "Temic PAL* auto + FM (4009 FN5)",
  1361. .params = tuner_temic_4009_fn5_multi_pal_fm_params,
  1362. .count = ARRAY_SIZE(tuner_temic_4009_fn5_multi_pal_fm_params),
  1363. },
  1364. [TUNER_SHARP_2U5JF5540_NTSC] = { /* SHARP NTSC */
  1365. .name = "SHARP NTSC_JP (2U5JF5540)",
  1366. .params = tuner_sharp_2u5jf5540_params,
  1367. .count = ARRAY_SIZE(tuner_sharp_2u5jf5540_params),
  1368. },
  1369. [TUNER_Samsung_PAL_TCPM9091PD27] = { /* Samsung PAL */
  1370. .name = "Samsung PAL TCPM9091PD27",
  1371. .params = tuner_samsung_pal_tcpm9091pd27_params,
  1372. .count = ARRAY_SIZE(tuner_samsung_pal_tcpm9091pd27_params),
  1373. },
  1374. [TUNER_MT2032] = { /* Microtune PAL|NTSC */
  1375. .name = "MT20xx universal",
  1376. /* see mt20xx.c for details */ },
  1377. [TUNER_TEMIC_4106FH5] = { /* TEMIC PAL */
  1378. .name = "Temic PAL_BG (4106 FH5)",
  1379. .params = tuner_temic_4106fh5_params,
  1380. .count = ARRAY_SIZE(tuner_temic_4106fh5_params),
  1381. },
  1382. [TUNER_TEMIC_4012FY5] = { /* TEMIC PAL */
  1383. .name = "Temic PAL_DK/SECAM_L (4012 FY5)",
  1384. .params = tuner_temic_4012fy5_params,
  1385. .count = ARRAY_SIZE(tuner_temic_4012fy5_params),
  1386. },
  1387. [TUNER_TEMIC_4136FY5] = { /* TEMIC NTSC */
  1388. .name = "Temic NTSC (4136 FY5)",
  1389. .params = tuner_temic_4136_fy5_params,
  1390. .count = ARRAY_SIZE(tuner_temic_4136_fy5_params),
  1391. },
  1392. [TUNER_LG_PAL_NEW_TAPC] = { /* LGINNOTEK PAL */
  1393. .name = "LG PAL (newer TAPC series)",
  1394. .params = tuner_lg_pal_new_tapc_params,
  1395. .count = ARRAY_SIZE(tuner_lg_pal_new_tapc_params),
  1396. },
  1397. [TUNER_PHILIPS_FM1216ME_MK3] = { /* Philips PAL */
  1398. .name = "Philips PAL/SECAM multi (FM1216ME MK3)",
  1399. .params = tuner_fm1216me_mk3_params,
  1400. .count = ARRAY_SIZE(tuner_fm1216me_mk3_params),
  1401. },
  1402. [TUNER_LG_NTSC_NEW_TAPC] = { /* LGINNOTEK NTSC */
  1403. .name = "LG NTSC (newer TAPC series)",
  1404. .params = tuner_lg_ntsc_new_tapc_params,
  1405. .count = ARRAY_SIZE(tuner_lg_ntsc_new_tapc_params),
  1406. },
  1407. /* 40-49 */
  1408. [TUNER_HITACHI_NTSC] = { /* HITACHI NTSC */
  1409. .name = "HITACHI V7-J180AT",
  1410. .params = tuner_hitachi_ntsc_params,
  1411. .count = ARRAY_SIZE(tuner_hitachi_ntsc_params),
  1412. },
  1413. [TUNER_PHILIPS_PAL_MK] = { /* Philips PAL */
  1414. .name = "Philips PAL_MK (FI1216 MK)",
  1415. .params = tuner_philips_pal_mk_params,
  1416. .count = ARRAY_SIZE(tuner_philips_pal_mk_params),
  1417. },
  1418. [TUNER_PHILIPS_FCV1236D] = { /* Philips ATSC */
  1419. .name = "Philips FCV1236D ATSC/NTSC dual in",
  1420. .params = tuner_philips_fcv1236d_params,
  1421. .count = ARRAY_SIZE(tuner_philips_fcv1236d_params),
  1422. .min = 16 * 53.00,
  1423. .max = 16 * 803.00,
  1424. .stepsize = 62500,
  1425. },
  1426. [TUNER_PHILIPS_FM1236_MK3] = { /* Philips NTSC */
  1427. .name = "Philips NTSC MK3 (FM1236MK3 or FM1236/F)",
  1428. .params = tuner_fm1236_mk3_params,
  1429. .count = ARRAY_SIZE(tuner_fm1236_mk3_params),
  1430. },
  1431. [TUNER_PHILIPS_4IN1] = { /* Philips NTSC */
  1432. .name = "Philips 4 in 1 (ATI TV Wonder Pro/Conexant)",
  1433. .params = tuner_philips_4in1_params,
  1434. .count = ARRAY_SIZE(tuner_philips_4in1_params),
  1435. },
  1436. [TUNER_MICROTUNE_4049FM5] = { /* Microtune PAL */
  1437. .name = "Microtune 4049 FM5",
  1438. .params = tuner_microtune_4049_fm5_params,
  1439. .count = ARRAY_SIZE(tuner_microtune_4049_fm5_params),
  1440. },
  1441. [TUNER_PANASONIC_VP27] = { /* Panasonic NTSC */
  1442. .name = "Panasonic VP27s/ENGE4324D",
  1443. .params = tuner_panasonic_vp27_params,
  1444. .count = ARRAY_SIZE(tuner_panasonic_vp27_params),
  1445. },
  1446. [TUNER_LG_NTSC_TAPE] = { /* LGINNOTEK NTSC */
  1447. .name = "LG NTSC (TAPE series)",
  1448. .params = tuner_fm1236_mk3_params,
  1449. .count = ARRAY_SIZE(tuner_fm1236_mk3_params),
  1450. },
  1451. [TUNER_TNF_8831BGFF] = { /* Philips PAL */
  1452. .name = "Tenna TNF 8831 BGFF)",
  1453. .params = tuner_tnf_8831bgff_params,
  1454. .count = ARRAY_SIZE(tuner_tnf_8831bgff_params),
  1455. },
  1456. [TUNER_MICROTUNE_4042FI5] = { /* Microtune NTSC */
  1457. .name = "Microtune 4042 FI5 ATSC/NTSC dual in",
  1458. .params = tuner_microtune_4042fi5_params,
  1459. .count = ARRAY_SIZE(tuner_microtune_4042fi5_params),
  1460. .min = 16 * 57.00,
  1461. .max = 16 * 858.00,
  1462. .stepsize = 62500,
  1463. },
  1464. /* 50-59 */
  1465. [TUNER_TCL_2002N] = { /* TCL NTSC */
  1466. .name = "TCL 2002N",
  1467. .params = tuner_tcl_2002n_params,
  1468. .count = ARRAY_SIZE(tuner_tcl_2002n_params),
  1469. },
  1470. [TUNER_PHILIPS_FM1256_IH3] = { /* Philips PAL */
  1471. .name = "Philips PAL/SECAM_D (FM 1256 I-H3)",
  1472. .params = tuner_philips_fm1256_ih3_params,
  1473. .count = ARRAY_SIZE(tuner_philips_fm1256_ih3_params),
  1474. },
  1475. [TUNER_THOMSON_DTT7610] = { /* THOMSON ATSC */
  1476. .name = "Thomson DTT 7610 (ATSC/NTSC)",
  1477. .params = tuner_thomson_dtt7610_params,
  1478. .count = ARRAY_SIZE(tuner_thomson_dtt7610_params),
  1479. .min = 16 * 44.00,
  1480. .max = 16 * 958.00,
  1481. .stepsize = 62500,
  1482. },
  1483. [TUNER_PHILIPS_FQ1286] = { /* Philips NTSC */
  1484. .name = "Philips FQ1286",
  1485. .params = tuner_philips_fq1286_params,
  1486. .count = ARRAY_SIZE(tuner_philips_fq1286_params),
  1487. },
  1488. [TUNER_PHILIPS_TDA8290] = { /* Philips PAL|NTSC */
  1489. .name = "Philips/NXP TDA 8290/8295 + 8275/8275A/18271",
  1490. /* see tda8290.c for details */ },
  1491. [TUNER_TCL_2002MB] = { /* TCL PAL */
  1492. .name = "TCL 2002MB",
  1493. .params = tuner_tcl_2002mb_params,
  1494. .count = ARRAY_SIZE(tuner_tcl_2002mb_params),
  1495. },
  1496. [TUNER_PHILIPS_FQ1216AME_MK4] = { /* Philips PAL */
  1497. .name = "Philips PAL/SECAM multi (FQ1216AME MK4)",
  1498. .params = tuner_philips_fq1216ame_mk4_params,
  1499. .count = ARRAY_SIZE(tuner_philips_fq1216ame_mk4_params),
  1500. },
  1501. [TUNER_PHILIPS_FQ1236A_MK4] = { /* Philips NTSC */
  1502. .name = "Philips FQ1236A MK4",
  1503. .params = tuner_philips_fq1236a_mk4_params,
  1504. .count = ARRAY_SIZE(tuner_philips_fq1236a_mk4_params),
  1505. },
  1506. [TUNER_YMEC_TVF_8531MF] = { /* Philips NTSC */
  1507. .name = "Ymec TVision TVF-8531MF/8831MF/8731MF",
  1508. .params = tuner_ymec_tvf_8531mf_params,
  1509. .count = ARRAY_SIZE(tuner_ymec_tvf_8531mf_params),
  1510. },
  1511. [TUNER_YMEC_TVF_5533MF] = { /* Philips NTSC */
  1512. .name = "Ymec TVision TVF-5533MF",
  1513. .params = tuner_ymec_tvf_5533mf_params,
  1514. .count = ARRAY_SIZE(tuner_ymec_tvf_5533mf_params),
  1515. },
  1516. /* 60-69 */
  1517. [TUNER_THOMSON_DTT761X] = { /* THOMSON ATSC */
  1518. /* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */
  1519. .name = "Thomson DTT 761X (ATSC/NTSC)",
  1520. .params = tuner_thomson_dtt761x_params,
  1521. .count = ARRAY_SIZE(tuner_thomson_dtt761x_params),
  1522. .min = 16 * 57.00,
  1523. .max = 16 * 863.00,
  1524. .stepsize = 62500,
  1525. .initdata = tua603x_agc103,
  1526. },
  1527. [TUNER_TENA_9533_DI] = { /* Philips PAL */
  1528. .name = "Tena TNF9533-D/IF/TNF9533-B/DF",
  1529. .params = tuner_tena_9533_di_params,
  1530. .count = ARRAY_SIZE(tuner_tena_9533_di_params),
  1531. },
  1532. [TUNER_TEA5767] = { /* Philips RADIO */
  1533. .name = "Philips TEA5767HN FM Radio",
  1534. /* see tea5767.c for details */
  1535. },
  1536. [TUNER_PHILIPS_FMD1216ME_MK3] = { /* Philips PAL */
  1537. .name = "Philips FMD1216ME MK3 Hybrid Tuner",
  1538. .params = tuner_philips_fmd1216me_mk3_params,
  1539. .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_params),
  1540. .min = 16 * 50.87,
  1541. .max = 16 * 858.00,
  1542. .stepsize = 166667,
  1543. .initdata = tua603x_agc112,
  1544. .sleepdata = (u8[]){ 4, 0x9c, 0x60, 0x85, 0x54 },
  1545. },
  1546. [TUNER_LG_TDVS_H06XF] = { /* LGINNOTEK ATSC */
  1547. .name = "LG TDVS-H06xF", /* H061F, H062F & H064F */
  1548. .params = tuner_lg_tdvs_h06xf_params,
  1549. .count = ARRAY_SIZE(tuner_lg_tdvs_h06xf_params),
  1550. .min = 16 * 54.00,
  1551. .max = 16 * 863.00,
  1552. .stepsize = 62500,
  1553. .initdata = tua603x_agc103,
  1554. },
  1555. [TUNER_YMEC_TVF66T5_B_DFF] = { /* Philips PAL */
  1556. .name = "Ymec TVF66T5-B/DFF",
  1557. .params = tuner_ymec_tvf66t5_b_dff_params,
  1558. .count = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_params),
  1559. },
  1560. [TUNER_LG_TALN] = { /* LGINNOTEK NTSC / PAL / SECAM */
  1561. .name = "LG TALN series",
  1562. .params = tuner_lg_taln_params,
  1563. .count = ARRAY_SIZE(tuner_lg_taln_params),
  1564. },
  1565. [TUNER_PHILIPS_TD1316] = { /* Philips PAL */
  1566. .name = "Philips TD1316 Hybrid Tuner",
  1567. .params = tuner_philips_td1316_params,
  1568. .count = ARRAY_SIZE(tuner_philips_td1316_params),
  1569. .min = 16 * 87.00,
  1570. .max = 16 * 895.00,
  1571. .stepsize = 166667,
  1572. },
  1573. [TUNER_PHILIPS_TUV1236D] = { /* Philips ATSC */
  1574. .name = "Philips TUV1236D ATSC/NTSC dual in",
  1575. .params = tuner_tuv1236d_params,
  1576. .count = ARRAY_SIZE(tuner_tuv1236d_params),
  1577. .min = 16 * 54.00,
  1578. .max = 16 * 864.00,
  1579. .stepsize = 62500,
  1580. },
  1581. [TUNER_TNF_5335MF] = { /* Tenna PAL/NTSC */
  1582. .name = "Tena TNF 5335 and similar models",
  1583. .params = tuner_tnf_5335mf_params,
  1584. .count = ARRAY_SIZE(tuner_tnf_5335mf_params),
  1585. },
  1586. /* 70-79 */
  1587. [TUNER_SAMSUNG_TCPN_2121P30A] = { /* Samsung NTSC */
  1588. .name = "Samsung TCPN 2121P30A",
  1589. .params = tuner_samsung_tcpn_2121p30a_params,
  1590. .count = ARRAY_SIZE(tuner_samsung_tcpn_2121p30a_params),
  1591. },
  1592. [TUNER_XC2028] = { /* Xceive 2028 */
  1593. .name = "Xceive xc2028/xc3028 tuner",
  1594. /* see tuner-xc2028.c for details */
  1595. },
  1596. [TUNER_THOMSON_FE6600] = { /* Thomson PAL / DVB-T */
  1597. .name = "Thomson FE6600",
  1598. .params = tuner_thomson_fe6600_params,
  1599. .count = ARRAY_SIZE(tuner_thomson_fe6600_params),
  1600. .min = 16 * 44.25,
  1601. .max = 16 * 858.00,
  1602. .stepsize = 166667,
  1603. },
  1604. [TUNER_SAMSUNG_TCPG_6121P30A] = { /* Samsung PAL */
  1605. .name = "Samsung TCPG 6121P30A",
  1606. .params = tuner_samsung_tcpg_6121p30a_params,
  1607. .count = ARRAY_SIZE(tuner_samsung_tcpg_6121p30a_params),
  1608. },
  1609. [TUNER_TDA9887] = { /* Philips TDA 9887 IF PLL Demodulator.
  1610. This chip is part of some modern tuners */
  1611. .name = "Philips TDA988[5,6,7] IF PLL Demodulator",
  1612. /* see tda9887.c for details */
  1613. },
  1614. [TUNER_TEA5761] = { /* Philips RADIO */
  1615. .name = "Philips TEA5761 FM Radio",
  1616. /* see tea5767.c for details */
  1617. },
  1618. [TUNER_XC5000] = { /* Xceive 5000 */
  1619. .name = "Xceive 5000 tuner",
  1620. /* see xc5000.c for details */
  1621. },
  1622. [TUNER_XC4000] = { /* Xceive 4000 */
  1623. .name = "Xceive 4000 tuner",
  1624. /* see xc4000.c for details */
  1625. },
  1626. [TUNER_TCL_MF02GIP_5N] = { /* TCL tuner MF02GIP-5N-E */
  1627. .name = "TCL tuner MF02GIP-5N-E",
  1628. .params = tuner_tcl_mf02gip_5n_params,
  1629. .count = ARRAY_SIZE(tuner_tcl_mf02gip_5n_params),
  1630. },
  1631. [TUNER_PHILIPS_FMD1216MEX_MK3] = { /* Philips PAL */
  1632. .name = "Philips FMD1216MEX MK3 Hybrid Tuner",
  1633. .params = tuner_philips_fmd1216mex_mk3_params,
  1634. .count = ARRAY_SIZE(tuner_philips_fmd1216mex_mk3_params),
  1635. .min = 16 * 50.87,
  1636. .max = 16 * 858.00,
  1637. .stepsize = 166667,
  1638. .initdata = tua603x_agc112,
  1639. .sleepdata = (u8[]){ 4, 0x9c, 0x60, 0x85, 0x54 },
  1640. },
  1641. [TUNER_PHILIPS_FM1216MK5] = { /* Philips PAL */
  1642. .name = "Philips PAL/SECAM multi (FM1216 MK5)",
  1643. .params = tuner_fm1216mk5_params,
  1644. .count = ARRAY_SIZE(tuner_fm1216mk5_params),
  1645. },
  1646. /* 80-89 */
  1647. [TUNER_PHILIPS_FQ1216LME_MK3] = { /* PAL/SECAM, Loop-thru, no FM */
  1648. .name = "Philips FQ1216LME MK3 PAL/SECAM w/active loopthrough",
  1649. .params = tuner_fq1216lme_mk3_params,
  1650. .count = ARRAY_SIZE(tuner_fq1216lme_mk3_params),
  1651. },
  1652. [TUNER_PARTSNIC_PTI_5NF05] = {
  1653. .name = "Partsnic (Daewoo) PTI-5NF05",
  1654. .params = tuner_partsnic_pti_5nf05_params,
  1655. .count = ARRAY_SIZE(tuner_partsnic_pti_5nf05_params),
  1656. },
  1657. [TUNER_PHILIPS_CU1216L] = {
  1658. .name = "Philips CU1216L",
  1659. .params = tuner_philips_cu1216l_params,
  1660. .count = ARRAY_SIZE(tuner_philips_cu1216l_params),
  1661. .stepsize = 62500,
  1662. },
  1663. [TUNER_NXP_TDA18271] = {
  1664. .name = "NXP TDA18271",
  1665. /* see tda18271-fe.c for details */
  1666. },
  1667. [TUNER_SONY_BTF_PXN01Z] = {
  1668. .name = "Sony BTF-Pxn01Z",
  1669. .params = tuner_sony_btf_pxn01z_params,
  1670. .count = ARRAY_SIZE(tuner_sony_btf_pxn01z_params),
  1671. },
  1672. [TUNER_PHILIPS_FQ1236_MK5] = { /* NTSC, TDA9885, no FM radio */
  1673. .name = "Philips FQ1236 MK5",
  1674. .params = tuner_philips_fq1236_mk5_params,
  1675. .count = ARRAY_SIZE(tuner_philips_fq1236_mk5_params),
  1676. },
  1677. [TUNER_TENA_TNF_5337] = { /* Tena 5337 MFD */
  1678. .name = "Tena TNF5337 MFD",
  1679. .params = tuner_tena_tnf_5337_params,
  1680. .count = ARRAY_SIZE(tuner_tena_tnf_5337_params),
  1681. },
  1682. [TUNER_XC5000C] = { /* Xceive 5000C */
  1683. .name = "Xceive 5000C tuner",
  1684. /* see xc5000.c for details */
  1685. },
  1686. [TUNER_SONY_BTF_PG472Z] = {
  1687. .name = "Sony BTF-PG472Z PAL/SECAM",
  1688. .params = tuner_sony_btf_pg472z_params,
  1689. .count = ARRAY_SIZE(tuner_sony_btf_pg472z_params),
  1690. },
  1691. /* 90-99 */
  1692. [TUNER_SONY_BTF_PK467Z] = {
  1693. .name = "Sony BTF-PK467Z NTSC-M-JP",
  1694. .params = tuner_sony_btf_pg467z_params,
  1695. .count = ARRAY_SIZE(tuner_sony_btf_pg467z_params),
  1696. },
  1697. [TUNER_SONY_BTF_PB463Z] = {
  1698. .name = "Sony BTF-PB463Z NTSC-M",
  1699. .params = tuner_sony_btf_pg463z_params,
  1700. .count = ARRAY_SIZE(tuner_sony_btf_pg463z_params),
  1701. },
  1702. };
  1703. EXPORT_SYMBOL(tuners);
  1704. unsigned const int tuner_count = ARRAY_SIZE(tuners);
  1705. EXPORT_SYMBOL(tuner_count);
  1706. MODULE_DESCRIPTION("Simple tuner device type database");
  1707. MODULE_AUTHOR("Ralph Metzler, Gerd Knorr, Gunther Mayer");
  1708. MODULE_LICENSE("GPL");