mb/google/zork: Fix FPMCU_INT_L configuration
Fingerprint interrupt (FPMCU_INT_L) is level triggered and not edge triggered. Also, we are using GEVENT for wake from fingerprint and not the GPIO IRQ wake. Thus, the irq property exposed in ACPI tables does not need to be set to indicate wake for the IRQ. This change updates GPIO table to configure the pad as level triggered and drops the wake attribute for irq_gpio in overridetree. BUG=b:165612778 BRANCH=zork TEST=Verified that fingerprint still works in S0 and to wake device from S3. Signed-off-by: Furquan Shaikh <furquan@google.com> Change-Id: I9007e5b0882ac1a6770db52d651218998f6d750d Reviewed-on: https://review.coreboot.org/c/coreboot/+/45307 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
5ed3cb99ac
commit
b0334e13ba
|
@ -23,7 +23,7 @@ static const struct soc_amd_gpio gpio_set_stage_ram[] = {
|
|||
/* PEN_POWER_EN - Enabled*/
|
||||
PAD_GPO(GPIO_5, HIGH),
|
||||
/* FPMCU_INT_L */
|
||||
PAD_SCI(GPIO_6, PULL_NONE, EDGE_LOW),
|
||||
PAD_SCI(GPIO_6, PULL_NONE, LEVEL_LOW),
|
||||
/* I2S_SDIN */
|
||||
PAD_NF(GPIO_7, ACP_I2S_SDIN, PULL_NONE),
|
||||
/* I2S_LRCLK - Bit banged in depthcharge */
|
||||
|
|
|
@ -109,7 +109,7 @@ chip soc/amd/picasso
|
|||
register "desc" = ""Fingerprint Reader""
|
||||
register "hid" = "ACPI_DT_NAMESPACE_HID"
|
||||
register "compat_string" = ""google,cros-ec-uart""
|
||||
register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW_WAKE(GPIO_6)"
|
||||
register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_6)"
|
||||
register "wake" = "GEVENT_10"
|
||||
register "uart" = "ACPI_UART_RAW_DEVICE(3000000, 64)"
|
||||
device generic 0 on end
|
||||
|
|
|
@ -97,7 +97,7 @@ chip soc/amd/picasso
|
|||
register "desc" = ""Fingerprint Reader""
|
||||
register "hid" = "ACPI_DT_NAMESPACE_HID"
|
||||
register "compat_string" = ""google,cros-ec-uart""
|
||||
register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW_WAKE(GPIO_6)"
|
||||
register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_6)"
|
||||
register "wake" = "GEVENT_10"
|
||||
register "uart" = "ACPI_UART_RAW_DEVICE(3000000, 64)"
|
||||
device generic 0 on end
|
||||
|
|
|
@ -97,7 +97,7 @@ chip soc/amd/picasso
|
|||
register "desc" = ""Fingerprint Reader""
|
||||
register "hid" = "ACPI_DT_NAMESPACE_HID"
|
||||
register "compat_string" = ""google,cros-ec-uart""
|
||||
register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW_WAKE(GPIO_6)"
|
||||
register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_6)"
|
||||
register "wake" = "GEVENT_10"
|
||||
register "uart" = "ACPI_UART_RAW_DEVICE(3000000, 64)"
|
||||
device generic 0 on end
|
||||
|
|
Loading…
Reference in New Issue