coreboot/src/soc/intel
Duncan Laurie 5d3f4d0fcb UPSTREAM: skylake: Generate ACPI timing values for I2C devices
Have the Skylake SOC generate ACPI timing values for the enabled I2C
controllers instead of passing it in the DSDT with static timings.

The timing values are generated from the controller clock speed and
are more accurate than the hardcoded values that were in the ASL which
were originally copied from Broadwell where the controller is running
at a different clock speed...

Additionally it is now possible for a board to override the values
using devicetree.cb. If zero is passed in for SCL HCNT or LCNT then
the kernel will generate its own timing using the same forumla, but if
the SDA hold time value is zero the kernel will NOT generate a correct
value and the SDA hold time may be incorrect.

This was tested on the Chell platform to ensure all the I2C devices on
the board are still operational with these new timing values.

BUG=None
BRANCH=None
TEST=None

Change-Id: I4feb3df9e083592792f8fadd7105e081a984a906
Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/15291
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/358386
Reviewed-by: Martin Roth <martinroth@chromium.org>
2016-07-07 01:08:46 -07:00
..
apollolake UPSTREAM: soc/intel/apollolake: Update Upd header files for FSP Label 143_10 2016-07-01 13:06:34 -07:00
baytrail UPSTREAM: intel romstage: Use run_ramstage() 2016-06-30 10:08:18 -07:00
braswell soc/intel: indicate to build system that XIP_ROM_SIZE isn't used 2016-05-06 16:50:00 +02:00
broadwell UPSTREAM: intel romstage: Use run_ramstage() 2016-06-30 10:08:18 -07:00
common UPSTREAM: skylake: Generate ACPI timing values for I2C devices 2016-07-07 01:08:46 -07:00
fsp_baytrail UPSTREAM: intel romstage: Use run_ramstage() 2016-06-30 10:08:18 -07:00
fsp_broadwell_de UPSTREAM: fsp_broadwell_de: Enable Super I/O address range decode 2016-07-01 11:02:47 -07:00
quark UPSTREAM: soc/intel/quark: Add C bootblock 2016-06-13 15:56:07 -07:00
sch UPSTREAM: intel/sch: Merge northbridge and southbridge in src/soc 2016-05-20 17:08:20 -07:00
skylake UPSTREAM: skylake: Generate ACPI timing values for I2C devices 2016-07-07 01:08:46 -07:00