Matthias Schwarzott | 3e54a16 | 2014-07-22 17:12:12 -0300 | [diff] [blame] | 1 | /* |
| 2 | Driver for Silicon Labs SI2165 DVB-C/-T Demodulator |
| 3 | |
| 4 | Copyright (C) 2013-2014 Matthias Schwarzott <zzam@gentoo.org> |
| 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 | */ |
| 17 | |
| 18 | #ifndef _DVB_SI2165_PRIV |
| 19 | #define _DVB_SI2165_PRIV |
| 20 | |
Matthias Schwarzott | 55bea40 | 2014-08-31 08:35:06 -0300 | [diff] [blame] | 21 | #define SI2165_FIRMWARE_REV_D "dvb-demod-si2165.fw" |
Matthias Schwarzott | 3e54a16 | 2014-07-22 17:12:12 -0300 | [diff] [blame] | 22 | |
Matthias Schwarzott | 81fd533 | 2016-07-26 04:09:06 -0300 | [diff] [blame] | 23 | struct si2165_config { |
| 24 | /* i2c addr |
| 25 | * possible values: 0x64,0x65,0x66,0x67 */ |
| 26 | u8 i2c_addr; |
| 27 | |
| 28 | /* external clock or XTAL */ |
| 29 | u8 chip_mode; |
| 30 | |
| 31 | /* frequency of external clock or xtal in Hz |
| 32 | * possible values: 4000000, 16000000, 20000000, 240000000, 27000000 |
| 33 | */ |
| 34 | u32 ref_freq_Hz; |
| 35 | |
| 36 | /* invert the spectrum */ |
| 37 | bool inversion; |
| 38 | }; |
| 39 | |
Matthias Schwarzott | 3e54a16 | 2014-07-22 17:12:12 -0300 | [diff] [blame] | 40 | #endif /* _DVB_SI2165_PRIV */ |