zephyr/scripts/dts/test-bindings
Kumar Gala 3d14374c5e scripts/dts/edtlib.py: add 'const' support to bindings
Add a 'const' property to bindings for any properties that are expected
to have a specifi known value.  For example, #address-cells for an I2C
bus should always be '1'.  So we can do something like the following in
the I2C bus binding:

    "#address-cells":
      type: int
      category: required
      const: 1

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-09-07 10:25:02 -05:00
..
child.yaml dts: edtlib: Shorten some license headers 2019-08-09 00:03:19 -05:00
clock-1-cell.yaml dts: edtlib: Shorten some license headers 2019-08-09 00:03:19 -05:00
clock-2-cell.yaml dts: edtlib: Shorten some license headers 2019-08-09 00:03:19 -05:00
fixed-clock.yaml dts: edtlib: Shorten some license headers 2019-08-09 00:03:19 -05:00
gpio-1-cell.yaml dts: edtlib: Shorten some license headers 2019-08-09 00:03:19 -05:00
gpio-2-cell.yaml dts: edtlib: Shorten some license headers 2019-08-09 00:03:19 -05:00
grandchild.yaml dts: edtlib: Shorten some license headers 2019-08-09 00:03:19 -05:00
interrupt-1-cell.yaml dts: edtlib: Shorten some license headers 2019-08-09 00:03:19 -05:00
interrupt-2-cell.yaml dts: edtlib: Shorten some license headers 2019-08-09 00:03:19 -05:00
interrupt-3-cell.yaml dts: edtlib: Shorten some license headers 2019-08-09 00:03:19 -05:00
io-channel.yaml scripts/dts: add basic test for IO channel property 2019-08-09 13:16:09 -05:00
multidir.yaml
parent.yaml dts: edtlib: Shorten some license headers 2019-08-09 00:03:19 -05:00
props.yaml scripts/dts/edtlib.py: add 'const' support to bindings 2019-09-07 10:25:02 -05:00
pwm-1-cell.yaml dts: edtlib: Shorten some license headers 2019-08-09 00:03:19 -05:00
pwm-0-cell.yaml dts: edtlib: Shorten some license headers 2019-08-09 00:03:19 -05:00
sub-node-parent.yaml dts: edtlib: Shorten some license headers 2019-08-09 00:03:19 -05:00