aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy/variants/nami/devicetree.cb
diff options
context:
space:
mode:
authorShelley Chen <shchen@google.com>2018-05-02 15:49:41 -0700
committerShelley Chen <shchen@google.com>2018-05-07 22:42:18 +0000
commit5430d013bf78aef220092b1bb5e3ce069753b0e4 (patch)
treedb9bc87b2fa83880e9fd80d751b8e23e63c307c6 /src/mainboard/google/poppy/variants/nami/devicetree.cb
parent9740bcb0cfb1271e062a4f8b7d182796c6c20356 (diff)
mb/google/poppy/variants/nami: Invert polarity of EMR_GARAGE_DET#
This gpio should be active low, but is not currently configured that way. Changing gpio configuration to reflect that. BUG=b:73121017, b:77941823 BRANCH=None TEST=iotools mmio_read32 0xfdae0588 (GPP_E1) Make sure that when pen is ejected, gpio is low and when pen is inserted, gpio is high. Also tested that wake upon pen eject is working. Change-Id: Ic49eea6412c3378dca39a3338b43df12bc27037d Signed-off-by: Shelley Chen <shchen@google.com> Reviewed-on: https://review.coreboot.org/26017 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/poppy/variants/nami/devicetree.cb')
-rw-r--r--src/mainboard/google/poppy/variants/nami/devicetree.cb6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/poppy/variants/nami/devicetree.cb b/src/mainboard/google/poppy/variants/nami/devicetree.cb
index 0eba56e0da..1cc2a5e3bc 100644
--- a/src/mainboard/google/poppy/variants/nami/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/nami/devicetree.cb
@@ -301,11 +301,11 @@ chip soc/intel/skylake
end
chip drivers/generic/gpio_keys
register "name" = ""PENH""
- register "gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_E8)"
- register "key.dev_name" = ""EJCT""
+ register "gpio" = "ACPI_GPIO_INPUT_ACTIVE_HIGH(GPP_E8)"
+ register "key.dev_name" = ""INST""
register "key.linux_code" = "SW_PEN_INSERTED"
register "key.linux_input_type" = "EV_SW"
- register "key.label" = ""pen_eject""
+ register "key.label" = ""pen_insert""
device generic 0 on end
end
end # I2C #2