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

Soren Brinkmann soren.brinkmann at xilinx.com
Wed Nov 4 12:15:58 PST 2015


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




More information about the linux-arm-kernel mailing list