ASoC: dt-bindings: Centralize the 'sound-dai' definition
authorRob Herring <robh@kernel.org>
Wed, 26 Jan 2022 23:14:27 +0000 (17:14 -0600)
committerRob Herring <robh@kernel.org>
Fri, 4 Feb 2022 15:43:43 +0000 (09:43 -0600)
commit97709d365bbd68056ace43ef47ad8aaf40f44855
treeca2879d354880a4567057051e6eb0936054f7ecf
parentd7f17b661fe947719500f8b3296f7f02113e8951
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
Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml
Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml
Documentation/devicetree/bindings/sound/imx-audio-card.yaml
Documentation/devicetree/bindings/sound/qcom,sm8250.yaml
Documentation/devicetree/bindings/sound/samsung,aries-wm8994.yaml
Documentation/devicetree/bindings/sound/samsung,midas-audio.yaml
Documentation/devicetree/bindings/sound/samsung,odroid.yaml
Documentation/devicetree/bindings/sound/sound-dai.yaml [new file with mode: 0644]