mb86a20s.c 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640
  1. /*
  2. * Fujitu mb86a20s ISDB-T/ISDB-Tsb Module driver
  3. *
  4. * Copyright (C) 2010 Mauro Carvalho Chehab <mchehab@redhat.com>
  5. * Copyright (C) 2009-2010 Douglas Landgraf <dougsland@redhat.com>
  6. *
  7. * FIXME: Need to port to DVB v5.2 API
  8. *
  9. * This program is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU General Public License as
  11. * published by the Free Software Foundation version 2.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. * General Public License for more details.
  17. */
  18. #include <linux/kernel.h>
  19. #include <asm/div64.h>
  20. #include "dvb_frontend.h"
  21. #include "mb86a20s.h"
  22. static int debug = 1;
  23. module_param(debug, int, 0644);
  24. MODULE_PARM_DESC(debug, "Activates frontend debugging (default:0)");
  25. #define rc(args...) do { \
  26. printk(KERN_ERR "mb86a20s: " args); \
  27. } while (0)
  28. #define dprintk(args...) \
  29. do { \
  30. if (debug) { \
  31. printk(KERN_DEBUG "mb86a20s: %s: ", __func__); \
  32. printk(args); \
  33. } \
  34. } while (0)
  35. struct mb86a20s_state {
  36. struct i2c_adapter *i2c;
  37. const struct mb86a20s_config *config;
  38. struct dvb_frontend frontend;
  39. bool need_init;
  40. };
  41. struct regdata {
  42. u8 reg;
  43. u8 data;
  44. };
  45. /*
  46. * Initialization sequence: Use whatevere default values that PV SBTVD
  47. * does on its initialisation, obtained via USB snoop
  48. */
  49. static struct regdata mb86a20s_init[] = {
  50. { 0x70, 0x0f },
  51. { 0x70, 0xff },
  52. { 0x08, 0x01 },
  53. { 0x09, 0x3e },
  54. { 0x50, 0xd1 },
  55. { 0x51, 0x22 },
  56. { 0x39, 0x01 },
  57. { 0x71, 0x00 },
  58. { 0x28, 0x2a },
  59. { 0x29, 0x00 },
  60. { 0x2a, 0xff },
  61. { 0x2b, 0x80 },
  62. { 0x28, 0x20 },
  63. { 0x29, 0x33 },
  64. { 0x2a, 0xdf },
  65. { 0x2b, 0xa9 },
  66. { 0x3b, 0x21 },
  67. { 0x3c, 0x3a },
  68. { 0x01, 0x0d },
  69. { 0x04, 0x08 },
  70. { 0x05, 0x05 },
  71. { 0x04, 0x0e },
  72. { 0x05, 0x00 },
  73. { 0x04, 0x0f },
  74. { 0x05, 0x14 },
  75. { 0x04, 0x0b },
  76. { 0x05, 0x8c },
  77. { 0x04, 0x00 },
  78. { 0x05, 0x00 },
  79. { 0x04, 0x01 },
  80. { 0x05, 0x07 },
  81. { 0x04, 0x02 },
  82. { 0x05, 0x0f },
  83. { 0x04, 0x03 },
  84. { 0x05, 0xa0 },
  85. { 0x04, 0x09 },
  86. { 0x05, 0x00 },
  87. { 0x04, 0x0a },
  88. { 0x05, 0xff },
  89. { 0x04, 0x27 },
  90. { 0x05, 0x64 },
  91. { 0x04, 0x28 },
  92. { 0x05, 0x00 },
  93. { 0x04, 0x1e },
  94. { 0x05, 0xff },
  95. { 0x04, 0x29 },
  96. { 0x05, 0x0a },
  97. { 0x04, 0x32 },
  98. { 0x05, 0x0a },
  99. { 0x04, 0x14 },
  100. { 0x05, 0x02 },
  101. { 0x04, 0x04 },
  102. { 0x05, 0x00 },
  103. { 0x04, 0x05 },
  104. { 0x05, 0x22 },
  105. { 0x04, 0x06 },
  106. { 0x05, 0x0e },
  107. { 0x04, 0x07 },
  108. { 0x05, 0xd8 },
  109. { 0x04, 0x12 },
  110. { 0x05, 0x00 },
  111. { 0x04, 0x13 },
  112. { 0x05, 0xff },
  113. { 0x52, 0x01 },
  114. { 0x50, 0xa7 },
  115. { 0x51, 0x00 },
  116. { 0x50, 0xa8 },
  117. { 0x51, 0xff },
  118. { 0x50, 0xa9 },
  119. { 0x51, 0xff },
  120. { 0x50, 0xaa },
  121. { 0x51, 0x00 },
  122. { 0x50, 0xab },
  123. { 0x51, 0xff },
  124. { 0x50, 0xac },
  125. { 0x51, 0xff },
  126. { 0x50, 0xad },
  127. { 0x51, 0x00 },
  128. { 0x50, 0xae },
  129. { 0x51, 0xff },
  130. { 0x50, 0xaf },
  131. { 0x51, 0xff },
  132. { 0x5e, 0x07 },
  133. { 0x50, 0xdc },
  134. { 0x51, 0x01 },
  135. { 0x50, 0xdd },
  136. { 0x51, 0xf4 },
  137. { 0x50, 0xde },
  138. { 0x51, 0x01 },
  139. { 0x50, 0xdf },
  140. { 0x51, 0xf4 },
  141. { 0x50, 0xe0 },
  142. { 0x51, 0x01 },
  143. { 0x50, 0xe1 },
  144. { 0x51, 0xf4 },
  145. { 0x50, 0xb0 },
  146. { 0x51, 0x07 },
  147. { 0x50, 0xb2 },
  148. { 0x51, 0xff },
  149. { 0x50, 0xb3 },
  150. { 0x51, 0xff },
  151. { 0x50, 0xb4 },
  152. { 0x51, 0xff },
  153. { 0x50, 0xb5 },
  154. { 0x51, 0xff },
  155. { 0x50, 0xb6 },
  156. { 0x51, 0xff },
  157. { 0x50, 0xb7 },
  158. { 0x51, 0xff },
  159. { 0x50, 0x50 },
  160. { 0x51, 0x02 },
  161. { 0x50, 0x51 },
  162. { 0x51, 0x04 },
  163. { 0x45, 0x04 },
  164. { 0x48, 0x04 },
  165. { 0x50, 0xd5 },
  166. { 0x51, 0x01 }, /* Serial */
  167. { 0x50, 0xd6 },
  168. { 0x51, 0x1f },
  169. { 0x50, 0xd2 },
  170. { 0x51, 0x03 },
  171. { 0x50, 0xd7 },
  172. { 0x51, 0x3f },
  173. { 0x1c, 0x01 },
  174. { 0x28, 0x06 },
  175. { 0x29, 0x00 },
  176. { 0x2a, 0x00 },
  177. { 0x2b, 0x03 },
  178. { 0x28, 0x07 },
  179. { 0x29, 0x00 },
  180. { 0x2a, 0x00 },
  181. { 0x2b, 0x0d },
  182. { 0x28, 0x08 },
  183. { 0x29, 0x00 },
  184. { 0x2a, 0x00 },
  185. { 0x2b, 0x02 },
  186. { 0x28, 0x09 },
  187. { 0x29, 0x00 },
  188. { 0x2a, 0x00 },
  189. { 0x2b, 0x01 },
  190. { 0x28, 0x0a },
  191. { 0x29, 0x00 },
  192. { 0x2a, 0x00 },
  193. { 0x2b, 0x21 },
  194. { 0x28, 0x0b },
  195. { 0x29, 0x00 },
  196. { 0x2a, 0x00 },
  197. { 0x2b, 0x29 },
  198. { 0x28, 0x0c },
  199. { 0x29, 0x00 },
  200. { 0x2a, 0x00 },
  201. { 0x2b, 0x16 },
  202. { 0x28, 0x0d },
  203. { 0x29, 0x00 },
  204. { 0x2a, 0x00 },
  205. { 0x2b, 0x31 },
  206. { 0x28, 0x0e },
  207. { 0x29, 0x00 },
  208. { 0x2a, 0x00 },
  209. { 0x2b, 0x0e },
  210. { 0x28, 0x0f },
  211. { 0x29, 0x00 },
  212. { 0x2a, 0x00 },
  213. { 0x2b, 0x4e },
  214. { 0x28, 0x10 },
  215. { 0x29, 0x00 },
  216. { 0x2a, 0x00 },
  217. { 0x2b, 0x46 },
  218. { 0x28, 0x11 },
  219. { 0x29, 0x00 },
  220. { 0x2a, 0x00 },
  221. { 0x2b, 0x0f },
  222. { 0x28, 0x12 },
  223. { 0x29, 0x00 },
  224. { 0x2a, 0x00 },
  225. { 0x2b, 0x56 },
  226. { 0x28, 0x13 },
  227. { 0x29, 0x00 },
  228. { 0x2a, 0x00 },
  229. { 0x2b, 0x35 },
  230. { 0x28, 0x14 },
  231. { 0x29, 0x00 },
  232. { 0x2a, 0x01 },
  233. { 0x2b, 0xbe },
  234. { 0x28, 0x15 },
  235. { 0x29, 0x00 },
  236. { 0x2a, 0x01 },
  237. { 0x2b, 0x84 },
  238. { 0x28, 0x16 },
  239. { 0x29, 0x00 },
  240. { 0x2a, 0x03 },
  241. { 0x2b, 0xee },
  242. { 0x28, 0x17 },
  243. { 0x29, 0x00 },
  244. { 0x2a, 0x00 },
  245. { 0x2b, 0x98 },
  246. { 0x28, 0x18 },
  247. { 0x29, 0x00 },
  248. { 0x2a, 0x00 },
  249. { 0x2b, 0x9f },
  250. { 0x28, 0x19 },
  251. { 0x29, 0x00 },
  252. { 0x2a, 0x07 },
  253. { 0x2b, 0xb2 },
  254. { 0x28, 0x1a },
  255. { 0x29, 0x00 },
  256. { 0x2a, 0x06 },
  257. { 0x2b, 0xc2 },
  258. { 0x28, 0x1b },
  259. { 0x29, 0x00 },
  260. { 0x2a, 0x07 },
  261. { 0x2b, 0x4a },
  262. { 0x28, 0x1c },
  263. { 0x29, 0x00 },
  264. { 0x2a, 0x01 },
  265. { 0x2b, 0xbc },
  266. { 0x28, 0x1d },
  267. { 0x29, 0x00 },
  268. { 0x2a, 0x04 },
  269. { 0x2b, 0xba },
  270. { 0x28, 0x1e },
  271. { 0x29, 0x00 },
  272. { 0x2a, 0x06 },
  273. { 0x2b, 0x14 },
  274. { 0x50, 0x1e },
  275. { 0x51, 0x5d },
  276. { 0x50, 0x22 },
  277. { 0x51, 0x00 },
  278. { 0x50, 0x23 },
  279. { 0x51, 0xc8 },
  280. { 0x50, 0x24 },
  281. { 0x51, 0x00 },
  282. { 0x50, 0x25 },
  283. { 0x51, 0xf0 },
  284. { 0x50, 0x26 },
  285. { 0x51, 0x00 },
  286. { 0x50, 0x27 },
  287. { 0x51, 0xc3 },
  288. { 0x50, 0x39 },
  289. { 0x51, 0x02 },
  290. { 0x50, 0xd5 },
  291. { 0x51, 0x01 },
  292. { 0xd0, 0x00 },
  293. };
  294. static struct regdata mb86a20s_reset_reception[] = {
  295. { 0x70, 0xf0 },
  296. { 0x70, 0xff },
  297. { 0x08, 0x01 },
  298. { 0x08, 0x00 },
  299. };
  300. static int mb86a20s_i2c_writereg(struct mb86a20s_state *state,
  301. u8 i2c_addr, int reg, int data)
  302. {
  303. u8 buf[] = { reg, data };
  304. struct i2c_msg msg = {
  305. .addr = i2c_addr, .flags = 0, .buf = buf, .len = 2
  306. };
  307. int rc;
  308. rc = i2c_transfer(state->i2c, &msg, 1);
  309. if (rc != 1) {
  310. printk("%s: writereg error (rc == %i, reg == 0x%02x,"
  311. " data == 0x%02x)\n", __func__, rc, reg, data);
  312. return rc;
  313. }
  314. return 0;
  315. }
  316. static int mb86a20s_i2c_writeregdata(struct mb86a20s_state *state,
  317. u8 i2c_addr, struct regdata *rd, int size)
  318. {
  319. int i, rc;
  320. for (i = 0; i < size; i++) {
  321. rc = mb86a20s_i2c_writereg(state, i2c_addr, rd[i].reg,
  322. rd[i].data);
  323. if (rc < 0)
  324. return rc;
  325. }
  326. return 0;
  327. }
  328. static int mb86a20s_i2c_readreg(struct mb86a20s_state *state,
  329. u8 i2c_addr, u8 reg)
  330. {
  331. u8 val;
  332. int rc;
  333. struct i2c_msg msg[] = {
  334. { .addr = i2c_addr, .flags = 0, .buf = &reg, .len = 1 },
  335. { .addr = i2c_addr, .flags = I2C_M_RD, .buf = &val, .len = 1 }
  336. };
  337. rc = i2c_transfer(state->i2c, msg, 2);
  338. if (rc != 2) {
  339. rc("%s: reg=0x%x (error=%d)\n", __func__, reg, rc);
  340. return rc;
  341. }
  342. return val;
  343. }
  344. #define mb86a20s_readreg(state, reg) \
  345. mb86a20s_i2c_readreg(state, state->config->demod_address, reg)
  346. #define mb86a20s_writereg(state, reg, val) \
  347. mb86a20s_i2c_writereg(state, state->config->demod_address, reg, val)
  348. #define mb86a20s_writeregdata(state, regdata) \
  349. mb86a20s_i2c_writeregdata(state, state->config->demod_address, \
  350. regdata, ARRAY_SIZE(regdata))
  351. static int mb86a20s_initfe(struct dvb_frontend *fe)
  352. {
  353. struct mb86a20s_state *state = fe->demodulator_priv;
  354. int rc;
  355. u8 regD5 = 1;
  356. dprintk("\n");
  357. if (fe->ops.i2c_gate_ctrl)
  358. fe->ops.i2c_gate_ctrl(fe, 0);
  359. /* Initialize the frontend */
  360. rc = mb86a20s_writeregdata(state, mb86a20s_init);
  361. if (rc < 0)
  362. goto err;
  363. if (!state->config->is_serial) {
  364. regD5 &= ~1;
  365. rc = mb86a20s_writereg(state, 0x50, 0xd5);
  366. if (rc < 0)
  367. goto err;
  368. rc = mb86a20s_writereg(state, 0x51, regD5);
  369. if (rc < 0)
  370. goto err;
  371. }
  372. if (fe->ops.i2c_gate_ctrl)
  373. fe->ops.i2c_gate_ctrl(fe, 1);
  374. err:
  375. if (rc < 0) {
  376. state->need_init = true;
  377. printk(KERN_INFO "mb86a20s: Init failed. Will try again later\n");
  378. } else {
  379. state->need_init = false;
  380. dprintk("Initialization succeeded.\n");
  381. }
  382. return rc;
  383. }
  384. static int mb86a20s_read_signal_strength(struct dvb_frontend *fe, u16 *strength)
  385. {
  386. struct mb86a20s_state *state = fe->demodulator_priv;
  387. unsigned rf_max, rf_min, rf;
  388. u8 val;
  389. dprintk("\n");
  390. if (fe->ops.i2c_gate_ctrl)
  391. fe->ops.i2c_gate_ctrl(fe, 0);
  392. /* Does a binary search to get RF strength */
  393. rf_max = 0xfff;
  394. rf_min = 0;
  395. do {
  396. rf = (rf_max + rf_min) / 2;
  397. mb86a20s_writereg(state, 0x04, 0x1f);
  398. mb86a20s_writereg(state, 0x05, rf >> 8);
  399. mb86a20s_writereg(state, 0x04, 0x20);
  400. mb86a20s_writereg(state, 0x04, rf);
  401. val = mb86a20s_readreg(state, 0x02);
  402. if (val & 0x08)
  403. rf_min = (rf_max + rf_min) / 2;
  404. else
  405. rf_max = (rf_max + rf_min) / 2;
  406. if (rf_max - rf_min < 4) {
  407. *strength = (((rf_max + rf_min) / 2) * 65535) / 4095;
  408. break;
  409. }
  410. } while (1);
  411. dprintk("signal strength = %d\n", *strength);
  412. if (fe->ops.i2c_gate_ctrl)
  413. fe->ops.i2c_gate_ctrl(fe, 1);
  414. return 0;
  415. }
  416. static int mb86a20s_read_status(struct dvb_frontend *fe, fe_status_t *status)
  417. {
  418. struct mb86a20s_state *state = fe->demodulator_priv;
  419. u8 val;
  420. dprintk("\n");
  421. *status = 0;
  422. if (fe->ops.i2c_gate_ctrl)
  423. fe->ops.i2c_gate_ctrl(fe, 0);
  424. val = mb86a20s_readreg(state, 0x0a) & 0xf;
  425. if (fe->ops.i2c_gate_ctrl)
  426. fe->ops.i2c_gate_ctrl(fe, 1);
  427. if (val >= 2)
  428. *status |= FE_HAS_SIGNAL;
  429. if (val >= 4)
  430. *status |= FE_HAS_CARRIER;
  431. if (val >= 5)
  432. *status |= FE_HAS_VITERBI;
  433. if (val >= 7)
  434. *status |= FE_HAS_SYNC;
  435. if (val >= 8) /* Maybe 9? */
  436. *status |= FE_HAS_LOCK;
  437. dprintk("val = %d, status = 0x%02x\n", val, *status);
  438. return 0;
  439. }
  440. static int mb86a20s_set_frontend(struct dvb_frontend *fe,
  441. struct dvb_frontend_parameters *p)
  442. {
  443. struct mb86a20s_state *state = fe->demodulator_priv;
  444. int rc;
  445. dprintk("\n");
  446. if (fe->ops.i2c_gate_ctrl)
  447. fe->ops.i2c_gate_ctrl(fe, 1);
  448. dprintk("Calling tuner set parameters\n");
  449. fe->ops.tuner_ops.set_params(fe, p);
  450. /*
  451. * Make it more reliable: if, for some reason, the initial
  452. * device initialization doesn't happen, initialize it when
  453. * a SBTVD parameters are adjusted.
  454. *
  455. * Unfortunately, due to a hard to track bug at tda829x/tda18271,
  456. * the agc callback logic is not called during DVB attach time,
  457. * causing mb86a20s to not be initialized with Kworld SBTVD.
  458. * So, this hack is needed, in order to make Kworld SBTVD to work.
  459. */
  460. if (state->need_init)
  461. mb86a20s_initfe(fe);
  462. if (fe->ops.i2c_gate_ctrl)
  463. fe->ops.i2c_gate_ctrl(fe, 0);
  464. rc = mb86a20s_writeregdata(state, mb86a20s_reset_reception);
  465. if (fe->ops.i2c_gate_ctrl)
  466. fe->ops.i2c_gate_ctrl(fe, 1);
  467. return rc;
  468. }
  469. static int mb86a20s_get_frontend(struct dvb_frontend *fe,
  470. struct dvb_frontend_parameters *p)
  471. {
  472. /* FIXME: For now, it does nothing */
  473. fe->dtv_property_cache.bandwidth_hz = 6000000;
  474. fe->dtv_property_cache.transmission_mode = TRANSMISSION_MODE_AUTO;
  475. fe->dtv_property_cache.guard_interval = GUARD_INTERVAL_AUTO;
  476. fe->dtv_property_cache.isdbt_partial_reception = 0;
  477. return 0;
  478. }
  479. static int mb86a20s_tune(struct dvb_frontend *fe,
  480. struct dvb_frontend_parameters *params,
  481. unsigned int mode_flags,
  482. unsigned int *delay,
  483. fe_status_t *status)
  484. {
  485. int rc = 0;
  486. dprintk("\n");
  487. if (params != NULL)
  488. rc = mb86a20s_set_frontend(fe, params);
  489. if (!(mode_flags & FE_TUNE_MODE_ONESHOT))
  490. mb86a20s_read_status(fe, status);
  491. return rc;
  492. }
  493. static void mb86a20s_release(struct dvb_frontend *fe)
  494. {
  495. struct mb86a20s_state *state = fe->demodulator_priv;
  496. dprintk("\n");
  497. kfree(state);
  498. }
  499. static struct dvb_frontend_ops mb86a20s_ops;
  500. struct dvb_frontend *mb86a20s_attach(const struct mb86a20s_config *config,
  501. struct i2c_adapter *i2c)
  502. {
  503. u8 rev;
  504. /* allocate memory for the internal state */
  505. struct mb86a20s_state *state =
  506. kzalloc(sizeof(struct mb86a20s_state), GFP_KERNEL);
  507. dprintk("\n");
  508. if (state == NULL) {
  509. rc("Unable to kzalloc\n");
  510. goto error;
  511. }
  512. /* setup the state */
  513. state->config = config;
  514. state->i2c = i2c;
  515. /* create dvb_frontend */
  516. memcpy(&state->frontend.ops, &mb86a20s_ops,
  517. sizeof(struct dvb_frontend_ops));
  518. state->frontend.demodulator_priv = state;
  519. /* Check if it is a mb86a20s frontend */
  520. rev = mb86a20s_readreg(state, 0);
  521. if (rev == 0x13) {
  522. printk(KERN_INFO "Detected a Fujitsu mb86a20s frontend\n");
  523. } else {
  524. printk(KERN_ERR "Frontend revision %d is unknown - aborting.\n",
  525. rev);
  526. goto error;
  527. }
  528. return &state->frontend;
  529. error:
  530. kfree(state);
  531. return NULL;
  532. }
  533. EXPORT_SYMBOL(mb86a20s_attach);
  534. static struct dvb_frontend_ops mb86a20s_ops = {
  535. /* Use dib8000 values per default */
  536. .info = {
  537. .name = "Fujitsu mb86A20s",
  538. .type = FE_OFDM,
  539. .caps = FE_CAN_INVERSION_AUTO | FE_CAN_RECOVER |
  540. FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
  541. FE_CAN_FEC_5_6 | FE_CAN_FEC_7_8 | FE_CAN_FEC_AUTO |
  542. FE_CAN_QPSK | FE_CAN_QAM_16 | FE_CAN_QAM_64 |
  543. FE_CAN_TRANSMISSION_MODE_AUTO | FE_CAN_QAM_AUTO |
  544. FE_CAN_GUARD_INTERVAL_AUTO | FE_CAN_HIERARCHY_AUTO,
  545. /* Actually, those values depend on the used tuner */
  546. .frequency_min = 45000000,
  547. .frequency_max = 864000000,
  548. .frequency_stepsize = 62500,
  549. },
  550. .release = mb86a20s_release,
  551. .init = mb86a20s_initfe,
  552. .set_frontend = mb86a20s_set_frontend,
  553. .get_frontend = mb86a20s_get_frontend,
  554. .read_status = mb86a20s_read_status,
  555. .read_signal_strength = mb86a20s_read_signal_strength,
  556. .tune = mb86a20s_tune,
  557. };
  558. MODULE_DESCRIPTION("DVB Frontend module for Fujitsu mb86A20s hardware");
  559. MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");
  560. MODULE_LICENSE("GPL");