summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/tda10071.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2012-12-16 20:24:59 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-12-18 23:04:55 +0400
commit0176fd4d25d684ea38014b8e2c3221790d5c94d8 (patch)
treec7726184e89bb640d0218b7a5fa769bbce82243b /drivers/media/dvb-frontends/tda10071.h
parent5b7d8de7d2328f7b25fe4645eafee7e48f9b7df3 (diff)
downloadlinux-0176fd4d25d684ea38014b8e2c3221790d5c94d8.tar.xz
[media] tda10071: add tuner_i2c_addr to struct tda10071_config
The default i2c address for the tuner is 0x14, allow this to be overridden with a configuration parameter Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Reviewed-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends/tda10071.h')
-rw-r--r--drivers/media/dvb-frontends/tda10071.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/tda10071.h b/drivers/media/dvb-frontends/tda10071.h
index 21163c4b555c..a20d5c41e048 100644
--- a/drivers/media/dvb-frontends/tda10071.h
+++ b/drivers/media/dvb-frontends/tda10071.h
@@ -30,6 +30,12 @@ struct tda10071_config {
*/
u8 i2c_address;
+ /* Tuner I2C address.
+ * Default: 0x14
+ * Values: 0x14, 0x54, ...
+ */
+ u8 tuner_i2c_addr;
+
/* Max bytes I2C provider can write at once.
* Note: Buffer is taken from the stack currently!
* Default: none, must set