From 98ec53bdf15ff79369307862e71142d4606f9e5a Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 15 Mar 2021 15:49:58 -0500 Subject: [PATCH] mb/google/caroline: Re-enable I2C2 / fix digitizer Caroline has a Wacom W9013 digitizer on I2C2, which was incorrectly disabled in commit d957d12e6 [mb/google/glados: clean up variant devicetrees] as part of preparation for converting to overridetree format. Test: build/boot, verify digitizer now available under Linux Change-Id: I234bc0126b5d13c22a663d6544382890b312ce63 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/51507 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- .../google/glados/variants/caroline/overridetree.cb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mainboard/google/glados/variants/caroline/overridetree.cb b/src/mainboard/google/glados/variants/caroline/overridetree.cb index e213d027a4..6f55dce1e0 100644 --- a/src/mainboard/google/glados/variants/caroline/overridetree.cb +++ b/src/mainboard/google/glados/variants/caroline/overridetree.cb @@ -17,6 +17,15 @@ chip soc/intel/skylake register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC_SKIP)" # Type-C Port (main) register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)" # Type-C Port (sub) + register "SerialIoDevMode" = "{ + [PchSerialIoIndexI2C0] = PchSerialIoPci, // touchpad + [PchSerialIoIndexI2C1] = PchSerialIoPci, // touchscreen + [PchSerialIoIndexI2C2] = PchSerialIoPci, // digitizer + [PchSerialIoIndexI2C4] = PchSerialIoPci, // audio + [PchSerialIoIndexUart0] = PchSerialIoPci, + [PchSerialIoIndexUart2] = PchSerialIoSkipInit, + }" + # PL2 override 15W register "power_limits_config" = "{ .tdp_pl2_override = 15,