From 24502f4cb0e44f53f6868f2e4e0c169ad0b60ab3 Mon Sep 17 00:00:00 2001 From: Rex Chou Date: Fri, 6 Oct 2023 13:25:02 +0800 Subject: mb/google/nissa/var/craaskov: Remove TOF function 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: I1ae6a6562d87f8da5f41691a7606a1aa10989443 Signed-off-by: Rex Chou Reviewed-on: https://review.coreboot.org/c/coreboot/+/78147 Reviewed-by: Dtrain Hsu Tested-by: build bot (Jenkins) --- .../google/brya/variants/craaskov/overridetree.cb | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'src/mainboard/google/brya/variants/craaskov/overridetree.cb') diff --git a/src/mainboard/google/brya/variants/craaskov/overridetree.cb b/src/mainboard/google/brya/variants/craaskov/overridetree.cb index 748abd6fe2..f3ac95f6af 100644 --- a/src/mainboard/google/brya/variants/craaskov/overridetree.cb +++ b/src/mainboard/google/brya/variants/craaskov/overridetree.cb @@ -23,6 +23,15 @@ chip soc/intel/alderlake .vnn_icc_max_ma = 500, }" + register "serial_io_i2c_mode" = "{ + [PchSerialIoIndexI2C0] = PchSerialIoPci, + [PchSerialIoIndexI2C1] = PchSerialIoPci, + [PchSerialIoIndexI2C2] = PchSerialIoDisabled, + [PchSerialIoIndexI2C3] = PchSerialIoPci, + [PchSerialIoIndexI2C4] = PchSerialIoDisabled, + [PchSerialIoIndexI2C5] = PchSerialIoPci, + }" + # Intel Common SoC Config #+-------------------+---------------------------+ #| Field | Value | @@ -31,7 +40,6 @@ chip soc/intel/alderlake #| | required to set up a BAR | #| | for TPM communication | #| I2C1 | Touchscreen | - #| I2C2 | TOF/ALS | #| I2C3 | Audio | #| I2C5 | Trackpad | #+-------------------+---------------------------+ @@ -55,15 +63,6 @@ chip soc/intel/alderlake .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] = { -- cgit v1.2.3