blob: 5fc3bf5f1c0ba06d8c5ebce271669f2b7fd818e9 [file] [log] [blame]
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -03001/*
2 Samsung s5h1432 DVB-T demodulator driver
3
4 Copyright (C) 2009 Bill Liu <Bill.Liu@Conexant.com>
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19
20*/
21
22#include <linux/kernel.h>
23#include <linux/init.h>
24#include <linux/module.h>
25#include <linux/string.h>
26#include <linux/slab.h>
27#include <linux/delay.h>
28#include "dvb_frontend.h"
29#include "s5h1432.h"
30
31struct s5h1432_state {
32
33 struct i2c_adapter *i2c;
34
35 /* configuration settings */
36 const struct s5h1432_config *config;
37
38 struct dvb_frontend frontend;
39
40 fe_modulation_t current_modulation;
41 unsigned int first_tune:1;
42
43 u32 current_frequency;
44 int if_freq;
45
46 u8 inversion;
47};
48
49static int debug;
50
51#define dprintk(arg...) do { \
52 if (debug) \
53 printk(arg); \
54 } while (0)
55
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -030056static int s5h1432_writereg(struct s5h1432_state *state,
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -030057 u8 addr, u8 reg, u8 data)
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -030058{
59 int ret;
60 u8 buf[] = { reg, data };
61
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -030062 struct i2c_msg msg = {.addr = addr, .flags = 0, .buf = buf, .len = 2 };
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -030063
64 ret = i2c_transfer(state->i2c, &msg, 1);
65
66 if (ret != 1)
67 printk(KERN_ERR "%s: writereg error 0x%02x 0x%02x 0x%04x, "
68 "ret == %i)\n", __func__, addr, reg, data, ret);
69
70 return (ret != 1) ? -1 : 0;
71}
72
73static u8 s5h1432_readreg(struct s5h1432_state *state, u8 addr, u8 reg)
74{
75 int ret;
76 u8 b0[] = { reg };
77 u8 b1[] = { 0 };
78
79 struct i2c_msg msg[] = {
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -030080 {.addr = addr, .flags = 0, .buf = b0, .len = 1},
81 {.addr = addr, .flags = I2C_M_RD, .buf = b1, .len = 1}
82 };
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -030083
84 ret = i2c_transfer(state->i2c, msg, 2);
85
86 if (ret != 2)
87 printk(KERN_ERR "%s: readreg error (ret == %i)\n",
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -030088 __func__, ret);
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -030089 return b1[0];
90}
91
92static int s5h1432_sleep(struct dvb_frontend *fe)
93{
94 return 0;
95}
96
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -030097static int s5h1432_set_channel_bandwidth(struct dvb_frontend *fe,
98 u32 bandwidth)
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -030099{
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300100 struct s5h1432_state *state = fe->demodulator_priv;
101
102 u8 reg = 0;
103
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300104 /* Register [0x2E] bit 3:2 : 8MHz = 0; 7MHz = 1; 6MHz = 2 */
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300105 reg = s5h1432_readreg(state, S5H1432_I2C_TOP_ADDR, 0x2E);
106 reg &= ~(0x0C);
107 switch (bandwidth) {
108 case 6:
109 reg |= 0x08;
110 break;
111 case 7:
112 reg |= 0x04;
113 break;
114 case 8:
115 reg |= 0x00;
116 break;
117 default:
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300118 return 0;
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300119 }
120 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x2E, reg);
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300121 return 1;
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300122}
123
124static int s5h1432_set_IF(struct dvb_frontend *fe, u32 ifFreqHz)
125{
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300126 struct s5h1432_state *state = fe->demodulator_priv;
127
128 switch (ifFreqHz) {
129 case TAIWAN_HI_IF_FREQ_44_MHZ:
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300130 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe4, 0x55);
131 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe5, 0x55);
132 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe7, 0x15);
133 break;
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300134 case EUROPE_HI_IF_FREQ_36_MHZ:
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300135 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe4, 0x00);
136 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe5, 0x00);
137 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe7, 0x40);
138 break;
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300139 case IF_FREQ_6_MHZ:
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300140 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe4, 0x00);
141 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe5, 0x00);
142 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe7, 0xe0);
143 break;
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300144 case IF_FREQ_3point3_MHZ:
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300145 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe4, 0x66);
146 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe5, 0x66);
147 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe7, 0xEE);
148 break;
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300149 case IF_FREQ_3point5_MHZ:
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300150 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe4, 0x55);
151 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe5, 0x55);
152 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe7, 0xED);
153 break;
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300154 case IF_FREQ_4_MHZ:
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300155 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe4, 0xAA);
156 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe5, 0xAA);
157 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe7, 0xEA);
158 break;
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300159 default:
160 {
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300161 u32 value = 0;
162 value = (u32) (((48000 - (ifFreqHz / 1000)) * 512 *
163 (u32) 32768) / (48 * 1000));
164 printk(KERN_INFO
165 "Default IFFreq %d :reg value = 0x%x \n",
166 ifFreqHz, value);
167 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe4,
168 (u8) value & 0xFF);
169 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe5,
170 (u8) (value >> 8) & 0xFF);
171 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe7,
172 (u8) (value >> 16) & 0xFF);
173 break;
174 }
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300175
176 }
177
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300178 return 1;
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300179}
180
181/* Talk to the demod, set the FEC, GUARD, QAM settings etc */
182static int s5h1432_set_frontend(struct dvb_frontend *fe,
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300183 struct dvb_frontend_parameters *p)
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300184{
185 u32 dvb_bandwidth = 8;
186 struct s5h1432_state *state = fe->demodulator_priv;
187
188 if (p->frequency == state->current_frequency) {
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300189 /*current_frequency = p->frequency; */
190 /*state->current_frequency = p->frequency; */
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300191 } else {
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300192 fe->ops.tuner_ops.set_params(fe, p);
193 msleep(300);
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300194 s5h1432_set_channel_bandwidth(fe, dvb_bandwidth);
195 switch (p->u.ofdm.bandwidth) {
196 case BANDWIDTH_6_MHZ:
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300197 dvb_bandwidth = 6;
198 s5h1432_set_IF(fe, IF_FREQ_4_MHZ);
199 break;
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300200 case BANDWIDTH_7_MHZ:
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300201 dvb_bandwidth = 7;
202 s5h1432_set_IF(fe, IF_FREQ_4_MHZ);
203 break;
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300204 case BANDWIDTH_8_MHZ:
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300205 dvb_bandwidth = 8;
206 s5h1432_set_IF(fe, IF_FREQ_4_MHZ);
207 break;
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300208 default:
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300209 return 0;
210 }
211 /*fe->ops.tuner_ops.set_params(fe, p); */
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300212/*Soft Reset chip*/
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300213 msleep(30);
214 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x09, 0x1a);
215 msleep(30);
216 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x09, 0x1b);
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300217
218 s5h1432_set_channel_bandwidth(fe, dvb_bandwidth);
219 switch (p->u.ofdm.bandwidth) {
220 case BANDWIDTH_6_MHZ:
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300221 dvb_bandwidth = 6;
222 s5h1432_set_IF(fe, IF_FREQ_4_MHZ);
223 break;
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300224 case BANDWIDTH_7_MHZ:
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300225 dvb_bandwidth = 7;
226 s5h1432_set_IF(fe, IF_FREQ_4_MHZ);
227 break;
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300228 case BANDWIDTH_8_MHZ:
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300229 dvb_bandwidth = 8;
230 s5h1432_set_IF(fe, IF_FREQ_4_MHZ);
231 break;
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300232 default:
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300233 return 0;
234 }
235 /*fe->ops.tuner_ops.set_params(fe,p); */
236 /*Soft Reset chip*/
237 msleep(30);
238 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x09, 0x1a);
239 msleep(30);
240 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x09, 0x1b);
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300241
242 }
243
244 state->current_frequency = p->frequency;
245
246 return 0;
247}
248
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300249static int s5h1432_init(struct dvb_frontend *fe)
250{
251 struct s5h1432_state *state = fe->demodulator_priv;
252
253 u8 reg = 0;
254 state->current_frequency = 0;
255 printk(KERN_INFO " s5h1432_init().\n");
256
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300257 /*Set VSB mode as default, this also does a soft reset */
258 /*Initialize registers */
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300259
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300260 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x04, 0xa8);
261 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x05, 0x01);
262 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x07, 0x70);
263 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x19, 0x80);
264 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x1b, 0x9D);
265 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x1c, 0x30);
266 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x1d, 0x20);
267 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x1e, 0x1B);
268 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x2e, 0x40);
269 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x42, 0x84);
270 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x50, 0x5a);
271 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x5a, 0xd3);
272 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x68, 0x50);
273 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xb8, 0x3c);
274 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xc4, 0x10);
275 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xcc, 0x9c);
276 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xDA, 0x00);
277 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe1, 0x94);
278 /* s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xf4, 0xa1); */
279 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xf9, 0x00);
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300280
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300281 /*For NXP tuner*/
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300282
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300283 /*Set 3.3MHz as default IF frequency */
284 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe4, 0x66);
285 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe5, 0x66);
286 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0xe7, 0xEE);
287 /* Set reg 0x1E to get the full dynamic range */
288 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x1e, 0x31);
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300289
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300290 /* Mode setting in demod */
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300291 reg = s5h1432_readreg(state, S5H1432_I2C_TOP_ADDR, 0x42);
292 reg |= 0x80;
293 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x42, reg);
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300294 /* Serial mode */
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300295
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300296 /* Soft Reset chip */
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300297
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300298 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x09, 0x1a);
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300299 msleep(30);
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300300 s5h1432_writereg(state, S5H1432_I2C_TOP_ADDR, 0x09, 0x1b);
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300301
302
303 return 0;
304}
305
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300306static int s5h1432_read_status(struct dvb_frontend *fe, fe_status_t *status)
307{
308 return 0;
309}
310
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300311static int s5h1432_read_signal_strength(struct dvb_frontend *fe,
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300312 u16 *signal_strength)
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300313{
314 return 0;
315}
316
317static int s5h1432_read_snr(struct dvb_frontend *fe, u16 *snr)
318{
319 return 0;
320}
321
322static int s5h1432_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks)
323{
324
325 return 0;
326}
327
328static int s5h1432_read_ber(struct dvb_frontend *fe, u32 *ber)
329{
330 return 0;
331}
332
333static int s5h1432_get_frontend(struct dvb_frontend *fe,
334 struct dvb_frontend_parameters *p)
335{
336 return 0;
337}
338
339static int s5h1432_get_tune_settings(struct dvb_frontend *fe,
340 struct dvb_frontend_tune_settings *tune)
341{
342 return 0;
343}
344
345static void s5h1432_release(struct dvb_frontend *fe)
346{
347 struct s5h1432_state *state = fe->demodulator_priv;
348 kfree(state);
349}
350
351static struct dvb_frontend_ops s5h1432_ops;
352
353struct dvb_frontend *s5h1432_attach(const struct s5h1432_config *config,
354 struct i2c_adapter *i2c)
355{
356 struct s5h1432_state *state = NULL;
357
358 printk(KERN_INFO " Enter s5h1432_attach(). attach success!\n");
359 /* allocate memory for the internal state */
360 state = kmalloc(sizeof(struct s5h1432_state), GFP_KERNEL);
361 if (state == NULL)
362 goto error;
363
364 /* setup the state */
365 state->config = config;
366 state->i2c = i2c;
367 state->current_modulation = QAM_16;
368 state->inversion = state->config->inversion;
369
370 /* create dvb_frontend */
371 memcpy(&state->frontend.ops, &s5h1432_ops,
372 sizeof(struct dvb_frontend_ops));
373
374 state->frontend.demodulator_priv = state;
375
376 return &state->frontend;
377
378error:
379 kfree(state);
380 return NULL;
381}
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300382
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300383EXPORT_SYMBOL(s5h1432_attach);
384
385static struct dvb_frontend_ops s5h1432_ops = {
386
387 .info = {
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300388 .name = "Samsung s5h1432 DVB-T Frontend",
389 .type = FE_OFDM,
390 .frequency_min = 177000000,
391 .frequency_max = 858000000,
392 .frequency_stepsize = 166666,
393 .caps = FE_CAN_FEC_1_2 | FE_CAN_FEC_2_3 | FE_CAN_FEC_3_4 |
394 FE_CAN_FEC_5_6 | FE_CAN_FEC_7_8 | FE_CAN_FEC_AUTO |
395 FE_CAN_QPSK | FE_CAN_QAM_16 | FE_CAN_QAM_64 | FE_CAN_QAM_AUTO |
396 FE_CAN_HIERARCHY_AUTO | FE_CAN_GUARD_INTERVAL_AUTO |
397 FE_CAN_TRANSMISSION_MODE_AUTO | FE_CAN_RECOVER},
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300398
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300399 .init = s5h1432_init,
400 .sleep = s5h1432_sleep,
401 .set_frontend = s5h1432_set_frontend,
402 .get_frontend = s5h1432_get_frontend,
403 .get_tune_settings = s5h1432_get_tune_settings,
404 .read_status = s5h1432_read_status,
405 .read_ber = s5h1432_read_ber,
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300406 .read_signal_strength = s5h1432_read_signal_strength,
Devin Heitmuellerbda7f4e2010-07-07 18:25:38 -0300407 .read_snr = s5h1432_read_snr,
408 .read_ucblocks = s5h1432_read_ucblocks,
409 .release = s5h1432_release,
Palash Bandyopadhyay47b75ec2010-07-06 16:40:58 -0300410};
411
412module_param(debug, int, 0644);
413MODULE_PARM_DESC(debug, "Enable verbose debug messages");
414
415MODULE_DESCRIPTION("Samsung s5h1432 DVB-T Demodulator driver");
416MODULE_AUTHOR("Bill Liu");
417MODULE_LICENSE("GPL");
418
419/*
420 * Local variables:
421 * c-basic-offset: 8
422 */