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>
This commit is contained in:
Eric Lai 2023-05-26 11:28:40 +08:00 committed by Felix Held
parent 20d1b9e5ad
commit 77ea6ade13
1 changed files with 10 additions and 0 deletions

View File

@ -34,6 +34,16 @@ end
chip soc/amd/phoenix chip soc/amd/phoenix
device domain 0 on end # domain 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 device ref i2c_3 on
chip drivers/i2c/generic chip drivers/i2c/generic
register "hid" = ""RTL5682"" register "hid" = ""RTL5682""