]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ASoC: dt-bindings: wsa883x: Document port mapping property
authorManikantan R <quic_manrav@quicinc.com>
Thu, 27 Jun 2024 14:44:38 +0000 (15:44 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 1 Jul 2024 13:53:22 +0000 (14:53 +0100)
Document port mapping property for wsa883x. Port mapping is required
to be able map correct master ports for VI feedback.

All the device ports are not mapped in same order as master ports, so
there is a need for having static port mapping for WSA codecs.

Signed-off-by: Manikantan R <quic_manrav@quicinc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8650-HDK
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://patch.msgid.link/20240626-port-map-v2-1-6cc1c5608cdd@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml

index 8e462cdf0018f376b074ac188c8b7b142f167d22..14d312f9c345e643aa874a6e1f09c4f8040c272e 100644 (file)
@@ -32,6 +32,14 @@ properties:
   vdd-supply:
     description: VDD Supply for the Codec
 
+  qcom,port-mapping:
+    description: |
+      Specifies static port mapping between slave and master ports.
+      In the order of slave port index.
+    $ref: /schemas/types.yaml#/definitions/uint32-array
+    minItems: 4
+    maxItems: 4
+
   '#thermal-sensor-cells':
     const: 0