brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · 6b0ee9b Raw
52 lines · plain
1Imagination Technologies I2S Output Controller2 3Required Properties:4 5  - compatible : Compatible list, must contain "img,i2s-out"6 7  - #sound-dai-cells : Must be equal to 08 9  - reg : Offset and length of the register set for the device10 11  - clocks : Contains an entry for each entry in clock-names12 13  - clock-names : Must include the following entries:14	"sys"	The system clock15	"ref"	The reference clock16 17  - dmas: Contains an entry for each entry in dma-names.18 19  - dma-names: Must include the following entry:20	"tx"	Single DMA channel used by all active I2S channels21 22  - img,i2s-channels : Number of I2S channels instantiated in the I2S out block23 24  - resets: Contains a phandle to the I2S out reset signal25 26  - reset-names: Contains the reset signal name "rst"27 28Optional Properties:29 30  - interrupts : Contains the I2S out interrupts. Depending on31	the configuration, there may be no interrupts, one interrupt,32	or an interrupt per I2S channel. For the case where there is33	one interrupt per channel, the interrupts should be listed34	in ascending channel order35 36Example:37 38i2s_out: i2s-out@18100a00 {39	compatible = "img,i2s-out";40	reg = <0x18100A00 0x200>;41	interrupts = <GIC_SHARED 13 IRQ_TYPE_LEVEL_HIGH>;42	dmas = <&mdc 23 0xffffffff 0>;43	dma-names = "tx";44	clocks = <&cr_periph SYS_CLK_I2S_OUT>,45		 <&clk_core CLK_I2S>;46	clock-names = "sys", "ref";47	img,i2s-channels = <6>;48	resets = <&pistachio_reset PISTACHIO_RESET_I2S_OUT>;49	reset-names = "rst";50	#sound-dai-cells = <0>;51};52