mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
pinctrl: qcom: shikra: Fix intr_target_width for summary interrupt routing
The intr_target_width field sets the mask width used when writing
target processor into interrupt config register and deciding which
processor receives summary interrupt for a given GPIO.
Without it, pinctrl driver defaults to a 3-bit mask. On Shikra, this
field is 4 bits wide, which could corrupt adjacent bits and mis-route
interrupts. Set intr_target_width = 4 to match the hardware.
Fixes: 9db68ec534 ("pinctrl: qcom: Add Shikra pinctrl driver")
Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://patch.msgid.link/20260728-shikra-pinctrl-intr-width-v1-1-46583734d808@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
This commit is contained in:
parent
fd46760956
commit
1e7b04c12c
|
|
@ -44,6 +44,7 @@
|
|||
.intr_status_bit = 0, \
|
||||
.intr_wakeup_enable_bit = 7, \
|
||||
.intr_wakeup_present_bit = 6, \
|
||||
.intr_target_width = 4, \
|
||||
.intr_target_bit = 8, \
|
||||
.intr_target_kpss_val = 3, \
|
||||
.intr_raw_status_bit = 4, \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user