]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: designware: add SLAVE mode functions
authorLuis Oliveira <Luis.Oliveira@synopsys.com>
Thu, 22 Jun 2017 10:17:32 +0000 (11:17 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 27 Jun 2017 21:36:28 +0000 (23:36 +0200)
commit144c15e4fa377949e8e1330ae44d27d9bd29af52
treeeae0d56ce0cd4bb21d2561da69b8f62598a8db0e
parent4bea864abeb877a3c0bda04101e35e1816721261
i2c: designware: add SLAVE mode functions

- Changes in Kconfig to enable I2C_DESIGNWARE_SLAVE support
- Slave functions added to core library file
- Slave abort sources added to common source file
- New driver: i2c-designware-slave added
- Changes in the Makefile to compile the I2C_DESIGNWARE_SLAVE module
  when supported by the architecture.

All the SLAVE flow is added but it is not enabled via platform
driver.

Signed-off-by: Luis Oliveira <lolivei@synopsys.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
[wsa: made a function static and one-lined a message]
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-designware-common.c
drivers/i2c/busses/i2c-designware-core.h
drivers/i2c/busses/i2c-designware-slave.c [new file with mode: 0644]