blob: e5932118834bee369e1e396c801d3d5c84d45285 [file] [log] [blame]
Matthias Schwarzott3e54a162014-07-22 17:12:12 -03001/*
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 Schwarzott55bea402014-08-31 08:35:06 -030021#define SI2165_FIRMWARE_REV_D "dvb-demod-si2165.fw"
Matthias Schwarzott3e54a162014-07-22 17:12:12 -030022
Matthias Schwarzott81fd5332016-07-26 04:09:06 -030023struct 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 Schwarzott3e54a162014-07-22 17:12:12 -030040#endif /* _DVB_SI2165_PRIV */