Skip to content

Commit cf2eaa8

Browse files
maulik-k-shahjiegan0107
authored andcommitted
FROMLIST: arm64: dts: qcom: x1e80100: Add deepest idle state
Add deepest idle state along with pdc config reg to make GPIO IRQs work as wakeup capable interrupts in deepest idle state. Add QMP handle to allow PDC device to place a SoC level low power mode restriction. Link: https://lore.kernel.org/r/20260312-hamoa_pdc-v1-4-760c8593ce50@oss.qualcomm.com Signed-off-by: Maulik Shah <maulik.shah@oss.qualcomm.com> Signed-off-by: Sneh Mankad <sneh.mankad@oss.qualcomm.com>
1 parent 7e04f94 commit cf2eaa8

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

arch/arm64/boot/dts/qcom/hamoa.dtsi

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,14 @@
305305
exit-latency-us = <4000>;
306306
min-residency-us = <7000>;
307307
};
308+
309+
domain_ss3: domain-sleep-0 {
310+
compatible = "domain-idle-state";
311+
arm,psci-suspend-param = <0x0200c354>;
312+
entry-latency-us = <2800>;
313+
exit-latency-us = <4400>;
314+
min-residency-us = <9000>;
315+
};
308316
};
309317
};
310318

@@ -666,7 +674,7 @@
666674

667675
system_pd: power-domain-system {
668676
#power-domain-cells = <0>;
669-
/* TODO: system-wide idle states */
677+
domain-idle-states = <&domain_ss3>;
670678
};
671679

672680
reboot-mode {
@@ -6793,8 +6801,10 @@
67936801

67946802
pdc: interrupt-controller@b220000 {
67956803
compatible = "qcom,x1e80100-pdc", "qcom,pdc";
6796-
reg = <0 0x0b220000 0 0x30000>, <0 0x174000f0 0 0x64>;
6797-
6804+
reg = <0 0x0b220000 0 0x30000>,
6805+
<0 0x174000f0 0 0x64>,
6806+
<0 0x0b2045e8 0 0x4>;
6807+
qcom,qmp = <&aoss_qmp>;
67986808
qcom,pdc-ranges = <0 480 42>, <42 251 5>,
67996809
<47 522 52>, <99 609 32>,
68006810
<131 717 12>, <143 816 19>;

0 commit comments

Comments
 (0)