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)
commitc50cdd62dda3f885c1e6ca8b3d5a0851c911ec54
treec9e8a8c1e11e2401989bde18a21c22a8383a2fc3
parent7a243b632383fd05cd230779f33f2b123fc16b40
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