diff options
author | Rob Herring <robh@kernel.org> | 2022-01-27 02:14:27 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-02-04 18:43:43 +0300 |
commit | 97709d365bbd68056ace43ef47ad8aaf40f44855 (patch) | |
tree | ca2879d354880a4567057051e6eb0936054f7ecf /Documentation/devicetree/bindings/sound/samsung,odroid.yaml | |
parent | d7f17b661fe947719500f8b3296f7f02113e8951 (diff) | |
download | linux-97709d365bbd68056ace43ef47ad8aaf40f44855.tar.xz |
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/samsung,odroid.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/sound/samsung,odroid.yaml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/sound/samsung,odroid.yaml b/Documentation/devicetree/bindings/sound/samsung,odroid.yaml index e8122bc87362..db2513f3e168 100644 --- a/Documentation/devicetree/bindings/sound/samsung,odroid.yaml +++ b/Documentation/devicetree/bindings/sound/samsung,odroid.yaml @@ -37,18 +37,15 @@ properties: type: object properties: sound-dai: - $ref: /schemas/types.yaml#/definitions/phandle-array description: phandles to the I2S controllers codec: type: object properties: sound-dai: - $ref: /schemas/types.yaml#/definitions/phandle-array - description: | - List of phandles to the CODEC nodes, - first entry must be corresponding to the MAX98090 CODEC and - the second entry must be the phandle of the HDMI IP block node. + items: + - description: phandle of the MAX98090 CODEC + - description: phandle of the HDMI IP block node samsung,audio-routing: $ref: /schemas/types.yaml#/definitions/non-unique-string-array |