zephyr/scripts/dts/python-devicetree/tests/test-bindings-include
Kumar Gala 6e01c6abb6 scripts: edt: Add support for include property filtering
Add the ability to filter which properties get imported when we do an
include.  We add a new YAML form for this:

include:
  - name: other.yaml
    property-blocklist:
      - prop-to-block

or

include:
  - name: other.yaml
    property-allowlist:
      - prop-to-allow

These lists can intermix simple file names with maps, like:

include:
  - foo.yaml
  - name: bar.yaml
    property-allowlist:
      - prop-to-allow

And you can filter from child bindings like this:

include:
  - name: bar.yaml
    child-binding:
      property-allowlist:
        - child-prop-to-allow

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-04-07 14:16:33 +02:00
..
allow-and-blocklist-child.yaml
allow-and-blocklist.yaml
allow-not-list.yaml
allowlist.yaml
block-not-list.yaml
blocklist.yaml
empty-allowlist.yaml
empty-blocklist.yaml
filter-child-bindings.yaml
include-2.yaml
include-invalid-keys.yaml
include-invalid-type.yaml
include-no-list.yaml
include-no-name.yaml
include.yaml
intermixed.yaml
README.rst

This directory contains bindings used to test the 'include:' feature.