drm/i2c: tda998x: set the CEC I2C address based on the slave I2C address
authorAndrew Jackson <Andrew.Jackson@arm.com>
Fri, 7 Nov 2014 08:31:25 +0000 (08:31 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 21 Jan 2015 14:20:11 +0000 (14:20 +0000)
commitcfe387572585216ffd452256181a719ca90b529e
tree141b48c422c996568a1ed30d6b19eecdc6df0e94
parent6833d26ef823b20acbf9d4afcfd7077e623b302c
drm/i2c: tda998x: set the CEC I2C address based on the slave I2C address

The I2C address for the TDA9989 and TDA19989 is fixed at 0x34 but the
two LSBs of the TDA19988's address are set by two configuration pins
on the chip.  Irrespective of the chip, the associated CEC peripheral's
I2C address is based upon the main I2C address.

This patch avoids any special handling required to support systems that
contain multiple TDA19988 devices on the same I2C bus.

Signed-off-by: Andrew Jackson <Andrew.Jackson@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpu/drm/i2c/tda998x_drv.c
This page took 0.047185 seconds and 5 git commands to generate.