summaryrefslogtreecommitdiff
path: root/src/mainboard/google/zork/variants/ezkinil
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2020-07-16 10:00:41 -0600
committerAaron Durbin <adurbin@chromium.org>2020-07-17 14:34:03 +0000
commitc1122168dec25b72e3d46404fd229641e8d6196b (patch)
tree8ccba098890b1b67eec8c411c0b168c5b55bd5c4 /src/mainboard/google/zork/variants/ezkinil
parent28980fdf8526bb5e761d77011bb0ca921f3313ff (diff)
mb/google/zork: correct wake gpe value for gpio 9
GPIO_9 is associated with gevent 22. Correct all the misconfigurations and use macros for clarity as to what bit offset is being used instead of open coding things. BUG=b:161205804 Change-Id: Ic4cfd62763d72d12a55f89585f24e07df6af0f4f Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43516 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/zork/variants/ezkinil')
-rw-r--r--src/mainboard/google/zork/variants/ezkinil/overridetree.cb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/zork/variants/ezkinil/overridetree.cb b/src/mainboard/google/zork/variants/ezkinil/overridetree.cb
index abdc39764b..a4cdac6c4b 100644
--- a/src/mainboard/google/zork/variants/ezkinil/overridetree.cb
+++ b/src/mainboard/google/zork/variants/ezkinil/overridetree.cb
@@ -49,7 +49,7 @@ chip soc/amd/picasso
register "hid" = ""ELAN0000""
register "desc" = ""ELAN Touchpad""
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_9)"
- register "wake" = "7"
+ register "wake" = "GEVENT_22"
register "probed" = "1"
device i2c 15 on end
end
@@ -57,7 +57,7 @@ chip soc/amd/picasso
register "generic.hid" = ""PNP0C50""
register "generic.desc" = ""Synaptics Touchpad""
register "generic.irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_9)"
- register "generic.wake" = "7"
+ register "generic.wake" = "GEVENT_22"
register "generic.probed" = "1"
register "hid_desc_reg_offset" = "0x20"
device i2c 2c on end