diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2016-07-26 09:09:06 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-09-22 17:55:49 +0200 |
commit | 81fd533a972a28f43b080fe7fdc473dac3e988c6 (patch) | |
tree | 9eef607c2ad86f49f4d8370c99bc9b1531e23b12 /drivers/media/dvb-frontends/si2165_priv.h | |
parent | [media] cx231xx: attach si2165 driver via i2c_client (diff) | |
download | linux-81fd533a972a28f43b080fe7fdc473dac3e988c6.tar.xz linux-81fd533a972a28f43b080fe7fdc473dac3e988c6.zip |
[media] si2165: Remove legacy attach
Now that all users of legacy attach are converted it can be removed.
Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/si2165_priv.h')
-rw-r--r-- | drivers/media/dvb-frontends/si2165_priv.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/si2165_priv.h b/drivers/media/dvb-frontends/si2165_priv.h index 2b70cf12cd79..e5932118834b 100644 --- a/drivers/media/dvb-frontends/si2165_priv.h +++ b/drivers/media/dvb-frontends/si2165_priv.h @@ -20,4 +20,21 @@ #define SI2165_FIRMWARE_REV_D "dvb-demod-si2165.fw" +struct si2165_config { + /* i2c addr + * possible values: 0x64,0x65,0x66,0x67 */ + u8 i2c_addr; + + /* external clock or XTAL */ + u8 chip_mode; + + /* frequency of external clock or xtal in Hz + * possible values: 4000000, 16000000, 20000000, 240000000, 27000000 + */ + u32 ref_freq_Hz; + + /* invert the spectrum */ + bool inversion; +}; + #endif /* _DVB_SI2165_PRIV */ |