Rex Chou has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/78337?usp=email )
Change subject: mb/google/nissa/var/craaskov: Modify overridetree to remove TOF function ......................................................................
mb/google/nissa/var/craaskov: Modify overridetree to remove TOF function
Modify overridetree based on schematics and confirm with EE to remove TOF function.
BUG=b:290891557 BRANCH=firmware-nissa-15217.B TEST=emerge-nissa coreboot
Change-Id: I41a39bef163e3a21193064e18c85d32416738691 Signed-off-by: Rex Chou rex_chou@compal.corp-partner.google.com --- M src/mainboard/google/brya/variants/craaskov/overridetree.cb 1 file changed, 4 insertions(+), 10 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/37/78337/1
diff --git a/src/mainboard/google/brya/variants/craaskov/overridetree.cb b/src/mainboard/google/brya/variants/craaskov/overridetree.cb index 748abd6..ca9b4cd 100644 --- a/src/mainboard/google/brya/variants/craaskov/overridetree.cb +++ b/src/mainboard/google/brya/variants/craaskov/overridetree.cb @@ -23,6 +23,10 @@ .vnn_icc_max_ma = 500, }"
+ register "serial_io_i2c_mode" = "{ + [PchSerialIoIndexI2C2] = PchSerialIoDisabled, + }" + # Intel Common SoC Config #+-------------------+---------------------------+ #| Field | Value | @@ -31,7 +35,6 @@ #| | required to set up a BAR | #| | for TPM communication | #| I2C1 | Touchscreen | - #| I2C2 | TOF/ALS | #| I2C3 | Audio | #| I2C5 | Trackpad | #+-------------------+---------------------------+ @@ -55,15 +58,6 @@ .sda_hold = 7, } }, - .i2c[2] = { - .speed = I2C_SPEED_FAST, - .speed_config[0] = { - .speed = I2C_SPEED_FAST, - .scl_lcnt = 158, - .scl_hcnt = 79, - .sda_hold = 7, - } - }, .i2c[3] = { .speed = I2C_SPEED_FAST, .speed_config[0] = {