]> 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)
commitc87982b52a68329db3ea8e20b423dccaa3919b7a
treec9e8a8c1e11e2401989bde18a21c22a8383a2fc3
parent75a0d0a46e07b13e91d9e2f96519b409193eb10e
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