summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2021-03-15 15:49:58 -0500
committerPatrick Georgi <pgeorgi@google.com>2021-03-28 16:01:25 +0000
commit98ec53bdf15ff79369307862e71142d4606f9e5a (patch)
tree26193cbb9eadba27cbcb6f0d2ccf96c3f56af0ba /src/mainboard
parent2d22f82a0c3a23a023051126aedb65c57d3fce2f (diff)
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 <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51507 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/glados/variants/caroline/overridetree.cb9
1 files changed, 9 insertions, 0 deletions
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,