Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: micfil: Add bindings for MICFIL DAI

Document the bindings for MICFIL DAI.

Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Cosmin Samoila and committed by
Mark Brown
e595da28 e147c189

+32
+32
Documentation/devicetree/bindings/sound/fsl,micfil.txt
··· 1 + NXP MICFIL Digital Audio Interface (MICFIL). 2 + 3 + The MICFIL digital interface provides a 16-bit audio signal from a PDM 4 + microphone bitstream in a configurable output sampling rate. 5 + 6 + Required 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 + 22 + Example: 23 + micfil: 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 + };