diff options
author | Keith Short <keithshort@chromium.org> | 2022-02-16 10:17:47 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-02-24 21:48:48 +0000 |
commit | 785059da65abf05d45ac800b086f116465161e5e (patch) | |
tree | 2d23bec110f1e46303873116e2274ec36b54f2cd /zephyr/projects/trogdor | |
parent | 059d49052511843f5396fb9fc68ab47e23f71e2a (diff) | |
download | chrome-ec-785059da65abf05d45ac800b086f116465161e5e.tar.gz |
zephyr: update keyboard drivers to use Zephyr GPIOs
Add alias node gpio-kbd-kso2 to replace the legacy GPIO_KBD_KSO2 signal.
BUG=b:218904113
BRANCH=none
TEST=On herobrine, verify all keypresses
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I834cc7af68e721597e7509187266c509a50fab12
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3485956
Reviewed-by: Al Semjonovs <asemjonovs@google.com>
Reviewed-by: Andrew McRae <amcrae@google.com>
Commit-Queue: Andrew McRae <amcrae@google.com>
Diffstat (limited to 'zephyr/projects/trogdor')
-rw-r--r-- | zephyr/projects/trogdor/lazor/gpio.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zephyr/projects/trogdor/lazor/gpio.dts b/zephyr/projects/trogdor/lazor/gpio.dts index 7f71cee210..bdf4503eeb 100644 --- a/zephyr/projects/trogdor/lazor/gpio.dts +++ b/zephyr/projects/trogdor/lazor/gpio.dts @@ -8,6 +8,7 @@ / { aliases { gpio-wp = &gpio_ec_wp_odl; + gpio-kbd-kso2 = &gpio_ec_kso_02_inv; }; named-gpios { @@ -216,9 +217,8 @@ arm_x86 { gpios = <&gpio6 6 GPIO_OUT_LOW>; }; - ec_kso_02_inv { + gpio_ec_kso_02_inv: ec_kso_02_inv { gpios = <&gpio1 7 GPIO_OUT_LOW>; - enum-name = "GPIO_KBD_KSO2"; }; }; |