zephyr/dts/bindings/test/vnd,phandle-holder.yaml
Carlo Caione 42105ed882 dts: Add support for specifier-space property.
Currently all the *-names and *-cells properties are derived from the
name of the base <name>s property. This is a limitation because:

- It forces the base property name to be plural ending in -s
- It doesn't allow the english exception of plural words ending in -es

With this patch we add one additional property 'specifier-space' that
can be used to explicitly specify the base property name.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
Suggested-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-10-13 09:56:46 -05:00

24 lines
578 B
YAML

# Copyright (c) 2020 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
description: Test phandle property container
compatible: "vnd,phandle-holder"
include: [base.yaml]
properties:
ph: {type: "phandle"}
phs: {type: "phandles"}
phs-or: {type: "phandles"}
pha-gpios: {type: "phandle-array"}
gpios: {type: "phandle-array"}
foos: {type: "phandle-array"}
foo-names: {type: "string-array"}
pwms: {type: "phandle-array"}
pwm-names: {type: "string-array"}
bar:
type: "phandle-array"
specifier-space: baz
baz-names: {type: "string-array"}