summaryrefslogtreecommitdiffstats
path: root/include/media/i2c/tvaudio.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-10-05 09:56:39 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-18 11:52:24 -0500
commit1ac051631a90b3062694c5ae6b85cf4d7699749d (patch)
treec81dbc25669b46b6b8c3e9f950b4974ec9ec0b74 /include/media/i2c/tvaudio.h
parent39654531be4cd6f358ada4d54ea9ae01d3adff08 (diff)
downloadtalos-obmc-linux-1ac051631a90b3062694c5ae6b85cf4d7699749d.tar.gz
talos-obmc-linux-1ac051631a90b3062694c5ae6b85cf4d7699749d.zip
media: get rid of i2c-addr.h
In the past, the same I2C address were used on multiple places. After I2C rebinding changes, this is no longer needed. So, we can just get rid of this header, placing the I2C address where they belong, e. g. either at bttv driver or at tvtuner. Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media/i2c/tvaudio.h')
-rw-r--r--include/media/i2c/tvaudio.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/include/media/i2c/tvaudio.h b/include/media/i2c/tvaudio.h
index 1ac8184693f8..f13e1a386364 100644
--- a/include/media/i2c/tvaudio.h
+++ b/include/media/i2c/tvaudio.h
@@ -21,7 +21,22 @@
#ifndef _TVAUDIO_H
#define _TVAUDIO_H
-#include <media/i2c-addr.h>
+/*
+ * i2c bus addresses for the chips supported by tvaudio.c
+ */
+
+#define I2C_ADDR_TDA8425 0x82
+#define I2C_ADDR_TDA9840 0x84
+#define I2C_ADDR_TDA9874 0xb0 /* also used by 9875 */
+#define I2C_ADDR_TDA9875 0xb0
+#define I2C_ADDR_TDA8425 0x82
+#define I2C_ADDR_TDA9840 0x84 /* also used by TA8874Z */
+#define I2C_ADDR_TDA985x_L 0xb4 /* also used by 9873 */
+#define I2C_ADDR_TDA985x_H 0xb6
+#define I2C_ADDR_TDA9874 0xb0 /* also used by 9875 */
+#define I2C_ADDR_TEA6300 0x80 /* also used by 6320 */
+#define I2C_ADDR_TEA6420 0x98
+#define I2C_ADDR_PIC16C54 0x96 /* PV951 */
/* The tvaudio module accepts the following inputs: */
#define TVAUDIO_INPUT_TUNER 0
OpenPOWER on IntegriCloud