diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2021-09-17 13:44:03 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-17 23:51:08 +0000 |
commit | 09bb5e3659aa2802669e9504947175832069daf7 (patch) | |
tree | 87c7219d048de96a8ee89ae66e0ebdb566f91707 /zephyr/projects/guybrush/gpio.dts | |
parent | 96a9ffe99bdaf600ae6f93ee97ee4534f3b3b170 (diff) | |
download | chrome-ec-09bb5e3659aa2802669e9504947175832069daf7.tar.gz |
zephyr: guybrush: Bringup power button
Enable power button interrupt and module.
Don't have the x86 state machine going yet.
BUG=b:195137794
BRANCH=none
TEST=push the button, see the prints
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I5996a65fe40afd58027452e5b44a60becbbdfa0d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3169199
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'zephyr/projects/guybrush/gpio.dts')
-rw-r--r-- | zephyr/projects/guybrush/gpio.dts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/projects/guybrush/gpio.dts b/zephyr/projects/guybrush/gpio.dts index 1730c745d7..eea163ad62 100644 --- a/zephyr/projects/guybrush/gpio.dts +++ b/zephyr/projects/guybrush/gpio.dts @@ -18,6 +18,7 @@ mech_pwr_btn_odl { gpios = <&gpiod 2 GPIO_INPUT>; label = "MECH_PWR_BTN_ODL"; + enum-name = "GPIO_POWER_BUTTON_L"; }; ec_pwr_btn_odl { gpios = <&gpio0 1 GPIO_INPUT>; |