]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ASoC: dt-bindings: google,sc7180-trogdor: allow up to four codec DAIs
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 7 May 2023 17:45:43 +0000 (19:45 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 7 May 2023 23:48:45 +0000 (08:48 +0900)
SC7180 Trogdor sound cards come with multiple audio amplifiers, so allow
up to four of them to fix dtbs_check warnings like:

  sc7180-trogdor-homestar-r3.dtb: sound: dai-link@1:codec:sound-dai: [[275], [276], [277], [278]] is too long

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org
Acked-by: Conor Dooley <conor.dooley@microchip.com
Link: https://lore.kernel.org/r/20230507174543.264987-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org
Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml

index 67ccddd44489b323be952be4da215dce8a9e5e51..666a95ac22c81b49058549329844dc3f5780d6c8 100644 (file)
@@ -74,7 +74,8 @@ patternProperties:
 
         properties:
           sound-dai:
-            maxItems: 1
+            minItems: 1
+            maxItems: 4
 
     required:
       - link-name