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 21 #define SI2165_FIRMWARE_REV_D "dvb-demod-si2165.fw" 22 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 40 #endif /* _DVB_SI2165_PRIV */ 41