ASoC: dt-bindings: qcom,lpass-tx-macro: correct clocks on SC7280
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 25 Dec 2022 11:59:07 +0000 (12:59 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 9 Jan 2023 13:05:36 +0000 (13:05 +0000)
On SC7280 ADSP bypassed platform, there are only three clocks for TX
macro.  This is already reflected in "clock-names" but not in "clocks"
property:

  sc7280-herobrine-zombie-lte.dtb: codec@3220000: clocks: [[219, 8], [219, 7], [220]] is too short

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221225115907.55250-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml

index 66431aa..da5f709 100644 (file)
@@ -30,7 +30,9 @@ properties:
     const: 0
 
   clocks:
-    maxItems: 5
+    oneOf:
+      - maxItems: 3
+      - maxItems: 5
 
   clock-names:
     oneOf: