]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: intel-lpss: Add default I2C device properties for Apollo Lake
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Mon, 12 Sep 2016 11:41:33 +0000 (14:41 +0300)
committerLee Jones <lee.jones@linaro.org>
Tue, 4 Oct 2016 14:48:04 +0000 (15:48 +0100)
commit7ee6dd140dcc9d5ec12f14804e21788a9f02b36d
treec9e8a8c1e11e2401989bde18a21c22a8383a2fc3
parent7a63b361a739a1738a2ff00a5ae52e861506d69a
mfd: intel-lpss: Add default I2C device properties for Apollo Lake

Default I2C device properties for Intel Broxton, especially SDA hold time
may not be enough on Intel Apollo Lake. These properties are used in case
we don't get timing parameters from ACPI.

The default SDA hold time for Broxton may fail with arbitration lost errors
on Apollo Lake:

  i2c_designware i2c_designware.1: i2c_dw_handle_tx_abort: lost arbitration

Fix this by using different default device properties on Apollo Lake than
Broxton.

Reported-by: Paul Liu <paul.liu@canonical.com>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=156181
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/intel-lpss-acpi.c
drivers/mfd/intel-lpss-pci.c