Re: [PATCH 5/6] mtd: rawnand: ams-delta: use GPIO lookup table

From: Andy Shevchenko
Date: Sun May 20 2018 - 11:21:52 EST


On Sun, May 20, 2018 at 6:37 PM, Janusz Krzysztofik <jmkrzyszt@xxxxxxxxx> wrote:
> On Sunday, May 20, 2018 4:44:31 PM CEST Andy Shevchenko wrote:

>> Though, I completely dislike "rdy" name of GPIO. Where is it documented?
>
> No documentation files for Amstrad Delta nor for its NAND driver specifically
> exist under Documentation/. However, there exist some for generic GPIO NAND
> driver where the pin name "rdy" is used explicitly:
> Documentation/driver-api/gpio/drivers-on-gpio.rst
> Documentation/devicetree/bindings/mtd/gpio-control-nand.txt
> You can find that mnemonic used across drivers/mtd/nand/, standalone or as a
> suffix, including the Amstrad Delta NAND driver before the change discussed.

> To be honest, I don't like it much either, but I'm just using it instead of
> inventing something new.

OK, that's what I was looking for. Since it's already in use and
documented, then it's fine for me.

--
With Best Regards,
Andy Shevchenko