18c2ecf20Sopenharmony_ciImagination Technologies I2S Input Controller 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired Properties: 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci - compatible : Compatible list, must contain "img,i2s-in" 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 entry: 148c2ecf20Sopenharmony_ci "sys" The system clock 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci - dmas: Contains an entry for each entry in dma-names. 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci - dma-names: Must include the following entry: 198c2ecf20Sopenharmony_ci "rx" Single DMA channel used by all active I2S channels 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci - img,i2s-channels : Number of I2S channels instantiated in the I2S in block 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ciOptional Properties: 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci - interrupts : Contains the I2S in interrupts. Depending on 268c2ecf20Sopenharmony_ci the configuration, there may be no interrupts, one interrupt, 278c2ecf20Sopenharmony_ci or an interrupt per I2S channel. For the case where there is 288c2ecf20Sopenharmony_ci one interrupt per channel, the interrupts should be listed 298c2ecf20Sopenharmony_ci in ascending channel order 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci - resets: Contains a phandle to the I2S in reset signal 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci - reset-names: Contains the reset signal name "rst" 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ciExample: 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_cii2s_in: i2s-in@18100800 { 388c2ecf20Sopenharmony_ci compatible = "img,i2s-in"; 398c2ecf20Sopenharmony_ci reg = <0x18100800 0x200>; 408c2ecf20Sopenharmony_ci interrupts = <GIC_SHARED 7 IRQ_TYPE_LEVEL_HIGH>; 418c2ecf20Sopenharmony_ci dmas = <&mdc 30 0xffffffff 0>; 428c2ecf20Sopenharmony_ci dma-names = "rx"; 438c2ecf20Sopenharmony_ci clocks = <&cr_periph SYS_CLK_I2S_IN>; 448c2ecf20Sopenharmony_ci clock-names = "sys"; 458c2ecf20Sopenharmony_ci img,i2s-channels = <6>; 468c2ecf20Sopenharmony_ci #sound-dai-cells = <0>; 478c2ecf20Sopenharmony_ci}; 48