summaryrefslogtreecommitdiff
path: root/src/mainboard/google/myst/variants
diff options
context:
space:
mode:
authorEric Lai <eric_lai@quanta.corp-partner.google.com>2023-05-26 11:28:40 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-06-01 16:53:27 +0000
commit77ea6ade136a882adcde247aac94e682a8964d1a (patch)
tree16c39447f97c991aac2935ff03099ee51fa6784e /src/mainboard/google/myst/variants
parent20d1b9e5adf2c6012d6a7a6afe8e6144f10dde93 (diff)
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 <eric_lai@quanta.corp-partner.google.com> Change-Id: I0eb0ee1e6cb9c15bfe3964af6ce2ed02eee370a0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75478 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jon Murphy <jpmurphy@google.com>
Diffstat (limited to 'src/mainboard/google/myst/variants')
-rw-r--r--src/mainboard/google/myst/variants/myst/overridetree.cb10
1 files changed, 10 insertions, 0 deletions
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""