Home
last modified time | relevance | path

Searched +full:wakeup +full:- +full:source (Results 1 – 25 of 106) sorted by relevance

12345

/Zephyr-latest/dts/bindings/power/
Datmel,sam-supc.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Atmel SAM SUPC (Supply-Controller) controller
8 monitoring of the device. It have a special feature that it can wake-up the
9 device from a low-power state using special peripherals as wake-up sources.
11 The dedicated peripherals that can wake-up the core supply domain are: RTC,
13 inform the wakeup-source-id property on their respective nodes.
17 wakeup-source-id = <&supc SUPC_WAKEUP_SOURCE_RTC>;
21 The special peripheral will wake-up the device only when the standard property
22 wakeup-source is defined, e.g.:
26 wakeup-source;
[all …]
/Zephyr-latest/samples/boards/st/power_mgmt/serial_wakeup/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
25 /* In PM_DEVICE modes, enable device as a wakeup source will prevent in main()
35 printk("Device is not wakeup capable\n"); in main()
37 printk("Device is wakeup capable\n"); in main()
41 printk("Could not enable wakeup source\n"); in main()
43 printk("Wakeup source enable ok\n"); in main()
48 printk("Wakeup source not enabled\n"); in main()
50 printk("Wakeup source enabled\n"); in main()
/Zephyr-latest/samples/boards/st/power_mgmt/serial_wakeup/boards/
Dnucleo_h563zi.overlay4 * SPDX-License-Identifier: Apache-2.0
8 /* Set domain clock to HSI to allow wakeup from Stop mode */
12 /* Configure device as wakeup source */
13 wakeup-source;
15 /* Enable FIFO to avoid losing chars on device wakeup */
16 fifo-enable;
19 * device is not configured as wakeup source by the application.
22 pinctrl-1 = <&analog_pd8 &analog_pd9>;
23 pinctrl-names = "default", "sleep";
Db_u585i_iot02a.overlay4 * SPDX-License-Identifier: Apache-2.0
8 /* USART Wakeup requires automatic HSI16 switch on in deepsleep mode
12 cpu-power-states = <&stop0 &stop1>;
16 /* Set domain clock to HSI to allow wakeup from Stop mode */
20 /* Configure device as wakeup source */
21 wakeup-source;
23 /* Enable FIFO to avoid losing chars on device wakeup */
24 fifo-enable;
27 * device is not configured as wakeup source by the application.
30 pinctrl-1 = <&analog_pa9 &analog_pa10>;
[all …]
Dnucleo_wb55rg.overlay5 * SPDX-License-Identifier: Apache-2.0
9 /* USART Wakeup requires automatic HSI16 switch on in deepsleep mode
13 cpu-power-states = <&stop0 &stop1>;
17 /* Set domain clock to HSI to allow wakeup from Stop mode */
21 /* Configure device as wakeup source */
22 wakeup-source;
24 /* Enable FIFO to avoid losing chars on device wakeup */
25 fifo-enable;
28 * device is not configured as wakeup source by the application.
31 pinctrl-1 = <&analog_pb6 &analog_pb7>;
[all …]
Dnucleo_wl55jc.overlay4 * SPDX-License-Identifier: Apache-2.0
9 /* Set domain clock to LSE to allow wakeup from Stop mode */
13 /* LPUART1 clock source on LSE : set console at 9600 */
14 current-speed = <9600>;
16 /* Enable as wakeup source */
17 wakeup-source;
19 /* Enable FIFO to avoid losing chars on device wakeup */
20 fifo-enable;
Dstm32l562e_dk.overlay5 zephyr,shell-uart = &lpuart1;
14 /* Comment out this line to use HSI as clk source */
19 pinctrl-0 = <&lpuart1_rx_pb10 &lpuart1_tx_pb11>;
20 pinctrl-1 = <&analog_pb10 &analog_pb11>;
21 pinctrl-names = "default", "sleep";
26 current-speed = <9600>;
28 wakeup-source;
30 /* Enable FIFO to avoid losing chars on device wakeup */
31 fifo-enable;
37 pinctrl-1 = <&analog_pa9 &analog_pa10>;
[all …]
/Zephyr-latest/samples/boards/st/power_mgmt/serial_wakeup/
Dsample.yaml2 name: STM32 Power Management Serial Wakeup
6 - UART
7 - power
12 - "Device is wakeup capable"
13 - "Wakeup source enable ok"
14 - "Wakeup source enabled"
16 - nucleo_wb55rg
17 filter: dt_compat_enabled("zephyr,power-state")
DREADME.rst1 .. zephyr:code-sample:: stm32_pm_serial_wakeup
2 :name: Serial wakeup
3 :relevant-api: subsys_pm_device
10 This sample is a minimum application to demonstrate serial wakeup functionality
13 .. _stm32-pm-serial-wakeup-sample-requirements:
19 it should support a clock source alternative to Cortex Systick that can be used
20 in core sleep states, as LPTIM (:dtcompatible:`st,stm32-lptim`).
23 be a functional wakeup source:
25 - Clocked by an oscillator available in Stop mode (LSE, LSI) or an oscillator capable
27 - Matching oscillator sources should be enabled
[all …]
/Zephyr-latest/tests/subsys/pm/device_wakeup_api/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
34 /* Enable wakeup source. Next time the system is called in pm_state_set()
86 zassert_true(ret, "Could not enable wakeup source"); in ZTEST()
89 zassert_true(ret, "Wakeup source not enabled"); in ZTEST()
92 zassert_true(ret, "Could not disable wakeup source"); in ZTEST()
95 zassert_false(ret, "Wakeup source is enabled"); in ZTEST()
103 * suspend all devices. As gpio is wakeup capability is not in ZTEST()
/Zephyr-latest/samples/drivers/ps2/boards/
Dmec1501modular_assy6885.overlay4 * SPDX-License-Identifier: Apache-2.0
8 wakerx-gpios = <MCHP_GPIO_DECODE_010 GPIO_ACTIVE_HIGH>;
9 wakeup-source;
13 wakerx-gpios = <MCHP_GPIO_DECODE_155 GPIO_ACTIVE_HIGH>;
14 wakeup-source;
19 ps2-port0 = &ps2_0;
Dmec15xxevb_assy6853.overlay4 * SPDX-License-Identifier: Apache-2.0
8 wakerx-gpios = <MCHP_GPIO_DECODE_010 GPIO_ACTIVE_HIGH>;
9 wakeup-source;
13 wakerx-gpios = <MCHP_GPIO_DECODE_155 GPIO_ACTIVE_HIGH>;
14 wakeup-source;
19 ps2-port0 = &ps2_0;
Dmec172xevb_assy6906.overlay4 * SPDX-License-Identifier: Apache-2.0
8 wakerx-gpios = <MCHP_GPIO_DECODE_115 GPIO_ACTIVE_HIGH>;
9 wakeup-source;
14 ps2-port0 = &ps2_0;
/Zephyr-latest/samples/boards/nordic/system_off/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
14 Enable system off wakeup from pressing sw0 button.
19 Enable system off wakeup from GRTC.
24 Enable system off wakeup from analog comparator.
26 source "Kconfig.zephyr"
/Zephyr-latest/soc/ene/kb1200/reg/
Dpmu.h4 * SPDX-License-Identifier: Apache-2.0
14 volatile uint8_t PMUIDLE; /*IDLE wakeup by Interrupt Register */
16 volatile uint32_t PMUSTOP; /*STOP Wakeup Source Register */
25 /* STOP Wakeup Source */
/Zephyr-latest/samples/boards/espressif/deep_sleep/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
7 bool "Enable wakeup from GPIO"
11 This option enables wake-up from deep sleep using GPIO2 and
12 GPIO4. The sample enables internal pull-down on EXT1 pins to
13 avoid random wake-ups. Otherwise, external pull-down should
14 be used for the same purpose. To trigger a wake-up, connect
18 bool "Enable wakeup from GPIO"
22 This option enables wake-up from GPIO. Only GPIO0~5 can be used
23 as wake-up source. Be aware that when low level is used to trigger
24 wake-up, an external pull-up resistance is necessary.
[all …]
DREADME.rst1 .. zephyr:code-sample:: esp32-deep-sleep
13 This sample shows how to set a wake up source, trigger deep sleep and then
14 make use of that pre-configured wake up source to bring the system back again.
23 3. ``GPIO``: Only supported by some Espressif SoCs, in the case of ESP32-C3
24 GPIOS0~5 can be used as wake-up sources.
26 In this demo, Timer is the only wake-up source that cannot be disabled via a
28 as wake-up source, deep sleep for 20 seconds, wake up.
35 only ``Timer`` is used as wakeup source.
37 However, when ``EXT1`` is also enabled, GPIO2 and GPIO4 should be pulled-down
43 enabled as wake-up source.
[all …]
/Zephyr-latest/soc/atmel/sam/common/
Dsoc_poweroff.c3 * SPDX-License-Identifier: Apache-2.0
10 * Poweroff will make the chip enter the backup low-power mode, which
11 * achieves the lowest possible power consumption. Wakeup from this mode
12 * requires enabling a wakeup source or input, or power cycling the device.
17 SCB->SCR |= SCB_SCR_SLEEPDEEP_Msk; in soc_core_sleepdeep_enable()
Dsoc_sam4l_poweroff.c3 * SPDX-License-Identifier: Apache-2.0
10 * Poweroff will make the chip enter the backup low-power mode, which
11 * achieves the lowest possible power consumption. Wakeup from this mode
12 * requires enabling a wakeup source or input, or power cycling the device.
17 SCB->SCR |= SCB_SCR_SLEEPDEEP_Msk; in soc_core_sleepdeep_enable()
29 BPM->PMCON |= BPM_PMCON_BKUP; in z_sys_poweroff()
Dsoc_supc.h3 * SPDX-License-Identifier: Apache-2.0
17 * @brief Switch slow clock source to external crystal oscillator
22 * @brief Enable wakeup source
/Zephyr-latest/boards/nxp/frdm_rw612/
Dfrdm_rw612_common.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include "frdm_rw612-pinctrl.dtsi"
15 usart-0 = &flexcomm3;
16 i2c-0 = &flexcomm2;
17 pwm-0 = &sctimer;
24 zephyr,shell-uart = &flexcomm3;
28 compatible = "gpio-leds";
36 compatible = "nxp,lpc-usart";
38 current-speed = <115200>;
39 pinctrl-0 = <&pinmux_flexcomm3_usart>;
[all …]
/Zephyr-latest/samples/boards/nxp/mimxrt595_evk/system_off/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
9 wakeup-source;
/Zephyr-latest/soc/arm/beetle/
Dsoc_registers.h4 * SPDX-License-Identifier: Apache-2.0
85 /* Offset: 0x0d0 (r/w) AHB power down sleep wakeup source set */
87 /* Offset: 0x0d4 (r/w) AHB power down sleep wakeup source clear */
89 /* Offset: 0x0d8 (r/w) APB power down sleep wakeup source set */
91 /* Offset: 0x0dc (r/w) APB power down sleep wakeup source clear */
/Zephyr-latest/dts/bindings/base/
Dpm.yaml2 # SPDX-License-Identifier: Apache-2.0
7 wakeup-source:
10 Property to identify that a device can be used as wake up source.
19 zephyr,pm-device-runtime-auto:
25 zephyr,disabling-power-states:
/Zephyr-latest/tests/subsys/pm/device_wakeup_api/boards/
Dnative_sim.overlay4 * SPDX-License-Identifier: Apache-2.0
8 power-states {
10 compatible = "zephyr,power-state";
11 power-state-name = "suspend-to-ram";
18 compatible = "zephyr,gpio-emul";
19 gpio-controller;
20 wakeup-source;
24 cpu-power-states = <&state0>;

12345