lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c14a6e7b-3bfc-2dd9-378e-fb587e3e03e8@denx.de>
Date:   Fri, 1 Sep 2023 17:49:44 +0200
From:   Marek Vasut <marex@...x.de>
To:     Adam Ford <aford173@...il.com>
Cc:     linux-arm-kernel@...ts.infradead.org, aford@...conembedded.com,
        Rob Herring <robh+dt@...nel.org>,
        Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
        Conor Dooley <conor+dt@...nel.org>,
        Shawn Guo <shawnguo@...nel.org>,
        Sascha Hauer <s.hauer@...gutronix.de>,
        Pengutronix Kernel Team <kernel@...gutronix.de>,
        Fabio Estevam <festevam@...il.com>,
        NXP Linux Team <linux-imx@....com>,
        Abel Vesa <abelvesa@...nel.org>, Peng Fan <peng.fan@....com>,
        Michael Turquette <mturquette@...libre.com>,
        Stephen Boyd <sboyd@...nel.org>, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org
Subject: Re: [PATCH V3 2/3] arm64: dts: imx8mp: Add micfil node

On 9/1/23 13:06, Adam Ford wrote:
> On Thu, Aug 31, 2023 at 4:53 PM Marek Vasut <marex@...x.de> wrote:
>>
>> On 8/31/23 06:44, Adam Ford wrote:
>>> 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@...il.com>
>>> ---
>>> V3:  The AUDIOMIX_PDM_ROOT doesn't exist and the real clock is
>>>        called IMX8MP_CLK_AUDIOMIX_PDM_SEL, so swap it out.
>>>
>>> V2:  No change
>>>
>>> diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
>>> index 3167706d81e1..341fd0369ce9 100644
>>> --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
>>> +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
>>> @@ -1479,6 +1479,27 @@ easrc: easrc@...90000 {
>>>                                        fsl,asrc-format = <2>;
>>>                                        status = "disabled";
>>>                                };
>>> +
>>> +                             micfil: audio-controller@...a0000 {
>>> +                                     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";
>>
>> Is dma-names really required if there is only a single DMA channel in DT ?
> 
> I would normally agree with you, the DT binding file shows it's
> required, and the driver looks like it's searching for a channel name
> called 'rx'

Maybe something that can be improved both in the driver and bindings ?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ