xref: /freebsd/sys/contrib/device-tree/Bindings/sound/fsl,micfil.txt (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
1NXP MICFIL Digital Audio Interface (MICFIL).
2
3The MICFIL digital interface provides a 16-bit audio signal from a PDM
4microphone bitstream in a configurable output sampling rate.
5
6Required properties:
7
8  - compatible		: Compatible list, contains "fsl,imx8mm-micfil"
9			  or "fsl,imx8mp-micfil"
10
11  - reg			: Offset and length of the register set for the device.
12
13  - interrupts		: Contains the micfil interrupts.
14
15  - clocks		: Must contain an entry for each entry in clock-names.
16
17  - clock-names		: Must include the "ipg_clk" for register access and
18			  "ipg_clk_app" for internal micfil clock.
19
20  - dmas		: Generic dma devicetree binding as described in
21			  Documentation/devicetree/bindings/dma/dma.txt.
22
23Example:
24micfil: micfil@30080000 {
25	compatible = "fsl,imx8mm-micfil";
26	reg = <0x0 0x30080000 0x0 0x10000>;
27	interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
28		     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
29	clocks = <&clk IMX8MM_CLK_PDM_IPG>,
30		 <&clk IMX8MM_CLK_PDM_ROOT>;
31	clock-names = "ipg_clk", "ipg_clk_app";
32	dmas = <&sdma2 24 26 0x80000000>;
33};
34