From: Soren Brinkmann <soren.brinkmann@xilinx.com>
To: Thomas Gleixner <tglx@linutronix.de>,
Lars-Peter Clausen <lars@metafoo.de>
Cc: Linus Walleij <linus.walleij@linaro.org>,
Alexandre Courbot <gnurou@gmail.com>,
Michal Simek <michal.simek@xilinx.com>,
Grygorii Strashko <grygorii.strashko@ti.com>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, <linux-gpio@vger.kernel.org>,
Soren Brinkmann <soren.brinkmann@xilinx.com>
Subject: [PATCH v2 0/2] Power management callbacks for irqchips
Date: Wed, 4 Nov 2015 12:15:58 -0800 [thread overview]
Message-ID: <1446668160-17522-1-git-send-email-soren.brinkmann@xilinx.com> (raw)
Hi,
we recently discussed how to handle power management with GPIO devices
that can generate interrupts here: https://lkml.org/lkml/2015/10/23/305.
At the end of that discussion stood Lars' suggestion to add a new pair of
callbacks to the irqchip for this purpose. This is a first, naive
implementation of that approach.
Thanks,
Sören
v2:
- add mailing lists (sorry for forgetting that in v1)
Sören Brinkmann (2):
genirq: Add irq_pm_(get|put) callbacks to the irqchip
gpio: zynq: Implement irq_pm_(get|put)
drivers/gpio/gpio-zynq.c | 20 ++++++++++++++++++++
include/linux/irq.h | 4 ++++
kernel/irq/internals.h | 14 ++++++++++++++
kernel/irq/manage.c | 20 ++++++++++++++++----
4 files changed, 54 insertions(+), 4 deletions(-)
--
2.6.2.3.ga463a5b
next reply other threads:[~2015-11-04 20:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-04 20:15 Soren Brinkmann [this message]
2015-11-04 20:15 ` [PATCH v2 1/2] genirq: Add irq_pm_(get|put) callbacks to the irqchip Soren Brinkmann
2015-11-04 20:16 ` [PATCH v2 2/2] gpio: zynq: Implement irq_pm_(get|put) Soren Brinkmann
2015-11-09 15:00 ` Grygorii Strashko
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=1446668160-17522-1-git-send-email-soren.brinkmann@xilinx.com \
--to=soren.brinkmann@xilinx.com \
--cc=gnurou@gmail.com \
--cc=grygorii.strashko@ti.com \
--cc=lars@metafoo.de \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.simek@xilinx.com \
--cc=tglx@linutronix.de \
/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®