Home
last modified time | relevance | path

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

123

/Zephyr-Core-3.5.0/samples/boards/stm32/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()
34 printk("Device is not wakeup capable\n"); in main()
36 printk("Device is wakeup capable\n"); in main()
40 printk("Could not enable wakeup source\n"); in main()
42 printk("Wakeup source enable ok\n"); in main()
47 printk("Wakeup source not enabled\n"); in main()
49 printk("Wakeup source enabled\n"); in main()
/Zephyr-Core-3.5.0/samples/boards/stm32/power_mgmt/serial_wakeup/
Dsample.yaml2 name: STM32 Power Management Serial Wakeup
6 - UART
7 - Wake
8 - up
9 - power
14 - "Device is wakeup capable"
15 - "Wakeup source enable ok"
16 - "Wakeup source enabled"
18 - nucleo_wb55rg
19 filter: dt_compat_enabled("zephyr,power-state")
DREADME.rst1 .. _stm32-pm-serial-wakeup-sample:
3 STM32 PM Serial wakeup
9 This sample is a minimum application to demonstrate serial wakeup functionality
12 .. _stm32-pm-serial-wakeup-sample-requirements:
18 it should support a clock source alternative to Cortex Systick that can be used
19 in core sleep states, as LPTIM (:dtcompatible:`st,stm32-lptim`).
22 be a functional wakeup source:
24 - Clocked by an oscillator available in Stop mode (LSE, LSI) or an oscillator capable
26 - Matching oscillator sources should be enabled
27 - If LSE is selected as clock source and shell serial port is a LPUART current speed
[all …]
/Zephyr-Core-3.5.0/samples/boards/stm32/power_mgmt/serial_wakeup/boards/
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;
34 pinctrl-1 = <&analog_pa9 &analog_pa10>;
35 pinctrl-names = "default", "sleep";
37 /* Uncomment out this line to use usart1 as wakeup source */
[all …]
Dnucleo_wl55jc.overlay4 * SPDX-License-Identifier: Apache-2.0
11 /* LPUART1 clock source on LSE : set console at 9600 */
13 /delete-property/ clocks;
17 current-speed = <9600>;
18 wakeup-source;
19 wakeup-line = <28>;
Dnucleo_wb55rg.overlay4 * SPDX-License-Identifier: Apache-2.0
15 wakeup-source;
17 pinctrl-1 = <&analog_pb6 &analog_pb7>;
18 pinctrl-names = "default", "sleep";
/Zephyr-Core-3.5.0/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()
87 zassert_true(ret, "Could not enable wakeup source"); in ZTEST()
90 zassert_true(ret, "Wakeup source not enabled"); in ZTEST()
93 zassert_true(ret, "Could not disable wakeup source"); in ZTEST()
96 zassert_false(ret, "Wakeup source is enabled"); in ZTEST()
104 * suspend all devices. As gpio is wakeup capability is not in ZTEST()
/Zephyr-Core-3.5.0/samples/drivers/ps2/boards/
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;
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;
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-Core-3.5.0/samples/boards/esp32/deep_sleep/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
7 bool "Enable wakeup from GPIO"
16 bool "Enable wakeup from GPIO"
20 to wake up. Be aware that when low level is used to trigger wakeup,
21 an external pull-up resistance must be used.
23 source "Kconfig.zephyr"
DREADME.rst1 .. _esp32-deep-sleep-sample:
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-Core-3.5.0/samples/boards/mimxrt595_evk_cm33/system_off/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
9 wakeup-source;
/Zephyr-Core-3.5.0/tests/subsys/pm/device_wakeup_api/boards/
Dnative_posix.overlay4 * SPDX-License-Identifier: Apache-2.0
8 compatible = "zephyr,gpio-emul";
9 gpio-controller;
10 wakeup-source;
/Zephyr-Core-3.5.0/soc/arm/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-Core-3.5.0/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 power-domain:
28 zephyr,pm-device-runtime-auto:
/Zephyr-Core-3.5.0/dts/bindings/rtc/
Dnxp,pcf8563.yaml2 # SPDX-License-Identifier: Apache-2.0
9 - name: rtc-device.yaml
10 - name: i2c-device.yaml
11 - name: pm.yaml
12 property-allowlist:
13 - wakeup-source
16 int1-gpios:
17 type: phandle-array
19 GPIO connected to the PC8563 INT1 interrupt output. This signal is open-drain, active low.
Dnxp,pcf8523.yaml1 # Copyright (c) 2019-2023 Henrik Brix Andersen <henrik@brixandersen.dk>
2 # SPDX-License-Identifier: Apache-2.0
9 - name: rtc-device.yaml
10 - name: i2c-device.yaml
11 - name: pm.yaml
12 property-allowlist:
13 - wakeup-source
16 quartz-load-femtofarads:
19 - 7000
20 - 12500
[all …]
/Zephyr-Core-3.5.0/soc/arm/nxp_imx/rt/
Dpower_rt10xx.c4 * SPDX-License-Identifier: Apache-2.0
35 __ASSERT_NO_MSG(callbacks && callbacks->clock_set_run && callbacks->clock_set_low_power); in imxrt_clock_pm_callbacks_register()
36 lpm_clock_hooks.clock_set_run = callbacks->clock_set_run; in imxrt_clock_pm_callbacks_register()
37 lpm_clock_hooks.clock_set_low_power = callbacks->clock_set_low_power; in imxrt_clock_pm_callbacks_register()
38 if (callbacks->clock_lpm_init) { in imxrt_clock_pm_callbacks_register()
39 lpm_clock_hooks.clock_lpm_init = callbacks->clock_lpm_init; in imxrt_clock_pm_callbacks_register()
47 /* Set GPC wakeup config to GPT timer interrupt */ in lpm_set_sleep_mode_config()
50 * ERR050143: CCM: When improper low-power sequence is used, in lpm_set_sleep_mode_config()
57 * Low-Power mode. in lpm_set_sleep_mode_config()
58 * 3) Software should mask IRQ #41 right after CCM Low-Power mode in lpm_set_sleep_mode_config()
[all …]
/Zephyr-Core-3.5.0/doc/services/pm/
Dpower_domain.rst1 .. _pm-power-domain:
10 powered by a common source to be notified of power source state changes in a
25 .. _pm-domain-work-flow:
42 action -> devA [label="pm_device_get()"]
43 devA:se -> domain:n [label="pm_device_get()"]
45 domain -> devB [label="action_cb(PM_DEVICE_ACTION_TURN_ON)"]
46 domain:sw -> devA:sw [label="action_cb(PM_DEVICE_ACTION_TURN_ON)"]
50 ----------------------
63 ----------------------
66 source of the SoC. These external sources are typically a switch, a regulator,
[all …]
Ddevice.rst15 - :ref:`Device Runtime Power Management <pm-device-runtime-pm>`
16 - :ref:`System Power Management <pm-device-system-pm>`
18 .. _pm-device-runtime-pm:
36 For more information, see :ref:`pm-device-runtime`.
38 .. _pm-device-system-pm:
55 When using :ref:`pm-system`, device transitions can be run from the idle thread.
61 :ref:`Device Runtime Power Management <pm-device-runtime-pm>` is the **preferred**
107 ACTIVE -> SUSPENDING -> SUSPENDED;
108 ACTIVE -> SUSPENDED ["label"="PM_DEVICE_ACTION_SUSPEND"];
109 SUSPENDED -> ACTIVE ["label"="PM_DEVICE_ACTION_RESUME"];
[all …]
/Zephyr-Core-3.5.0/drivers/serial/
Duart_ite_it8xxx2.c4 * SPDX-License-Identifier: Apache-2.0
51 (void)gpio_pin_interrupt_configure(gpio, (find_msb_set(pins) - 1), in uart1_wui_isr()
54 /* Refresh console expired time if got UART Rx wake-up event */ in uart1_wui_isr()
63 k_work_reschedule(&uart_console_data->rx_refresh_timeout_work, delay); in uart1_wui_isr()
71 (void)gpio_pin_interrupt_configure(gpio, (find_msb_set(pins) - 1), in uart2_wui_isr()
74 /* Refresh console expired time if got UART Rx wake-up event */ in uart2_wui_isr()
83 k_work_reschedule(&uart_console_data->rx_refresh_timeout_work, delay); in uart2_wui_isr()
90 const struct uart_it8xxx2_config *const config = dev->config; in uart_it8xxx2_pm_action()
101 ret = gpio_pin_interrupt_configure_dt(&config->gpio_wui, in uart_it8xxx2_pm_action()
105 config->port, ret); in uart_it8xxx2_pm_action()
[all …]
/Zephyr-Core-3.5.0/samples/boards/stm32/power_mgmt/standby_shutdown/
DREADME.rst1 .. _stm32-pm-standby_shutdown-sample:
17 .. _stm32-pm-standby_shutdown-sample-requirements:
23 it should support a clock source alternative to Cortex Systick that can be used
24 in core sleep states, as LPTIM (:dtcompatible:`st,stm32-lptim`).
25 For another board than nucleo_L476RG please adjust wakeup pin into config_wakeup_features().
32 .. zephyr-app-commands::
33 :zephyr-app: samples/boards/stm32/power_mgmt/standby_shutdown
/Zephyr-Core-3.5.0/drivers/usb/device/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
19 bool "Remote wakeup support"
21 USB device controller supports remote wakeup feature.
44 DT_STM32_USBHS_SPEED := $(dt_node_str_prop_equals,$(DT_STM32_USBHS),maximum-speed,high-speed)
93 DT_SAM_USBHS_SPEED := $(dt_node_str_prop_equals,$(DT_SAM_USBHS),maximum-speed,high-speed)
207 module-str = usb driver
208 source "subsys/logging/Kconfig.template.log_config"
/Zephyr-Core-3.5.0/include/zephyr/pm/
Ddevice.h4 * SPDX-License-Identifier: Apache-2.0
43 /** Indicates if the device is being used as wakeup source. */
106 * @retval -ENOTSUP If the requested action is not supported.
257 * @note This macro is a no-op if @kconfig{CONFIG_PM_DEVICE} is not enabled.
270 * @note This macro is a no-op if @kconfig{CONFIG_PM_DEVICE} is not enabled.
284 * @note This macro is a no-op if @kconfig{CONFIG_PM_DEVICE} is not enabled.
346 * @retval -ENOTSUP If requested state is not supported.
347 * @retval -EALREADY If device is already at the requested state.
348 * @retval -EBUSY If device is changing its state.
349 * @retval -ENOSYS If device does not support PM.
[all …]

123