Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/tests/subsys/pm/device_driver_init/
Dapp.overlay3 compatible = "power-domain-gpio";
4 enable-gpios = <&gpio0 0 0>;
8 compatible = "power-domain-gpio";
9 enable-gpios = <&gpio0 1 0>;
10 power-domain = <&test_reg>;
14 compatible = "power-domain-gpio";
15 enable-gpios = <&gpio0 2 0>;
16 power-domain = <&test_reg>;
17 zephyr,pm-device-runtime-auto;
21 compatible = "power-domain-gpio";
[all …]
/Zephyr-Core-3.5.0/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 power-domain:
23 Power domain the device belongs to.
25 The device will be notified when the power domain it belongs to is either
28 zephyr,pm-device-runtime-auto:
[all …]
/Zephyr-Core-3.5.0/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-Core-3.5.0/tests/subsys/pm/device_runtime_api/
Dapp.overlay3 compatible = "test-device-pm";
5 zephyr,pm-device-runtime-auto;
/Zephyr-Core-3.5.0/include/zephyr/pm/
Ddevice_runtime.h5 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/device.h>
18 * @brief Device Runtime Power Management API
19 * @defgroup subsys_pm_device_runtime Device Runtime
26 * @brief Automatically enable device runtime based on devicetree properties
29 * zephyr,pm-device-runtime-auto property in pm.yaml and z_sys_init_run_level.
31 * @param dev Device instance.
33 * @retval 0 If the device runtime PM is enabled successfully or it has not
34 * been requested for this device in devicetree.
35 * @retval -errno Other negative errno, result of enabled device runtime PM.
[all …]
/Zephyr-Core-3.5.0/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");
36 /* No device runtime PM, starts on */ in ZTEST()
42 /* Device powered, zephyr,pm-device-runtime-auto, starts suspended */ in ZTEST()
47 /* Device not powered, starts off */ in ZTEST()
54 * State checking via GPIO as PM API is disabled. in ZTEST()
/Zephyr-Core-3.5.0/dts/xtensa/intel/
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 = <&d0i3 &d3>;
33 compatible = "cdns,tensilica-xtensa-lx7";
[all …]
/Zephyr-Core-3.5.0/doc/releases/
Drelease-notes-2.7.rst17 * Support for M-Profile Vector Extensions (MVE) on ARMv8.1-M
18 * Improved thread safety for Newlib and C++ on SMP-capable systems
20 * New Action-based Power Management API
21 * USB Device Framework now includes all Chapter 9 defines and structures
23 * Linker Support for Tightly-Coupled Memory in RISC-V
25 * Support for extended PCI / PCIe capabilities, improved MIS-X support
33 * The kernel now supports both 32- and 64-bit architectures
36 * We added support for Point-to-Point Protocol (PPP)
37 * We added support for UpdateHub, an end-to-end solution for over-the-air device updates
38 * We added support for ARM Cortex-R Architecture
[all …]
Drelease-notes-2.6.rst13 * Added support for 64-bit ARCv3
14 * Split ARM32 and ARM64, ARM64 is now a top-level architecture
15 * Added initial support for Arm v8.1-m and Cortex-M55
19 * Device runtime power management (PM), former IDLE runtime, was
22 https://github.com/zephyrproject-rtos/example-application
34 * CVE-2021-3581: Under embargo until 2021-09-04
41 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
46 * Driver APIs now return ``-ENOSYS`` if optional functions are not implemented.
47 If the feature is not supported by the hardware ``-ENOTSUP`` will be returned.
48 Formerly ``-ENOTSUP`` was returned for both failure modes, meaning this change
[all …]
Drelease-notes-3.5.rst38 * CVE-2023-3725 `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3
39 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_
41 * CVE-2023-4257 `Zephyr project bug tracker GHSA-853q-q69w-gf5j
42 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_
44 * CVE-2023-4258 `Zephyr project bug tracker GHSA-m34c-cp63-rwh7
45 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_
47 * CVE-2023-4259 `Zephyr project bug tracker GHSA-gghm-c696-f4j4
48 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_
50 * CVE-2023-4260 `Zephyr project bug tracker GHSA-gj27-862r-55wh
51 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gj27-862r-55wh>`_
[all …]
Drelease-notes-2.4.rst33 * CVE-2020-10060: UpdateHub Might Dereference An Uninitialized Pointer
34 * CVE-2020-10064: Improper Input Frame Validation in ieee802154 Processing
35 * CVE-2020-10066: Incorrect Error Handling in Bluetooth HCI core
36 * CVE-2020-10072: all threads can access all socket file descriptors
37 * CVE-2020-13598: FS: Buffer Overflow when enabling Long File Names in FAT_FS and calling fs_stat
38 * CVE-2020-13599: Security problem with settings and littlefs
39 * CVE-2020-13601: Under embargo until 2020/11/18
40 * CVE-2020-13602: Remote Denial of Service in LwM2M do_write_op_tlv
50 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
62 * The :c:func:`wdt_feed` function will now return ``-EAGAIN`` if
[all …]
Drelease-notes-3.4.rst15 * USB Device support:
17 * USB device controller API (UDC API) and nRF USBD controller driver.
18 * USB device stack implementation using new UDC API.
20 * Added Power Delivery Source Support to the USB-C Stack.
22 * Cache API functions are now fully in-lined by compilers.
23 * Added an API for real-time clocks (RTC).
29 - Introduction of 3 new test harnesses into twister supporting pyTest,
31 - Transitioning to new Ztest API was completed and legacy Ztest was deprecated.
46 * CVE-2023-1901: Under embargo until 2023-07-04
48 * CVE-2023-1902: Under embargo until 2023-07-04
[all …]
Drelease-notes-2.5.rst15 * Added support for per thread runtime statistics
27 * CVE-2021-3323: Under embargo until 2021-04-14
28 * CVE-2021-3321: Under embargo until 2021-04-14
29 * CVE-2021-3320: Under embargo until 2021-04-14
39 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'.
63 * The :c:func:`mqtt_keepalive_time_left` function now returns -1 if keep alive
67 timeout usage must use the new-style k_timeout_t type and not the
86 drivers to ensure the device they access has been powered up. For simple
87 GPIO-only regulators a devicetree property ``supply-gpios`` is defined as a
[all …]
Drelease-notes-2.3.rst18 with future support for features like 64-bit and absolute timeouts in mind
21 * Zephyr now integrates with the TF-M (Trusted Firmware M) PSA-compliant
24 * The CMSIS-DSP library is now included and integrated
33 * CVE-2020-10022: UpdateHub Module Copies a Variable-Sized Hash String
34 into a fixed-size array.
35 * CVE-2020-10059: UpdateHub Module Explicitly Disables TLS
37 * CVE-2020-10061: Improper handling of the full-buffer case in the
39 * CVE-2020-10062: Packet length decoding error in MQTT
40 * CVE-2020-10063: Remote Denial of Service in CoAP Option Parsing Due
42 * CVE-2020-10068: In the Zephyr project Bluetooth subsystem, certain
[all …]
Drelease-notes-3.3.rst14 * Introduced :ref:`USB-C <usbc_api>` device stack with PD (power delivery)
17 CMSIS-DSP as the default backend.
30 * CVE-2023-0359: Under embargo until 2023-04-20
32 * CVE-2023-0779: Under embargo until 2023-04-22
66 removed in favor of new :dtcompatible:`zephyr,flash-disk` devicetree binding.
71 * Starting from this release ``zephyr-`` prefixed tags won't be created
82 image states). Use of a truncated hash or non-sha256 hash will still work
88 registration function at boot-up. If applications register this then
93 application code, these will now automatically be registered at boot-up (this
129 This may cause out-of-tree scripts or commands to fail if they have relied
[all …]
Drelease-notes-3.1.rst44 * Added ``const struct device`` parameter to the following CAN callback function signatures:
61 * Split CAN classic and CAN-FD APIs:
90 was moved from Kconfig to :ref:`devicetree <dt-guide>`.
91 See the :dtcompatible:`st,stm32f1-pinctrl` devicetree binding for more information.
182 * MIPI-DSI
184 * Added a :ref:`MIPI-DSI api <mipi_dsi_api>`. This is an experimental API,
196 * Added support for enabling/disabling CAN-FD mode at runtime using :c:macro:`CAN_MODE_FD`.
220 * Added support for Provisioners over PB-GATT
231 * Implemented ISO-AL TX unframed fragmentation
232 * Added support for back-to-back receiving of PDUs on nRF5x platforms
[all …]
/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_dw.c1 /* dw_i2c.c - I2C file for Design Ware */
5 * Copyright (c) 2022 Andrei-Edward Popa
7 * SPDX-License-Identifier: Apache-2.0
17 #include <zephyr/pm/device.h>
49 #include "i2c-priv.h"
51 static inline uint32_t get_regs(const struct device *dev) in get_regs()
57 void i2c_dw_enable_idma(const struct device *dev, bool enable) in i2c_dw_enable_idma()
73 void cb_i2c_idma_transfer(const struct device *dma, void *user_data, in cb_i2c_idma_transfer()
76 const struct device *dev = (const struct device *)user_data; in cb_i2c_idma_transfer()
77 struct i2c_dw_dev_config *const dw = dev->data; in cb_i2c_idma_transfer()
[all …]
/Zephyr-Core-3.5.0/drivers/serial/
Duart_ns16550.c1 /* ns16550.c - NS16550D serial driver */
6 * Copyright (c) 2010, 2012-2015 Wind River Systems, Inc.
7 * Copyright (c) 2020-2023 Intel Corp.
9 * SPDX-License-Identifier: Apache-2.0
32 #include <zephyr/pm/policy.h>
61 /* If any node has property io-mapped set, we need to support IO port
62 * access in the code and device config struct.
65 * as io-mapped property is considered always exists and present,
67 * resort to the follow helper to see if any okay nodes have io-mapped
146 * RXRDY pin will go inactive when there are no more charac-
[all …]