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)
commit4717be73c2843a3d6d8546872177a19358f6b7b5
tree5d33c0ec860b0c48d5973838ffe6249c91a19e13
parent1c02cbf7de0dc778bbd3735089ce903c8a55517d
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