zephyr/dts/bindings/gpio
Ulf Magnusson 1480ad9ce7 dts: edtlib: Sanity-check the final merged binding only
Sanity-checking each !included file separately was inherited from the
old scripts. It makes it messy to check that combinations of fields make
sense, e.g. to check 'const:' or 'default:' against 'type:', since those
fields might come from different files (this is handy, since it makes
sense to just add/change a 'const:' value, for example).

Drop the requirement that each !included file is a complete binding in
itself, and treat them as binding fragments instead. Only check the
final merged binding.

This also means that !included files no longer need to have a
'description:' or 'title:' (those have always been unused for !included
files), so remove those, and add comments that explain what the
fragments are for instead. That should demystify bindings a bit.

Also fix the descriptions of i2c.yaml, i2s.yaml, spi.yaml, and
uart.yaml. They're for controllers, not devices. These are copy-paste
error from the corresponding device .yaml files.

Piggyback some indentation consistency nits in binding-template.yaml.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-09-07 10:25:02 -05:00
..
arduino-header-r3.yaml dts/bindings: Add gpio-nexus base binding 2019-08-09 14:10:40 -05:00
arm,cmsdk-gpio.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
atmel,sam-gpio.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
atmel,sam0-gpio.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
gpio-controller.yaml dts: edtlib: Sanity-check the final merged binding only 2019-09-07 10:25:02 -05:00
gpio-keys.yaml dts/bindings: Convert compound to phandle-array type 2019-09-07 10:25:02 -05:00
gpio-leds.yaml dts/bindings: Convert compound to phandle-array type 2019-09-07 10:25:02 -05:00
gpio-nexus.yaml dts: edtlib: Sanity-check the final merged binding only 2019-09-07 10:25:02 -05:00
holtek,ht16k33-keyscan.yaml dts: bindings: Remove unused 'version' field 2019-07-22 09:28:07 -04:00
intel,apl-gpio.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
intel,qmsi-gpio.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
intel,qmsi-ss-gpio.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
microchip,xec-gpio.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
nordic,nrf-gpio.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
nordic,nrf-gpiote.yaml dts: bindings: Remove unused 'version' field 2019-07-22 09:28:07 -04:00
nxp,imx-gpio.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
nxp,kinetis-gpio.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
openisa,rv32m1-gpio.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
semtech,sx1509b-gpio.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
sifive,gpio0.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
silabs,efm32-gpio-port.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
silabs,efm32-gpio.yaml dts: bindings: Remove unused 'version' field 2019-07-22 09:28:07 -04:00
silabs,efr32mg12-gpio-port.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
silabs,efr32mg12-gpio.yaml dts: bindings: Remove unused 'version' field 2019-07-22 09:28:07 -04:00
silabs,efr32xg1-gpio-port.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
silabs,efr32xg1-gpio.yaml dts: bindings: Remove unused 'version' field 2019-07-22 09:28:07 -04:00
snps,designware-gpio.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
st,stm32-gpio.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
ti,cc13xx-cc26xx-gpio.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
ti,cc32xx-gpio.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00
ti,cc2650-gpio.yaml dts: Add base gpio-controller to dts bindings 2019-08-09 14:10:40 -05:00
ti,stellaris-gpio.yaml dts/bindings: use const to validate #<FOO>-cells 2019-09-07 10:25:02 -05:00