mb/google/zork: Configure IRQs as level triggered for ELAN touchpad

Based on the datasheet provided by ELAN, the /INT pin is "low active"
and "indicates touchpad likes to send data to system(host) when low".
The signal is level-triggered.

BRANCH=zork
BUG=b:172846122
TEST=cros build-ap -b zork

Signed-off-by: Victor Ding <victording@google.com>
Change-Id: I1f2182aaf483932304591ab14592f35214ea6efd
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52366
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Kangheui Won <khwon@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Victor Ding 2021-04-15 04:18:02 +00:00 committed by Martin Roth
parent 369405090f
commit 582d7c340c
8 changed files with 8 additions and 8 deletions

View File

@ -102,7 +102,7 @@ chip soc/amd/picasso
chip drivers/i2c/generic chip drivers/i2c/generic
register "hid" = ""ELAN0000"" register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad"" register "desc" = ""ELAN Touchpad""
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_9)" register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
register "wake" = "GEVENT_22" register "wake" = "GEVENT_22"
register "probed" = "1" register "probed" = "1"
device i2c 15 on end device i2c 15 on end

View File

@ -95,7 +95,7 @@ chip soc/amd/picasso
chip drivers/i2c/generic chip drivers/i2c/generic
register "hid" = ""ELAN0000"" register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad"" register "desc" = ""ELAN Touchpad""
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_9)" register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
register "wake" = "GEVENT_22" register "wake" = "GEVENT_22"
register "probed" = "1" register "probed" = "1"
device i2c 15 on end device i2c 15 on end

View File

@ -84,7 +84,7 @@ chip soc/amd/picasso
chip drivers/i2c/generic chip drivers/i2c/generic
register "hid" = ""ELAN0000"" register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad"" register "desc" = ""ELAN Touchpad""
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_9)" register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
register "wake" = "GEVENT_22" register "wake" = "GEVENT_22"
register "probed" = "1" register "probed" = "1"
device i2c 15 on end device i2c 15 on end

View File

@ -78,7 +78,7 @@ chip soc/amd/picasso
chip drivers/i2c/generic chip drivers/i2c/generic
register "hid" = ""ELAN0000"" register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad"" register "desc" = ""ELAN Touchpad""
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_9)" register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
register "wake" = "GEVENT_22" register "wake" = "GEVENT_22"
register "probed" = "1" register "probed" = "1"
device i2c 15 on end device i2c 15 on end

View File

@ -63,7 +63,7 @@ chip soc/amd/picasso
chip drivers/i2c/generic chip drivers/i2c/generic
register "hid" = ""ELAN0000"" register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad"" register "desc" = ""ELAN Touchpad""
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_9)" register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
register "wake" = "GEVENT_22" register "wake" = "GEVENT_22"
register "probed" = "1" register "probed" = "1"
device i2c 15 on device i2c 15 on

View File

@ -50,7 +50,7 @@ chip soc/amd/picasso
chip drivers/i2c/generic chip drivers/i2c/generic
register "hid" = ""ELAN0000"" register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad"" register "desc" = ""ELAN Touchpad""
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_9)" register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
register "wake" = "GEVENT_22" register "wake" = "GEVENT_22"
register "probed" = "1" register "probed" = "1"
device i2c 15 on end device i2c 15 on end

View File

@ -273,7 +273,7 @@ chip soc/amd/picasso
chip drivers/i2c/generic chip drivers/i2c/generic
register "hid" = ""ELAN0000"" register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad"" register "desc" = ""ELAN Touchpad""
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_9)" register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
register "wake" = "GEVENT_22" register "wake" = "GEVENT_22"
register "probed" = "1" register "probed" = "1"
device i2c 15 on end device i2c 15 on end

View File

@ -86,7 +86,7 @@ chip soc/amd/picasso
chip drivers/i2c/generic chip drivers/i2c/generic
register "hid" = ""ELAN0000"" register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad"" register "desc" = ""ELAN Touchpad""
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_9)" register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
register "wake" = "GEVENT_22" register "wake" = "GEVENT_22"
register "probed" = "1" register "probed" = "1"
device i2c 15 on end device i2c 15 on end