linux-stable/include/linux/platform_data/tda9950.h
Russell King f0316f9389 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>
2018-04-24 10:44:25 +01:00

16 lines
282 B
C

#ifndef LINUX_PLATFORM_DATA_TDA9950_H
#define LINUX_PLATFORM_DATA_TDA9950_H
struct device;
struct tda9950_glue {
struct device *parent;
unsigned long irq_flags;
void *data;
int (*init)(void *);
void (*exit)(void *);
int (*open)(void *);
void (*release)(void *);
};
#endif