diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2020-05-31 02:11:01 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-06-03 14:16:38 +0200 |
commit | 920fecc1aa4591da27ef9dcb338fc5da86b404d7 (patch) | |
tree | 73a403a50e1df32becbb6d5f6e408cd4772369e2 /drivers/pinctrl/freescale | |
parent | pinctrl: bcm2835: Match BCM7211 compatible string (diff) | |
download | linux-920fecc1aa4591da27ef9dcb338fc5da86b404d7.tar.xz linux-920fecc1aa4591da27ef9dcb338fc5da86b404d7.zip |
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>
Diffstat (limited to 'drivers/pinctrl/freescale')
0 files changed, 0 insertions, 0 deletions