From f5d1505c6baef640b28ef2ac69de2c5c1e833e0d Mon Sep 17 00:00:00 2001 From: Ren Kuo Date: Thu, 9 Oct 2025 11:16:04 +0800 Subject: [PATCH] mb/google/fatcat/var/moonstone: Add Elan touchpad support Add the Elan touchpad configuration for moonstone AVL. BUG=b:442964901 TEST=build firwmare and check the touchpad can work well in ALOS. cat /sys/bus/i2c/devices/i2c-12/i2c-ELAN0000\:00/name i2cdetect -y -r 12 -> 0x15 = UU Change-Id: Ie105906fb54383dbf91513f81ab933653162ad4e Signed-off-by: Ren Kuo Reviewed-on: https://review.coreboot.org/c/coreboot/+/89467 Reviewed-by: David Wu Reviewed-by: Pranava Y N Tested-by: build bot (Jenkins) --- .../google/fatcat/variants/moonstone/overridetree.cb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/mainboard/google/fatcat/variants/moonstone/overridetree.cb b/src/mainboard/google/fatcat/variants/moonstone/overridetree.cb index 9c7320018e..535d0a902b 100644 --- a/src/mainboard/google/fatcat/variants/moonstone/overridetree.cb +++ b/src/mainboard/google/fatcat/variants/moonstone/overridetree.cb @@ -312,6 +312,14 @@ chip soc/intel/pantherlake end end # I2C3 device ref i2c4 on + chip drivers/i2c/generic + register "hid" = ""ELAN0000"" + register "desc" = ""ELAN Touchpad"" + register "irq" = "ACPI_IRQ_WAKE_EDGE_LOW(GPP_E18_IRQ)" + register "wake" = "GPE0_DW2_18" + register "detect" = "1" + device i2c 15 on end + end chip drivers/i2c/hid register "generic.hid" = ""PIXA2305"" register "generic.desc" = ""PIXA Touchpad""