xref: /freebsd/sys/contrib/device-tree/Bindings/sound/fsl,micfil.txt (revision dd41de95a84d979615a2ef11df6850622bf6184e)
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
10  - reg			: Offset and length of the register set for the device.
11
12  - interrupts		: Contains the micfil interrupts.
13
14  - clocks		: Must contain an entry for each entry in clock-names.
15
16  - clock-names		: Must include the "ipg_clk" for register access and
17			  "ipg_clk_app" for internal micfil clock.
18
19  - dmas		: Generic dma devicetree binding as described in
20			  Documentation/devicetree/bindings/dma/dma.txt.
21
22Example:
23micfil: micfil@30080000 {
24	compatible = "fsl,imx8mm-micfil";
25	reg = <0x0 0x30080000 0x0 0x10000>;
26	interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
27		     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
28	clocks = <&clk IMX8MM_CLK_PDM_IPG>,
29		 <&clk IMX8MM_CLK_PDM_ROOT>;
30	clock-names = "ipg_clk", "ipg_clk_app";
31	dmas = <&sdma2 24 26 0x80000000>;
32};
33