diff options
author | Yuval Peress <peress@chromium.org> | 2021-04-06 00:10:56 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-08 07:39:47 +0000 |
commit | 74b190af723b38f3766b0bab63cf9e26f8fa7be3 (patch) | |
tree | 86e87324c64aa23d3915d9a115eb8b13c55bebc8 /zephyr/dts/bindings/gpio/named-gpios.yaml | |
parent | f48f2ee331ead2bf641279d37ee091217e0d141c (diff) | |
download | chrome-ec-74b190af723b38f3766b0bab63cf9e26f8fa7be3.tar.gz |
zephyr: gpio: Move named GPIO entries to devicetree
Migrate NAMED_GPIO() to devicetree enums. This allows us to create
common boards and share the GPIO mappings in dts files.
BRANCH=none
BUG=none
TEST=zmake testall
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: I41c6151569a04628ac6dcc597f05e529327b7b46
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2804495
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Diffstat (limited to 'zephyr/dts/bindings/gpio/named-gpios.yaml')
-rw-r--r-- | zephyr/dts/bindings/gpio/named-gpios.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/gpio/named-gpios.yaml b/zephyr/dts/bindings/gpio/named-gpios.yaml index 10c79c5f70..563c841f54 100644 --- a/zephyr/dts/bindings/gpio/named-gpios.yaml +++ b/zephyr/dts/bindings/gpio/named-gpios.yaml @@ -4,6 +4,7 @@ compatible: "named-gpios" child-binding: description: Named GPIOs child node + include: gpio-enum-name.yaml properties: gpios: type: phandle-array |