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