diff options
| author | Russell King <rmk+kernel@armlinux.org.uk> | 2015-12-05 13:41:28 -0500 |
|---|---|---|
| committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-04-24 05:44:25 -0400 |
| commit | f0316f93897c4c4e67278b175bfbfd3a95ba650a (patch) | |
| tree | 6eea117cab7802ae791d600138004cc0e2e494a6 /include/linux/platform_data | |
| parent | ba8975f15bb93d7f3ebd995a41c2e4b6945bad78 (diff) | |
drm/i2c: tda9950: add CEC driver
Add a CEC driver for the TDA9950, which is a stand-alone I2C CEC device,
but is also integrated into HDMI transceivers such as the TDA9989 and
TDA19989.
The TDA9950 contains a command processor which handles retransmissions
and the low level bus protocol. The driver just has to read and write
the messages, and handle error conditions.
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/tda9950.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/platform_data/tda9950.h b/include/linux/platform_data/tda9950.h new file mode 100644 index 000000000000..c65efd461102 --- /dev/null +++ b/include/linux/platform_data/tda9950.h | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | #ifndef LINUX_PLATFORM_DATA_TDA9950_H | ||
| 2 | #define LINUX_PLATFORM_DATA_TDA9950_H | ||
| 3 | |||
| 4 | struct device; | ||
| 5 | |||
| 6 | struct tda9950_glue { | ||
| 7 | struct device *parent; | ||
| 8 | unsigned long irq_flags; | ||
| 9 | void *data; | ||
| 10 | int (*init)(void *); | ||
| 11 | void (*exit)(void *); | ||
| 12 | int (*open)(void *); | ||
| 13 | void (*release)(void *); | ||
| 14 | }; | ||
| 15 | |||
| 16 | #endif | ||
