From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [RFC 1/2] ASoC: micfil: Add bindings for MICFIL DAI Date: Thu, 20 Dec 2018 13:56:35 -0600 Message-ID: <20181220195635.GA22978@bogus> References: <1544433661-32496-1-git-send-email-cosmin.samoila@nxp.com> <1544433661-32496-2-git-send-email-cosmin.samoila@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1544433661-32496-2-git-send-email-cosmin.samoila@nxp.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Cosmin Samoila Cc: "devicetree@vger.kernel.org" , "alsa-devel@alsa-project.org" , "S.j. Wang" , "broonie@kernel.org" , dl-linux-imx , "gabrielcsmo@gmail.com" List-Id: devicetree@vger.kernel.org On Mon, Dec 10, 2018 at 09:21:14AM +0000, Cosmin Samoila wrote: > Document the bindings for MICFIL DAI. > > Signed-off-by: Cosmin-Gabriel Samoila > --- > .../devicetree/bindings/sound/fsl,micfil.txt | 38 ++++++++++++++++++++++ > 1 file changed, 38 insertions(+) > create mode 100644 Documentation/devicetree/bindings/sound/fsl,micfil.txt > > diff --git a/Documentation/devicetree/bindings/sound/fsl,micfil.txt b/Documentation/devicetree/bindings/sound/fsl,micfil.txt > new file mode 100644 > index 0000000..2aa4526 > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/fsl,micfil.txt > @@ -0,0 +1,38 @@ > +NXP MICFIL Digital Audio Interface (MICFIL). > + > +The MICFIL digital interface provides a 16-bit audio signal from a PDM > +microphone bitstream in a configurable output sampling rate. > + > +Required properties: > + > + - compatible : Compatible list, contains "fsl,imx8mm-micfil" > + > + - reg : Offset and length of the register set for the device. > + > + - interrupts : Contains the micfil interrupts. > + > + - clocks : Must contain an entry for each entry in clock-names. > + > + - clock-names : Must include the "ipg_clk" for register access and > + "ipg_clk_app" for internal micfil clock. > + > + - dmas : Generic dma devicetree binding as described in > + Documentation/devicetree/bindings/dma/dma.txt. > + > + - dma-names : One "rx" dma must be configured. You don't need -names when there is only one. > + > +Example: > +micfil: micfil@30080000 { > + compatible = "fsl,imx8mm-micfil"; > + reg = <0x0 0x30080000 0x0 0x10000>; > + interrupts = , > + , > + , > + ; > + clocks = <&clk IMX8MM_CLK_PDM_IPG>, > + <&clk IMX8MM_CLK_PDM_ROOT>; > + clock-names = "ipg_clk", "ipg_clk_app"; > + dmas = <&sdma2 24 26 0x80000000>; > + dma-names = "rx"; > + status = "disabled"; Don't show status in examples. > +}; > -- > 2.7.4 >