[PATCH v5 4/6] memory: stm32-fmc2-ebi: add STM32 FMC2 EBI controller driver

Richard Weinberger richard at nod.at
Tue Jun 30 05:39:37 EDT 2020


----- Ursprüngliche Mail -----
> Von: "Christophe Kerello" <christophe.kerello at st.com>
> An: "Richard Weinberger" <richard.weinberger at gmail.com>
> CC: "Miquel Raynal" <miquel.raynal at bootlin.com>, "richard" <richard at nod.at>, "Vignesh Raghavendra" <vigneshr at ti.com>,
> "Rob Herring" <robh+dt at kernel.org>, "Mark Rutland" <mark.rutland at arm.com>, arnd at linaro.org, "Alexandre Torgue"
> <alexandre.torgue at st.com>, "Marek Vasut" <marex at denx.de>, "devicetree" <devicetree at vger.kernel.org>, "linux-kernel"
> <linux-kernel at vger.kernel.org>, "linux-mtd" <linux-mtd at lists.infradead.org>, linux-stm32 at st-md-mailman.stormreply.com
> Gesendet: Dienstag, 30. Juni 2020 11:35:38
> Betreff: Re: [PATCH v5 4/6] memory: stm32-fmc2-ebi: add STM32 FMC2 EBI controller driver

> Hi Richard,
> 
> On 6/30/20 11:13 AM, Richard Weinberger wrote:
>> On Fri, Jun 12, 2020 at 5:24 PM Christophe Kerello
>> <christophe.kerello at st.com> wrote:
>>>
>>> The driver adds the support for the STMicroelectronics FMC2 EBI controller
>>> found on STM32MP SOCs.
>>>
>>> Signed-off-by: Christophe Kerello <christophe.kerello at st.com>
>>> ---
>>> +       if (!IS_ERR(rstc)) {
>>> +               reset_control_assert(rstc);
>>> +               reset_control_deassert(rstc);
>> 
>> Shouldn't there be a small delay between assert and deassert?
>> Other than that the code looks good to me.
>> 
> 
> Even if I have currently not met any issue, I will add a udelay(2) to be
> safe. It will be part of v6.

Well, if it works and you are sure, please go for it. Like I said, I'm no expert in
this.
I just noticed that other users add a delay and wondered.

Thanks,
//richard



More information about the linux-mtd mailing list