From 71e797478447e43b9d3be0cae13948a0ea9f0082 Mon Sep 17 00:00:00 2001 From: Alex1 Kao Date: Wed, 5 May 2021 17:43:19 +0800 Subject: mb/google/dedede: To support ELAN Touchpad device on I2C0 Add ELAN Touchpad device under I2C0 BUG=b:188373661 BRANCH=dedede TEST=emerge-dedede coreboot Signed-off-by: Alex1 Kao Change-Id: I15b9cb0d0276b5e2dd06694530cc35e5643efb9d Reviewed-on: https://review.coreboot.org/c/coreboot/+/52936 Reviewed-by: Karthik Ramasubramanian Reviewed-by: Kirk Wang Tested-by: build bot (Jenkins) --- src/mainboard/google/dedede/variants/pirika/overridetree.cb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/mainboard/google/dedede') diff --git a/src/mainboard/google/dedede/variants/pirika/overridetree.cb b/src/mainboard/google/dedede/variants/pirika/overridetree.cb index 404024b1d6..c65aa7a7ae 100644 --- a/src/mainboard/google/dedede/variants/pirika/overridetree.cb +++ b/src/mainboard/google/dedede/variants/pirika/overridetree.cb @@ -37,6 +37,15 @@ chip soc/intel/jasperlake }" device domain 0 on - device pci 15.0 on end + device pci 15.0 on + chip drivers/i2c/generic + register "hid" = ""ELAN0000"" + register "desc" = ""ELAN Touchpad"" + register "irq" = "ACPI_IRQ_WAKE_EDGE_LOW(GPP_B3_IRQ)" + register "wake" = "GPE0_DW0_03" + register "probed" = "1" + device i2c 15 on end + end + end end end -- cgit v1.2.3