summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/cxd2820r_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2016-08-10 02:49:09 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-22 16:41:15 +0300
commit07fdf7d9f19fb601a0cc75c47ecd55aa26019eed (patch)
tree42c2533a8007e3e57a6156a989558836788a3041 /drivers/media/dvb-frontends/cxd2820r_priv.h
parent4aa4fd86bca5769c9884838501454ef4c486936d (diff)
downloadlinux-07fdf7d9f19fb601a0cc75c47ecd55aa26019eed.tar.xz
[media] cxd2820r: add I2C driver bindings
Add I2C driver bindings in order to support proper I2C driver registration with driver core. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/cxd2820r_priv.h')
-rw-r--r--drivers/media/dvb-frontends/cxd2820r_priv.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/cxd2820r_priv.h b/drivers/media/dvb-frontends/cxd2820r_priv.h
index 66b19dd1f186..f711fbd6e7e7 100644
--- a/drivers/media/dvb-frontends/cxd2820r_priv.h
+++ b/drivers/media/dvb-frontends/cxd2820r_priv.h
@@ -38,9 +38,14 @@ struct reg_val_mask {
#define CXD2820R_CLK 41000000
struct cxd2820r_priv {
+ struct i2c_client *client[2];
struct i2c_adapter *i2c;
struct dvb_frontend fe;
- struct cxd2820r_config cfg;
+ u8 ts_mode;
+ bool ts_clk_inv;
+ bool if_agc_polarity;
+ bool spec_inv;
+
u64 post_bit_error_prev_dvbv3;
u64 post_bit_error;