aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2022-01-26 17:14:27 -0600
committerRob Herring <robh@kernel.org>2022-02-04 09:43:43 -0600
commit97709d365bbd68056ace43ef47ad8aaf40f44855 (patch)
treeca2879d354880a4567057051e6eb0936054f7ecf /Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml
parentd7f17b661fe947719500f8b3296f7f02113e8951 (diff)
downloadlinux-97709d365bbd68056ace43ef47ad8aaf40f44855.tar.gz
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
Diffstat (limited to 'Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml')
-rw-r--r--Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml b/Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml
index 2e35aeaa8781..8b5be4b92f35 100644
--- a/Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml
+++ b/Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml
@@ -57,7 +57,7 @@ patternProperties:
rate
sound-dai:
- $ref: /schemas/types.yaml#/definitions/phandle-array
+ maxItems: 1
description: phandle of the CPU DAI
patternProperties:
@@ -71,7 +71,7 @@ patternProperties:
properties:
sound-dai:
- $ref: /schemas/types.yaml#/definitions/phandle-array
+ maxItems: 1
description: phandle of the codec DAI
required: