diff options
author | Antti Palosaari <crope@iki.fi> | 2014-04-11 05:00:50 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-04-23 16:50:23 +0400 |
commit | 845f35052ea94661dd32d80fc95a93d0502345e2 (patch) | |
tree | d62879de0b6475480d0f31051b5f7587875265be /drivers/media/dvb-frontends/si2168_priv.h | |
parent | 930a873081986393f6e7e0fb9275753c1485277b (diff) | |
download | linux-845f35052ea94661dd32d80fc95a93d0502345e2.tar.xz |
[media] si2168: Silicon Labs Si2168 DVB-T/T2/C demod driver
Silicon Labs Si2168 DVB-T/T2/C demod driver.
That driver version supports only DVB-T.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/si2168_priv.h')
-rw-r--r-- | drivers/media/dvb-frontends/si2168_priv.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/si2168_priv.h b/drivers/media/dvb-frontends/si2168_priv.h new file mode 100644 index 000000000000..36463246c6a8 --- /dev/null +++ b/drivers/media/dvb-frontends/si2168_priv.h @@ -0,0 +1,30 @@ +#ifndef SI2168_PRIV_H +#define SI2168_PRIV_H + +#include "si2168.h" +#include "dvb_frontend.h" +#include <linux/firmware.h> +#include <linux/i2c-mux.h> + +#define SI2168_FIRMWARE "dvb-demod-si2168-01.fw" + +/* state struct */ +struct si2168 { + struct i2c_client *client; + struct i2c_adapter *adapter; + struct mutex i2c_mutex; + struct dvb_frontend fe; + fe_delivery_system_t delivery_system; + fe_status_t fe_status; + bool active; +}; + +/* firmare command struct */ +#define SI2157_ARGLEN 30 +struct si2168_cmd { + u8 args[SI2157_ARGLEN]; + unsigned wlen; + unsigned rlen; +}; + +#endif |