diff options
author | Keith Short <keithshort@chromium.org> | 2023-03-21 16:08:31 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-03-23 15:34:36 +0000 |
commit | 65459dd4cbd5bb93a0c5e4e2d2cee53b58d812aa (patch) | |
tree | aa9a77186000f578d607c09f4f80dda92a6ba5a9 /zephyr/program/nissa | |
parent | 816622e058fd7867cf803c93426ef96e573822a6 (diff) | |
download | chrome-ec-65459dd4cbd5bb93a0c5e4e2d2cee53b58d812aa.tar.gz |
zephyr: ite shi: cleanup chip select GPIO
The "cs-gpio" property is required by the devicetree binding, but
currently unused. However, the flags setting doesn't match those
setup by named-gpios. Make the flags match in case the property gets
used in the future.
BUG=none
BRANCH=none
TEST=zmake compare-builds
Change-Id: Id0bfa022ba100fec6732499e4eed57de9588ab43
Signed-off-by: Keith Short <keithshort@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4361320
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'zephyr/program/nissa')
-rw-r--r-- | zephyr/program/nissa/shi.dtsi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zephyr/program/nissa/shi.dtsi b/zephyr/program/nissa/shi.dtsi index cf531f7418..1a21a3ffb8 100644 --- a/zephyr/program/nissa/shi.dtsi +++ b/zephyr/program/nissa/shi.dtsi @@ -10,5 +10,6 @@ pinctrl-0 = <&shi_mosi_gpm0_default &shi_miso_gpm1_default &shi_clk_gpm4_default &shi_cs_gpm5_default>; pinctrl-names = "default"; - cs-gpios = <&gpiom 5 0>; /* unused but needed by dt binding */ + /* unused but needed by dt binding */ + cs-gpios = <&gpiom 5 GPIO_VOLTAGE_1P8>; }; |