diff options
author | Carl Yang <carl_yang@asus.corp-partner.google.com> | 2018-11-20 11:55:56 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-11-27 08:51:07 +0000 |
commit | f728852b56963d3d3e95231032343db6182c0bab (patch) | |
tree | dfcd50879eb52bde094899fcb151fd90d0ef9c5b | |
parent | 00d0ddb62b82ff3c937676d2a3ace43a899a6cff (diff) |
mainboard/google/octopus/variants/ampton: Decrease I2C CLK frequency
The touchpad and touch-panel CLK frequency should be smaller
than 400 kHz which described in spec.
Overwrite i2c speed parameters by overridetree.cb
BUG=b:119540449
BRANCH=master
TEST=emerge-octopus coreboot chromeos-bootimage
flash bios and check the touchpad i2c frequency meets the spec.
Change-Id: I32c3e1bbfc2cdf39e9b7865a69996e54346d5f93
Signed-off-by: Carl Yang <carl_yang@asus.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/29694
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
-rw-r--r-- | src/mainboard/google/octopus/variants/ampton/overridetree.cb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/mainboard/google/octopus/variants/ampton/overridetree.cb b/src/mainboard/google/octopus/variants/ampton/overridetree.cb index b93a5e55e0..46d4dcdb22 100644 --- a/src/mainboard/google/octopus/variants/ampton/overridetree.cb +++ b/src/mainboard/google/octopus/variants/ampton/overridetree.cb @@ -1,5 +1,33 @@ chip soc/intel/apollolake + register "common_soc_config" = "{ + .gspi[0] = { + .speed_mhz = 1, + .early_init = 1, + }, + .i2c[0] = { + .speed = I2C_SPEED_FAST, + .rise_time_ns = 152, + .fall_time_ns = 30, + }, + .i2c[5] = { + .speed = I2C_SPEED_FAST, + .rise_time_ns = 104, + .fall_time_ns = 52, + }, + .i2c[6] = { + .speed = I2C_SPEED_FAST, + .rise_time_ns = 70, + .fall_time_ns = 127, + .data_hold_time_ns = 350, + }, + .i2c[7] = { + .speed = I2C_SPEED_FAST, + .rise_time_ns = 30, + .fall_time_ns = 127, + .data_hold_time_ns = 350, + }, + }" device domain 0 on device pci 16.0 on chip drivers/i2c/hid |