Skip to content

Commit

Permalink
dts/bindings: Add gpio-nexus base binding
Browse files Browse the repository at this point in the history
Add a base binding for GPIO nexus nodes.  This will get used by an GPIO
connectors.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information
galak committed Aug 9, 2019
1 parent 480dcc1 commit 1fe41c1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 5 deletions.
6 changes: 1 addition & 5 deletions dts/bindings/gpio/arduino-header-r3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@ description: >
This is a representation of GPIO pin nodes exposed as headers on Arduino R3
inherits:
!include base.yaml
!include [gpio-nexus.yaml, base.yaml]

properties:
compatible:
constraint: "arduino-header-r3"

gpio-map:
type: compound
category: required
28 changes: 28 additions & 0 deletions dts/bindings/gpio/gpio-nexus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#
# Copyright (c) 2019, Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#

title: GPIO Nexus Base Structure

description: >
This binding gives the base structure for all GPIO nexus nodes
properties:
gpio-map:
type: compound
category: required

gpio-map-mask:
type: compound
category: optional

gpio-map-pass-thru:
type: compound
category: optional

"#gpio-cells":
type: int
category: required
description: Number of items to expect in a GPIO specifier

0 comments on commit 1fe41c1

Please sign in to comment.