From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Linus Walleij <linus.walleij@linaro.org>,
Alexandre Courbot <gnurou@gmail.com>,
George Cherian <george.cherian@ti.com>,
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: linux-gpio@vger.kernel.org, linux-sh@vger.kernel.org,
linux-kernel@vger.kernel.org,
Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH 0/2] gpio: pcf857x: Use gpiolib irqchip helpers and fix wake-up
Date: Thu, 5 Feb 2015 16:49:07 +0100 [thread overview]
Message-ID: <1423151349-10579-1-git-send-email-geert+renesas@glider.be> (raw)
Hi,
This patch series switches the PCF857x GPIO driver to use the gpiolib
irqchip helpers, as requested by Linus Walleij, and fixes wake-up by
propagating the wake-up setting to the parent irq controller.
Note that the conversion to gpiolib irqchip helpers removes the checks
added in commit 21fd3cd1874a2ac8 ("gpio: pcf857x: call the gpio user
handler iff gpio_to_irq is done"), as the interrupt mappings are no
longer created on-demand by the driver, but by gpiochip_irqchip_add()
during initialization. I marked the first patch "RFC" because of
this. Does the removal of the checks cause problems for anyone?
The second patch was sent before, and rebased on top of the
conversion to gpiolib irqchip helpers.
This was tested on sh73a0/kzm9g, where I don't see the issue addressed
by commit 21fd3cd1874a2ac8 ("gpio: pcf857x: call the gpio user handler
iff gpio_to_irq is done").
Thanks for your comments!
Geert Uytterhoeven (2):
[RFC] gpio: pcf857x: Switch to use gpiolib irqchip helpers
gpio: pcf857x: Propagate wake-up setting to parent irq controller
drivers/gpio/Kconfig | 1 +
drivers/gpio/gpio-pcf857x.c | 134 ++++++++++++++++----------------------------
2 files changed, 50 insertions(+), 85 deletions(-)
--
1.9.1
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
next reply other threads:[~2015-02-05 15:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-05 15:49 Geert Uytterhoeven [this message]
2015-02-05 15:49 ` [PATCH 1/2] [RFC] gpio: pcf857x: Switch to use gpiolib irqchip helpers Geert Uytterhoeven
2015-03-04 12:49 ` Linus Walleij
2015-02-05 15:49 ` [PATCH 2/2] gpio: pcf857x: Propagate wake-up setting to parent irq controller Geert Uytterhoeven
2015-03-04 12:51 ` Linus Walleij
2015-02-24 10:41 ` [PATCH 0/2] gpio: pcf857x: Use gpiolib irqchip helpers and fix wake-up Geert Uytterhoeven
2015-02-26 9:39 ` Alexandre Courbot
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=1423151349-10579-1-git-send-email-geert+renesas@glider.be \
--to=geert+renesas@glider.be \
--cc=george.cherian@ti.com \
--cc=gnurou@gmail.com \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).