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/herobrine | |
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/herobrine')
-rw-r--r-- | zephyr/projects/herobrine/gpio.dts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zephyr/projects/herobrine/gpio.dts b/zephyr/projects/herobrine/gpio.dts index 22c9d59b68..b66f6c98eb 100644 --- a/zephyr/projects/herobrine/gpio.dts +++ b/zephyr/projects/herobrine/gpio.dts @@ -6,6 +6,7 @@ / { aliases { gpio-wp = &gpio_ec_wp_odl; + gpio-kbd-kso2 = &gpio_ec_kso_02_inv; }; named-gpios { @@ -221,9 +222,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"; }; }; |