/Zephyr-latest/dts/bindings/base/ |
D | pm.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 # Properties for Power Management (PM) 7 wakeup-source: 10 Property to identify that a device can be used as wake up source. 14 wake up the system. 16 Wake up capable devices are disabled (interruptions will not wake up 19 zephyr,pm-device-runtime-auto: 22 Automatically configure the device for runtime power management after the 25 zephyr,disabling-power-states: 28 List of power states that will disable this device power.
|
/Zephyr-latest/dts/bindings/sensor/ |
D | st,iis2dlpc-common.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/dt-bindings/sensor/iis2dlpc.h> 14 tap-mode = <IIS2DLPC_DT_SINGLE_DOUBLE_TAP>; 15 power-mode = <IIS2DLPC_DT_HP_MODE>; 18 include: sensor-device.yaml 21 drdy-gpios: 22 type: phandle-array 30 drdy-int: 40 configuration at power-up. 42 - 1 # drdy is generated from INT1 [all …]
|
D | st,lsm6dso-common.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 When setting the accel-pm, accel-range, accel-odr, gyro-pm, gyro-range, 6 gyro-odr properties in a .dts or .dtsi file you may include lsm6dso.h 10 #include <zephyr/dt-bindings/sensor/lsm6dso.h> 15 accel-pm = <LSM6DSO_DT_XL_ULP_MODE>; 16 accel-range = <LSM6DSO_DT_FS_8G>; 17 accel-odr = <LSM6DSO_DT_ODR_1Hz6>; 18 gyro-pm = <LSM6DSO_DT_GY_NORMAL_MODE>; 19 gyro-range = <LSM6DSO_DT_FS_2000DPS>; 20 gyro-odr = <LSM6DSO_DT_ODR_6667Hz>; [all …]
|
D | invensense,icm42688.yaml | 4 # SPDX-License-Identifier: Apache-2.0 7 ICM-42688 motion tracking device 8 When setting the accel-pm, accel-range, accel-odr, gyro-pm, gyro-range, 9 gyro-odr properties in a .dts or .dtsi file you may include icm42688.h 13 #include <zephyr/dt-bindings/sensor/icm42688.h> 18 accel-pwr-mode = <ICM42688_ACCEL_LN>; 19 accel-fs = <ICM42688_ACCEL_FS_16G>; 20 accel-odr = <ICM42688_ACCEL_ODR_2000>; 21 gyro-pwr-mode= <ICM42688_GYRO_LN>; 22 gyro-fs = <ICM42688_GYRO_FS_2000>; [all …]
|
D | st,lis2dw12-common.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/dt-bindings/sensor/lis2dw12.h> 14 wakeup-duration = <LIS2DW12_DT_WAKEUP_4_ODR>; 15 ff-threshold = <LIS2DW12_DT_FF_THRESHOLD_500_mg>; 16 tap-mode = <LIS2DW12_DT_SINGLE_DOUBLE_TAP>; 17 power-mode = <LIS2DW12_DT_HP_MODE>; 18 bw-filt = <LIS2DW12_DT_FILTER_BW_ODR_DIV_2>; 21 include: sensor-device.yaml 24 irq-gpios: 25 type: phandle-array [all …]
|
D | st,ism330dhcx-common.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 When setting the accel-odr and gyro-odr properties in a .dts or .dtsi file you may include 9 #include <zephyr/dt-bindings/sensor/ism330dhcx.h> 14 accel-odr = <ISM330DHCX_DT_ODR_104Hz>; 15 gyro-odr = <ISM330DHCX_DT_ODR_104Hz>; 18 include: sensor-device.yaml 21 drdy-gpios: 22 type: phandle-array 30 int-pin: 43 configuration at power-up. [all …]
|
D | st,lsm6dsv16x-common.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 When setting the accel-range, accel-odr, gyro-range, gyro-odr properties in 10 #include <zephyr/dt-bindings/sensor/lsm6dsv16x.h> 15 accel-range = <LSM6DSV16X_DT_FS_8G>; 16 accel-odr = <LSM6DSV16X_DT_ODR_AT_60Hz>; 17 gyro-range = <LSM6DSV16X_DT_FS_4000DPS>; 18 gyro-odr = <LSM6DSV16X_DT_ODR_AT_60Hz>; 21 include: sensor-device.yaml 24 int1-gpios: 25 type: phandle-array [all …]
|
D | st,stts22h-i2c.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 When setting the sampling-rate property in a .dts or .dtsi file you 10 #include <zephyr/dt-bindings/sensor/stts22h.h> 15 sampling-rate = <STTS22H_100Hz>; 20 include: [sensor-device.yaml, i2c-device.yaml] 23 int-gpios: 24 type: phandle-array 31 temperature-hi-threshold: 37 the configuration at power-up. This threshold must be calculated 39 temperature-hi-threshold = 63 + T/0.64 C. [all …]
|
/Zephyr-latest/samples/boards/st/power_mgmt/wkup_pins/ |
D | README.rst | 1 .. zephyr:code-sample:: stm32_pm_gpio_wkup_src 2 :name: GPIO as a wake-up pin source 3 :relevant-api: sys_poweroff gpio_interface 5 Use a GPIO as a wake-up pin source. 10 This sample is a minimum application to demonstrate using a wake-up pin with a GPIO as 11 a source to power on an STM32 SoC after Poweroff. 13 The system will power off automatically ``WAIT_TIME_US`` us after boot. 14 Press the user button designated in boards's devicetree overlay as "wkup-src" to power it on again. 16 .. _gpio-as-a-wkup-pin-src-sample-requirements: 21 The SoC should support POWEROFF functionality & have a wake-up pin that corresponds [all …]
|
/Zephyr-latest/soc/nuvoton/npcx/common/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief Nuvoton NPCX power management driver 11 * This file contains the drivers of NPCX Power Manager Modules that improves 12 * the efficiency of ec operation by adjusting the chip’s power consumption to 14 * summarizes the main properties of the various power states and shows the 15 * activity levels of the various clocks while in these power states. 17 * +--------------------------------------------------------------------------+ 18 * | Power State | LFCLK | HFCLK | APB/AHB | Core | RAM/Regs | VCC | VSBY | 19 * |--------------------------------------------------------------------------| 23 * | Deep Sleep | On | Stop | Stop | Stop | Power Down | On | On | [all …]
|
/Zephyr-latest/doc/services/pm/ |
D | system.rst | 1 .. _pm-system: 3 System Power Management 11 power management subsystem to put an idle system into one of the supported power states. 13 the appropriate power state to transition to based on the configured power management policy. 15 It is the application's responsibility to set up a wake-up event. 16 A wake-up event will typically be an interrupt triggered by an SoC peripheral module. 18 Keep in mind that depending on the SoC and the power mode in question, 20 some wake-up sources may not be usable in all power modes. 22 The following diagram describes system power management: 25 :caption: System power management [all …]
|
/Zephyr-latest/boards/nordic/thingy53/ |
D | board.c | 4 * SPDX-License-Identifier: Apache-2.0 11 * could be accessed after power up. In particular bme680 and bmm150 sensors require, 12 * respectively 2ms and 1ms power on delay. In order to avoid delays sum, common delay is 13 * introduced in the board start up file. Below asserts ensure correct initialization order: 36 * sensors could be accessed after power up. In particular bme680 and bmm150 in setup() 37 * sensors require, 2ms and 1ms power on delay respectively. In order not to sum in setup() 38 * delays, common delay is introduced in the board start up file. This code is in setup() 39 * executed after sensors are powered up and before their initialization. in setup()
|
/Zephyr-latest/soc/intel/intel_adsp/cavs/ |
D | sram.c | 2 * SPDX-License-Identifier: Apache-2.0 25 * Function powers up a number of memory banks provided as an argument 36 /* Add some delay before touch power register */ in hp_sram_pm_banks() 44 ebb_avail_mask0 = (uint32_t)GENMASK(EBB_SEG_SIZE - 1, 0); in hp_sram_pm_banks() 45 ebb_avail_mask1 = (uint32_t)GENMASK(total_banks_count - in hp_sram_pm_banks() 46 EBB_SEG_SIZE - 1, 0); in hp_sram_pm_banks() 48 ebb_avail_mask0 = (uint32_t)GENMASK(total_banks_count - 1, 0); in hp_sram_pm_banks() 52 /* bit masks of banks that have to be powered up in each segment */ in hp_sram_pm_banks() 54 ebb_mask0 = (uint32_t)GENMASK(EBB_SEG_SIZE - 1, 0); in hp_sram_pm_banks() 55 ebb_mask1 = (uint32_t)GENMASK(banks - EBB_SEG_SIZE - 1, in hp_sram_pm_banks() [all …]
|
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ace15_mtpm/ |
D | adsp_power.h | 3 * SPDX-License-Identifier: Apache-2.0 17 /* Power Control register - controls the power domain operations. */ 34 /* Power Status register - reports the power domain status. */ 50 * @brief Power up a specific CPU. 52 * This sets the "not power gating" bit in the power control 53 * register to disable power gating to CPU, thus powering up 56 * @param cpu_num CPU to be powered up. 60 ACE_PWRCTL->wpdsphpxpg |= BIT(cpu_num); in soc_cpu_power_up() 64 * @brief Power down a specific CPU. 66 * This clears the "not power gating" bit in the power control [all …]
|
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ace20_lnl/ |
D | adsp_power.h | 3 * SPDX-License-Identifier: Apache-2.0 29 /* Power control */ 51 * @brief Power up a specific CPU. 53 * This sets the "not power gating" bit in the power control 54 * register to disable power gating to CPU, thus powering up 57 * @param cpu_num CPU to be powered up. 61 ACE_PWRCTL->wpdsphpxpg |= BIT(cpu_num); in soc_cpu_power_up() 65 * @brief Power down a specific CPU. 67 * This clears the "not power gating" bit in the power control 68 * register to enable power gating to CPU, thus powering down [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | pm_cpu_ops.h | 4 * SPDX-License-Identifier: Apache-2.0 12 * @brief Public API for CPU Power Management 27 * @defgroup power_management_cpu_api CPU Power Management 33 * @brief Power down the calling core 36 * cpu_off can only be powered up again in response to a cpu_on 39 * @retval -ENOTSUP If the operation is not supported 44 * @brief Power up a core 46 * This call is used to power up cores that either have not yet been booted 50 * @param cpuid CPU id to power on 54 * @retval -ENOTSUP If the operation is not supported
|
/Zephyr-latest/drivers/counter/ |
D | Kconfig.mcux_snvs | 4 # SPDX-License-Identifier: Apache-2.0 11 Enable support for the IMX SNVS High/Low Power clock. 14 bool "IMX SNVS SRTC low power support" 18 Enable the low power SRTC in SNVS to synchronise. 21 bool "IMX SNVS wake-up on SRTC alarm" 25 Assert Wake-Up Interrupt on SRTC alarm
|
/Zephyr-latest/dts/bindings/power/ |
D | atmel,sam-supc.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 Atmel SAM SUPC (Supply-Controller) controller 7 The supply controller manages the voltage reference, power supply and supply 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.: [all …]
|
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ace30/ |
D | adsp_power.h | 3 * SPDX-License-Identifier: Apache-2.0 17 /* Power Control register - controls the power domain operations. */ 38 /* Power Status register - reports the power domain status. */ 60 * @brief Power up a specific CPU. 62 * This sets the "not power gating" bit in the power control 63 * register to disable power gating to CPU, thus powering up 66 * @param cpu_num CPU to be powered up. 70 ACE_PWRCTL2->wpdsphpxpg |= BIT(cpu_num); in soc_cpu_power_up() 74 * @brief Power down a specific CPU. 76 * This clears the "not power gating" bit in the power control [all …]
|
/Zephyr-latest/samples/boards/st/power_mgmt/blinky/ |
D | README.rst | 1 .. zephyr:code-sample:: stm32_pm_blinky 2 :name: Blinky with power management 4 Blink an LED using the GPIO API in a low-power context on STM32 9 This sample is a minimum application to demonstrate basic power management 10 behavior in a basic blinking LED set up using the :ref:`GPIO API <gpio_api>` in 11 low power context. 12 Note that lptim instance selected for the low power timer is named **&stm32_lp_tick_source** 15 For example, when clocking the low power Timer with LSE clock at 32768Hz and adding a 19 .. _stm32-pm-blinky-sample-requirements: 26 in core sleep states, as LPTIM (:dtcompatible:`st,stm32-lptim`). [all …]
|
/Zephyr-latest/dts/bindings/counter/ |
D | espressif,esp32-rtc-timer.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 Any reset/sleep mode, except for the power-up reset, will not 14 running from power-up. 18 compatible: "espressif,esp32-rtc-timer"
|
/Zephyr-latest/soc/arm/fvp_aemv8r/ |
D | Kconfig.soc | 2 # SPDX-License-Identifier: Apache-2.0 20 bool "Simulate CPU Power Management for FVP_BaseR_AEMv8R" 23 It simulates the cpu power management function for 24 FVP_BaseR_AEMv8R. When zephyr kernel try to bring up secondary 26 it indeed bring up secondary core successfully.
|
/Zephyr-latest/boards/panasonic/pan1783/ |
D | pan1783_nrf5340_cpuapp_common-pinctrl.dtsi | 3 * SPDX-License-Identifier: Apache-2.0 18 low-power-enable; 30 bias-pull-up; 40 low-power-enable; 53 low-power-enable; 65 nordic,drive-mode = <NRF_DRIVE_H0H1>; 76 low-power-enable; 80 low-power-enable; 81 bias-pull-up; 91 bias-pull-up; [all …]
|
/Zephyr-latest/soc/nuvoton/numaker/m2l31x/ |
D | poweroff.c | 4 * SPDX-License-Identifier: Apache-2.0 16 /* Clear all wake-up flag */ in z_sys_poweroff() 17 CLK->PMUSTS |= CLK_PMUSTS_CLRWK_Msk; in z_sys_poweroff() 19 /* Select Power-down mode */ in z_sys_poweroff() 22 /* Enable RTC wake-up */ in z_sys_poweroff() 25 /* Enter to Power-down mode */ in z_sys_poweroff()
|
/Zephyr-latest/soc/nuvoton/numaker/m46x/ |
D | poweroff.c | 4 * SPDX-License-Identifier: Apache-2.0 16 /* Clear all wake-up flag */ in z_sys_poweroff() 17 CLK->PMUSTS |= CLK_PMUSTS_CLRWK_Msk; in z_sys_poweroff() 19 /* Select Power-down mode */ in z_sys_poweroff() 22 /* Enable RTC wake-up */ in z_sys_poweroff() 25 /* Enter to Power-down mode */ in z_sys_poweroff()
|