mb/google/dedede/var/galtic: Configure I2C high and low time
Configure the I2C bus high and low time for all enabled I2C buses. BUG=b:179100924 TEST=Measured the I2C bus frequency as 384 KHz, high time as 924 ns and low time as 1680 ns. Signed-off-by: FrankChu <frank_chu@pegatron.corp-partner.google.com> Change-Id: I1525ecbf5baf9ae169afd7ce59079f395a2a45a8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50211 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
parent
b70ff52b83
commit
26b0bad671
|
@ -19,12 +19,30 @@ chip soc/intel/jasperlake
|
||||||
},
|
},
|
||||||
.i2c[0] = {
|
.i2c[0] = {
|
||||||
.speed = I2C_SPEED_FAST,
|
.speed = I2C_SPEED_FAST,
|
||||||
|
.speed_config[0] = {
|
||||||
|
.speed = I2C_SPEED_FAST,
|
||||||
|
.scl_lcnt = 190,
|
||||||
|
.scl_hcnt = 100,
|
||||||
|
.sda_hold = 40,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
.i2c[2] = {
|
.i2c[2] = {
|
||||||
.speed = I2C_SPEED_FAST,
|
.speed = I2C_SPEED_FAST,
|
||||||
|
.speed_config[0] = {
|
||||||
|
.speed = I2C_SPEED_FAST,
|
||||||
|
.scl_lcnt = 190,
|
||||||
|
.scl_hcnt = 100,
|
||||||
|
.sda_hold = 40,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
.i2c[4] = {
|
.i2c[4] = {
|
||||||
.speed = I2C_SPEED_FAST,
|
.speed = I2C_SPEED_FAST,
|
||||||
|
.speed_config[0] = {
|
||||||
|
.speed = I2C_SPEED_FAST,
|
||||||
|
.scl_lcnt = 190,
|
||||||
|
.scl_hcnt = 100,
|
||||||
|
.sda_hold = 40,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
}"
|
}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue