mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-21 04:35:21 +00:00
The contents of 'sub-node:' was assigned as-is as the binding, bypassing _check_binding(). This also hid an error in test-bindings/sub-node-parent.yaml. Require 'sub-node:' to just have 'properties:' in it, and sanity-check the properties like for regular bindings. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
20 lines
348 B
YAML
20 lines
348 B
YAML
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
title: Sub-node test
|
|
description: Sub-node test
|
|
|
|
properties:
|
|
compatible:
|
|
constraint: "parent-with-sub-node"
|
|
type: string-array
|
|
|
|
sub-node:
|
|
properties:
|
|
foo:
|
|
category: required
|
|
type: int
|
|
|
|
bar:
|
|
category: required
|
|
type: int
|