]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitbd698d24b1b5790d0a22d44a0705dabd47235ad4
treee1b48b9bc2e8485945b759b16a48ba015f94f8fc
parent2a03d49922fa2b89ceaa7d14b657c8a8e6bc7000
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