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>
This commit is contained in:
Carl Yang 2018-11-20 11:55:56 +08:00 committed by Patrick Georgi
parent 00d0ddb62b
commit f728852b56
1 changed files with 28 additions and 0 deletions

View File

@ -1,5 +1,33 @@
chip soc/intel/apollolake 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 domain 0 on
device pci 16.0 on device pci 16.0 on
chip drivers/i2c/hid chip drivers/i2c/hid