Skip to content

Commit b55dd9d

Browse files
maulik-k-shahsmankad-oss
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 6305a37 commit b55dd9d

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
@@ -316,6 +316,14 @@
316316
exit-latency-us = <4000>;
317317
min-residency-us = <7000>;
318318
};
319+
320+
domain_ss3: domain-sleep-0 {
321+
compatible = "domain-idle-state";
322+
arm,psci-suspend-param = <0x0200c354>;
323+
entry-latency-us = <2800>;
324+
exit-latency-us = <4400>;
325+
min-residency-us = <9000>;
326+
};
319327
};
320328
};
321329

@@ -461,7 +469,7 @@
461469

462470
system_pd: power-domain-system {
463471
#power-domain-cells = <0>;
464-
/* TODO: system-wide idle states */
472+
domain-idle-states = <&domain_ss3>;
465473
};
466474

467475
reboot-mode {
@@ -6492,8 +6500,10 @@
64926500

64936501
pdc: interrupt-controller@b220000 {
64946502
compatible = "qcom,x1e80100-pdc", "qcom,pdc";
6495-
reg = <0 0x0b220000 0 0x30000>, <0 0x174000f0 0 0x64>;
6496-
6503+
reg = <0 0x0b220000 0 0x30000>,
6504+
<0 0x174000f0 0 0x64>,
6505+
<0 0x0b2045e8 0 0x4>;
6506+
qcom,qmp = <&aoss_qmp>;
64976507
qcom,pdc-ranges = <0 480 42>, <42 251 5>,
64986508
<47 522 52>, <99 609 32>,
64996509
<131 717 12>, <143 816 19>;

0 commit comments

Comments
 (0)