Re: [RFC PATCH 0/8] mtd: rawnand: ams-delta: Use gpio-omap accessors for data I/O
From: Boris Brezillon
Date: Thu Jul 19 2018 - 02:15:18 EST
Hi Janusz,
On Thu, 19 Jul 2018 01:57:02 +0200
Janusz Krzysztofik <jmkrzyszt@xxxxxxxxx> wrote:
> Implement the idea suggested by Artem Bityutskiy and Tony Lindgren
> described in commit b027274d2e3a ("mtd: ams-delta: fix
> request_mem_region() failure").
Thanks for doing that. I'll review the patches, but I already have a
extra request: can you convert this driver to ->exec_op()? It does not
necessarily have to be done in this patchset, but, that'd be great to
have one more driver converted to the new interface.
BTW, there seems to be a nand_gpio driver, maybe we should merge
ams-delta code into nand_gpio after it's been patched to use the GPIO
consumer API.
>
> arch/arm/mach-omap1/board-ams-delta.c | 22 -
> drivers/gpio/gpio-omap.c | 88 ++++++
> drivers/mtd/nand/raw/ams-delta.c | 436 +++++++++++++++++++++-------------
> 3 files changed, 376 insertions(+), 170 deletions(-)
>