irqchip/qcom-pdc: Add irqdomain for wakeup capable GPIOs
authorLina Iyer <ilina@codeaurora.org>
Fri, 15 Nov 2019 22:11:47 +0000 (15:11 -0700)
committerMarc Zyngier <maz@kernel.org>
Sat, 16 Nov 2019 10:21:15 +0000 (10:21 +0000)
commit81ef8bf88065b07d597c723ca5b0f1f10a808de4
tree137f505b2358b397a7e809c30455fe5f51caee21
parentda3f875a4189e643f8eec7f0bffa39c90d3418c6
irqchip/qcom-pdc: Add irqdomain for wakeup capable GPIOs

Introduce a new domain for wakeup capable GPIOs. The domain can be
requested using the bus token DOMAIN_BUS_WAKEUP. In the following
patches, we will specify PDC as the wakeup-parent for the TLMM GPIO
irqchip. Requesting a wakeup GPIO will setup the GPIO and the
corresponding PDC interrupt as its parent.

Co-developed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/1573855915-9841-5-git-send-email-ilina@codeaurora.org
drivers/irqchip/qcom-pdc.c
include/linux/soc/qcom/irq.h [new file with mode: 0644]