From 77ea6ade136a882adcde247aac94e682a8964d1a Mon Sep 17 00:00:00 2001 From: Eric Lai Date: Fri, 26 May 2023 11:28:40 +0800 Subject: mb/google/myst: Add ELAN touch pad Follow the data sheet SA577C-12C0, Rev. 1.1 to add the device. BUG=b:284381266 TEST=check touch pad can detect in coreboot. [INFO ] \_SB.I2C0.D015: ELAN Touchpad at I2C: 01:15 Signed-off-by: Eric Lai Change-Id: I0eb0ee1e6cb9c15bfe3964af6ce2ed02eee370a0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75478 Tested-by: build bot (Jenkins) Reviewed-by: Jon Murphy --- src/mainboard/google/myst/variants/myst/overridetree.cb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/mainboard') diff --git a/src/mainboard/google/myst/variants/myst/overridetree.cb b/src/mainboard/google/myst/variants/myst/overridetree.cb index cd3314a4a7..6e36e432d1 100644 --- a/src/mainboard/google/myst/variants/myst/overridetree.cb +++ b/src/mainboard/google/myst/variants/myst/overridetree.cb @@ -34,6 +34,16 @@ end chip soc/amd/phoenix device domain 0 on end # domain + device ref i2c_0 on + chip drivers/i2c/generic + register "hid" = ""ELAN0000"" + register "desc" = ""ELAN Touchpad"" + register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_8)" + register "wake" = "GEVENT_23" + register "detect" = "1" + device i2c 15 on end + end + end # I2C0 device ref i2c_3 on chip drivers/i2c/generic register "hid" = ""RTL5682"" -- cgit v1.2.3