From: Olof Johansson <olof@lixom.net>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: David Woodhouse <dwmw2@infradead.org>,
Brian Norris <computersforpeace@gmail.com>,
Boris Brezillon <boris.brezillon@free-electrons.com>,
Marek Vasut <marek.vasut@gmail.com>,
Richard Weinberger <richard@nod.at>,
Cyrille Pitchen <cyrille.pitchen@atmel.com>,
linux-mtd@lists.infradead.org,
linux-arm-kernel@lists.infradead.org, arm@kernel.org,
Mike Rapoport <rppt@linux.vnet.ibm.com>,
Frans Klaver <fransklaver@gmail.com>,
Gerhard Sittig <gsi@denx.de>, Jamie Iles <jamie.iles@oracle.com>
Subject: Re: [PATCH] mtd: nand: gpio: Convert to use GPIO descriptors
Date: Tue, 3 Oct 2017 18:13:11 -0700 [thread overview]
Message-ID: <20171004011311.rn3plqb4es5hcupa@localhost> (raw)
In-Reply-To: <20170924173912.9199-1-linus.walleij@linaro.org>
On Sun, Sep 24, 2017 at 07:39:12PM +0200, Linus Walleij wrote:
> There is exactly one board in the kernel that defines platform data
> for the GPIO NAND driver.
>
> Use the feature to provide a lookup table for the GPIOs in the board
> file so we can convert the driver as a whole to just use GPIO
> descriptors.
>
> After this we can cut the use of <linux/of_gpio.h> and use the GPIO
> descriptor management from <linux/gpio/consumer.h> alone to grab and use
> the GPIOs used in the driver.
>
> I also created a local struct device *dev in the probe() function
> because I was getting annoyed with all the &pdev->dev dereferencing.
>
> Cc: arm@kernel.org
> Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
> Cc: Frans Klaver <fransklaver@gmail.com>
> Cc: Gerhard Sittig <gsi@denx.de>
> Cc: Jamie Iles <jamie.iles@oracle.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> ARM SoC folks: Please ACK this so it can be merged through the MTD
> subsystem.
Acked-by: Olof Johansson <olof@lixom.net>
-Olof
WARNING: multiple messages have this Message-ID (diff)
From: olof@lixom.net (Olof Johansson)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] mtd: nand: gpio: Convert to use GPIO descriptors
Date: Tue, 3 Oct 2017 18:13:11 -0700 [thread overview]
Message-ID: <20171004011311.rn3plqb4es5hcupa@localhost> (raw)
In-Reply-To: <20170924173912.9199-1-linus.walleij@linaro.org>
On Sun, Sep 24, 2017 at 07:39:12PM +0200, Linus Walleij wrote:
> There is exactly one board in the kernel that defines platform data
> for the GPIO NAND driver.
>
> Use the feature to provide a lookup table for the GPIOs in the board
> file so we can convert the driver as a whole to just use GPIO
> descriptors.
>
> After this we can cut the use of <linux/of_gpio.h> and use the GPIO
> descriptor management from <linux/gpio/consumer.h> alone to grab and use
> the GPIOs used in the driver.
>
> I also created a local struct device *dev in the probe() function
> because I was getting annoyed with all the &pdev->dev dereferencing.
>
> Cc: arm at kernel.org
> Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
> Cc: Frans Klaver <fransklaver@gmail.com>
> Cc: Gerhard Sittig <gsi@denx.de>
> Cc: Jamie Iles <jamie.iles@oracle.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> ARM SoC folks: Please ACK this so it can be merged through the MTD
> subsystem.
Acked-by: Olof Johansson <olof@lixom.net>
-Olof
next prev parent reply other threads:[~2017-10-04 1:31 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-24 17:39 [PATCH] mtd: nand: gpio: Convert to use GPIO descriptors Linus Walleij
2017-09-24 17:39 ` Linus Walleij
2017-09-24 18:01 ` Marek Vasut
2017-09-24 18:01 ` Marek Vasut
2017-09-24 18:33 ` Mike Rapoport
2017-09-24 18:33 ` Mike Rapoport
2017-09-25 8:58 ` Jamie Iles
2017-09-25 8:58 ` Jamie Iles
2017-10-04 1:13 ` Olof Johansson [this message]
2017-10-04 1:13 ` Olof Johansson
2017-10-05 7:20 ` Boris Brezillon
2017-10-05 7:20 ` Boris Brezillon
2017-10-06 20:46 ` Robert Jarzmik
2017-10-06 20:46 ` Robert Jarzmik
2017-10-06 21:52 ` Linus Walleij
2017-10-06 21:52 ` Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171004011311.rn3plqb4es5hcupa@localhost \
--to=olof@lixom.net \
--cc=arm@kernel.org \
--cc=boris.brezillon@free-electrons.com \
--cc=computersforpeace@gmail.com \
--cc=cyrille.pitchen@atmel.com \
--cc=dwmw2@infradead.org \
--cc=fransklaver@gmail.com \
--cc=gsi@denx.de \
--cc=jamie.iles@oracle.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=marek.vasut@gmail.com \
--cc=richard@nod.at \
--cc=rppt@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.