Commit 5d83b5ce authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Mark Brown

ASoC: dt-bindings: qcom,lpass-wsa-macro: Add SM8550 WSA macro

Add the WSA macro codec on Qualcomm SM8550, which comes without NPL clock
exposed.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230327132254.147975-10-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 84054a8d
...@@ -15,6 +15,7 @@ properties: ...@@ -15,6 +15,7 @@ properties:
- qcom,sc7280-lpass-wsa-macro - qcom,sc7280-lpass-wsa-macro
- qcom,sm8250-lpass-wsa-macro - qcom,sm8250-lpass-wsa-macro
- qcom,sm8450-lpass-wsa-macro - qcom,sm8450-lpass-wsa-macro
- qcom,sm8550-lpass-wsa-macro
- qcom,sc8280xp-lpass-wsa-macro - qcom,sc8280xp-lpass-wsa-macro
reg: reg:
...@@ -27,11 +28,11 @@ properties: ...@@ -27,11 +28,11 @@ properties:
const: 0 const: 0
clocks: clocks:
minItems: 5 minItems: 4
maxItems: 6 maxItems: 6
clock-names: clock-names:
minItems: 5 minItems: 4
maxItems: 6 maxItems: 6
clock-output-names: clock-output-names:
...@@ -62,6 +63,7 @@ allOf: ...@@ -62,6 +63,7 @@ allOf:
then: then:
properties: properties:
clocks: clocks:
minItems: 5
maxItems: 5 maxItems: 5
clock-names: clock-names:
items: items:
...@@ -89,6 +91,23 @@ allOf: ...@@ -89,6 +91,23 @@ allOf:
- const: va - const: va
- const: fsgen - const: fsgen
- if:
properties:
compatible:
enum:
- qcom,sm8550-lpass-wsa-macro
then:
properties:
clocks:
minItems: 4
maxItems: 4
clock-names:
items:
- const: mclk
- const: macro
- const: dcodec
- const: fsgen
unevaluatedProperties: false unevaluatedProperties: false
examples: examples:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment