From: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Alexandre Courbot <gnurou@gmail.com>,
Rob Herring <robherring2@gmail.com>,
Frank Rowand <frowand.list@gmail.com>,
Matt Porter <mporter@konsulko.com>,
Koen Kooi <koen@dominion.thruhere.net>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Guenter Roeck <linux@roeck-us.net>, Marek Vasut <marex@denx.de>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-gpio@vger.kernel.org,
Pantelis Antoniou <pantelis.antoniou@konsulko.com>,
Pantelis Antoniou <panto@antoniou-consulting.com>
Subject: [PATCH 0/2] gpio: of: Support cascaded GPIO
Date: Fri, 3 Jun 2016 23:26:54 +0300 [thread overview]
Message-ID: <1464985616-11821-1-git-send-email-pantelis.antoniou@konsulko.com> (raw)
These two patches enable GPIO cascades where a match may be
retried until the finalr real GPIO is located.
The first patch removes the const specifier from gpiospec at of_xlate(),
while the second introduces the new method of_gpiochip_find() that
performs the cascade operation.
Pantelis Antoniou (2):
gpio: Remove const from gpiospec in of_xlate
gpio: Support cascaded GPIO chip lookup for OF
drivers/gpio/gpio-brcmstb.c | 2 +-
drivers/gpio/gpio-davinci.c | 2 +-
drivers/gpio/gpio-etraxfs.c | 2 +-
drivers/gpio/gpio-lpc32xx.c | 2 +-
drivers/gpio/gpio-pxa.c | 2 +-
drivers/gpio/gpiolib-of.c | 18 +++++----------
drivers/gpio/gpiolib.c | 54 +++++++++++++++++++++++++++++++++++++++++++++
drivers/gpio/gpiolib.h | 14 ++++++++++++
include/linux/gpio/driver.h | 2 +-
include/linux/of_gpio.h | 2 +-
10 files changed, 80 insertions(+), 20 deletions(-)
--
1.7.12
next reply other threads:[~2016-06-03 20:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-03 20:26 Pantelis Antoniou [this message]
2016-06-03 20:26 ` [PATCH 1/2] gpio: Remove const from gpiospec in of_xlate Pantelis Antoniou
2016-06-03 20:26 ` [PATCH 2/2] gpio: Support cascaded GPIO chip lookup for OF Pantelis Antoniou
2016-06-07 21:00 ` Rob Herring
2016-06-08 13:41 ` Pantelis Antoniou
2016-06-08 15:18 ` Rob Herring
2016-06-08 15:32 ` Pantelis Antoniou
2016-06-13 6:48 ` 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=1464985616-11821-1-git-send-email-pantelis.antoniou@konsulko.com \
--to=pantelis.antoniou@konsulko.com \
--cc=devicetree@vger.kernel.org \
--cc=frowand.list@gmail.com \
--cc=geert@linux-m68k.org \
--cc=gnurou@gmail.com \
--cc=koen@dominion.thruhere.net \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=marex@denx.de \
--cc=mporter@konsulko.com \
--cc=panto@antoniou-consulting.com \
--cc=robherring2@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®