Lines Matching +full:sai +full:- +full:synchronous +full:- +full:rx
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/fsl,sai.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale Synchronous Audio Interface (SAI).
10 - Shengjiu Wang <shengjiu.wang@nxp.com>
13 The SAI is based on I2S module that used communicating with audio codecs,
14 which provides a synchronous audio interface that supports fullduplex
21 - enum:
22 - fsl,vf610-sai
23 - fsl,imx6sx-sai
24 - fsl,imx6ul-sai
25 - fsl,imx7ulp-sai
26 - fsl,imx8mq-sai
27 - fsl,imx8qm-sai
28 - fsl,imx8ulp-sai
29 - items:
30 - enum:
31 - fsl,imx8mm-sai
32 - fsl,imx8mn-sai
33 - fsl,imx8mp-sai
34 - const: fsl,imx8mq-sai
41 - description: receive and transmit interrupt
46 dma-names:
51 - description: The ipg clock for register access
52 - description: master clock source 0 (obsoleted)
53 - description: master clock source 1
54 - description: master clock source 2
55 - description: master clock source 3
56 - description: PLL clock source for 8kHz series
57 - description: PLL clock source for 11kHz series
60 clock-names:
62 - items:
63 - const: bus
64 - const: mclk0
65 - const: mclk1
66 - const: mclk2
67 - const: mclk3
68 - const: pll8k
69 - const: pll11k
71 - items:
72 - const: bus
73 - const: mclk1
74 - const: mclk2
75 - const: mclk3
76 - const: pll8k
77 - const: pll11k
80 lsb-first:
88 big-endian:
90 required if all the SAI registers are big-endian rather than little-endian.
93 fsl,sai-synchronous-rx:
95 SAI will work in the synchronous mode (sync Tx with Rx) which means
100 fsl,sai-asynchronous:
102 SAI will work in the asynchronous mode, which means both transmitter
105 If both fsl,sai-asynchronous and fsl,sai-synchronous-rx are absent, the
106 default synchronous mode (sync Rx with Tx) will be used, which means both
112 $ref: /schemas/types.yaml#/definitions/uint32-matrix
118 - description: format Default(0), I2S(1) or PDM(2)
120 - description: dataline mask for 'rx'
121 - description: dataline mask for 'tx'
123 fsl,sai-mclk-direction-output:
124 description: SAI will output the SAI MCLK clock.
127 fsl,shared-interrupt:
131 "#sound-dai-cells":
136 - if:
140 const: fsl,vf610-sai
145 - description: DMA controller phandle and request line for TX
146 - description: DMA controller phandle and request line for RX
147 dma-names:
149 - const: tx
150 - const: rx
155 - description: DMA controller phandle and request line for RX
156 - description: DMA controller phandle and request line for TX
157 dma-names:
159 - const: rx
160 - const: tx
161 - if:
163 - fsl,sai-asynchronous
166 fsl,sai-synchronous-rx: false
169 - compatible
170 - reg
171 - interrupts
172 - dmas
173 - dma-names
174 - clocks
175 - clock-names
180 - |
181 #include <dt-bindings/interrupt-controller/arm-gic.h>
182 #include <dt-bindings/clock/vf610-clock.h>
183 sai2: sai@40031000 {
184 compatible = "fsl,vf610-sai";
187 pinctrl-names = "default";
188 pinctrl-0 = <&pinctrl_sai2_1>;
192 clock-names = "bus", "mclk1", "mclk2", "mclk3";
193 dma-names = "tx", "rx";
196 big-endian;
197 lsb-first;
200 - |
201 #include <dt-bindings/interrupt-controller/arm-gic.h>
202 #include <dt-bindings/clock/imx8mm-clock.h>
203 sai1: sai@30010000 {
204 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai";
211 clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";
213 dma-names = "rx", "tx";
215 #sound-dai-cells = <0>;