zephyr/dts/bindings/base/base.yaml
Ulf Magnusson 0ec0c84808 dts: bindings: Remove unused 'version' field
No binding has anything but 'version: 0.1', and the code in scripts/dts/
never does anything with it except print a warning if it isn't there.
It's undocumented what it means.

I suspect it's overkill if it's meant to be the binding format version.
If we'd need to tell different versions from each other, we could change
some other minor thing in the format, and it probably won't be needed.

Remove the 'version' fields from the bindings and the warning from the
scripts/dts/ scripts.

The new device tree script will give an error when unknown fields appear
in bindings.

The deletion was done with

    git ls-files 'dts/bindings/*.yaml' | xargs sed -i '/^\s*version: /d'

Some blank lines at the beginning of bindings were removed as well.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-07-22 09:28:07 -04:00

41 lines
887 B
YAML

title: base device binding
description: >
Binding for device
properties:
compatible:
type: string-array
category: required
description: compatible strings
reg:
type: array
description: register space
category: optional
reg-names:
type: string-array
description: name of each register space
category: optional
interrupts:
type: array
category: optional
description: interrupts for device
interrupt-names:
type: string-array
category: optional
description: name of each interrupt
label:
type: string
category: optional
description: Human readable string describing the device (used by Zephyr for API name)
clocks:
type: array
category: optional
description: Clock gate information