walnux/arch
Thiago Finelon e87c43b798 arch/xtensa/esp32s3: Add EXT1 wakeup support in power management
Introduce EXT1 wakeup functionality to the ESP32-S3 power management
subsystem. With this feature, the ESP32-S3 can wake up from PM_STANDBY
or PM_SLEEP when one or more RTC GPIOs trigger the EXT1 condition.

Changes include:
- Added EXT1 wakeup configuration and preparation logic in rtc code.
- Integrated EXT1 handling in pmstandby() and pmsleep().
- New board-level Kconfig options under ESP32-S3 DevKit menu:
  - CONFIG_PM_EXT1_WAKEUP: enable EXT1 wakeup support
  - CONFIG_PM_EXT1_WAKEUP_RTC_GPIO<n>: select RTC GPIOs as wake sources
  - CONFIG_PM_EXT1_WAKEUP_TRIGGER_MODE: choose wakeup on HIGH or LOW level
- Fixing Kconfig style
- Fixing comments standard
- Adding PM documentation for esp32s3-devkit

Impact:
- No build impact unless CONFIG_PM_EXT1_WAKEUP is enabled.
- When enabled, ESP32-S3 can wake from low-power states via RTC GPIOs.
- No new public API introduced; controlled via board Kconfig.

Tested on ESP32-S3 DevKit:
- Configured GPIO4 and GPIO5 as EXT1 wake sources.
- Verified wakeup from light sleep and deep sleep on external signals.
- Wakeup reason correctly reported as EXT1.

Signed-off-by: Thiago Finelon <thiago.sfinelon@gmail.com>
2025-08-24 11:32:10 -03:00
..
arm arch/arm/rp2040: Silence "LOAD segment with RWX permissions" linker warnings 2025-08-22 00:27:12 +08:00
arm64 arch/arm64/gicv3: Improve initialization in warm reboot case 2025-08-24 11:31:37 -03:00
avr Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
ceva Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
dummy
hc style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
mips Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
misoc Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
or1k Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
renesas Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
risc-v Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
sim arch/sim: avoid host-call being interrupted before getting errno 2025-07-21 19:19:05 -03:00
sparc Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
tricore arch/tricore: add up_trigger_irq 2025-08-22 15:04:06 +08:00
x86 Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
x86_64 Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
xtensa arch/xtensa/esp32s3: Add EXT1 wakeup support in power management 2025-08-24 11:32:10 -03:00
z16 Revert "Reduce the size of tcb by four bytes." 2025-05-27 16:30:35 +08:00
z80 Make/Toolchain.defs: add the AR_EXTRACT command 2025-08-19 09:47:44 +08:00
CMakeLists.txt arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig toolchain/armclang: Fix armclang config 2025-07-15 21:56:46 +08:00