zephyr/scripts/dts/python-devicetree/tests/test-bindings
Kumar Gala f1660f4d51 edtlib: allow const arrays
Allow for having array types (array, uint8-array, string-array) be const.
This would allow for something like:

properties:
    reg-names:
        const: ["foo", "bar"]

To be supported.

Renamed function _check_prop_type_and_default to _check_prop_by_type
as part of this change and Moved the check for 'const' types into
_check_prop_by_type as its similar to the prop_type check and it was
easier to implement in _check_prop_by_type as we already extract
prop_type from the option in that function.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-25 18:11:27 -07:00
..
bar-bus.yaml
child-binding-with-compat.yaml
child-binding.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
child.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
defaults.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
deprecated.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
device-on-any-bus.yaml
device-on-bar-bus.yaml
device-on-foo-bus.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
enums.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
false-positive.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
foo-bus.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
foo-optional.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
foo-required.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
gpio-dst.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
gpio-src.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
grandchild-1.yaml
grandchild-2.yaml
grandchild-3.yaml
interrupt-1-cell.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
interrupt-2-cell.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
interrupt-3-cell.yaml
multidir.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
order-1.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
order-2.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
parent.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
phandle-array-controller-0.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
phandle-array-controller-1.yaml dts: separate DT libraries from gen_defines.py 2021-04-02 08:28:12 -05:00
phandle-array-controller-2.yaml
props.yaml edtlib: allow const arrays 2022-08-25 18:11:27 -07:00