ASoC: dt-bindings: fsl,imx-asrc: Document audio graph port
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 6 Mar 2025 05:31:38 +0000 (13:31 +0800)
committerMark Brown <broonie@kernel.org>
Sat, 8 Mar 2025 16:06:54 +0000 (16:06 +0000)
This device can be used in conjunction with audio-graph-card to provide
an endpoint for binding with the other side of the audio link.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: "Rob Herring (Arm)" <robh@kernel.org>
Link: https://patch.msgid.link/20250306053138.1914956-1-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/fsl,imx-asrc.yaml

index abac5084d63b6f49fdfd469dbce84b864a8739ee..85799f83e65f100b5e407bab7a56223fbd4c4f3e 100644 (file)
@@ -77,6 +77,10 @@ properties:
   power-domains:
     maxItems: 1
 
+  port:
+    $ref: audio-graph-port.yaml#
+    unevaluatedProperties: false
+
   fsl,asrc-rate:
     $ref: /schemas/types.yaml#/definitions/uint32
     description: The mutual sample rate used by DPCM Back Ends
@@ -174,4 +178,12 @@ examples:
                     "txa", "txb", "txc";
         fsl,asrc-rate  = <48000>;
         fsl,asrc-width = <16>;
+
+        port {
+            playback-only;
+
+            asrc_endpoint: endpoint {
+                remote-endpoint = <&fe00_ep>;
+            };
+       };
     };