diff options
author | Sam Hurst <shurst@google.com> | 2021-12-04 15:06:07 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-12-06 18:45:27 +0000 |
commit | 8b6e53873cafa90de04e50a6c74ca9059b3126e8 (patch) | |
tree | 844c1ecdd31430aca011099309b83c3f83b8dd87 | |
parent | f4320b6036c855abba96191f53928e54529f91ea (diff) | |
download | chrome-ec-8b6e53873cafa90de04e50a6c74ca9059b3126e8.tar.gz |
zephyr: herobrine: GPIOB6 and GPIOB7 config change.
For Herobrine board version 1, pin GPIOB7 is unused
and GPIOB6 is configured as input (HiZ).
BRANCH=main
BUG=b:202008595
TEST=Built the Zephyr image. Needs testing when
version 1 boards are available.
Signed-off-by: Sam Hurst <shurst@google.org>
Change-Id: Ia18dda97b65122ed768fe89f64f0857da4356b89
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3315752
Tested-by: Sam Hurst <shurst@google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Commit-Queue: Sam Hurst <shurst@google.com>
-rw-r--r-- | zephyr/projects/herobrine/herobrine_npcx9/gpio.dts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/zephyr/projects/herobrine/herobrine_npcx9/gpio.dts b/zephyr/projects/herobrine/herobrine_npcx9/gpio.dts index 152f033db4..3ad7eda010 100644 --- a/zephyr/projects/herobrine/herobrine_npcx9/gpio.dts +++ b/zephyr/projects/herobrine/herobrine_npcx9/gpio.dts @@ -163,7 +163,12 @@ label = "EN_PP5000_S5"; }; ec_bl_disable_l { - gpios = <&gpiob 6 GPIO_OUT_LOW>; + /* The PMIC controls backlight enable and this pin must + * be HiZ for normal operation. But the backlight can + * be enabled by setting this pin low and configuring it + * as an output. + */ + gpios = <&gpiob 6 GPIO_INPUT>; enum-name = "GPIO_ENABLE_BACKLIGHT"; label = "EC_BL_DISABLE_L"; }; @@ -362,7 +367,8 @@ <&gpio9 3 0>, <&gpioa 7 0>, <&gpio5 0 0>, - <&gpio8 1 0>; + <&gpio8 1 0>, + <&gpiob 7 0>; }; }; |