ASoC: dt-bindings: qcom,lpass-tx-macro: Add SM8550 TX macro
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 13 Mar 2023 07:54:41 +0000 (08:54 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 28 Mar 2023 13:46:52 +0000 (14:46 +0100)
Add the TX 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/20230313075445.17160-5-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml

index 559da2509d8da9450652098557f218b563e0a578..9d6e67524dafa93d2c72ede5448f33c692b49e8f 100644 (file)
@@ -15,6 +15,7 @@ properties:
       - qcom,sc7280-lpass-tx-macro
       - qcom,sm8250-lpass-tx-macro
       - qcom,sm8450-lpass-tx-macro
+      - qcom,sm8550-lpass-tx-macro
       - qcom,sc8280xp-lpass-tx-macro
 
   reg:
@@ -96,6 +97,23 @@ allOf:
             - const: dcodec
             - const: fsgen
 
+  - if:
+      properties:
+        compatible:
+          enum:
+            - qcom,sm8550-lpass-tx-macro
+    then:
+      properties:
+        clocks:
+          minItems: 4
+          maxItems: 4
+        clock-names:
+          items:
+            - const: mclk
+            - const: macro
+            - const: dcodec
+            - const: fsgen
+
 unevaluatedProperties: false
 
 examples: