WSL2-Linux-Kernel/drivers/pinctrl/bcm
Florian Fainelli 920fecc1aa pinctrl: bcm2835: Add support for wake-up interrupts
Leverage the IRQCHIP_MASK_ON_SUSPEND flag in order to avoid having to
specifically treat the GPIO interrupts during suspend and resume, and
simply implement an irq_set_wake() callback that is responsible for
enabling the parent wake-up interrupt as a wake-up interrupt.

To avoid allocating unnecessary resources for other chips, the wake-up
interrupts are only initialized if we have a brcm,bcm7211-gpio
compatibility string.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20200531001101.24945-5-f.fainelli@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2020-06-03 14:16:38 +02:00
..
Kconfig
Makefile
pinctrl-bcm281xx.c pinctrl: Fix return value about devm_platform_ioremap_resource() 2020-05-25 13:40:47 +02:00
pinctrl-bcm2835.c pinctrl: bcm2835: Add support for wake-up interrupts 2020-06-03 14:16:38 +02:00
pinctrl-cygnus-mux.c
pinctrl-iproc-gpio.c pinctrl: Use new GPIO_LINE_DIRECTION 2020-02-21 15:19:42 +01:00
pinctrl-ns.c
pinctrl-ns2-mux.c
pinctrl-nsp-gpio.c
pinctrl-nsp-mux.c