[PATCH v7 1/9] ASoC: dt-bindings: qcom: Add Shikra RX and VA macro codecs

From: Mohammad Rafi Shaik

Date: Sun Nov 22 2026 - 13:42:05 EST


Document compatibles for Qualcomm shikra rx and va macro codecs.
This SoC does not provide macro and dcodec clock so reflect that in
the bindings.

Shikra integrates LPASS codec version 4.0, which is not backwards
compatible with the already described compatibles.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@xxxxxxxxxxxxxxxx>
---
.../devicetree/bindings/sound/qcom,lpass-rx-macro.yaml | 16 ++++++++++++++++
.../devicetree/bindings/sound/qcom,lpass-va-macro.yaml | 17 +++++++++++++++++
2 files changed, 33 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml
index 67a4a9536d06..5ecec8d0b9db 100644
--- a/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml
@@ -14,6 +14,7 @@ properties:
oneOf:
- enum:
- qcom,sc7280-lpass-rx-macro
+ - qcom,shikra-lpass-rx-macro
- qcom,sm6115-lpass-rx-macro
- qcom,sm8250-lpass-rx-macro
- qcom,sm8450-lpass-rx-macro
@@ -142,6 +143,21 @@ allOf:
- const: dcodec
- const: fsgen

+ - if:
+ properties:
+ compatible:
+ enum:
+ - qcom,shikra-lpass-rx-macro
+ then:
+ properties:
+ clocks:
+ maxItems: 3
+ clock-names:
+ items:
+ - const: mclk
+ - const: npl
+ - const: fsgen
+
unevaluatedProperties: false

examples:
diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml
index a5466e61b0b1..eeefe2171c57 100644
--- a/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml
@@ -14,6 +14,7 @@ properties:
oneOf:
- enum:
- qcom,sc7280-lpass-va-macro
+ - qcom,shikra-lpass-va-macro
- qcom,sm6115-lpass-va-macro
- qcom,sm8250-lpass-va-macro
- qcom,sm8450-lpass-va-macro
@@ -171,6 +172,22 @@ allOf:
- const: macro
- const: dcodec

+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,shikra-lpass-va-macro
+ then:
+ properties:
+ clocks:
+ minItems: 2
+ maxItems: 2
+ clock-names:
+ items:
+ - const: mclk
+ - const: npl
+
unevaluatedProperties: false

examples:

--
2.34.1