Skip to content

Commit 12b8a67

Browse files
maulik-k-shahlinusw
authored andcommitted
pinctrl: qcom: Fix PINGROUP definition for sm8750
On newer SoCs intr_target_bit position is at 8 instead of 5. Fix it. Also add missing intr_wakeup_present_bit and intr_wakeup_enable_bit which enables forwarding of GPIO interrupts to parent PDC interrupt controller. Fixes: afe9803 ("pinctrl: qcom: Add sm8750 pinctrl driver") Signed-off-by: Maulik Shah <maulik.shah@oss.qualcomm.com> Reviewed-by: Abel Vesa <abel.vesa@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Reviewed-by: Melody Olvera <melody.olvera@oss.qualcomm.com> Link: https://lore.kernel.org/20250429-pinctrl_sm8750-v2-1-87d45dd3bd82@oss.qualcomm.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 446d285 commit 12b8a67

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/pinctrl/qcom/pinctrl-sm8750.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646
.out_bit = 1, \
4747
.intr_enable_bit = 0, \
4848
.intr_status_bit = 0, \
49-
.intr_target_bit = 5, \
49+
.intr_wakeup_present_bit = 6, \
50+
.intr_wakeup_enable_bit = 7, \
51+
.intr_target_bit = 8, \
5052
.intr_target_kpss_val = 3, \
5153
.intr_raw_status_bit = 4, \
5254
.intr_polarity_bit = 1, \

0 commit comments

Comments
 (0)