Files
linux/Documentation/devicetree/bindings/sound/sound-dai.yaml
Rob Herring 97709d365b ASoC: dt-bindings: Centralize the 'sound-dai' definition
'sound-dai' is a common property, but has duplicate type definitions.
Create a new common definition to define the type and then update all
the other occurrences to just define how many entries there are just
like other phandle+arg properties.

The constraints on the number of entries is based on the examples and
could be wrong.

Cc: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Jerome Brunet <jbrunet@baylibre.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220126231427.1638089-1-robh@kernel.org
2022-02-04 09:43:43 -06:00

21 lines
497 B
YAML

# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/sound-dai.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Digital Audio Interface consumer Device Tree Bindings
maintainers:
- Rob Herring <robh@kernel.org>
select: true
properties:
sound-dai:
$ref: /schemas/types.yaml#/definitions/phandle-array
description: A phandle plus args to digital audio interface provider(s)
additionalProperties: true
...