[PATCH v2 1/2] dt-bindings: mtd: spi-nor: Add reset-gpios property

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Thu Sep 1 03:28:07 PDT 2022


On 01/09/2022 13:18, Potthuri, Sai Krishna wrote:
> Hi Krzysztof,
> 
>> -----Original Message-----
>> From: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
>> Sent: Thursday, September 1, 2022 1:26 PM
>> To: Potthuri, Sai Krishna <sai.krishna.potthuri at amd.com>; Tudor Ambarus
>> <tudor.ambarus at microchip.com>; Pratyush Yadav <pratyush at kernel.org>;
>> Michael Walle <michael at walle.cc>; Miquel Raynal
>> <miquel.raynal at bootlin.com>; Richard Weinberger <richard at nod.at>;
>> Vignesh Raghavendra <vigneshr at ti.com>; Rob Herring
>> <robh+dt at kernel.org>; Krzysztof Kozlowski
>> <krzysztof.kozlowski+dt at linaro.org>
>> Cc: devicetree at vger.kernel.org; linux-mtd at lists.infradead.org; linux-
>> kernel at vger.kernel.org; saikrishna12468 at gmail.com; git (AMD-Xilinx)
>> <git at amd.com>
>> Subject: Re: [PATCH v2 1/2] dt-bindings: mtd: spi-nor: Add reset-gpios
>> property
>>
>> On 01/09/2022 10:29, Sai Krishna Potthuri wrote:
>>> SPI-NOR flashes have RESET pin which can be toggled using GPIO
>>> controller, for those platforms reset-gpios property can be used to
>>> reset the flash device.
>>>
>>> Signed-off-by: Sai Krishna Potthuri <sai.krishna.potthuri at amd.com>
>>> ---
>>
>> You still miss the user (DTS) of this change...
> Do you mean to have this property in example DTS in this yaml?

No, I want to see in-tree DTS using it.

> 
>> The JEDEC spec did not mention
>> a reset pin. Can you provide the user?
> Xilinx Octal SPI (cdns,qspi-nor.yaml) is using this reset pin to reset the
> flash device on Versal platform.> Do you want me to update the example dts in cdns,qspi-nor.yaml file
> to reflect this property in this patch?
> 


Best regards,
Krzysztof



More information about the linux-mtd mailing list