From 70a8c046c9aa25c4d4660c5185aaeee1bc72c189 Mon Sep 17 00:00:00 2001 From: Alex1 Kao Date: Fri, 24 Sep 2021 18:39:00 +0800 Subject: mb/google/dedede/var/pirika: Add Synaptics I2C touchpad device Add Synaptics touchpad device support in devicetree. BUG=b:201043984 BRANCH=dedede TEST=Touchpad device function is OK Change-Id: Ifb240d7113e401de827384697fc752a76fbf7ac7 Signed-off-by: Alex1 Kao Reviewed-on: https://review.coreboot.org/c/coreboot/+/57921 Tested-by: build bot (Jenkins) Reviewed-by: Kirk Wang Reviewed-by: Shou-Chieh Hsu Reviewed-by: Karthik Ramasubramanian --- src/mainboard/google/dedede/variants/pirika/overridetree.cb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') diff --git a/src/mainboard/google/dedede/variants/pirika/overridetree.cb b/src/mainboard/google/dedede/variants/pirika/overridetree.cb index fbbea1deb2..c93ae33db8 100644 --- a/src/mainboard/google/dedede/variants/pirika/overridetree.cb +++ b/src/mainboard/google/dedede/variants/pirika/overridetree.cb @@ -117,6 +117,15 @@ chip soc/intel/jasperlake register "probed" = "1" device i2c 15 on end end + chip drivers/i2c/hid + register "generic.hid" = ""PNP0C50"" + register "generic.desc" = ""Synaptics Touchpad"" + register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B3_IRQ)" + register "generic.wake" = "GPE0_DW0_03" + register "generic.probed" = "1" + register "hid_desc_reg_offset" = "0x20" + device i2c 0x2c on end + end end device pci 19.0 on chip drivers/i2c/generic -- cgit v1.2.3