]> 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)
commit372205e6212f1c874b2c49f191d0d1f7e7c99f22
treee1b48b9bc2e8485945b759b16a48ba015f94f8fc
parent7913d9c275f01f24f4652c023d43b28e4be9ab03
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