]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx8mp: Add micfil node
authorAdam Ford <aford173@gmail.com>
Thu, 31 Aug 2023 04:44:30 +0000 (23:44 -0500)
committerShawn Guo <shawnguo@kernel.org>
Mon, 25 Sep 2023 01:12:46 +0000 (09:12 +0800)
The i.MX8MP has a micfil controller which is used for interfacing
with a pulse density microphone. Add the node and mark it as
disabled by default.

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

index ec51e72518e2483ebbed9f02b6c609a56e7c6b44..a3f0408494274fb16dacc7f88aa9012b4238093c 100644 (file)
                                        fsl,asrc-format = <2>;
                                        status = "disabled";
                                };
+
+                               micfil: audio-controller@30ca0000 {
+                                       compatible = "fsl,imx8mp-micfil";
+                                       reg = <0x30ca0000 0x10000>;
+                                       #sound-dai-cells = <0>;
+                                       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 = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_PDM_IPG>,
+                                                <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_PDM_SEL>,
+                                                <&clk IMX8MP_AUDIO_PLL1_OUT>,
+                                                <&clk IMX8MP_AUDIO_PLL2_OUT>,
+                                                <&clk IMX8MP_CLK_EXT3>;
+                                       clock-names = "ipg_clk", "ipg_clk_app",
+                                                     "pll8k", "pll11k", "clkext3";
+                                       dmas = <&sdma2 24 25 0x80000000>;
+                                       dma-names = "rx";
+                                       status = "disabled";
+                               };
+
                        };
 
                        sdma3: dma-controller@30e00000 {