Home
last modified time | relevance | path

Searched +full:pm +full:- +full:device +full:- +full:runtime +full:- +full:auto (Results 1 – 25 of 59) sorted by relevance

123

/Zephyr-latest/dts/xtensa/intel/
Dintel_adsp_ace30_ptl.dtsi4 * SPDX-License-Identifier: Apache-2.0
12 #address-cells = <1>;
13 #size-cells = <0>;
17 compatible = "cdns,tensilica-xtensa-lx7";
19 cpu-power-states = <&d0i3 &d3>;
20 i-cache-line-size = <64>;
21 d-cache-line-size = <64>;
26 compatible = "cdns,tensilica-xtensa-lx7";
28 cpu-power-states = <&d0i3 &d3>;
33 compatible = "cdns,tensilica-xtensa-lx7";
[all …]
Dintel_adsp_ace30.dtsi4 * SPDX-License-Identifier: Apache-2.0
12 #address-cells = <1>;
13 #size-cells = <0>;
17 compatible = "cdns,tensilica-xtensa-lx7";
19 cpu-power-states = <&d0i3 &d3>;
20 i-cache-line-size = <64>;
21 d-cache-line-size = <64>;
26 compatible = "cdns,tensilica-xtensa-lx7";
28 cpu-power-states = <&d0i3 &d3>;
33 compatible = "cdns,tensilica-xtensa-lx7";
[all …]
Dintel_adsp_ace20_lnl.dtsi4 * SPDX-License-Identifier: Apache-2.0
12 #address-cells = <1>;
13 #size-cells = <0>;
17 compatible = "cdns,tensilica-xtensa-lx7";
19 cpu-power-states = <&d0i3 &d3>;
20 i-cache-line-size = <64>;
21 d-cache-line-size = <64>;
26 compatible = "cdns,tensilica-xtensa-lx7";
28 cpu-power-states = <&d0i3 &d3>;
33 compatible = "cdns,tensilica-xtensa-lx7";
[all …]
Dintel_adsp_ace15_mtpm.dtsi4 * SPDX-License-Identifier: Apache-2.0
12 #address-cells = <1>;
13 #size-cells = <0>;
17 compatible = "cdns,tensilica-xtensa-lx7";
19 cpu-power-states = <&d0i3 &d3>;
20 i-cache-line-size = <64>;
21 d-cache-line-size = <64>;
26 compatible = "cdns,tensilica-xtensa-lx7";
28 cpu-power-states = <&d3>;
33 compatible = "cdns,tensilica-xtensa-lx7";
[all …]
/Zephyr-latest/dts/arm/ambiq/
Dambiq_apollo3_blue.dtsi1 /* SPDX-License-Identifier: Apache-2.0 */
3 #include <arm/armv7-m.dtsi>
6 #include <zephyr/dt-bindings/adc/adc.h>
7 #include <zephyr/dt-bindings/i2c/i2c.h>
8 #include <zephyr/dt-bindings/gpio/gpio.h>
12 uartclk: apb-pclk {
13 compatible = "fixed-clock";
14 clock-frequency = <DT_FREQ_M(24)>;
15 #clock-cells = <0>;
20 #address-cells = <1>;
[all …]
Dambiq_apollo3p_blue.dtsi1 /* SPDX-License-Identifier: Apache-2.0 */
3 #include <arm/armv7-m.dtsi>
6 #include <zephyr/dt-bindings/adc/adc.h>
7 #include <zephyr/dt-bindings/i2c/i2c.h>
8 #include <zephyr/dt-bindings/gpio/gpio.h>
12 uartclk: apb-pclk {
13 compatible = "fixed-clock";
14 clock-frequency = <DT_FREQ_M(24)>;
15 #clock-cells = <0>;
20 #address-cells = <1>;
[all …]
/Zephyr-latest/tests/subsys/pm/device_driver_init/
Dapp.overlay3 compatible = "power-domain-gpio";
4 enable-gpios = <&gpio0 0 0>;
5 #power-domain-cells = <0>;
9 compatible = "power-domain-gpio";
10 enable-gpios = <&gpio0 1 0>;
11 power-domains = <&test_reg>;
12 #power-domain-cells = <0>;
16 compatible = "power-domain-gpio";
17 enable-gpios = <&gpio0 2 0>;
18 power-domains = <&test_reg>;
[all …]
/Zephyr-latest/dts/bindings/base/
Dpm.yaml2 # 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.
13 device that tells the system that the device is capable of
17 the system) by default but they can be enabled at runtime if necessary.
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/doc/services/pm/
Ddevice_runtime.rst1 .. _pm-device-runtime:
3 Device Runtime Power Management
9 The device runtime power management (PM) framework is an active power management
12 enabled by setting :kconfig:option:`CONFIG_PM_DEVICE_RUNTIME`. In this model the device
13 driver is responsible to indicate when it needs the device and when it does not.
14 This information is used to determine when to suspend or resume a device based
17 When device runtime power management is enabled on a device, its state will be
19 not used. On the first device request, it will be resumed and so put into the
20 :c:enumerator:`PM_DEVICE_STATE_ACTIVE` state. The device will remain in this
21 state until it is no longer used. At this point, the device will be suspended
[all …]
/Zephyr-latest/tests/subsys/pm/device_runtime_api/
Dapp.overlay3 compatible = "test-device-pm";
5 zephyr,pm-device-runtime-auto;
/Zephyr-latest/include/zephyr/pm/
Ddevice_runtime.h5 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/device.h>
19 * @brief Device Runtime Power Management API
20 * @defgroup subsys_pm_device_runtime Device Runtime
27 * @brief Automatically enable device runtime based on devicetree properties
30 * zephyr,pm-device-runtime-auto property in pm.yaml and z_sys_init_run_level.
32 * @param dev Device instance.
34 * @retval 0 If the device runtime PM is enabled successfully or it has not
35 * been requested for this device in devicetree.
36 * @retval -errno Other negative errno, result of enabled device runtime PM.
[all …]
/Zephyr-latest/tests/drivers/uart/uart_elementary/boards/
Dnrf54h20dk_nrf54h20_cpuapp_dual_uart.overlay1 /* SPDX-License-Identifier: Apache-2.0 */
10 bias-pull-up;
21 low-power-enable;
28 memory-regions = <&cpuapp_dma_region>;
29 pinctrl-0 = <&uart135_default_alt>;
30 pinctrl-1 = <&uart135_sleep_alt>;
31 pinctrl-names = "default", "sleep";
32 current-speed = <115200>;
33 zephyr,pm-device-runtime-auto;
40 bias-pull-up;
[all …]
/Zephyr-latest/tests/subsys/pm/device_driver_init/src/
Dmain.c5 * SPDX-License-Identifier: Apache-2.0
8 * the PM API as this test runs without the PM api enabled.
13 #include <zephyr/pm/device.h>
14 #include <zephyr/pm/device_runtime.h>
27 zassert_equal(rc, 0, "Device state retrieval failed"); \
28 zassert_equal(state, value, "Unexpected device state");
35 state = -1; in ZTEST()
37 "Invalid device state"); in ZTEST()
38 /* No device runtime PM, starts on */ in ZTEST()
44 "Invalid device state"); in ZTEST()
[all …]
/Zephyr-latest/tests/drivers/spi/spi_loopback/boards/
Dnrf51dk_nrf51822.overlay4 * SPDX-License-Identifier: Apache-2.0
8 overrun-character = <0x00>;
9 cs-gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
10 zephyr,pm-device-runtime-auto;
12 compatible = "test-spi-loopback-slow";
14 spi-max-frequency = <500000>;
17 compatible = "test-spi-loopback-fast";
19 spi-max-frequency = <16000000>;
Dnrf52dk_nrf52832.overlay4 * SPDX-License-Identifier: Apache-2.0
8 overrun-character = <0x00>;
9 cs-gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
10 zephyr,pm-device-runtime-auto;
12 compatible = "test-spi-loopback-slow";
14 spi-max-frequency = <500000>;
17 compatible = "test-spi-loopback-fast";
19 spi-max-frequency = <16000000>;
Dnrf9160dk_nrf9160.overlay4 * SPDX-License-Identifier: Apache-2.0
8 overrun-character = <0x00>;
9 cs-gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
10 zephyr,pm-device-runtime-auto;
12 compatible = "test-spi-loopback-slow";
14 spi-max-frequency = <500000>;
17 compatible = "test-spi-loopback-fast";
19 spi-max-frequency = <16000000>;
Dnrf54h20dk_nrf54h20_cpuapp.overlay4 * SPDX-License-Identifier: Apache-2.0
9 memory-regions = <&cpuapp_dma_region>;
10 zephyr,pm-device-runtime-auto;
12 compatible = "test-spi-loopback-slow";
14 spi-max-frequency = <DT_FREQ_K(500)>;
17 compatible = "test-spi-loopback-fast";
19 spi-max-frequency = <DT_FREQ_M(8)>;
Dnrf52840dk_nrf52840.overlay4 * SPDX-License-Identifier: Apache-2.0
8 overrun-character = <0x00>;
9 rx-delay = <1>;
10 cs-gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
11 zephyr,pm-device-runtime-auto;
13 compatible = "test-spi-loopback-slow";
15 spi-max-frequency = <500000>;
18 compatible = "test-spi-loopback-fast";
20 spi-max-frequency = <16000000>;
Dnrf54l15dk_nrf54l15_cpuapp.overlay4 * SPDX-License-Identifier: Apache-2.0
21 low-power-enable;
28 pinctrl-0 = <&spi00_default>;
29 pinctrl-1 = <&spi00_sleep>;
30 pinctrl-names = "default", "sleep";
31 overrun-character = <0x00>;
32 zephyr,pm-device-runtime-auto;
34 compatible = "test-spi-loopback-slow";
36 spi-max-frequency = <DT_FREQ_M(2)>;
39 compatible = "test-spi-loopback-fast";
[all …]
Dnrf54h20dk_nrf54h20_cpuapp_fast.overlay4 * SPDX-License-Identifier: Apache-2.0
21 low-power-enable;
32 pinctrl-0 = <&spi120_default>;
33 pinctrl-1 = <&spi120_sleep>;
34 pinctrl-names = "default", "sleep";
35 overrun-character = <0x00>;
36 memory-regions = <&dma_fast_region>;
37 zephyr,pm-device-runtime-auto;
39 compatible = "test-spi-loopback-slow";
41 spi-max-frequency = <DT_FREQ_M(4)>;
[all …]
/Zephyr-latest/tests/drivers/build_all/power_domain/
Dapp.overlay3 * SPDX-License-Identifier: Apache-2.0
8 #address-cells = <1>;
9 #size-cells = <1>;
13 gpio-controller;
15 #gpio-cells = <0x2>;
20 compatible = "power-domain-gpio";
21 enable-gpios = <&test_gpio 0 0>;
22 #power-domain-cells = <0>;
23 zephyr,pm-device-runtime-auto;
27 compatible = "power-domain-gpio-monitor";
[all …]
/Zephyr-latest/tests/boards/nrf/qdec/boards/
Dnrf54l15dk_nrf54l15_common.dtsi3 * SPDX-License-Identifier: Apache-2.0
13 encoder-emulate {
14 compatible = "gpio-leds";
36 low-power-enable;
47 pinctrl-0 = <&qdec_pinctrl>;
48 pinctrl-1 = <&qdec_sleep_pinctrl>;
49 pinctrl-names = "default", "sleep";
51 led-pre = <500>;
52 zephyr,pm-device-runtime-auto;
Dnrf54l20pdk_nrf54l20_cpuapp.overlay3 * SPDX-License-Identifier: Apache-2.0
13 encoder-emulate {
14 compatible = "gpio-leds";
36 low-power-enable;
47 pinctrl-0 = <&qdec_pinctrl>;
48 pinctrl-1 = <&qdec_sleep_pinctrl>;
49 pinctrl-names = "default", "sleep";
51 led-pre = <500>;
52 zephyr,pm-device-runtime-auto;
Dnrf54h20dk_nrf54h20_cpuapp.overlay3 * SPDX-License-Identifier: Apache-2.0
13 encoder-emulate {
14 compatible = "gpio-leds";
36 low-power-enable;
47 pinctrl-0 = <&qdec_pinctrl>;
48 pinctrl-1 = <&qdec_sleep_pinctrl>;
49 pinctrl-names = "default", "sleep";
51 led-pre = <500>;
52 zephyr,pm-device-runtime-auto;
57 disable-rx;
Dnrf52840dk_nrf52840.overlay3 * SPDX-License-Identifier: Apache-2.0
13 encoder-emulate {
14 compatible = "gpio-leds";
39 low-power-enable;
46 pinctrl-0 = <&qdec_pinctrl>;
47 pinctrl-1 = <&qdec_sleep_pinctrl>;
48 pinctrl-names = "default", "sleep";
50 led-pre = < 500 >;
51 zephyr,pm-device-runtime-auto;
56 disable-rx;

123