Skip to content

Commit f4ad757

Browse files
committed
feat(pm_am62lx_low_power_modes): mention s2idle approach
Add mention of the s2idle based mode selection being part of low power mode support as of this release Signed-off-by: Dhruva Gole <d-gole@ti.com>
1 parent e8cf43f commit f4ad757

1 file changed

Lines changed: 25 additions & 35 deletions

File tree

source/linux/Foundational_Components/Power_Management/pm_am62lx_low_power_modes.rst

Lines changed: 25 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,17 @@ During resume from RTC Only mode, the system goes through a normal Linux boot pr
8080
detects that the RTC is already programmed and skips the full initialization, performing only minimal
8181
cleanup to preserve the system time.
8282

83-
RTC Only Plus DDR
84-
*****************
85-
8683
.. note::
8784

88-
For this release, the RTC Only + DDR low power mode requires special steps
85+
Please go through the s2idle docs to understand how to select between multiple low power modes.
86+
The steps and overall architecture/ sequence diagrams are documented in :ref:`pm_s2idle_psci`.
87+
The default mode via s2idle is RTC Only Plus DDR, since it's the deepest.
88+
If regular [mem] interface is selected in `/sys/power/mem_sleep`, the RTC Only + DDR low power mode requires special steps
8989
to enter. The steps are documented in :ref:`am62l_suspend_workarounds`.
9090

91+
RTC Only Plus DDR
92+
*****************
93+
9194
RTC Only + DDR mode is the deepest low power mode that allows the system to enter a state of lowest power consumption
9295
while still retaining the DDR RAM context.
9396

@@ -108,37 +111,24 @@ Now the SoC can be suspended using the following command.
108111

109112
.. code-block:: console
110113
111-
root@am62lxx-evm:~# echo mem > /sys/power/state
112-
[ 67.335138] PM: suspend entry (deep)
113-
[ 67.358190] Filesystems sync: 0.019 seconds
114-
[ 67.363206] Freezing user space processes
115-
[ 67.368991] Freezing user space processes completed (elapsed 0.001 seconds)
116-
[ 67.376038] OOM killer disabled.
117-
[ 67.379271] Freezing remaining freezable tasks
118-
[ 67.384973] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
119-
[ 67.392398] printk: Suspending console(s) (use no_console_suspend to debug)
120-
NOTICE: bl1_plat_arch_setup arch setup
121-
NOTICE: Booting Trusted Firmware
122-
NOTICE: BL1: v2.12.0(release):11.00.04-7-gaa3963759-dirty
123-
NOTICE: BL1: Built : 15:56:37, Feb 25 2025
124-
NOTICE: lpdd4_init <--
125-
NOTICE: DDR ram size =80000000
126-
NOTICE: bl1_platform_setup DDR init done
127-
NOTICE: k3_bl1_handoff sent message to tifs
128-
ERROR: Wake up src 0x0
129-
ERROR: Wake up interrupt 0xc
130-
[ 67.405953] Disabling non-boot CPUs ...
131-
[ 67.408032] psci: CPU1 killed (polled 0 ms)
132-
[ 67.408974] Enabling non-boot CPUs ...
133-
[ 67.409281] Detected VIPT I-cache on CPU1
134-
[ 67.409330] GICv3: CPU1: found redistributor 1 region 0:0x0000000001860000
135-
[ 67.409393] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
136-
[ 67.410371] CPU1 is up
137-
[ 67.446329] OOM killer enabled.
138-
[ 67.449479] Restarting tasks ... done.
139-
[ 67.454324] random: crng reseeded on system resumption
140-
[ 67.459689] PM: suspend exit
141-
114+
root@am62lxx-evm:~# rtcwake -s 5 -m mem
115+
rtcwake: assuming RTC uses UTC ...
116+
rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Jan 1 00:04:20 1970
117+
[ 222.269447] PM: suspend entry (s2idle)
118+
[ 222.273481] Filesystems sync: 0.000 seconds
119+
[ 222.281882] Freezing user space processes
120+
[ 222.291800] Freezing user space processes completed (elapsed 0.002 seconds)
121+
[ 222.298873] OOM killer disabled.
122+
[ 222.302177] Freezing remaining freezable tasks
123+
[ 222.308071] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
124+
[ 222.349890] xhci-hcd xhci-hcd.1.auto: xHC error in resume, USBSTS 0x401, Reinit
125+
[ 222.357227] usb usb1: root hub lost power or was reset
126+
[ 222.362980] xhci-hcd xhci-hcd.1.auto: USB3 root hub has no ports
127+
[ 222.395078] OOM killer enabled.
128+
[ 222.398356] Restarting tasks: Starting
129+
[ 222.419490] Restarting tasks: Done
130+
[ 222.430220] random: crng reseeded on system resumption
131+
[ 222.445468] PM: suspend exit
142132
143133
DeepSleep
144134
*********

0 commit comments

Comments
 (0)