Johnny Li has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43059 )
Change subject: mb/google/volteer/variant/volteer: Turn I2C1 bus freq closer to 400 kHz for Touch ......................................................................
mb/google/volteer/variant/volteer: Turn I2C1 bus freq closer to 400 kHz for Touch
The current I2C1 bus frequency is 351 kHZ, which does not meet the spec. This change updates scl_lcnt, scl_hcnt, sda_hold value for I2C1 to bring the bus frequency closer to 400kHz.
BUG=b:153588771 TEST=Verified that I2C1 frequency is 390kHz.
Signed-off-by: Johnny Li johnny_li@wistron.corp-partner.google.com Change-Id: I378434bf251c5e0dc28f4571ee155d9c036229ce --- M src/mainboard/google/volteer/variants/volteer/overridetree.cb 1 file changed, 44 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/43059/1
diff --git a/src/mainboard/google/volteer/variants/volteer/overridetree.cb b/src/mainboard/google/volteer/variants/volteer/overridetree.cb index 24b869c..14d13f3 100644 --- a/src/mainboard/google/volteer/variants/volteer/overridetree.cb +++ b/src/mainboard/google/volteer/variants/volteer/overridetree.cb @@ -161,5 +161,49 @@ end end end # PMC + # Intel Common SoC Config + #+-------------------+---------------------------+ + #| Field | Value | + #+-------------------+---------------------------+ + #| chipset_lockdown | CHIPSET_LOCKDOWN_COREBOOT | + #| GSPI0 | cr50 TPM. Early init is | + #| | required to set up a BAR | + #| | for TPM communication | + #| | before memory is up | + #| GSPI1 | Fingerprint MCU | + #| I2C0 | Audio | + #| I2C1 | Touchscreen | + #| I2C2 | WLAN, SAR0 | + #| I2C3 | Camera, SAR1 | + #| I2C5 | Trackpad | + #+-------------------+---------------------------+ + register "common_soc_config" = "{ + .chipset_lockdown = CHIPSET_LOCKDOWN_COREBOOT, + .gspi[0] = { + .speed_mhz = 1, + .early_init = 1, + }, + .i2c[0] = { + .speed = I2C_SPEED_FAST, + }, + .i2c[1] = { + .speed = I2C_SPEED_FAST, + .speed_config[0] = { + .speed = I2C_SPEED_FAST, + .scl_lcnt = 163, + .scl_hcnt = 75, + .sda_hold = 36, + }, + }, + .i2c[2] = { + .speed = I2C_SPEED_FAST, + }, + .i2c[3] = { + .speed = I2C_SPEED_FAST, + }, + .i2c[5] = { + .speed = I2C_SPEED_FAST, + }, + }" end end
Hello build bot (Jenkins), Caveh Jalali, Paul Menzel,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/43059
to look at the new patch set (#2).
Change subject: mb/google/volteer/variant/volteer: Turn I2C1 bus freq closer to 400 kHz for Touch ......................................................................
mb/google/volteer/variant/volteer: Turn I2C1 bus freq closer to 400 kHz for Touch
The current I2C1 bus frequency is 351 kHZ, which does not meet the spec. This change updates scl_lcnt, scl_hcnt, sda_hold value for I2C1 to bring the bus frequency closer to 400kHz.
BUG=b:153588771 TEST=Verified that I2C1 frequency is 390kHz.
Signed-off-by: Johnny Li johnny_li@wistron.corp-partner.google.com Change-Id: I378434bf251c5e0dc28f4571ee155d9c036229ce --- M src/mainboard/google/volteer/variants/volteer/overridetree.cb 1 file changed, 32 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/43059/2
Hello build bot (Jenkins), Caveh Jalali, Paul Menzel,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/43059
to look at the new patch set (#3).
Change subject: mb/google/volteer/variant/volteer: Turn I2C1 bus freq closer to 400 kHz for Touch ......................................................................
mb/google/volteer/variant/volteer: Turn I2C1 bus freq closer to 400 kHz for Touch
The current I2C1 bus frequency is 351 kHZ, which does not meet the spec. This change updates scl_lcnt, scl_hcnt, sda_hold value for I2C1 to bring the bus frequency closer to 400kHz.
BUG=b:153588771 TEST=Verified that I2C1 frequency is 390kHz.
Signed-off-by: Johnny Li johnny_li@wistron.corp-partner.google.com Change-Id: I378434bf251c5e0dc28f4571ee155d9c036229ce --- M src/mainboard/google/volteer/variants/volteer/overridetree.cb 1 file changed, 32 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/43059/3
Hello build bot (Jenkins), Caveh Jalali, Paul Menzel,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/43059
to look at the new patch set (#4).
Change subject: mb/google/volteer/variant/volteer: Turn I2C1 bus freq closer to 400 kHz for Touch ......................................................................
mb/google/volteer/variant/volteer: Turn I2C1 bus freq closer to 400 kHz for Touch
The current I2C1 bus frequency is 351 kHZ, which does not meet the spec. This change updates scl_lcnt, scl_hcnt, sda_hold value for I2C1 to bring the bus frequency closer to 400 kHz.
BUG=b:153588771 TEST=Verified that I2C1 frequency is 390 kHz.
Signed-off-by: Johnny Li johnny_li@wistron.corp-partner.google.com Change-Id: I378434bf251c5e0dc28f4571ee155d9c036229ce --- M src/mainboard/google/volteer/variants/volteer/overridetree.cb 1 file changed, 32 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/43059/4
Johnny Li has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/43059 )
Change subject: mb/google/volteer/variant/volteer: Turn I2C1 bus freq closer to 400 kHz for Touch ......................................................................
Abandoned