[PATCH v4 0/3] purwa: Drop the Hamoa PDC workaround from purwa

Maulik Shah <[email protected]> Thu, 06 Aug 2026 14:26:26 +0530
Newsgroups org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Purwa shares the Hamoa PDC compatible. Hamoa had the software workaround
added due to hardware register bug mentioned in commit [1] which used
Hamoa/X1E80100 compatible to apply the workaround.

As the hardware bug mentioned in [1] is fixed on purwa silicon add purwa
compatible to avoid applying workaround meant for hamoa.

Patch 1 (dt-bindings) is independent and can be merged.
Patch 2 (irqchip driver) depends on patch 1.
Patch 3 (DTS) depends on patches 1 and 2 landing in mainline first, as
Purwa CRD boards wired up GPIO wakeup support enabled by series [2].

For stable backporting, only patch 3 is needed: since series [2] is not
backported to stable kernels, there is no GPIO wired up for wakeup and
patch 3 alone is sufficient to stop the Hamoa hardware workaround from
being applied on Purwa.

[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/linux-arm-msm/CAMRc=MeU0QuRozMscv02M59+a66S05Jm18CyvNE-qSYrY=S7hQ@mail.gmail.com/

---
Changes in v4:
- Reorder: move irqchip driver patch before DTS patch
- Clarify dependency on mainline in cover letter
- Clarify backporting to stable kernel in cover letter
- Fix typo: "puwra" -> "purwa" and "sillicon" -> "silicon" in irqchip patch
- Link to v3: https://patch.msgid.link/[email protected]

Changes in v3:
- Remove the dependency (b4 prerequisite-patch-id) as dependency is merged
- Rebase, Add reviewed-by, acked-by tags for first two changes
- Link to v2: https://patch.msgid.link/[email protected]

Changes in v2:
- Remove Fixes tag from bindings
- Rename $subject to use hamoa and purwa name
- Add comment above compatible in devicetree
- Rebase and mark dependency
- Add new change to invoke SMC call for purwa PDC mode setting
- Link to v1: https://lore.kernel.org/r/[email protected]
---

To: Thomas Gleixner <[email protected]>
To: Rob Herring <[email protected]>
To: Krzysztof Kozlowski <[email protected]>
To: Conor Dooley <[email protected]>
To: Bjorn Andersson <[email protected]>
To: Konrad Dybcio <[email protected]>
To: Radu Rendec <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Konrad Dybcio <[email protected]>
Signed-off-by: Maulik Shah <[email protected]>

---
Maulik Shah (3):
      dt-bindings: interrupt-controller: qcom,pdc: Document Purwa PDC
      irqchip/qcom-pdc: Add purwa compatible for PDC secondary mode
      arm64: dts: qcom: purwa: Drop the Hamoa workaround for PDC

 Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.yaml | 1 +
 arch/arm64/boot/dts/qcom/purwa.dtsi                                  | 5 +++++
 drivers/irqchip/qcom-pdc.c                                           | 3 +++
 3 files changed, 9 insertions(+)
---
base-commit: 0f6da28aab51b16762ed82e8fdeaa5042da45b08
change-id: 20260616-purwa-pdc-198063b482b9

Best regards,
--  
Maulik Shah <[email protected]>