pinctrl: qcom: sdm670: add pdc wakeirq map
authorRichard Acayan <mailingradian@gmail.com>
Thu, 23 May 2024 23:06:20 +0000 (19:06 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Jun 2024 07:25:45 +0000 (09:25 +0200)
commitd85e2ccdf1b3c0bcaf93f7195ed2adc9a83d94a5
treed130e7c5c0978188ce20c60b68c0a0282a0fb47d
parent7f53a8eeb54853651e1aaf252f018b2bd1f2c196
pinctrl: qcom: sdm670: add pdc wakeirq map

The PDC was hooked up as a wakeup parent in the DTS in
commit 71f080633d1e ("arm64: dts: qcom: sdm670: Hook up PDC as
wakeup-parent of TLMM"), but the wakeirq mapping was not defined so it
had no effect. Add the mapping for wakeup interrupts on the PDC to their
corresponding pins.

Configuring a pin IRQ as dual-edge would break it unless the
wakeirq_dual_edge_errata flag is set.

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Link: https://lore.kernel.org/r/20240523230619.256882-2-mailingradian@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-sdm670.c