From 4ea33e5ffa82e23849e6f5d7c5462e5aad7f7fd3 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Thu, 30 Oct 2025 11:43:53 +0530 Subject: [PATCH] mb/google/fatcat/var/lapis: Enable THC HID over I2C mode Configure the Touch Host Controller (THC) devices 0 and 1 on the Fatcat/Lapis variant to use HID over I2C mode. This change explicitly sets the thc_mode[0] and thc_mode[1] registers to THC_HID_I2C_MODE in overridetree.cb. This is necessary to correctly initialize the THC for devices like touchpads or touchscreens that communicate using this protocol. BUG=b:455442712 TEST=Able to build and boot google/lapis with functional touchpad. Change-Id: I7c9a62afab396cb38775eaa5e96f2dc7ed773216 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/89818 Reviewed-by: Paul Menzel Reviewed-by: Pranava Y N Reviewed-by: Huang, Cliff Tested-by: build bot (Jenkins) --- src/mainboard/google/fatcat/variants/lapis/overridetree.cb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainboard/google/fatcat/variants/lapis/overridetree.cb b/src/mainboard/google/fatcat/variants/lapis/overridetree.cb index 8c98633a79..d9ce5bc352 100644 --- a/src/mainboard/google/fatcat/variants/lapis/overridetree.cb +++ b/src/mainboard/google/fatcat/variants/lapis/overridetree.cb @@ -406,6 +406,7 @@ chip soc/intel/pantherlake device ref thc0 on register "thc_wake_on_touch[0]" = "true" + register "thc_mode[0]" = "THC_HID_I2C_MODE" # THC0 is function 0; hence it needs to be enabled when THC1 is to be enabled. chip drivers/intel/touch register "name" = "INTEL_THC0_NAME" @@ -424,6 +425,7 @@ chip soc/intel/pantherlake end #Touchpad device ref thc1 on register "thc_wake_on_touch[1]" = "true" + register "thc_mode[1]" = "THC_HID_I2C_MODE" chip drivers/intel/touch register "name" = "INTEL_THC1_NAME" register "mode" = "THC_HID_I2C_MODE"