]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ASoC: dt-bindings: qcom,lpass-va-macro: Add SM8550 VA macro
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 27 Mar 2023 13:22:52 +0000 (15:22 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 29 Mar 2023 16:43:24 +0000 (17:43 +0100)
Add the VA macro codec on Qualcomm SM8550, which comes without NPL clock
exposed.

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

index 0a3c688ef1ec49f4b515a7e803a23296e5c4ac2e..4cf778e3afddaee3a5cee6f1c3628c630f5e1d88 100644 (file)
@@ -18,6 +18,7 @@ properties:
       - qcom,sc7280-lpass-va-macro
       - qcom,sm8250-lpass-va-macro
       - qcom,sm8450-lpass-va-macro
+      - qcom,sm8550-lpass-va-macro
       - qcom,sc8280xp-lpass-va-macro
 
   reg:
@@ -64,6 +65,23 @@ required:
   - reg
   - "#sound-dai-cells"
 
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - qcom,sm8550-lpass-va-macro
+    then:
+      properties:
+        clocks:
+          minItems: 3
+          maxItems: 3
+        clock-names:
+          items:
+            - const: mclk
+            - const: macro
+            - const: dcodec
+
 unevaluatedProperties: false
 
 examples: