dts: Add base gpio-controller to dts bindings

Introduce a gpio.yaml that GPIO controller bindings should inherit
from.  gpio.yaml defines the properties "gpio-controller" and
"#gpio-cells" which all gpio controllers should have.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-08-09 08:41:02 -05:00 committed by Kumar Gala
commit d2c758b49d
23 changed files with 42 additions and 22 deletions

View file

@ -4,7 +4,7 @@ description: >
This binding gives a base representation of the ARM CMSDK GPIO
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -4,7 +4,7 @@ description: >
This is a representation of the SAM GPIO PORT nodes
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -4,7 +4,7 @@ description: >
This is a representation of the SAM0 GPIO PORT nodes
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -0,0 +1,20 @@
#
# Copyright (c) 2019, Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
title: GPIO Controller Base Structure
description: >
This binding gives the base structure for all GPIO Controller devices
properties:
"gpio-controller":
type: boolean
category: required
description: Convey's this node is a GPIO controller
"#gpio-cells":
type: int
category: required
description: Number of items to expect in a GPIO specifier

View file

@ -10,7 +10,7 @@ description: >
This is a representation of the Intel Apollo Lake GPIO node
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -10,7 +10,7 @@ description: >
This is a representation of the Intel QMSI GPIO nodes
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -10,7 +10,7 @@ description: >
This is a representation of the Intel QMSI SS GPIO nodes
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -11,7 +11,7 @@ description: >
This is a representation of the CEC/MEC GPIO nodes for Microchip
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -10,7 +10,7 @@ description: >
This is a representation of the NRF GPIO nodes
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -10,7 +10,7 @@ description: >
This is a representation of the i.MX GPIO nodes
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -4,7 +4,7 @@ description: >
This is a representation of the Kinetis GPIO nodes
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -4,7 +4,7 @@ description: >
This is a representation of the OpenISA GPIO nodes
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -10,7 +10,7 @@ description: >
This is a representation of the SX1509B GPIO node
inherits:
!include i2c-device.yaml
!include [i2c-device.yaml, gpio-controller.yaml]
properties:
compatible:

View file

@ -10,7 +10,7 @@ description: >
This is a representation of the SiFive GPIO nodes
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -4,7 +4,7 @@ description: >
This is a representation of the EFM32 GPIO Port nodes
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -4,7 +4,7 @@ description: >
This is a representation of the EFR32MG GPIO Port nodes
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -4,7 +4,7 @@ description: >
This is a representation of the EFR32XG1 GPIO Port nodes
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -10,7 +10,7 @@ description: >
This is a representation of the Synopsys DesignWare gpio node
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -10,7 +10,7 @@ description: >
This is a representation of the STM32 GPIO nodes
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -10,7 +10,7 @@ description: >
This is a representation of the TI SimpleLink CC13xx / CC26xx GPIO node
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -5,7 +5,7 @@ description: >
This is a representation of the TI CC2650 GPIO node
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -5,7 +5,7 @@ description: >
This is a representation of the TI CC32XX GPIO node
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible:

View file

@ -5,7 +5,7 @@ description: >
This is a representation of the TI Stellaris GPIO node
inherits:
!include base.yaml
!include [gpio-controller.yaml, base.yaml]
properties:
compatible: