From: Luis Oliveira <loli...@synopsys.com> Add support in existing I2C Designware Core driver for I2C slave mode. Refactored *_master() functions out of existing ones in the first patch Added *_slave() functions to enable Slave mode. Updated the description of the i2c-designware.txt and changed Kconfig to auto enable I2C Slave support.
V2: Splitted the patch in *_master() and *_slave() and updated Kconfig. Luis Oliveira (4): Factor out _master() parts of code and identify as much as possible all related with MASTER mode Added I2C_SLAVE as a dependency to I2C_DESIGNWARE_CORE Enable _slave() mode Review of the pm_runtime...() methods and cleaning Device bindings documentation updated ACPI-enabled platforms not currently supported Cleaning .../devicetree/bindings/i2c/i2c-designware.txt | 5 +- drivers/i2c/busses/Kconfig | 3 +- drivers/i2c/busses/i2c-designware-core.c | 238 ++++++++++++++++++--- drivers/i2c/busses/i2c-designware-core.h | 6 + drivers/i2c/busses/i2c-designware-platdrv.c | 68 ++++-- 5 files changed, 280 insertions(+), 40 deletions(-) -- 2.10.1