i2c: designware: enable SLAVE in platform module
authorLuis Oliveira <Luis.Oliveira@synopsys.com>
Thu, 22 Jun 2017 10:17:33 +0000 (11:17 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 27 Jun 2017 21:37:07 +0000 (23:37 +0200)
commit5b6d721b266acaef411520e28066e4624c6619e7
tree1670ff6779af961b825447c0e417252cb158ef51
parent9f3e065c54b05b03bd39dbbcc5a44f2f1807994d
i2c: designware: enable SLAVE in platform module

- Slave mode selected in platform module if the support is detected in
  the DT.

Signed-off-by: Luis Oliveira <lolivei@synopsys.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-core.h
drivers/i2c/busses/i2c-designware-platdrv.c