Commit 0d4dca10b2 ("scripts: edtlib:
child binding compatibles match parents") was a hack meant to keep the
edtlib.Binding class in place without modifying some twister behavior
that needed further changes to work properly with first-class binding
objects.
This is a hack and is no longer necessary, so back out of this change.
Child Binding objects now have None compatible properties unless the
binding YAML explicitly sets a compatible.
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
21 lines
469 B
YAML
21 lines
469 B
YAML
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
description: child-binding with separate compatible than the parent
|
|
|
|
compatible: "top-binding-with-compat"
|
|
|
|
child-binding:
|
|
compatible: child-compat
|
|
description: child node
|
|
properties:
|
|
child-prop:
|
|
type: int
|
|
required: true
|
|
|
|
child-binding:
|
|
description: grandchild node
|
|
properties:
|
|
grandchild-prop:
|
|
type: int
|
|
required: true
|