]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
pinctrl: qcom: eliza: Fix interrupt target bit
authorMukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Fri, 27 Mar 2026 17:12:39 +0000 (22:42 +0530)
committerLinus Walleij <linusw@kernel.org>
Mon, 30 Mar 2026 08:29:54 +0000 (10:29 +0200)
The intr_target_bit for Eliza was incorrectly set to 5, which is the
value used by older Qualcomm SoCs (e.g. SM8250, MSM8996, X1E80100).
Newer SoCs such as SM8650, SM8750, Milos, and Kaanapali all use
bit 8 for the interrupt target field in the TLMM interrupt configuration
register.

Eliza belongs to the newer generation and should use bit 8 to correctly
route interrupts to the KPSS (Applications Processor). Using the wrong
bit position means the interrupt target routing is silently misconfigured,
which can result in GPIO interrupts not being delivered to the expected
processor.

Fix this by aligning Eliza with the correct value used by its peer SoCs.

Fixes: 6f26989e15fb ("pinctrl: qcom: Add Eliza pinctrl driver")
Signed-off-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/qcom/pinctrl-eliza.c

index 1a2e6461a69b8e7c0ffaeb15b0c20bccffc51410..19c706137f815f8189a297108b55fb4155e897f0 100644 (file)
@@ -47,7 +47,7 @@
                .intr_status_bit = 0,           \
                .intr_wakeup_present_bit = 6,   \
                .intr_wakeup_enable_bit = 7,    \
-               .intr_target_bit = 5,           \
+               .intr_target_bit = 8,           \
                .intr_target_kpss_val = 3,      \
                .intr_raw_status_bit = 4,       \
                .intr_polarity_bit = 1,         \