]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: designware: Get selected speed mode sda-hold-time via ACPI
authorchin.yew.tan@intel.com <chin.yew.tan@intel.com>
Tue, 28 Mar 2017 08:48:02 +0000 (16:48 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 19 Apr 2017 18:54:21 +0000 (20:54 +0200)
commit3c847c5c02016efbf6169b9ae5e117f9306a7354
treee1b48b9bc2e8485945b759b16a48ba015f94f8fc
parent8540dc31cb5bd96ebfc5b0b5c3c8d51511056c51
i2c: designware: Get selected speed mode sda-hold-time via ACPI

Sda-hold-time is an important parameter for tuning i2c to meet the
electrical specification especially for high speed. I2C with incorrect
sda-hold-time may cause lost arbitration error. Instead of loading all
speed mode settings, only selected speed mode settings are loaded.

Signed-off-by: Tan Chin Yew <chin.yew.tan@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-platdrv.c