On Thu, Dec 26, 2024 at 04:29:45PM +0100, Marek Vasut wrote: > 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@xxxxxxx> > --- > Cc: Conor Dooley <conor+dt@xxxxxxxxxx> > Cc: Fabio Estevam <festevam@xxxxxxxxx> > Cc: Jaroslav Kysela <perex@xxxxxxxx> > Cc: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx> > Cc: Liam Girdwood <lgirdwood@xxxxxxxxx> > Cc: Mark Brown <broonie@xxxxxxxxxx> > Cc: Michael Turquette <mturquette@xxxxxxxxxxxx> > Cc: Michael Walle <michael@xxxxxxxx> > Cc: Nicolin Chen <nicoleotsuka@xxxxxxxxx> > Cc: Rob Herring <robh@xxxxxxxxxx> > Cc: Shengjiu Wang <shengjiu.wang@xxxxxxxxx> > Cc: Stephen Boyd <sboyd@xxxxxxxxxx> > Cc: Takashi Iwai <tiwai@xxxxxxxx> > Cc: Xiubo Li <Xiubo.Lee@xxxxxxxxx> > Cc: devicetree@xxxxxxxxxxxxxxx > Cc: linux-clk@xxxxxxxxxxxxxxx > Cc: linux-sound@xxxxxxxxxxxxxxx > --- > Documentation/devicetree/bindings/sound/fsl,sai.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sound/fsl,sai.yaml b/Documentation/devicetree/bindings/sound/fsl,sai.yaml > index a5d9c246cc476..7a58df1e3f87c 100644 > --- a/Documentation/devicetree/bindings/sound/fsl,sai.yaml > +++ b/Documentation/devicetree/bindings/sound/fsl,sai.yaml > @@ -132,6 +132,13 @@ properties: > of transmitter. > type: boolean > > + fsl,sai-bit-clock-swap: > + description: | Don't need '|'. > + 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 > -- > 2.45.2 >