Commit graph

136,983 commits

Author SHA1 Message Date
Mathieu Choplain
9e8303ef82 dts: bindings: otp: introduce binding for STM32 NVM OTP
Introduce a new binding for area(s) inside Non-Volatile Memory of STM32
SoCs which can behave like OTP (i.e., can only be programmed once).

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-06 09:56:42 +01:00
Stine Åkredalen
5dfc1b82a4 bluetooth: mesh: Fix bearer suspend/resume state
bt_mesh_suspend/resume now only re-enable provisioning bearers that
were previously active.

Adds internal bt_mesh_provisionee_suspend/resume APIs.

bt_mesh_suspend() now return -EBUSY if provisioning is active before any
suspend actions are performed.

Signed-off-by: Stine Åkredalen <stine.akredalen@nordicsemi.no>
2026-03-06 09:55:02 +01:00
Tien Nguyen
848eec04ce tests: drivers: flash: Add support for Renesas RZ/T2L-RSK
Add support for Renesas RZ/T2L-RSK

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-06 09:54:52 +01:00
Tien Nguyen
b5456c930b boards: renesas: Add flash support for Renesas RZ/T2L
Add flash support for Renesas RZ/T2L

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-06 09:54:52 +01:00
Tien Nguyen
79a2ba7a95 dts: renesas: add flash node for Renesas RZ/T2L
- add flash node for Renesas RZ/T2L
- update flash node for Renesas RZ/T2M, RZ/N2L

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-06 09:54:52 +01:00
Tien Nguyen
c353ec046c drivers: flash: update to support Renesas RZ/T2L
- Get unit number and memory size from devicetree
- Renesas RZ/T2L uses at25sf128a flash chip which differs from RZ/T2M
  and RZ/N2L supported previously. The Write Status Command may write
  incorrect data to Status Register or Configuration Register on this
  chip. Remove this code to make the driver common for other SoCs.

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-06 09:54:52 +01:00
Tien Nguyen
14525916cf samples: drivers: spi_flash: Add Flash support for RZ/A2M
Add Flash samples support for RZ/A2M-EVK

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-06 09:54:31 +01:00
Tien Nguyen
3a72e4f8ea samples: driver: jesd216: Add Flash support for RZ/A2M
Add Flash samples support for RZ/A2M-EVK

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-06 09:54:31 +01:00
Tien Nguyen
504a4c9799 tests: driver: flash: Add Flash support for RZ/A2M
Add Flash tests support for RZ/A2M-EVK

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-06 09:54:31 +01:00
Tien Nguyen
63710db230 boards: renesas: Add flash support for RZ/A2M
Add flash support for RZ/A2M

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-06 09:54:31 +01:00
Tien Nguyen
5c1ad61bf4 dts: renesas: Add flash support for Renesas RZ/A2M
- Add SPIBSC node for RZ/A2M

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-06 09:54:31 +01:00
Tien Nguyen
4558034d7f driver: flash: Initial flash support for Renesas RZ/A2M
Initial flash support for Renesas RZ/A2M

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-06 09:54:31 +01:00
Benjamin Cabé
03b7df7efe include: dt-bindings: battery: add doxygen documentation
Add Doxygen documentation to the battery devicetree bindings header so
that it appears in the generated public documentation.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-05 16:11:35 +01:00
Jukka Rissanen
6561cd064e net: http: Allow user to turn off HTTP/1 or HTTP/2 in server
If user does not need HTTP/1 or HTTP/2, then it is possible
to turn off support for them.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-03-05 16:10:26 +01:00
Benjamin Cabé
05b103e15c doc: _scripts: boards: always prefer exact filename match for board image
guess_image() used **/*{name}*.{ext}, which matched auxiliary images
(e.g. rtl87x2g_evb_a-jlink-wiring.webp, rtl87x2g_evb_a-download-mode.webp)
as well as the main board image.

Add an exact-match pattern **/{name}.{ext} first so the main board image
is always prioritized.

Fixes zephyrproject-rtos/zephyr#104821

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-05 16:09:37 +01:00
Emil Gydesen
c97c0366e3 Bluetooth: CAP: Handover: Fix clearing wrong broadcast_source
When proc_param->is_unicast_to_broadcast == false we should clear
the broadcast_to_unicast.broadcast_source instead of the
unicast_to_broadcast.broadcast_source.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-05 16:09:04 +01:00
Pieter De Gendt
7128731033 doc: releases: 4.4: Add kernel entry for Scope-based Cleanup Helpers
Add a Kernel section with an entry about the introduced cleanup helper
macros.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-05 16:08:40 +01:00
Appana Durga Kedareswara rao
bfb36af6d6 soc: xlnx: versal*: add cache line size defaults for APU
Set DCACHE_LINE_SIZE and ICACHE_LINE_SIZE configdefaults to 64 bytes
for the APU (Cortex-A) configurations on Versal, Versal2, and
Versalnet SoCs.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2026-03-05 16:07:56 +01:00
Appana Durga Kedareswara rao
562e96e8fc soc: xlnx: versal2: enable cache management by default
Enable CACHE_MANAGEMENT for both RPU and APU configurations
on AMD Versal2 SoC.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2026-03-05 16:07:56 +01:00
Appana Durga Kedareswara rao
5825da5d5f soc: xlnx: versalnet: fix Kconfig syntax for APU cache management
The Kconfig.defconfig file was using incorrect syntax for setting
default configuration values. Lines like "CONFIG_CACHE_MANAGEMENT=y"
are .config/prj.conf fragment syntax, not valid Kconfig language.

This caused the Kconfig parser to silently ignore these lines,
resulting in CACHE_MANAGEMENT not being enabled by default for
VersalNet APU builds.

Fix by using proper Kconfig syntax with "config" block and
"default y" statement. Also remove the duplicate CONFIG_CACHE_MANAGEMENT
line and the redundant ARM_ARCH_TIMER setting which is already enabled
by the top-level Kconfig.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2026-03-05 16:07:56 +01:00
Bobo Bäck Engström
352ebc5849 boards: shields: add MikroE RS485 Isolator 5 Click
Add a mikroBUS shield definition for the MikroElektronika RS485
Isolator 5 Click board.

The shield instantiates the RS485 transceiver on the mikroBUS UART
with the required DE/RE control pins exposed for Zephyr RS485 use.

Signed-off-by: Bobo Bäck Engström <bobo@id8-engineering.io>
2026-03-05 16:07:28 +01:00
Bobo Bäck Engström
103f0e569f boards: mikroe: clicker_2: add mikroBUS header nodes and aliases
Define mikroBUS connector nodes for socket 1 and socket 2 on
mikroe_clicker_2 and add header aliases.

This board already exposes mikrobus_{1,2}_{spi,i2c,uart}, but lacked a
mikrobus_header-style GPIO mapping node used by click shield overlays
for CS/INT and other control pins.

This keeps compatibility with shields expecting a generic
mikrobus_header while allowing explicit socket selection.

Signed-off-by: Bobo Bäck Engström <bobo@id8-engineering.io>
2026-03-05 16:07:28 +01:00
Johan Alfvén
7944cdfef8 samples: tflm_ethosu: add Timing Adapters overlays + README
Add per-board Timing Adapters overlays for Corstone-300/320 and
document applying them via -DDTC_OVERLAY_FILE. Enables modeling of
memory bandwidth/latency on FVP/FPGA; overlays are provided but not
enabled by default.

Signed-off-by: Johan Alfvén <johan.alfven@arm.com>
2026-03-05 16:06:59 +01:00
Johan Alfvén
5721d79d91 drivers: ethos_u: configure timing adapters from DT
Configure Timing Adapter (TA) child nodes during driver initialization.
This allows running inference with user-configured memory bandwidth and
latency models described in Devicetree.

Signed-off-by: Johan Alfvén <johan.alfven@arm.com>
2026-03-05 16:06:59 +01:00
Johan Alfvén
ba2953028f dts: arm: add arm,axi-timing-adapter binding
Add binding for the Timing Adapter and document common tuning.
This lets platforms describe TAs in Devicetree to model memory timing
for inference.

Signed-off-by: Johan Alfvén <johan.alfven@arm.com>
2026-03-05 16:06:59 +01:00
Julien Racki
a15d30472f tests: drivers: spi: loopback: add stm32 SPI RTIO DMA test case
Add a test case for STM32 SPI RTIO with DMA.

Signed-off-by: Julien Racki <julien.racki-ext@st.com>
2026-03-05 11:16:48 +00:00
Julien Racki
6164a41ea7 drivers: spi: stm32: add RTIO-DMA support
Add SPI DMA support for RTIO

Signed-off-by: Julien Racki <julien.racki-ext@st.com>
Co-authored-by: Wouter Horré <wouter@versasense.com>
2026-03-05 11:16:48 +00:00
Erwan Gouriou
6eed64db70 boards: st: stm32n6570_dk: Provide detailed debug instructions
Debugging STM32N6 target could be a bit tricky, provide detailed
guidelines.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2026-03-05 11:16:12 +00:00
Dag Erik Gjørvad
cbaf1e5a13 soc: nordic: nrf54l: fix I-cache init when built with TF-M
sys_cache_instr_enable() calls into the Zephyr cache driver
(cache_nrf.c), which is not compiled as part of the TF-M platform
build. When CONFIG_CACHE_MANAGEMENT and CONFIG_ICACHE are both
enabled, this produces an undefined reference at link time.

Use nrf_cache_enable() directly via the nrfx HAL for TF-M builds,
which is already available in the TF-M platform. Zephyr builds are
unaffected and continue to use the driver abstraction.

Signed-off-by: Dag Erik Gjørvad <dag.erik.gjorvad@nordicsemi.no>
2026-03-05 11:15:53 +00:00
Afonso Oliveira
df1a3e08ca drivers: interrupt_controller: riscv: add APLIC driver
Add RISC-V APLIC driver split into shared core and MSI-specific
modules following the GICv3/ITS pattern:

- intc_riscv_aplic_priv.h: private header with struct aplic_cfg,
  register helpers, and aplic_msi_init() declaration
- intc_riscv_aplic.c: core driver with domain enable, source
  configuration, device instantiation; calls aplic_msi_init()
  when CONFIG_RISCV_APLIC_MSI is enabled
- intc_riscv_aplic_msi.c: MSI-specific code for APLIC target
  routing, GENMSI injection, and MSI address geometry setup

This split allows direct delivery mode support to be added later
without touching MSI code.

Signed-off-by: Afonso Oliveira <afonso.oliveira707@gmail.com>
2026-03-05 11:15:44 +00:00
Afonso Oliveira
f4a8b502bf drivers: interrupt_controller: riscv: add APLIC Kconfig and build
Add RISCV_APLIC base Kconfig (enabled by DT_HAS_RISCV_APLIC_ENABLED)
and RISCV_APLIC_MSI sub-config that is only available when every APLIC
node in the devicetree has an msi-parent property. This prevents
build failures when APLIC is used in direct delivery mode without an
IMSIC. Update CMakeLists.txt to build intc_riscv_aplic.c for the
base config and intc_riscv_aplic_msi.c for the MSI sub-config.

Signed-off-by: Afonso Oliveira <afonso.oliveira707@gmail.com>
2026-03-05 11:15:44 +00:00
Afonso Oliveira
24587f7c31 include: drivers: interrupt_controller: riscv: add APLIC header
Add public API header for the RISC-V APLIC driver. Provides register
offset and bit-field defines, source configuration helpers, and
function declarations for domain enable, source config/enable, and
MSI routing (guarded by CONFIG_RISCV_APLIC_MSI).

Signed-off-by: Afonso Oliveira <afonso.oliveira707@gmail.com>
2026-03-05 11:15:44 +00:00
Afonso Oliveira
7f01e5ad4d dts: bindings: riscv: add APLIC binding
Add devicetree binding for the RISC-V Advanced Platform-Level
Interrupt Controller (APLIC). Uses a single compatible "riscv,aplic"
with an optional msi-parent property: when present the driver operates
in MSI delivery mode, when absent direct delivery mode is assumed.

Signed-off-by: Afonso Oliveira <afonso.oliveira707@gmail.com>
2026-03-05 11:15:44 +00:00
Vedant Malkar
86ff87ff81 Bluetooth: ISO: remove required_sec_level
Remove the required_sec_level for struct bt_iso_chan and
all related automatic security machinery built around it
(iso_chan_connect_security, bt_iso_security_changed,
BT_ISO_STATE_ENCRYPT_PENDING and the CONFIG_BT_SMP checks
in iso.c)

Applications can just call bt_conn_set_security() on the
ACL connection before bt_iso_chan_connect() instead.

Fixes #104751

Signed-off-by: Vedant Malkar <vedantitsme@gmail.com>
2026-03-05 11:15:32 +00:00
Simone Orru
9d2c7fede0 lib: uuid: Promote UUID to unstable status
The UUID library has been present as an experimental library in
the Zephyr code base since v4.2.
Since no need for major API changes has emerged in the last two
Zephyr version the library can be safely promoted to unstable.

Signed-off-by: Simone Orru <simone.orru@secomind.com>
2026-03-05 11:15:23 +00:00
William Tang
208a7ad1fa dts: arm: nxp: add CAN FD support for MCXW71 and MCXW72
Add CAN FD support for MCXW71 and MCXW72, where FlexCAN has been
supported but CAN FD feature has not been supported yet.

Signed-off-by: William Tang <william.tang@nxp.com>
2026-03-05 11:15:15 +00:00
William Tang
5a5a5ec166 dts: arm: nxp: add CAN FD support for MCXE31x
Add CAN FD support for MCXE31x, where FlexCAN has been supported
but CAN FD feature has not been supported yet.

Signed-off-by: William Tang <william.tang@nxp.com>
2026-03-05 11:15:15 +00:00
William Tang
0d32387e06 dts: arm: nxp: add CAN FD support for MCXA156
Add CAN FD support for MCXA156, where FlexCAN has been supported
but CAN FD feature has not been supported yet.

Signed-off-by: William Tang <william.tang@nxp.com>
2026-03-05 11:15:15 +00:00
Vincent Tardy
611c93944f drivers: ieee802154: stm32wba: add 802.15.4 configuration types support
Add support of configuration types :
- IEEE802154_CONFIG_FRAME_COUNTER_IF_LARGER
- IEEE802154_CONFIG_FRAME_COUNTER
- IEEE802154_CONFIG_MAC_KEYS

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-03-05 11:13:44 +00:00
Waqar Tahir
768095e06b samples: tfm: Add mcxa577 in TF-M samples yaml
Add mcxa577 non secure target for the tfm_ipc
and tfm_regression samples.

Signed-off-by: Waqar Tahir <waqar.tahir@nxp.com>
2026-03-05 10:04:11 +01:00
Waqar Tahir
bf61068f8e modules: tf-m: add MCXA577 in tfm kconfig
Added MCXA577 support in trusted-firmware-m
module Kconfig.

Signed-off-by: Waqar Tahir <waqar.tahir@nxp.com>
2026-03-05 10:04:11 +01:00
Waqar Tahir
a90de5bd66 boards: nxp: mcxaf77: add ns board support
Add initial TF-M support for MCXA577 target
- refactor the device tree configs
- added ns_decofnig and yml files
- added non secure dts for the MCXA577 SOC
- added ns memory slot and configs

Signed-off-by: Waqar Tahir <waqar.tahir@nxp.com>
2026-03-05 10:04:11 +01:00
Waqar Tahir
987f31dc8e soc: mcxa577: disable SystemInit when TFM is ON
Avoid initialization as this is already been taken care from TF-M
secure part

Signed-off-by: Waqar Tahir <waqar.tahir@nxp.com>
2026-03-05 10:04:11 +01:00
Waqar Tahir
d1c6d6e751 manifest: tf-m: support for mcxa577
Updated the TF-M repo for support of mcxa577

Signed-off-by: Waqar Tahir <waqar.tahir@nxp.com>
2026-03-05 10:04:11 +01:00
Zhaoxiang Jin
6c42a86558 tests: drivers: dac: enable NXP HPDAC test
enable NXP HPDAC test.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-05 10:03:40 +01:00
Zhaoxiang Jin
1496e8b308 dts: nxp: mcxn947: enable HPDAC support in DTS
enable HPDAC support in DTS for the NXP MCXN947 SoC.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-05 10:03:40 +01:00
Zhaoxiang Jin
3ea9ca336a drivers: dac: add NXP HPDAC driver
1. Add device tree binding for NXP HPDAC.
2. Add driver for NXP HPDAC.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-05 10:03:40 +01:00
Zhaoxiang Jin
3ac9418ef8 tests: pm: power_domain: Add test for duplicate domain addition and removal
Add a test case to verify that adding a device to a power domain
twice returns -EALREADY on the second attempt, ensuring the duplicate
insertion prevention logic works correctly. Also, verify that removing
a device from a power domain twice returns -ENOENT on the second
attempt, ensuring the duplicate removal prevention logic works correctly.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-05 10:02:30 +01:00
Zhaoxiang Jin
3a650061d7 tests: pm: power_domain: Fix typo in test case name
Fix typo in test case name from "power_doamin" to "power_domain".

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-05 10:02:30 +01:00
Zhaoxiang Jin
de97ddb0e8 pm: device: Refactor power domain add/remove logic
It turns out that power_domain_add_or_remove() when add==true only
looks for DEVICE_HANDLE_NULL empty slots to write to, and never checks
"whether this dev_handle is already in the supported handles or not".
The result is: repeated adds may insert duplicate entries; or when
there are no empty slots, even though it's "already in the domain",
it returns -ENOSPC (which conflicts with the documented semantics).

This commit adds a check: when add==true and rv[i] == dev_handle is
found, it returns -EALREADY and avoids duplicate insertion.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-05 10:02:30 +01:00