Alex1 Kao has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/56383 )
Change subject: mb/google/dedede/var/pirika: Configure I2C times for touchpad ......................................................................
mb/google/dedede/var/pirika: Configure I2C times for touchpad
Configure I2C high / low time in the device tree to ensure I2C CLK runs accurately between 380 kHz and 400 kHz.
BUG=b:193864546 BRANCH=dedede TEST=Build and check after tuning I2C clock is between 380 kHz and 400 kHz
Signed-off-by: Alex1 Kao alex1_kao@pegatron.corp-partner.google.com Change-Id: Ia57c90ead44ceb0990878dc0566e595bae5a9099 --- M src/mainboard/google/dedede/variants/pirika/overridetree.cb 1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/56383/1
diff --git a/src/mainboard/google/dedede/variants/pirika/overridetree.cb b/src/mainboard/google/dedede/variants/pirika/overridetree.cb index 80d2dbe..d7d23db 100644 --- a/src/mainboard/google/dedede/variants/pirika/overridetree.cb +++ b/src/mainboard/google/dedede/variants/pirika/overridetree.cb @@ -21,6 +21,12 @@ }, .i2c[0] = { .speed = I2C_SPEED_FAST, + .speed_config[0] = { + .speed = I2C_SPEED_FAST, + .scl_lcnt = 190, + .scl_hcnt = 100, + .sda_hold = 40, + } }, .i2c[1] = { .speed = I2C_SPEED_FAST,