]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: designware: allow IP specific sda_hold_time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 31 Aug 2018 15:11:10 +0000 (17:11 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 2 Sep 2018 21:51:15 +0000 (23:51 +0200)
commit5fa5949f5c97e58a355ba250c0c2d4f3e5553a66
tree83f095e0bbc6cfbb2b5693dd46b178497c6798ed
parentf6b76f8759847adc3ec05e9cdbfb58b367ee530e
i2c: designware: allow IP specific sda_hold_time

Because some old designware IPs were not supporting setting an SDA hold
time, vendors developed their own solution. Add a way for the final driver
to provide its own SDA hold time handling.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-common.c
drivers/i2c/busses/i2c-designware-core.h