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-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html