arm64: dts: imx8mm: Add support for micfil
authorAdam Ford <aford173@gmail.com>
Mon, 19 Oct 2020 16:50:36 +0000 (11:50 -0500)
committerShawn Guo <shawnguo@kernel.org>
Sat, 31 Oct 2020 09:06:40 +0000 (17:06 +0800)
The i.MX8M Mini has supports the MICFIL digital interface.
It's a 16-bit audio signal from a PDM microphone bitstream.
The driver is already in the kernel, but the node is missing.

This patch adds the micfil node.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm.dtsi

index ee48659..7a1b62f 100644 (file)
                                status = "disabled";
                        };
 
+                       micfil: audio-controller@30080000 {
+                               compatible = "fsl,imx8mm-micfil";
+                               reg = <0x30080000 0x10000>;
+                               interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
+                                            <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
+                                            <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
+                                            <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clk IMX8MM_CLK_PDM_IPG>,
+                                        <&clk IMX8MM_CLK_PDM_ROOT>,
+                                        <&clk IMX8MM_AUDIO_PLL1_OUT>,
+                                        <&clk IMX8MM_AUDIO_PLL2_OUT>,
+                                        <&clk IMX8MM_CLK_EXT3>;
+                               clock-names = "ipg_clk", "ipg_clk_app",
+                                             "pll8k", "pll11k", "clkext3";
+                               dmas = <&sdma2 24 25 0x80000000>;
+                               dma-names = "rx";
+                               status = "disabled";
+                       };
+
                        gpio1: gpio@30200000 {
                                compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio";
                                reg = <0x30200000 0x10000>;