This is an automated email from the ASF dual-hosted git repository. simbit18 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit d8872255e8431e5e1c9a90c3a48d2098d4825a6b Author: Eren Terzioglu <[email protected]> AuthorDate: Tue Apr 14 16:22:43 2026 +0200 Docs/platforms/risc-v: Add DFS docs for esp32[-c3|-c6|-h2|-p4] Add DFS docs for risc-v based Espressif devices Signed-off-by: Eren Terzioglu <[email protected]> --- .../platforms/risc-v/esp32c3/boards/esp32c3-devkit/index.rst | 4 ++++ .../platforms/risc-v/esp32c6/boards/esp32c6-devkitc/index.rst | 4 ++++ .../platforms/risc-v/esp32h2/boards/esp32h2-devkit/index.rst | 4 ++++ .../risc-v/esp32p4/boards/esp32p4-function-ev-board/index.rst | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-devkit/index.rst b/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-devkit/index.rst index b47ed4e8513..fd39f95e109 100644 --- a/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-devkit/index.rst +++ b/Documentation/platforms/risc-v/esp32c3/boards/esp32c3-devkit/index.rst @@ -447,6 +447,10 @@ Note: When normal mode COUNT is 0, it will switch to the next PM state where COU Note: During light sleep, overall current consumption of board should drop from 18mA (without any system load) to 1 mA on ESP32-C3 DevkitM-1. +To save power without using sleep modes, lowering the clock speed is another approach. For dynamic frequency scaling +``CONFIG_ESPRESSIF_DFS`` option needs to enabled and minimum CPU frequency needs to set under ``CONFIG_ESPRESSIF_MIN_CPU_FREQ`` option. +With these options, the device scales the CPU clock according to workload. + pwm --- diff --git a/Documentation/platforms/risc-v/esp32c6/boards/esp32c6-devkitc/index.rst b/Documentation/platforms/risc-v/esp32c6/boards/esp32c6-devkitc/index.rst index 0cfd58ae907..fb527062f43 100644 --- a/Documentation/platforms/risc-v/esp32c6/boards/esp32c6-devkitc/index.rst +++ b/Documentation/platforms/risc-v/esp32c6/boards/esp32c6-devkitc/index.rst @@ -464,6 +464,10 @@ Note: When normal mode COUNT is 0, it will switch to the next PM state where COU Note: During light sleep, overall current consumption of board should drop from 22mA (without any system load) to 1.3 mA on ESP32-C6 DevkitC-1. During deep sleep, current consumption of module (ESP32-C6-WROOM-1) should drop from 22mA (without any system load) to 48 μA. +To save power without using sleep modes, lowering the clock speed is another approach. For dynamic frequency scaling +``CONFIG_ESPRESSIF_DFS`` option needs to enabled and minimum CPU frequency needs to set under ``CONFIG_ESPRESSIF_MIN_CPU_FREQ`` option. +With these options, the device scales the CPU clock according to workload. + pwm --- diff --git a/Documentation/platforms/risc-v/esp32h2/boards/esp32h2-devkit/index.rst b/Documentation/platforms/risc-v/esp32h2/boards/esp32h2-devkit/index.rst index a89b8589d76..e32d5ecd98c 100644 --- a/Documentation/platforms/risc-v/esp32h2/boards/esp32h2-devkit/index.rst +++ b/Documentation/platforms/risc-v/esp32h2/boards/esp32h2-devkit/index.rst @@ -390,6 +390,10 @@ Note: When normal mode COUNT is 0, it will switch to the next PM state where COU Note: During light sleep, overall current consumption of board should drop from 14mA (without any system load) to 880 μA on ESP32-H2 DevkitM-1. During deep sleep, current consumption of module (ESP32-H2-MINI-1) should drop from 9mA (without any system load) to 8 μA. +To save power without using sleep modes, lowering the clock speed is another approach. For dynamic frequency scaling +``CONFIG_ESPRESSIF_DFS`` option needs to enabled and minimum CPU frequency needs to set under ``CONFIG_ESPRESSIF_MIN_CPU_FREQ`` option. +With these options, the device scales the CPU clock according to workload. + pwm --- diff --git a/Documentation/platforms/risc-v/esp32p4/boards/esp32p4-function-ev-board/index.rst b/Documentation/platforms/risc-v/esp32p4/boards/esp32p4-function-ev-board/index.rst index 65cd8e10750..1ece4a287a9 100644 --- a/Documentation/platforms/risc-v/esp32p4/boards/esp32p4-function-ev-board/index.rst +++ b/Documentation/platforms/risc-v/esp32p4/boards/esp32p4-function-ev-board/index.rst @@ -291,6 +291,10 @@ System switch to the PM sleep mode, you need to enter:: nsh> pmconfig relax normal nsh> pmconfig relax normal +To save power without using sleep modes, lowering the clock speed is another approach. For dynamic frequency scaling +``CONFIG_ESPRESSIF_DFS`` option needs to enabled and minimum CPU frequency needs to set under ``CONFIG_ESPRESSIF_MIN_CPU_FREQ`` option. +With these options, the device scales the CPU clock according to workload. + pwm ---
