[PATCH v2 0/2] Power management callbacks for irqchips

From: Soren Brinkmann
Date: Wed Nov 04 2015 - 15:16:56 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/