summaryrefslogtreecommitdiff
path: root/mm/mmzone.c
diff options
context:
space:
mode:
authorNeil Armstrong <neil.armstrong@linaro.org>2023-11-06 09:32:31 +0100
committerLinus Walleij <linus.walleij@linaro.org>2023-11-13 15:01:37 +0100
commit76b446f5b86e93515602c3afef6ff74c7e6562de (patch)
tree9c679b41713a569a29fe7b95f1c0cee16f30c69b /mm/mmzone.c
parentd92618caf9d05e78e0f9c4c6ff9201691acfe48c (diff)
downloadlwn-76b446f5b86e93515602c3afef6ff74c7e6562de.tar.gz
lwn-76b446f5b86e93515602c3afef6ff74c7e6562de.zip
pinctrl: qcom: handle intr_target_reg wakeup_present/enable bits
New platforms uses a new set of bits to control the wakeirq delivery to the PDC block. The intr_wakeup_present_bit indicates if the GPIO supports wakeirq and intr_wakeup_enable_bit enables wakeirq delivery to the PDC block. While the name seems to imply this only enables wakeup events, it is required to allow interrupts events to the PDC block. Enable this bit in the irq resource request/free if: - gpio is in wakeirq map - has the intr_wakeup_present_bit - the intr_wakeup_enable_bit is set Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20231106-topic-sm8650-upstream-tlmm-v3-2-0e179c368933@linaro.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'mm/mmzone.c')
0 files changed, 0 insertions, 0 deletions