zephyr/dts/bindings/gpio
Ulf Magnusson 567c348167 scripts: dts: Generalize '#cells' to allow multiple sources
Implement a nice generalization suggested by Bobby Noelte.

Instead of having a generic #cells key in bindings, have source-specific
*-cells keys. Some examples:

    interrupt-cells:
        - irq
        - priority
        - flags

    gpio-cells:
        - pin
        - flags

    pwm-cells:
        - channel
        - period

This makes bindings a bit easier to read, and allows a node to be a
controller for many different 'phandle-array' properties.

The prefix before *-cells is derived from the property name, meaning
there's no fixed set of *-cells keys. This is possible because of the
earlier 'phandle-array' generalization.

The older #cells key is supported for backwards compatibility, but
generates a deprecation warning.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-10-02 11:49:58 -07:00
..
arduino-header-r3.yaml dts: bindings: Shorten license headers 2019-09-07 10:25:02 -05:00
arm,cmsdk-gpio.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
atmel,sam-gpio.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
atmel,sam0-gpio.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
espressif,esp32-gpio.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
gpio-controller.yaml dts: bindings: Shorten license headers 2019-09-07 10:25:02 -05:00
gpio-keys.yaml scripts: dts: Replace 'sub-node:' with more general 'child-binding:' 2019-09-19 08:39:22 -05:00
gpio-leds.yaml scripts: dts: Replace 'sub-node:' with more general 'child-binding:' 2019-09-19 08:39:22 -05:00
gpio-nexus.yaml dts: bindings: Shorten license headers 2019-09-07 10:25:02 -05:00
holtek,ht16k33-keyscan.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
intel,apl-gpio.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
microchip,xec-gpio.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
nordic,nrf-gpio.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
nordic,nrf-gpiote.yaml dts: bindings: Shorten license headers 2019-09-07 10:25:02 -05:00
nxp,imx-gpio.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
nxp,kinetis-gpio.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
openisa,rv32m1-gpio.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
semtech,sx1509b-gpio.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
sifive,gpio0.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
silabs,efm32-gpio-port.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
silabs,efm32-gpio.yaml scripts: dts: Simplify and improve 'compatible' matching 2019-09-07 10:25:02 -05:00
silabs,efr32mg12-gpio-port.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
silabs,efr32mg12-gpio.yaml scripts: dts: Simplify and improve 'compatible' matching 2019-09-07 10:25:02 -05:00
silabs,efr32xg1-gpio-port.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
silabs,efr32xg1-gpio.yaml scripts: dts: Simplify and improve 'compatible' matching 2019-09-07 10:25:02 -05:00
snps,designware-gpio.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
st,stm32-gpio.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
ti,cc13xx-cc26xx-gpio.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
ti,cc32xx-gpio.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00
ti,cc2650-gpio.yaml scripts: dts: Simplify and improve 'compatible' matching 2019-09-07 10:25:02 -05:00
ti,stellaris-gpio.yaml scripts: dts: Generalize '#cells' to allow multiple sources 2019-10-02 11:49:58 -07:00