[PATCH v2 2/3 v4] mtd: rawnand: ams-delta: use GPIO lookup table

Miquel Raynal miquel.raynal at bootlin.com
Wed Jul 18 07:20:41 UTC 2018


Hi Janusz, Tony

Janusz Krzysztofik <jmkrzyszt at gmail.com> wrote on Wed, 18 Jul 2018
01:14:47 +0200:

> Now as Amstrad Delta board - the only user of this driver - provides
> GPIO lookup tables, switch from GPIO numbers to GPIO descriptors and
> use the table to locate required GPIO pins.
> 
> Declare static variables for storing GPIO descriptors and replace
> gpio_ function calls with their gpiod_ equivalents.
> 
> Pin naming used by the driver should be followed while respective GPIO
> lookup table is initialized by a board init code.
> 
> Signed-off-by: Janusz Krzysztofik <jmkrzyszt at gmail.com>
> Acked-by: Boris Brezillon <boris.brezillon at bootlin.com>
> ---

Acked-by: Miquel Raynal <miquel.raynal at bootlin.com>

As suggested by Boris, we expect this series to go through the OMAP
tree so we'll need an immutable tag, there are more changes on this
driver coming in.

Thanks!
Miquèl


More information about the dri-devel mailing list