diff --git a/source/devices/AM62LX/linux/Linux_Performance_Guide.rst b/source/devices/AM62LX/linux/Linux_Performance_Guide.rst index 5d3119670..0457fac3a 100644 --- a/source/devices/AM62LX/linux/Linux_Performance_Guide.rst +++ b/source/devices/AM62LX/linux/Linux_Performance_Guide.rst @@ -38,8 +38,8 @@ System Benchmarks LMBench ^^^^^^^ -LMBench is a collection of microbenchmarks of which the memory bandwidth -and latency related ones are typically used to estimate processor +LMBench is a collection of microbenchmarks of which the memory bandwidth +and latency related ones are typically used to estimate processor memory system performance. More information about lmbench at https://lmbench.sourceforge.net/whatis_lmbench.html and https://lmbench.sourceforge.net/man/lmbench.8.html @@ -186,7 +186,7 @@ Dhrystone is a core only benchmark that runs from warm L1 caches in all modern processors. It scales linearly with clock speed. Please take note, different run may produce different slightly results. -This is advised to run this test multiple times in order to get maximum +This is advised to run this test multiple times in order to get maximum performance numbers. Execute the benchmark with the following: @@ -485,7 +485,7 @@ CPSW/CPSW2g/CPSW3g Ethernet Driver - CPSW2g: AM65x, J7200, J721e, J721S2, J784S4, J742S2 - CPSW3g: AM64x, AM62x, AM62ax, AM62px -.. rubric:: TCP Bidirectional Throughput +.. rubric:: TCP Bidirectional Throughput :name: CPSW2g-tcp-bidirectional-throughput .. csv-table:: CPSW2g TCP Bidirectional Throughput @@ -689,7 +689,7 @@ The performance numbers were captured using the following: USB Driver ---------- - + USB Device Controller ^^^^^^^^^^^^^^^^^^^^^ @@ -710,7 +710,7 @@ Power Performance ^^^^^^^^^^^^^^^^^ These are power measurements taken while the device is in various low power modes like -Deep Sleep and RTC Only + DDR. +Deep Sleep, RTC Only + DDR, and RTC Only. .. csv-table:: Deep Sleep Power Performance :header: "Rail name","Rail voltage(V)","Power (mW)" @@ -736,12 +736,25 @@ Deep Sleep and RTC Only + DDR. "vdd_rtc_1v8", "1.80", "0.02" "Total"," ","3.62" +.. csv-table:: RTC Only Power Performance + :header: "Rail name","Rail voltage(V)","Power (mW)" + + "vdd_core", "0.00", "0.00" + "soc_dvdd_1v8", "0.00", "0.00" + "soc_dvdd_3v3", "0.00", "0.00" + "vdda_1v8", "0.00", "0.00" + "vdd_lpddr4_pmic2", "0.00", "0.00" + "vdd_rtc", "0.75", "0.02" + "vdd_rtc_1v8", "1.80", "0.01" + "Total"," ","0.04" + Resume Latency Performance ^^^^^^^^^^^^^^^^^^^^^^^^^^ .. csv-table:: LPM Resume Latency Performance :header: "Low Power Mode","Total Resume Latency (ms)" + "RTC Only", "Full normal boot time (~seconds)" "RTC Only + DDR", "456.44" "Deep Sleep", "109.96" diff --git a/source/images/am62l_lpm_j14.png b/source/images/am62l_lpm_j14.png new file mode 100644 index 000000000..c64f6e0f6 Binary files /dev/null and b/source/images/am62l_lpm_j14.png differ diff --git a/source/linux/Foundational_Components/Power_Management/pm_am62lx_low_power_modes.rst b/source/linux/Foundational_Components/Power_Management/pm_am62lx_low_power_modes.rst index 76208b0f1..9b9967db8 100644 --- a/source/linux/Foundational_Components/Power_Management/pm_am62lx_low_power_modes.rst +++ b/source/linux/Foundational_Components/Power_Management/pm_am62lx_low_power_modes.rst @@ -15,9 +15,71 @@ values are detailed in the device-specific data sheet. As part of this SDK offer Texas Instruments has added support for the following low power modes (ordered from lowest power consumption to highest power consumption): +#. RTC Only #. RTC Only Plus DDR #. Deep Sleep +RTC Only +******** + +RTC Only mode is the deepest low power mode that allows the system to enter a complete poweroff state +with ultra-low power consumption while maintaining system time and wakeup capability. +Unlike other low power modes, RTC Only powers off all domains except the RTC, which remains active +to keep track of system time and provide wakeup via RTC alarm or RTC I/O event. + +.. note:: + + The system loses nearly all its state as DDR is also turned-off. + RTC Only is comparable with a Linux poweroff state with system timer ON. + +.. important:: + + Jumper J14 position on the EVM determines which low power mode is entered. For RTC Only mode, + connect jumper J14 to the position marked as "RTC ONLY MODE". + + .. image:: /images/am62l_lpm_j14.png + +The reference implementation in this SDK implements RTC Only as a poweroff state. +When the system powers off, the RTC driver programs the RTC hardware for poweroff mode. +The final sequence to power off the system is executed by TF-A firmware, which pulls the PMIC_EN +signal low to turn off all the supply rails powered by the PMIC. + +On AM62L platforms, if the ``system-power-controller`` device tree property is not set on the PMIC node, +the PMIC will not register a poweroff handler. In this configuration, TF-A firmware handles the +poweroff sequence and the system enters RTC Only mode. This allows the system to maintain accurate +system time and provide wakeup capability via RTC alarm or external button press while consuming +minimal power. + +RTC Only mode supports two wakeup sources: RTC timer alarm and RTC I/O pins. + +Use the following command to enter RTC Only mode with a timer alarm for wakeup: + +.. code-block:: console + + root@:~# rtcwake -s