From a748e8b82bc644e2e2f6fe1e2a2a8e3f701bf9c7 Mon Sep 17 00:00:00 2001 From: Luca Lai Date: Mon, 27 Oct 2025 10:50:19 +0800 Subject: [PATCH] mb/google/fatcat/var/ruby: Enable touchpad function using I2C interface Modify gpio setting to redundant enable the touchpad. schematics: RUBY_EVT_0902_2112.pdf Device i2c log: [INFO ] \_SB.PCI0.CNVW: WIFI Device GENERIC: 0.0 [INFO ] \_SB.PCI0.I2C0.RT58: Headset Codec at I2C: 00:1a [INFO ] \_SB.PCI0.I2C0.D04B: TI SPK AMP L at I2C: 00:4b [INFO ] \_SB.PCI0.I2C0.D04C: TI SPK AMP R at I2C: 00:4c [INFO ] \_SB.PCI0.I2C0.D04D: TI SPK AMP TL at I2C: 00:4d [INFO ] \_SB.PCI0.I2C0.D04F: T1 SPK AMP TR at I2C: 00:4f [INFO ] \_SB.PCI0.I2C3.TPMI: I2C TPM at I2C: 00:50 [INFO ] \_SB.PCI0.I2C4.H015: ELAN Touchpad at I2C: 00:15 [INFO ] \_SB.PCI0.I2C5.H014: Goodix Touchscreen at I2C: 00:14 [INFO ] \_SB.PCI0.RP01: Enable RTD3 for PCI: 00:00:1c.0 (Intel PCIe Runtime D3) BUG=b:449901218 TEST=Build and boot to OS and use Elan touchpad module to verify the cursor works. Change-Id: Id84f96eb07c97dddd5cd1498a18317f9a1676b55 Signed-off-by: Luca Lai Reviewed-on: https://review.coreboot.org/c/coreboot/+/89758 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik Reviewed-by: YH Lin --- src/mainboard/google/fatcat/variants/ruby/gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainboard/google/fatcat/variants/ruby/gpio.c b/src/mainboard/google/fatcat/variants/ruby/gpio.c index f17fc8a883..ebaad6f95f 100644 --- a/src/mainboard/google/fatcat/variants/ruby/gpio.c +++ b/src/mainboard/google/fatcat/variants/ruby/gpio.c @@ -209,9 +209,9 @@ static const struct pad_config gpio_table[] = { /* GPP_E11: NC */ PAD_NC(GPP_E11, NONE), /* GPP_E12: THC0_SPI1_IO_0_I2C4_SCL_TCH_PAD1*/ - PAD_CFG_NF(GPP_E12, NONE, DEEP, NF3), + PAD_CFG_NF(GPP_E12, NONE, DEEP, NF8), /* GPP_E13: THC0_SPI1_IO_1_I2C4_SDA_TCH_PAD1 */ - PAD_CFG_NF(GPP_E13, NONE, DEEP, NF3), + PAD_CFG_NF(GPP_E13, NONE, DEEP, NF8), /* GPP_E14: NC */ PAD_NC(GPP_E14, NONE), /* GPP_E15: NC */