]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: core: Parse SDA hold time from firmware
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 25 Jul 2018 14:39:25 +0000 (17:39 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 8 Aug 2018 20:28:52 +0000 (22:28 +0200)
commit32281ca5224963110561fba3e4864940e1277a1e
tree5d33c0ec860b0c48d5973838ffe6249c91a19e13
parentb0b163f7531514ba7e166c92a0a7e4442076ea47
i2c: core: Parse SDA hold time from firmware

There are two drivers already using the SDA hold time setting.
It might be more in the future, thus, make I2C core to parse the setting
for us if provided by firmware.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core-base.c
include/linux/i2c.h