diff options
author | Duncan Laurie <dlaurie@google.com> | 2017-10-26 08:44:16 -0700 |
---|---|---|
committer | Duncan Laurie <dlaurie@chromium.org> | 2017-11-14 21:21:37 +0000 |
commit | bfd17e34219f71e3cca458648997cb2f8f5ee2ca (patch) | |
tree | 1b92165319788ec9a6fd51c0c4d4401ec87a61d8 /src/mainboard/google | |
parent | ebd67c23ed107d0f43c54a0d01286c90bfccd299 (diff) | |
download | coreboot-bfd17e34219f71e3cca458648997cb2f8f5ee2ca.tar.xz |
mb/google/eve: Tune I2C4 hold times
Tune PCH I2C4 hold times to ensure the frequency is always <400KHz.
BUG=b:67029862
TEST=boot on eve and measure I2C4 at Tp262 to be 385KHz
Change-Id: Ie93c5c40bc74069b285f6c3ee311f1bd7cefcaf1
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Change-Id: Iceabc806a17b9e6a144a4f6288c6cca790d03950
Original-Signed-off-by: Duncan Laurie <dlaurie@google.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/739841
Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/22448
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/eve/devicetree.cb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mainboard/google/eve/devicetree.cb b/src/mainboard/google/eve/devicetree.cb index 3b87fd17b5..50926da29a 100644 --- a/src/mainboard/google/eve/devicetree.cb +++ b/src/mainboard/google/eve/devicetree.cb @@ -198,8 +198,12 @@ chip soc/intel/skylake register "i2c_voltage[4]" = "I2C_VOLTAGE_1V8" register "i2c[4]" = "{ .speed = I2C_SPEED_FAST, - .rise_time_ns = 240, - .fall_time_ns = 30, + .speed_config[0] = { + .speed = I2C_SPEED_FAST, + .scl_lcnt = 176, + .scl_hcnt = 95, + .sda_hold = 36, + } }" # Must leave UART0 enabled or SD/eMMC will not work as PCI |