]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: dt-bindings: fsl-sai: Document RX/TX BCLK swap support
authorMarek Vasut <marex@nabladev.com>
Sat, 4 Apr 2026 18:35:00 +0000 (20:35 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 26 Apr 2026 23:31:54 +0000 (08:31 +0900)
Document support for setting the Bit Clock Swap bit in CR2 register
via new "fsl,sai-bit-clock-swap" DT property. This bit swaps the
bit clock used by the transmitter or receiver in asynchronous mode,
i.e. makes transmitter use RX_BCLK and TX_SYNC, and vice versa,
makes receiver use TX_BCLK and RX_SYNC.

Signed-off-by: Marek Vasut <marex@nabladev.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260404183547.46509-1-marex@nabladev.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/fsl,sai.yaml

index 83b5ea5f3d70ea09be0b7142a1ac34f9d12ff1fd..ba65b3f3d0662b82da58f4fddc8b9f24d7994661 100644 (file)
@@ -162,6 +162,13 @@ properties:
       of transmitter.
     type: boolean
 
+  fsl,sai-bit-clock-swap:
+    description:
+      Enable Bit Clock Swap, which swaps the bit clock used by the transmitter
+      or receiver in asynchronous mode, i.e. makes transmitter use RX_BCLK and
+      TX_SYNC, and vice versa, makes receiver use TX_BCLK and RX_SYNC.
+    type: boolean
+
   fsl,shared-interrupt:
     description: Interrupt is shared with other modules.
     type: boolean