zephyr/scripts/dts/python-devicetree/tests/test-bindings-include/simple.yaml
Christophe Dufaza c58d6761bc edtlib: tests: cover basics of filtering inherited properties
Use-case "B includes I includes X":
- X is a base binding file, specifying common properties
- I is an intermediary binding file, which includes X
  without modification nor filter
- B includes I, filtering the properties it chooses
  to inherit with an allowlist or a blocklist

Check that the properties inherited from X via I
are actually filtered as B intends to,
up to the grandchild-binding level.

Signed-off-by: Christophe Dufaza <chris@openmarl.org>
2024-11-06 14:43:19 -06:00

31 lines
507 B
YAML

# SPDX-License-Identifier: BSD-3-Clause
#
# Base properties for testing property filters up to
# the grandchild-binding level.
properties:
prop-1:
type: int
prop-2:
type: int
prop-3:
type: int
child-binding:
properties:
child-prop-1:
type: int
child-prop-2:
type: int
child-prop-3:
type: int
child-binding:
properties:
grandchild-prop-1:
type: int
grandchild-prop-2:
type: int
grandchild-prop-3:
type: int