/Zephyr-latest/tests/subsys/pm/power_states_api/boards/ |
D | native_sim.overlay | 4 * SPDX-License-Identifier: Apache-2.0 10 cpu-power-states = <&state0 &state1 &state2 &state3>; 13 power-states { 15 compatible = "zephyr,power-state"; 16 power-state-name = "suspend-to-idle"; 17 min-residency-us = <10000>; 18 exit-latency-us = <100>; 22 compatible = "zephyr,power-state"; 23 power-state-name = "standby"; 24 min-residency-us = <20000>; [all …]
|
/Zephyr-latest/samples/subsys/pm/latency/boards/ |
D | native_sim.overlay | 3 * SPDX-License-Identifier: Apache-2.0 7 power-states { 8 runtime_idle: runtime-idle { 9 compatible = "zephyr,power-state"; 10 power-state-name = "runtime-idle"; 11 min-residency-us = <1000000>; 12 exit-latency-us = <10000>; 14 suspend_to_idle: suspend-to-idle { 15 compatible = "zephyr,power-state"; 16 power-state-name = "suspend-to-idle"; [all …]
|
/Zephyr-latest/tests/subsys/pm/policy_api/ |
D | app.overlay | 3 * SPDX-License-Identifier: Apache-2.0 9 compatible = "zephyr,native-posix-cpu"; 11 cpu-power-states = <&state2>; 15 power-states { 17 compatible = "zephyr,power-state"; 18 power-state-name = "runtime-idle"; 19 min-residency-us = <100000>; 20 exit-latency-us = <10000>; 21 substate-id = <1>; 25 compatible = "zephyr,power-state"; [all …]
|
/Zephyr-latest/include/zephyr/pm/ |
D | state.h | 4 * SPDX-License-Identifier: Apache-2.0 18 * @brief System Power Management States 25 * @enum pm_state Power management state 29 * @brief Runtime active state 33 * @note This state is correlated with ACPI G0/S0 state 37 * @brief Runtime idle state 39 * Runtime idle is a system sleep state in which all of the cores 40 * enter deepest possible idle state and wait for interrupts, no 44 * @note This state is correlated with ACPI S0ix state 48 * @brief Suspend to idle state [all …]
|
D | device.h | 4 * SPDX-License-Identifier: Apache-2.0 20 * @brief Device Power Management API 34 /** Indicate if the device failed to power up. */ 36 /** Indicate if the device has claimed a power domain */ 47 /** Indicates if the device is used as a power domain */ 67 /** @brief Device power states. */ 69 /** Device is in active or regular state. */ 81 * Device is turned off (power removed). 98 * Action triggered only by a power domain. 104 * Action triggered only by a power domain. [all …]
|
/Zephyr-latest/tests/subsys/pm/power_mgmt/boards/ |
D | native_sim.overlay | 4 * SPDX-License-Identifier: Apache-2.0 9 power-states { 11 compatible = "zephyr,power-state"; 12 power-state-name = "suspend-to-idle"; 15 compatible = "zephyr,power-state"; 16 power-state-name = "standby"; 17 zephyr,pm-device-disabled; 23 compatible = "test-device-pm"; 27 compatible = "test-device-pm"; 31 compatible = "test-device-pm"; [all …]
|
/Zephyr-latest/dts/bindings/power/ |
D | zephyr,power-state.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Properties for power management state 6 compatible: "zephyr,power-state" 9 power-state-name: 12 description: indicates a power state 14 - "active" 15 - "runtime-idle" 16 - "suspend-to-idle" 17 - "standby" 18 - "suspend-to-ram" [all …]
|
/Zephyr-latest/doc/services/pm/ |
D | device.rst | 1 Device Power Management 7 Device power management (PM) on Zephyr is a feature that enables devices to 10 selected, device drivers implementing power management will be able to take 11 advantage of the device power management subsystem. 13 Zephyr supports two methods of device power management: 15 - :ref:`Device Runtime Power Management <pm-device-runtime-pm>` 16 - :ref:`System-Managed Device Power Management <pm-device-system-pm>` 18 .. _pm-device-runtime-pm: 20 Device Runtime Power Management 23 Device runtime power management involves coordinated interaction between [all …]
|
/Zephyr-latest/soc/silabs/common/ |
D | soc_power_pmgr.c | 5 * SPDX-License-Identifier: Apache-2.0 15 * Power state map: 23 /* Invoke Low Power/System Off specific Tasks */ 24 void pm_state_set(enum pm_state state, uint8_t substate_id) in pm_state_set() argument 29 LOG_DBG("SoC entering power state %d", state); in pm_state_set() 31 switch (state) { in pm_state_set() 45 LOG_DBG("Unsupported power state %d", state); in pm_state_set() 76 void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id) in pm_state_exit_post_ops() argument 78 ARG_UNUSED(state); in pm_state_exit_post_ops() 85 * blobs have been compiled with -DSL_POWER_MANAGER_DEBUG=1, making inlined [all …]
|
/Zephyr-latest/tests/subsys/pm/device_wakeup_api/boards/ |
D | native_sim.overlay | 4 * 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>;
|
/Zephyr-latest/tests/subsys/pm/device_power_domains/src/ |
D | main.c | 5 * SPDX-License-Identifier: Apache-2.0 38 enum pm_device_state state; in ZTEST() local 40 /* Initial power state */ in ZTEST() 46 TC_PRINT("Enabling runtime power management on regulators\n"); in ZTEST() 53 /* Power domains should now be suspended */ in ZTEST() 58 pm_device_state_get(dev, &state); in ZTEST() 59 zassert_equal(PM_DEVICE_STATE_OFF, state, ""); in ZTEST() 61 TC_PRINT("Cycling: %s\n", reg_0->name); in ZTEST() 63 /* reg_chained is powered off reg_0, so it's power state should change */ in ZTEST() 70 TC_PRINT("Cycling: %s\n", reg_1->name); in ZTEST() [all …]
|
/Zephyr-latest/dts/arm/microchip/ |
D | mec172xnsz.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <arm/armv7-m.dtsi> 9 #include <zephyr/dt-bindings/adc/adc.h> 10 #include <zephyr/dt-bindings/clock/mchp_xec_pcr.h> 11 #include <zephyr/dt-bindings/gpio/gpio.h> 12 #include <zephyr/dt-bindings/gpio/microchip-xec-gpio.h> 13 #include <zephyr/dt-bindings/i2c/i2c.h> 14 #include <zephyr/dt-bindings/interrupt-controller/mchp-xec-ecia.h> 18 #include "mec172x/mec172x-vw-routing.dtsi" 22 #address-cells = <1>; [all …]
|
D | mec1727nsz.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <arm/armv7-m.dtsi> 9 #include <zephyr/dt-bindings/i2c/i2c.h> 10 #include <zephyr/dt-bindings/gpio/gpio.h> 11 #include <zephyr/dt-bindings/clock/mchp_xec_pcr.h> 12 #include <zephyr/dt-bindings/interrupt-controller/mchp-xec-ecia.h> 14 #include "mec172x/mec172x-vw-routing.dtsi" 21 #address-cells = <1>; 22 #size-cells = <0>; 26 compatible = "arm,cortex-m4"; [all …]
|
D | mec172xnlj.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <arm/armv7-m.dtsi> 9 #include <zephyr/dt-bindings/adc/adc.h> 10 #include <zephyr/dt-bindings/clock/mchp_xec_pcr.h> 11 #include <zephyr/dt-bindings/gpio/gpio.h> 12 #include <zephyr/dt-bindings/gpio/microchip-xec-gpio.h> 13 #include <zephyr/dt-bindings/i2c/i2c.h> 14 #include <zephyr/dt-bindings/interrupt-controller/mchp-xec-ecia.h> 18 #include "mec172x/mec172x-vw-routing.dtsi" 22 #address-cells = <1>; [all …]
|
/Zephyr-latest/dts/x86/intel/ |
D | intel_ish5.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 8 #include <dt-bindings/interrupt-controller/intel-ioapic.h> 9 #include <dt-bindings/i2c/i2c.h> 13 power-states { 15 compatible = "zephyr,power-state"; 16 power-state-name = "runtime-idle"; 17 min-residency-us = <500>; 18 substate-id = <1>; 22 compatible = "zephyr,power-state"; 23 power-state-name = "suspend-to-ram"; [all …]
|
/Zephyr-latest/samples/boards/st/power_mgmt/serial_wakeup/ |
D | sample.yaml | 2 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")
|
/Zephyr-latest/samples/boards/st/power_mgmt/adc/ |
D | sample.yaml | 2 name: STM32 ADC Power Management 6 - adc 7 - power 12 - "Device ready" 13 filter: dt_compat_enabled("zephyr,power-state") and 14 dt_compat_enabled("st,stm32-adc") and 15 dt_compat_enabled("st,stm32-lptim")
|
/Zephyr-latest/samples/boards/st/power_mgmt/suspend_to_ram/ |
D | sample.yaml | 2 name: STM32 PM Standby Power Management 6 - power 11 - "Exit Standby" 12 filter: dt_compat_enabled("zephyr,power-state") and 13 dt_enabled_alias_with_parent_compat("led0", "gpio-leds") and 14 dt_compat_enabled("st,stm32-lptim") 17 - nucleo_wba55cg
|
/Zephyr-latest/samples/boards/st/power_mgmt/blinky/ |
D | sample.yaml | 2 name: STM32 GPIO Power Management 6 - LED 7 - power 12 - "Device ready" 13 filter: dt_compat_enabled("zephyr,power-state") and 14 dt_enabled_alias_with_parent_compat("led0", "gpio-leds") and 15 (dt_compat_enabled("st,stm32-lptim") or 16 dt_chosen_enabled("zephyr,cortex-m-idle-timer")) 19 - nucleo_wb55rg 20 - nucleo_f429zi
|
/Zephyr-latest/samples/boards/st/power_mgmt/standby_shutdown/ |
D | sample.yaml | 2 name: STM32 GPIO Power Management 6 - nucleo_l476rg 7 - disco_l475_iot1 9 - LED 10 - power 15 - "Reset cause: Reset pin" 16 - "Device ready: .*" 17 - "Press and hold the user button:" 18 - "when LED2 is OFF to power off" 19 - "when LED2 is ON to enter to Standby Mode" [all …]
|
/Zephyr-latest/samples/boards/nxp/mimxrt1060_evk/system_off/ |
D | sample.yaml | 2 name: Low Power State Sample for mimxrt1060_evk 4 tags: power 9 - mimxrt1060_evk/mimxrt1062/qspi 10 - mimxrt1060_evk@B/mimxrt1062/qspi 12 - mimxrt1060_evk/mimxrt1062/qspi
|
/Zephyr-latest/samples/boards/nxp/mimxrt595_evk/system_off/ |
D | sample.yaml | 4 # SPDX-License-Identifier: Apache-2.0 7 name: Deep Power Down State Sample for mimxrt595_evk 9 tags: power
|
/Zephyr-latest/subsys/shell/modules/ |
D | device_service.c | 5 * SPDX-License-Identifier: Apache-2.0 21 const char *name = dev->name; in get_device_name() local 23 if ((name == NULL) || (name[0] == 0)) { in get_device_name() 25 name = buf; in get_device_name() 28 return name; in get_device_name() 43 shell_fprintf(ctx->sh, SHELL_NORMAL, " requires: %s\n", in cmd_device_list_visitor() 44 get_device_name(dev, ctx->buf, ctx->buf_size)); in cmd_device_list_visitor() 65 const char *name = get_device_name(dev, buf, sizeof(buf)); in cmd_device_list() local 66 const char *state = "READY"; in cmd_device_list() local 69 shell_fprintf(sh, SHELL_NORMAL, "- %s", name); in cmd_device_list() [all …]
|
/Zephyr-latest/samples/modules/canopennode/ |
D | README.rst | 1 .. zephyr:code-sample:: canopennode 2 :name: CANopenNode 11 CANopen is an internationally standardized (`EN 50325-4`_, `CiA 301`_) 13 systems used in automation. CANopenNode is a 3rd party, open-source 17 demonstrates the use of non-volatile storage for the CANopen object 31 .. code-block:: console 33 west config manifest.project-filter +canopennode 36 Building and Running for TWR-KE18F 40 LEDs). The sample can be built and executed for the TWR-KE18F as 43 .. zephyr-app-commands:: [all …]
|
/Zephyr-latest/samples/fuel_gauge/max17048/ |
D | README.rst | 1 .. zephyr:code-sample:: max17048 2 :name: MAX17048 Li-Ion battery fuel gauge 4 Read battery percentage and power status using MAX17048 fuel gauge. 11 .. _MAX17048: https://www.maximintegrated.com/en/products/power/battery-management/MAX17048.html 13 The sample periodically reads battery percentage and power status 27 * Charging state: if charging or discharging 32 The charging state and the time to full/empty are estimated and based on the last consumption avera…
|