[tip: irq/drivers] irqchip/qcom-pdc: Add purwa compatible for PDC secondary mode
From: tip-bot2 for Maulik Shah
Date: Fri Sep 04 2026 - 10:58:13 EST
The following commit has been merged into the irq/drivers branch of tip:
Commit-ID: 086eac130a946610892d4219b04f8efa9ef28727
Gitweb: https://git.kernel.org/tip/086eac130a946610892d4219b04f8efa9ef28727
Author: Maulik Shah <maulik.shah@xxxxxxxxxxxxxxxx>
AuthorDate: Thu, 06 Aug 2026 14:26:28 +05:30
Committer: Thomas Gleixner <tglx@xxxxxxxxxx>
CommitterDate: Fri, 04 Sep 2026 16:21:02 +02:00
irqchip/qcom-pdc: Add purwa compatible for PDC secondary mode
X1P42100 (Purwa) and X1E80100 (Hamoa) shares the same PDC and windows
firmware sets the PDC to secondary mode for X1P42100 too. Add support
to reset the PDC to pass through mode using qcom_scm_io_writel() similar
to X1E80100.
Make sure x1e_quirk to workaround a hardware bug is set only for X1E80100
as X1P42100 have this fixed in silicon.
Signed-off-by: Maulik Shah <maulik.shah@xxxxxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
Reviewed-by: Abel Vesa <abel.vesa@xxxxxxxxxxxxxxxx>
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Link: https://patch.msgid.link/20260806-purwa-pdc-v4-2-62467f4b4ddc@xxxxxxxxxxxxxxxx
---
drivers/irqchip/qcom-pdc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/irqchip/qcom-pdc.c b/drivers/irqchip/qcom-pdc.c
index ce6d80c..29025a2 100644
--- a/drivers/irqchip/qcom-pdc.c
+++ b/drivers/irqchip/qcom-pdc.c
@@ -715,7 +715,10 @@ static int qcom_pdc_probe(struct platform_device *pdev, struct device_node *pare
}
pdc->x1e_quirk = true;
+ }
+ if (of_device_is_compatible(node, "qcom,x1e80100-pdc") ||
+ of_device_is_compatible(node, "qcom,x1p42100-pdc")) {
if (!qcom_scm_is_available())
return -EPROBE_DEFER;