Commit graph

136,983 commits

Author SHA1 Message Date
Tahsin Mutlugun
10460039e6 dts: arm: adi: max32657: Enable device runtime PM for WUT
Enables device runtime power management for Wake-Up Timers.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2026-03-19 17:03:30 +01:00
Tahsin Mutlugun
8f314d100f drivers: counter: max32_wut: Add runtime power management support
Adds runtime device power management support to MAX32 Wake-up Timer
driver. The suspend routine is intentionally left unimplemented to
allow the Wake-up Timer to continue counting while the device is in
sleep mode.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2026-03-19 17:03:30 +01:00
Nils Schlegelmilch
78ba018b85 scripts: west_commands: zspdx: add zephyr to modules-deps
Add Zephyr itself, with its CPE and PURL, to the modules-deps.spdx file, to
have one accurate SBoM for vulnerability scanning. Also add DEPENDENCY_OF
relationships to be able to build up a dependency-graph with the
modules-deps.spdx SBoM

Signed-off-by: Nils Schlegelmilch <n.schlegelmilch@vega.com>
Co-authored-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-19 17:03:15 +01:00
Etienne Carriere
816ae1bb00 drivers: clock_control: stm32: fix assertion on U3 MSIx PLL mode config
MSIS and MSIK requires either LSE at 32.768kHz or HSE at 16MHz or 32MHz
to enable their PLL mode for auto-calibration.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-19 17:03:05 +01:00
Etienne Carriere
dc9d368154 drivers: clock_control: stm32: fix assertion on U5 MSIx PLL mode config
Correct assertion on MSIS/MSIK PLL mode configuration regarding
dependency on LSE clock rate and MSIS/MSIK source clock.

While at it, replace the runtime assertion with a build time assertion
and move all the MSIS/MSIK configuration assertion outside
set_up_fixed_clock_sources() local function.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-19 17:03:05 +01:00
Etienne Carriere
b39d5e3989 drivers: clock_control: stm32: don't define STM32_MSI_ENABLED twice
Fix stm32_clock_control.h to not define twice STM32_MSI_ENABLED
which may hurt some toochains even if defined to the same value.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-19 17:03:05 +01:00
Etienne Carriere
5ad6326074 drivers: clock_control: stm32: STM32_MSI_PLL_MODE may not be defined
Fix stm32_clock_control.h that could test STM32_MSI_PLL_MODE value
with the macro possibly not being defined.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-19 17:03:05 +01:00
Etienne Carriere
cac034a907 drivers: clock_control: stm32: fix LSE|MSIS|MSIK enabled macros
Change STM32_LSE_ENABLED, STM32_MSIS_ENABLED and STM32_MSIK_ENABLED
macros to not be defined when the related clock is not enable in Zephyr
scope. This is their expected state where used in the implementation
(e.g., relying on #ifdef) but at a few places regarding STM32_LSE_ENABLED
that are also fixed by this change. While at it, replace two runtime
assertions with build time assertions.

This change makes these macros more consistent with the other
main clock enable state macros (STM32_LSI_ENABLED, STM32_HSI_ENABLED,
STM32_HSE_ENABLED, etc...).

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-19 17:03:05 +01:00
Sebastian Głąb
398aa117e4 Revert "tests: drivers: watchdog: Define watchdog0 node in wdt_basic_api test"
This reverts commit c691c22cdc.

Initially test required alias `watchdog0`.

At some point, testcase.yaml was extended with filter checking
if `dt_nodelabel_enabled("watchdog0")` is True.
This resulted in skipping the test on many platforms because
there was an alias, not a label.

Commit c691c22cdc adds
node label `watchdog0` to overlays for Nordic targets.

https://github.com/zephyrproject-rtos/zephyr/pull/105209
Fixed the filter by changing `dt_nodelabel_enabled("watchdog0")`
to `dt_alias_exists("watchdog0")`.

Node labels are no longer needed. Revert commit that adds them.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2026-03-19 17:02:53 +01:00
Alberto Escolar Piedras
eeb930808e tests: bsim: tester: Increase executation timeout
This test has been seen timing out in CI, on what are most likely just
slower or more loaded runners. Let's just increase the timeout.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-19 17:02:41 +01:00
Aksel Skauge Mellbye
67bb987a87 modules: hal_silabs: Select radio sequencer image at compile time
Select the correct radio sequencer image on xG24 and xG26 at
compile time instead of deferring the selection to runtime.
This saves 16 kB of the binary size.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-03-19 17:02:32 +01:00
Aksel Skauge Mellbye
a5c49f9c65 boards: silabs: explorer_kits: Add xg28_ek2705a
Add xG28-EK2705A Explorer Kit for the xG28 dual-band SoC.
The board has 2 buttons and LEDs in addition to Qwiic and
mikroBUS connectors and an on-board debugger.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-03-19 17:02:21 +01:00
Aksel Skauge Mellbye
f7b1ac7a53 include: zephyr: dt-bindings: pinctrl: silabs: Add GPIO routes
Add missing GPIO routes for xg28. Reformat the file to align with
clang-format rules.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-03-19 17:02:21 +01:00
Aksel Skauge Mellbye
17845e8ba7 dts: arm: silabs: Add xg28 SoCs
Add support for remaining EFR32ZG28, FG28 and PG28 SoCs

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-03-19 17:02:21 +01:00
Pieter De Gendt
9a75818c6d net: lib: sntp: Make sockaddr const for sntp_ctx
Both sntp_init and sntp_init_async shouldn't modify the socket address
passed.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-19 17:02:11 +01:00
Arthur Gay
099d0e0590 shell: websocket: Fix client disconnection handling
Don't rely solely on disconnect events to determine writability, since
the socket can drop at any time. A send() to a closed socket fails and
the resulting error reaches the shell thread, where a failing __ASSERT
causes a crash.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
2026-03-19 17:02:00 +01:00
Arthur Gay
164cf2c8e8 shell: websocket: Fix race condition
Guard the websocket shell backend's internal state with a mutex.
The disconnect callback executes on a different thread than the shell
and can interleave with sends, leading to writes on an invalid fd or
a disconnected socket.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
2026-03-19 17:02:00 +01:00
Bjarki Arge Andreasen
d377e4ac62 soc: nordic: nrf71: Update MPC to allow unpriv access for all cores.
The MPC is currently set up to allow R,W,X,Priv access to all RAM
and MRAM for all cores. This is not sufficient if CONFIG_USERSPACE
is enabled, in which case the application core will be accessing
memory unprivileged, using the MPU to manage memory access.

Update MPC configuration to allow R,W,X,Unpriv access to all RAM and
MRAM for all cores. The R,W,X MPC configuration has to be applied
regardless of CONFIG_USERSPACE, so no need to conditionally include
the MPU configuration based in CONFIG_USERSPACE.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
               Travis Lam <travis.lam@nordicsemi.no>
2026-03-19 17:01:50 +01:00
Aksel Skauge Mellbye
b7d4949013 drivers: counter: silabs: Fix timer counter driver
Fix two bugs in the timer counter driver that prevent tests
from passing.

-EBUSY should be returned from set_top_value() if there are
active alarms, not if the counter has been started.

The ISR should only process interrupts that are currently enabled,
not all pending flags.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-03-19 17:01:37 +01:00
Soumya Tripathy
f4293ce486 soc: ti: k3: am6x: enable TI K3 UART config for A53 cores
Enable UART_NS16550_TI_K3 driver by default for AM6X A53 cores.
This ensures the TI K3 specific UART variant is used on A53 cores,
matching the configuration already enabled for M4 and R5 cores.

Signed-off-by: Soumya Tripathy <s-tripathy@ti.com>
2026-03-19 17:01:26 +01:00
Fin Maaß
1767cd5142 net: if: use net_if_offload_set()
use the new use net_if_offload_set()
function.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-19 17:01:13 +01:00
Fin Maaß
5d5fb334bc net: if: add net_if_offload_set()
add a function to set the IP offload plugin,
similar to the already existing net_if_socket_offload_set().

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-19 17:01:13 +01:00
Fin Maaß
4148fcb78d drivers: ethernet: lan9250: only start thread in iface init
start rx and link status thread in iface init,
as only then the iface pointer in the data
struct is set.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-19 17:01:01 +01:00
Fin Maaß
cd93ce5c3a drivers: ethernet: enc424j600: only start thread in iface init
start rx and link status thread in iface init,
as only then the iface pointer in the data
struct is set.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-19 17:01:01 +01:00
Fin Maaß
5c1f567a57 drivers: ethernet: enc28j60: only start thread in iface init
start rx and link status thread in iface init,
as only then the iface pointer in the data
struct is set.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-19 17:01:01 +01:00
Fin Maaß
60577493c6 drivers: ethernet: w6100: only start thread in iface init
start rx and link status thread in iface init,
as only then the iface pointer in the data
struct is set.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-19 17:01:01 +01:00
Pascal Dornfeld
cb150a63ef samples: Update preprocessor directive for DHCPV4 start
If statement always false because of wrong variable name.

Signed-off-by: Pascal Dornfeld <pascal.dornfeld@posteo.net>
2026-03-19 17:00:37 +01:00
Vladislav Kulikov
d7e892ea93 lib: smf: Fix Kconfig style and conventions
- Change `config SMF` to `menuconfig SMF` since it serves as a parent
  for child config options under `if SMF`.
- Update help text descriptions to follow Zephyr wording conventions,
  replacing descriptions with clearer explanations.

Signed-off-by: Vladislav Kulikov <vlad_kulikov_c@pm.me>
2026-03-19 17:00:25 +01:00
Filip Stojanovic
d6cd51a41c boards: st: nucleo_u3c5zi_q: Add board support
This adds support for Nucleo STM32U3C5ZI Q board.

Signed-off-by: Filip Stojanovic <filipembedded@gmail.com>
2026-03-19 17:00:13 +01:00
Filip Stojanovic
3a5188803a soc: st: stm32u3: Add STM32U3C5 SoC entry
Add STM32U3C5 SoC entry to STM32U3 series.

Signed-off-by: Filip Stojanovic <filipembedded@gmail.com>
2026-03-19 17:00:13 +01:00
Tomi Fontanilles
c642408032 modules: mbedtls: ciphersuites: enable PSA_WANT_ALG_HMAC
Enable `PSA_WANT_ALG_HMAC` in ciphersuites that enable
`PSA_WANT_ALG_TLS12_PRF`.

The former is a dependency of the latter which Mbed TLS enables
automatically in its configuration files but not all PSA Crypto
implementations do that.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-03-19 16:59:44 +01:00
Miguel Gazquez
3d797110e6 drivers: serial: uart_esp32: use dev instead of data->uart_dev
Pass the function argument `dev` to the async callback instead of
`data->uart_dev`. The pointers are identical, but `dev` is already
available in this context, so it's clearer to use it directly.

Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
2026-03-19 16:59:36 +01:00
Khai Cao
a2ba59830c board: renesas: Add ethernet support for Renesas ek_ra8t2
Add Ethernet support including:
- Board initialization code with PHY reset handling
- Device tree definitions for ethernet
- PHY link state tracking fixes in ethernet driver

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-03-19 16:59:26 +01:00
Khai Cao
5a0a28d190 samples: subsys: ipc: openamp: Add support for ek_ra8t2
Add support sample app openamp for Renesas ek_ra8t2

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-03-19 16:59:26 +01:00
Khai Cao
fc876a03e4 soc: renesas: ra: Add Kconfig.sysbuild for second-core launcher
Add Kconfig.sysbuild for ra8t2 second-core launcher

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-03-19 16:59:26 +01:00
Khai Cao
cf6b05b8a8 tests: drivers: mbox: Add support mbox_data for ek_ra8t2
Add support mbox_data for ek_ra8t2

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-03-19 16:59:26 +01:00
Khai Cao
5abbe5c993 tests: drivers: comparator: Add support gpio_loopback on ek_ra8t2
Add support for test app "gpio_loopback" on Renesas ek_ra8t2

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-03-19 16:59:26 +01:00
Khai Cao
d6c37bb404 tests: drivers: counter: Add support counter test on ek_ra8t2
Add support for test app on Renesas ek_ra8t2:
- tests/drivers/counter/counter_basic_api

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-03-19 16:59:26 +01:00
Khai Cao
b99b796cc5 samples: drivers: counter: Add support for alarm on ek_ra8t2
Add support for sample app `alarm` on Renesas ek_ra8t2

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-03-19 16:59:26 +01:00
Khai Cao
3811994610 tests: drivers: pwm: Add support for pwm tests on ek_ra8t2
Add support for test apps on Renesas ek_ra8t2:
- tests/drivers/pwm_api
- tests/drivers/pwm_loopback

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-03-19 16:59:26 +01:00
Khai Cao
280dc53d22 tests: drivers: spi: Add support for spi_loopback on ek_ra8t2
Add support for test app "spi_loopback" on Renesas ek_ra8t2

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-03-19 16:59:26 +01:00
Khai Cao
54a75afcda tests: drivers: uart: Add support for uart_async_api on ek_ra8t2
Add support for test app "uart_async_api" on Renesas ek_ra8t2

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-03-19 16:59:26 +01:00
Khai Cao
768ee3a5fe tests: drivers: i2c: Add support for i2c_api on ek_ra8t2
Add support for test app "i2c_api" on Renesas ek_ra8t2

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-03-19 16:59:26 +01:00
Khai Cao
f454731cb5 boards: renesas: Add support Renesas ek_ra8t2 board
Add support Renesas ek_ra8t2 board

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-03-19 16:59:26 +01:00
Khai Cao
5a8a6d960e dts: arm: renesas: ra: Add support for Renesas r7ka8t2lflcac_cm33
Add support for Renesas r7ka8t2lflcac_cm33

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-03-19 16:59:26 +01:00
Ofir Shemesh
f29c65cd92 dts: nxp: add missing eDMA error IRQ to edma0
The edma0 interrupts list had 16 entries (IRQs 0-15) but
was missing DMA_ERROR_IRQn (IRQ 16). The eDMA driver treats
the last entry as the error IRQ, so IRQ 15 (DMA15_DMA31
transfer-complete) was misused as the error handler. This
broke DMA channels 15 and 31 entirely.
Add <16 0> as the 17th entry.

Signed-off-by: Ofir Shemesh <ofirshemesh777@gmail.com>
2026-03-19 16:59:17 +01:00
Mathieu Choplain
7713df4c5e dts: arm: st: stm32: add CRC peripheral
Add the CRC peripheral to DTSI of STM32 SoCs.

(Note: CRC is not added to SoC series STM32F1, STM32F2, STM32F4, STM32L1
and some STM32F0 SoCs because their CRC peripheral is not supported by
the driver due to HW limitations - this matches the binding's description)

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-19 16:59:07 +01:00
Mathieu Choplain
454926dff2 drivers: crc: stm32: add threshold for DMA copies
Create option CONFIG_CRC_STM32_DMA_THRESHOLD used to select between CPU and
DMA copy based on buffer size. Depending on the application and hardware,
it can be faster to perform a CPU copy for small buffer sizes than request
a DMA transfer: this options allows limiting DMA usage only to buffers of a
large enough size.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-19 16:59:07 +01:00
Mathieu Choplain
eb9661dc72 drivers: crc: stm32: add STM32 CRC driver
Add a new driver for the STM32 CRC. The driver is instance-aware and
supports data transfers using DMA.

Co-authored-by: Francois Ramu <francois.ramu@st.com>
Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-19 16:59:07 +01:00
Mathieu Choplain
1d770331c3 dts: bindings: crc: add STM32 CRC binding
Add a binding for the STM32 CRC calculation unit. Note that this binding
only covers the programmable variant of the CRC peripheral: the older CRCv1
found in series such as STM32F1/F2/F4/L1 and some STM32F0 products is not
supported due to HW limitations.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-03-19 16:59:07 +01:00