summaryrefslogtreecommitdiff
path: root/drivers/media/usb/dvb-usb-v2/rtl28xxu.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-12-01 20:44:23 +0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-21 21:05:10 +0300
commit80f189a1d081f9e8701b974ea6bb59ce89a8d0f9 (patch)
treef623c20e09d257f4d50a953d7cc3018080193a0d /drivers/media/usb/dvb-usb-v2/rtl28xxu.h
parentfe37b38bbb7145e080b094b790ba8427945c6ecc (diff)
downloadlinux-80f189a1d081f9e8701b974ea6bb59ce89a8d0f9.tar.xz
[media] rtl28xxu: add support for Panasonic MN88472 slave demod
There is RTL2832P devices having extra MN88472 demodulator. This patch add support for such configuration. Logically MN88472 slave demodulator is connected to RTL2832 master demodulator, both I2C bus and TS input. RTL2832 is integrated to RTL2832U and RTL2832P chips. Chip version RTL2832P has extra TS interface for connecting slave demodulator. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/rtl28xxu.h')
-rw-r--r--drivers/media/usb/dvb-usb-v2/rtl28xxu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.h b/drivers/media/usb/dvb-usb-v2/rtl28xxu.h
index a26cab10f382..c1b00b9831c9 100644
--- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.h
+++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.h
@@ -58,6 +58,10 @@ struct rtl28xxu_priv {
struct i2c_adapter *demod_i2c_adapter;
bool rc_active;
struct i2c_client *client;
+ struct i2c_client *i2c_client_slave_demod;
+ #define SLAVE_DEMOD_NONE 0
+ #define SLAVE_DEMOD_MN88472 1
+ unsigned int slave_demod:1;
};
enum rtl28xxu_chip_id {