i2c: designware: get SDA hold time, HCNT and LCNT configuration from ACPI
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 19 Aug 2013 12:07:54 +0000 (15:07 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 28 Aug 2013 09:11:17 +0000 (11:11 +0200)
commit57cd1e3029e5fb4d238ad11fd0d7ad917179fdf2
tree83b26689fc5579def37e039679abcf13d806d0c9
parentdefc0b2fb5221bca847a9adb8159b88bc3c93904
i2c: designware: get SDA hold time, HCNT and LCNT configuration from ACPI

Some Intel LPSS I2C devices make the SDA hold time and *CNT parameters
available via SSCN (standard mode) and FMCN (fast mode) ACPI methods.

Implement support for this so that we check whether an ACPI method exists
and if it does, fill in the SDA hold time and *CNT values to the device
private structure for core to use.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-platdrv.c