xref: /freebsd/sys/contrib/device-tree/Bindings/sound/xlnx,audio-formatter.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotDevice-Tree bindings for Xilinx PL audio formatter
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe IP core supports DMA, data formatting(AES<->PCM conversion)
4*c66ec88fSEmmanuel Vadotof audio samples.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot - compatible: "xlnx,audio-formatter-1.0"
8*c66ec88fSEmmanuel Vadot - interrupt-names: Names specified to list of interrupts in same
9*c66ec88fSEmmanuel Vadot		    order mentioned under "interrupts".
10*c66ec88fSEmmanuel Vadot		    List of supported interrupt names are:
11*c66ec88fSEmmanuel Vadot		    "irq_mm2s" : interrupt from MM2S block
12*c66ec88fSEmmanuel Vadot		    "irq_s2mm" : interrupt from S2MM block
13*c66ec88fSEmmanuel Vadot - interrupts-parent: Phandle for interrupt controller.
14*c66ec88fSEmmanuel Vadot - interrupts: List of Interrupt numbers.
15*c66ec88fSEmmanuel Vadot - reg: Base address and size of the IP core instance.
16*c66ec88fSEmmanuel Vadot - clock-names: List of input clocks.
17*c66ec88fSEmmanuel Vadot   Required elements: "s_axi_lite_aclk", "aud_mclk"
18*c66ec88fSEmmanuel Vadot - clocks: Input clock specifier. Refer to common clock bindings.
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel VadotExample:
21*c66ec88fSEmmanuel Vadot	audio_ss_0_audio_formatter_0: audio_formatter@80010000 {
22*c66ec88fSEmmanuel Vadot		compatible = "xlnx,audio-formatter-1.0";
23*c66ec88fSEmmanuel Vadot		interrupt-names = "irq_mm2s", "irq_s2mm";
24*c66ec88fSEmmanuel Vadot		interrupt-parent = <&gic>;
25*c66ec88fSEmmanuel Vadot		interrupts = <0 104 4>, <0 105 4>;
26*c66ec88fSEmmanuel Vadot		reg = <0x0 0x80010000 0x0 0x1000>;
27*c66ec88fSEmmanuel Vadot		clock-names = "s_axi_lite_aclk", "aud_mclk";
28*c66ec88fSEmmanuel Vadot		clocks = <&clk 71>, <&clk_wiz_1 0>;
29*c66ec88fSEmmanuel Vadot	};
30