zephyr/dts/bindings/test/vnd,great-grandchild-bindings.yaml
Martí Bolívar 930c5807d5 tests: devicetree: test great-grandchild bindings
At some point, "child-binding:" apparently only worked up to 2 levels
deep. That's not the case anymore, but add a regression test to make
sure that doesn't break. 3 levels deep ought to be enough for anyone.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-05-28 22:12:38 +02:00

28 lines
665 B
YAML

# Copyright (c) 2020 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
description: |
Test binding for 3 levels of "child-binding".
Previous versions of Zephyr only allowed up to two levels of
"child-binding:" in a YAML file. This file is used to test that the
restriction no longer holds.
compatible: "vnd,great-grandchild-bindings"
include: [base.yaml]
child-binding:
description: child node, no properties
child-binding:
description: grandchild node, no properties
child-binding:
description: great-grandchild node, ggc-prop property
properties:
ggc-prop:
type: int
required: true