]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit9f3e065c54b05b03bd39dbbcc5a44f2f1807994d
treeeae0d56ce0cd4bb21d2561da69b8f62598a8db0e
parent86766a3e15ac73dcf9542eebc60d3c34578d463a
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]