Skip to content

Commit 880b6f7

Browse files
maulik-k-shahquic-tingweiz
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 be37537 commit 880b6f7

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
@@ -304,6 +304,14 @@
304304
exit-latency-us = <4000>;
305305
min-residency-us = <7000>;
306306
};
307+
308+
domain_ss3: domain-sleep-0 {
309+
compatible = "domain-idle-state";
310+
arm,psci-suspend-param = <0x0200c354>;
311+
entry-latency-us = <2800>;
312+
exit-latency-us = <4400>;
313+
min-residency-us = <9000>;
314+
};
307315
};
308316
};
309317

@@ -665,7 +673,7 @@
665673

666674
system_pd: power-domain-system {
667675
#power-domain-cells = <0>;
668-
/* TODO: system-wide idle states */
676+
domain-idle-states = <&domain_ss3>;
669677
};
670678

671679
reboot-mode {
@@ -6763,8 +6771,10 @@
67636771

67646772
pdc: interrupt-controller@b220000 {
67656773
compatible = "qcom,x1e80100-pdc", "qcom,pdc";
6766-
reg = <0 0x0b220000 0 0x30000>, <0 0x174000f0 0 0x64>;
6767-
6774+
reg = <0 0x0b220000 0 0x30000>,
6775+
<0 0x174000f0 0 0x64>,
6776+
<0 0x0b2045e8 0 0x4>;
6777+
qcom,qmp = <&aoss_qmp>;
67686778
qcom,pdc-ranges = <0 480 42>, <42 251 5>,
67696779
<47 522 52>, <99 609 32>,
67706780
<131 717 12>, <143 816 19>;

0 commit comments

Comments
 (0)