Manu Abraham | 0036020 | 2007-09-22 13:30:09 -0300 | [diff] [blame] | 1 | #ifndef __TDA8261_H |
| 2 | #define __TDA8261_H |
| 3 | |
| 4 | enum tda8261_step { |
| 5 | TDA8261_STEP_2000 = 0, /* 2000 kHz */ |
| 6 | TDA8261_STEP_1000, /* 1000 kHz */ |
| 7 | TDA8261_STEP_500, /* 500 kHz */ |
| 8 | TDA8261_STEP_250, /* 250 kHz */ |
| 9 | TDA8261_STEP_125 /* 125 kHz */ |
| 10 | }; |
| 11 | |
| 12 | struct tda8261_config { |
| 13 | // u8 buf[16]; |
| 14 | u8 addr; |
| 15 | enum tda8261_step step_size; |
| 16 | }; |
| 17 | |
Manu Abraham | 41e1151 | 2007-09-22 21:28:11 -0300 | [diff] [blame^] | 18 | extern struct dvb_frontend *tda8261_attach(struct dvb_frontend *fe, |
| 19 | const struct tda8261_config *config, |
| 20 | struct i2c_adapter *i2c); |
Manu Abraham | 0036020 | 2007-09-22 13:30:09 -0300 | [diff] [blame] | 21 | |
| 22 | #endif// __TDA8261_H |