* [PATCH] pinctrl: qcom: Fix GPIO to PDC wake irq map for qcs615
@ 2026-04-23 11:25 Navya Malempati
2026-04-23 11:30 ` Dmitry Baryshkov
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Navya Malempati @ 2026-04-23 11:25 UTC (permalink / raw)
To: Bjorn Andersson, Linus Walleij, Lijuan Gao
Cc: linux-arm-msm, linux-gpio, linux-kernel, Maulik Shah, Navya Malempati
From: Maulik Shah <maulik.shah@oss.qualcomm.com>
PDC interrupts 122-125 were meant for ibi_i3c wakeup but qcs615 do not
support i3c. GPIOs 39,51,88 and 89 are also connected to different PDC
pin to support non-ibi wakeup. Update the wakeirq map to reflect same.
Fixes: b698f36a9d40 ("pinctrl: qcom: add the tlmm driver for QCS615 platform")
Signed-off-by: Maulik Shah <maulik.shah@oss.qualcomm.com>
Signed-off-by: Navya Malempati <navya.malempati@oss.qualcomm.com>
---
drivers/pinctrl/qcom/pinctrl-qcs615.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/pinctrl/qcom/pinctrl-qcs615.c b/drivers/pinctrl/qcom/pinctrl-qcs615.c
index 0ed4332d989e..f066b3a576f7 100644
--- a/drivers/pinctrl/qcom/pinctrl-qcs615.c
+++ b/drivers/pinctrl/qcom/pinctrl-qcs615.c
@@ -1040,11 +1040,11 @@ static const struct msm_pingroup qcs615_groups[] = {
static const struct msm_gpio_wakeirq_map qcs615_pdc_map[] = {
{ 1, 45 }, { 3, 31 }, { 7, 55 }, { 9, 110 }, { 11, 34 },
{ 13, 33 }, { 14, 35 }, { 17, 46 }, { 19, 48 }, { 21, 83 },
- { 22, 36 }, { 26, 38 }, { 35, 37 }, { 39, 125 }, { 41, 47 },
- { 47, 49 }, { 48, 51 }, { 50, 52 }, { 51, 123 }, { 55, 56 },
+ { 22, 36 }, { 26, 38 }, { 35, 37 }, { 39, 118 }, { 41, 47 },
+ { 47, 49 }, { 48, 51 }, { 50, 52 }, { 51, 116 }, { 55, 56 },
{ 56, 57 }, { 57, 58 }, { 60, 60 }, { 71, 54 }, { 80, 73 },
{ 81, 64 }, { 82, 50 }, { 83, 65 }, { 84, 92 }, { 85, 99 },
- { 86, 67 }, { 87, 84 }, { 88, 124 }, { 89, 122 }, { 90, 69 },
+ { 86, 67 }, { 87, 84 }, { 88, 117 }, { 89, 115 }, { 90, 69 },
{ 92, 88 }, { 93, 75 }, { 94, 91 }, { 95, 72 }, { 96, 82 },
{ 97, 74 }, { 98, 95 }, { 99, 94 }, { 100, 100 }, { 101, 40 },
{ 102, 93 }, { 103, 77 }, { 104, 78 }, { 105, 96 }, { 107, 97 },
---
base-commit: 70c8a7ec6715b5fb14e501731b5b9210a16684f7
change-id: 20260423-qcs615_gpio-37375b3fd718
Best regards,
--
Navya Malempati <navya.malempati@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH] pinctrl: qcom: Fix GPIO to PDC wake irq map for qcs615
2026-04-23 11:25 [PATCH] pinctrl: qcom: Fix GPIO to PDC wake irq map for qcs615 Navya Malempati
@ 2026-04-23 11:30 ` Dmitry Baryshkov
2026-04-23 11:38 ` Konrad Dybcio
2026-04-23 11:47 ` Navya Malempati
2026-04-23 12:15 ` Konrad Dybcio
2026-04-28 9:54 ` Linus Walleij
2 siblings, 2 replies; 6+ messages in thread
From: Dmitry Baryshkov @ 2026-04-23 11:30 UTC (permalink / raw)
To: Navya Malempati
Cc: Bjorn Andersson, Linus Walleij, Lijuan Gao, linux-arm-msm,
linux-gpio, linux-kernel, Maulik Shah
On Thu, Apr 23, 2026 at 04:55:24PM +0530, Navya Malempati wrote:
> From: Maulik Shah <maulik.shah@oss.qualcomm.com>
>
> PDC interrupts 122-125 were meant for ibi_i3c wakeup but qcs615 do not
Is this something which changed between SM6150 and QCS615?
> support i3c. GPIOs 39,51,88 and 89 are also connected to different PDC
> pin to support non-ibi wakeup. Update the wakeirq map to reflect same.
Should there be two commits instead of one?
> Fixes: b698f36a9d40 ("pinctrl: qcom: add the tlmm driver for QCS615 platform")
> Signed-off-by: Maulik Shah <maulik.shah@oss.qualcomm.com>
> Signed-off-by: Navya Malempati <navya.malempati@oss.qualcomm.com>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH] pinctrl: qcom: Fix GPIO to PDC wake irq map for qcs615
2026-04-23 11:30 ` Dmitry Baryshkov
@ 2026-04-23 11:38 ` Konrad Dybcio
2026-04-23 11:47 ` Navya Malempati
1 sibling, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2026-04-23 11:38 UTC (permalink / raw)
To: Dmitry Baryshkov, Navya Malempati
Cc: Bjorn Andersson, Linus Walleij, Lijuan Gao, linux-arm-msm,
linux-gpio, linux-kernel, Maulik Shah
On 4/23/26 1:30 PM, Dmitry Baryshkov wrote:
> On Thu, Apr 23, 2026 at 04:55:24PM +0530, Navya Malempati wrote:
>> From: Maulik Shah <maulik.shah@oss.qualcomm.com>
>>
>> PDC interrupts 122-125 were meant for ibi_i3c wakeup but qcs615 do not
>
> Is this something which changed between SM6150 and QCS615?
>
>> support i3c. GPIOs 39,51,88 and 89 are also connected to different PDC
>> pin to support non-ibi wakeup. Update the wakeirq map to reflect same.
>
> Should there be two commits instead of one?
My reading of that commit message is "these PDC interrupts, to which
the later-mentioned GPIOs were assigned, were originally intended to
be used for I3C IBI wakeups, but these GPIOs also have an alternate
function, available through a different PDC port"
i.e. 4 pins, same issue
Konrad
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] pinctrl: qcom: Fix GPIO to PDC wake irq map for qcs615
2026-04-23 11:30 ` Dmitry Baryshkov
2026-04-23 11:38 ` Konrad Dybcio
@ 2026-04-23 11:47 ` Navya Malempati
1 sibling, 0 replies; 6+ messages in thread
From: Navya Malempati @ 2026-04-23 11:47 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Bjorn Andersson, Linus Walleij, Lijuan Gao, linux-arm-msm,
linux-gpio, linux-kernel, Maulik Shah
On 4/23/2026 5:00 PM, Dmitry Baryshkov wrote:
> On Thu, Apr 23, 2026 at 04:55:24PM +0530, Navya Malempati wrote:
>> From: Maulik Shah <maulik.shah@oss.qualcomm.com>
>>
>> PDC interrupts 122-125 were meant for ibi_i3c wakeup but qcs615 do not
>
> Is this something which changed between SM6150 and QCS615?
No.
>
>> support i3c. GPIOs 39,51,88 and 89 are also connected to different PDC
>> pin to support non-ibi wakeup. Update the wakeirq map to reflect same.
>
> Should there be two commits instead of one?
>
Removed the ibi_i3c PDC mapping and updated the PDC pin mapping as part
of the same commit.
Thanks,
Navya
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] pinctrl: qcom: Fix GPIO to PDC wake irq map for qcs615
2026-04-23 11:25 [PATCH] pinctrl: qcom: Fix GPIO to PDC wake irq map for qcs615 Navya Malempati
2026-04-23 11:30 ` Dmitry Baryshkov
@ 2026-04-23 12:15 ` Konrad Dybcio
2026-04-28 9:54 ` Linus Walleij
2 siblings, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2026-04-23 12:15 UTC (permalink / raw)
To: Navya Malempati, Bjorn Andersson, Linus Walleij, Lijuan Gao
Cc: linux-arm-msm, linux-gpio, linux-kernel, Maulik Shah
On 4/23/26 1:25 PM, Navya Malempati wrote:
> From: Maulik Shah <maulik.shah@oss.qualcomm.com>
>
> PDC interrupts 122-125 were meant for ibi_i3c wakeup but qcs615 do not
> support i3c. GPIOs 39,51,88 and 89 are also connected to different PDC
> pin to support non-ibi wakeup. Update the wakeirq map to reflect same.
>
> Fixes: b698f36a9d40 ("pinctrl: qcom: add the tlmm driver for QCS615 platform")
> Signed-off-by: Maulik Shah <maulik.shah@oss.qualcomm.com>
> Signed-off-by: Navya Malempati <navya.malempati@oss.qualcomm.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH] pinctrl: qcom: Fix GPIO to PDC wake irq map for qcs615
2026-04-23 11:25 [PATCH] pinctrl: qcom: Fix GPIO to PDC wake irq map for qcs615 Navya Malempati
2026-04-23 11:30 ` Dmitry Baryshkov
2026-04-23 12:15 ` Konrad Dybcio
@ 2026-04-28 9:54 ` Linus Walleij
2 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2026-04-28 9:54 UTC (permalink / raw)
To: Navya Malempati
Cc: Bjorn Andersson, Lijuan Gao, linux-arm-msm, linux-gpio,
linux-kernel, Maulik Shah
On Thu, Apr 23, 2026 at 1:25 PM Navya Malempati
<navya.malempati@oss.qualcomm.com> wrote:
> From: Maulik Shah <maulik.shah@oss.qualcomm.com>
>
> PDC interrupts 122-125 were meant for ibi_i3c wakeup but qcs615 do not
> support i3c. GPIOs 39,51,88 and 89 are also connected to different PDC
> pin to support non-ibi wakeup. Update the wakeirq map to reflect same.
>
> Fixes: b698f36a9d40 ("pinctrl: qcom: add the tlmm driver for QCS615 platform")
> Signed-off-by: Maulik Shah <maulik.shah@oss.qualcomm.com>
> Signed-off-by: Navya Malempati <navya.malempati@oss.qualcomm.com>
Patch applied for fixes.
I think it's the right thing? It's a bit confusing with different Qualcomm
employees not being fully aligned, but it's manageable for now.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-04-28 9:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-23 11:25 [PATCH] pinctrl: qcom: Fix GPIO to PDC wake irq map for qcs615 Navya Malempati
2026-04-23 11:30 ` Dmitry Baryshkov
2026-04-23 11:38 ` Konrad Dybcio
2026-04-23 11:47 ` Navya Malempati
2026-04-23 12:15 ` Konrad Dybcio
2026-04-28 9:54 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®