diff options
author | Tim Lin <tim2.lin@ite.corp-partner.google.com> | 2021-07-12 15:37:57 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-02 01:48:39 +0000 |
commit | 0f5662416d4bc9b0a76ac1f5b81de21bde10e28c (patch) | |
tree | 0a6564b432985882b14f1975022aa931cb43ea26 /zephyr/dts | |
parent | d842a1560cc4bb4ac4637fb4f98b827dbd0182b9 (diff) | |
download | chrome-ec-0f5662416d4bc9b0a76ac1f5b81de21bde10e28c.tar.gz |
zephyr: shi: it8xxx2: create phandle of pinmux control
Create the pinmux phandle to the SHI driver node in the
devicetree. When the pinmux_pin_set function in
cros_shi_ite_init can refer to the setting of phandle.
It is more flexible to use.
BUG=b:187541831
BRANCH=none
TEST=host command is normal.
Cq-Depend: chromium:3041210
Cq-Depend: chromium:3056118
Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
Change-Id: I0c71333563eb7da04d29b82767b6a6660d867eed
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3045026
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/dts')
-rw-r--r-- | zephyr/dts/bindings/cros_shi/ite,it8xxx2-cros-shi.yaml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/cros_shi/ite,it8xxx2-cros-shi.yaml b/zephyr/dts/bindings/cros_shi/ite,it8xxx2-cros-shi.yaml new file mode 100644 index 0000000000..3e5a32f63f --- /dev/null +++ b/zephyr/dts/bindings/cros_shi/ite,it8xxx2-cros-shi.yaml @@ -0,0 +1,18 @@ +# Copyright 2021 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +description: ITE, IT8XXX2 Serial Host Interface (SHI) node + +compatible: "ite,it8xxx2-cros-shi" + +include: base.yaml + +properties: + reg: + required: true + + pinctrl-0: + type: phandles + required: true + description: Configuration of SHI pinmux controller |