18c2ecf20Sopenharmony_ciImagination Technologies I2S Output Controller
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired Properties:
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci  - compatible : Compatible list, must contain "img,i2s-out"
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci  - #sound-dai-cells : Must be equal to 0
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci  - reg : Offset and length of the register set for the device
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci  - clocks : Contains an entry for each entry in clock-names
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci  - clock-names : Must include the following entries:
148c2ecf20Sopenharmony_ci	"sys"	The system clock
158c2ecf20Sopenharmony_ci	"ref"	The reference clock
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci  - dmas: Contains an entry for each entry in dma-names.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci  - dma-names: Must include the following entry:
208c2ecf20Sopenharmony_ci	"tx"	Single DMA channel used by all active I2S channels
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci  - img,i2s-channels : Number of I2S channels instantiated in the I2S out block
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci  - resets: Contains a phandle to the I2S out reset signal
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci  - reset-names: Contains the reset signal name "rst"
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciOptional Properties:
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci  - interrupts : Contains the I2S out interrupts. Depending on
318c2ecf20Sopenharmony_ci	the configuration, there may be no interrupts, one interrupt,
328c2ecf20Sopenharmony_ci	or an interrupt per I2S channel. For the case where there is
338c2ecf20Sopenharmony_ci	one interrupt per channel, the interrupts should be listed
348c2ecf20Sopenharmony_ci	in ascending channel order
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ciExample:
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_cii2s_out: i2s-out@18100a00 {
398c2ecf20Sopenharmony_ci	compatible = "img,i2s-out";
408c2ecf20Sopenharmony_ci	reg = <0x18100A00 0x200>;
418c2ecf20Sopenharmony_ci	interrupts = <GIC_SHARED 13 IRQ_TYPE_LEVEL_HIGH>;
428c2ecf20Sopenharmony_ci	dmas = <&mdc 23 0xffffffff 0>;
438c2ecf20Sopenharmony_ci	dma-names = "tx";
448c2ecf20Sopenharmony_ci	clocks = <&cr_periph SYS_CLK_I2S_OUT>,
458c2ecf20Sopenharmony_ci		 <&clk_core CLK_I2S>;
468c2ecf20Sopenharmony_ci	clock-names = "sys", "ref";
478c2ecf20Sopenharmony_ci	img,i2s-channels = <6>;
488c2ecf20Sopenharmony_ci	resets = <&pistachio_reset PISTACHIO_RESET_I2S_OUT>;
498c2ecf20Sopenharmony_ci	reset-names = "rst";
508c2ecf20Sopenharmony_ci	#sound-dai-cells = <0>;
518c2ecf20Sopenharmony_ci};
52