@@ -15,9 +15,71 @@ values are detailed in the device-specific data sheet. As part of this SDK offer
1515Texas Instruments has added support for the following low power modes (ordered from lowest power consumption
1616to highest power consumption):
1717
18+ #. RTC Only
1819#. RTC Only Plus DDR
1920#. Deep Sleep
2021
22+ RTC Only
23+ ********
24+
25+ RTC Only mode is the deepest low power mode that allows the system to enter a complete poweroff state
26+ with ultra-low power consumption while maintaining system time and wakeup capability.
27+ Unlike other low power modes, RTC Only powers off all domains except the RTC, which remains active
28+ to keep track of system time and provide wakeup via RTC alarm or RTC I/O event.
29+
30+ .. note ::
31+
32+ The system loses nearly all its state as DDR is also turned-off.
33+ RTC Only is comparable with a Linux poweroff state with system timer ON.
34+
35+ .. important ::
36+
37+ Jumper J14 position on the EVM determines which low power mode is entered. For RTC Only mode,
38+ connect jumper J14 to the position marked as "RTC ONLY MODE".
39+
40+ .. image :: /images/am62l_lpm_j14.png
41+
42+ The reference implementation in this SDK implements RTC Only as a poweroff state.
43+ When the system powers off, the RTC driver programs the RTC hardware for poweroff mode.
44+ The final sequence to power off the system is executed by TF-A firmware, which pulls the PMIC_EN
45+ signal low to turn off all the supply rails powered by the PMIC.
46+
47+ On AM62L platforms, if the ``system-power-controller `` device tree property is not set on the PMIC node,
48+ the PMIC will not register a poweroff handler. In this configuration, TF-A firmware handles the
49+ poweroff sequence and the system enters RTC Only mode. This allows the system to maintain accurate
50+ system time and provide wakeup capability via RTC alarm or external button press while consuming
51+ minimal power.
52+
53+ RTC Only mode supports two wakeup sources: RTC timer alarm and RTC I/O pins.
54+
55+ Use the following command to enter RTC Only mode with a timer alarm for wakeup:
56+
57+ .. code-block :: console
58+
59+ root@<machine>:~# rtcwake -s <time> -m off
60+
61+ Use the following command to enter RTC Only mode with RTC I/O (button press) for wakeup:
62+
63+ .. code-block :: console
64+
65+ root@<machine>:~# poweroff
66+
67+ At this point, the Linux kernel will go through its poweroff process and
68+ the console output will stop at the following lines:
69+
70+ .. code-block :: dmesg
71+
72+ [ 51.698039] systemd-shutdown[1]: Powering off.
73+ [ 51.769478] reboot: Power down
74+
75+ The system has entered RTC Only mode and can be woken up by activity on an RTC I/O pin
76+ programmed for wakeup. If an alarm was set, the system will automatically wake up
77+ when the alarm triggers.
78+
79+ During resume from RTC Only mode, the system goes through a normal Linux boot process. The RTC driver
80+ detects that the RTC is already programmed and skips the full initialization, performing only minimal
81+ cleanup to preserve the system time.
82+
2183RTC Only Plus DDR
2284*****************
2385
0 commit comments