Commit graph

136,983 commits

Author SHA1 Message Date
Michal Princ
5edab945e8 samples: drivers: Enabled hwspinlock sample for NXP mimxrt1180_evk board
enabled hwspinlock sample for NXP mimxrt1180_evk board
replace board-specific sysbuild dependency condition by SoC-specific one

Signed-off-by: Michal Princ <michal.princ@nxp.com>
2026-03-17 18:24:15 -04:00
Michal Princ
a856448263 boards: nxp: enable sema42 device node for rt1180 boards.
enabled sema42 device node for mimxrt1180_evk board.

Signed-off-by: Michal Princ <michal.princ@nxp.com>
2026-03-17 18:24:15 -04:00
Chay Guo
1c748580c6 boards: nxp: mimxrt685_evk: enable comparator gpio_loopback test
Added dtb overlay for mimxrt685_evk/cm33.
To run the case connection J1-9 to J30-1 need to be made on EVK board.

Signed-off-by: Chay Guo <changyi.guo@nxp.com>
2026-03-17 18:24:04 -04:00
Chay Guo
6af9a61033 boards: nxp: mimxrt685_evk: Add ACMP support
Added the ACMP instance support with corresponding clock configuration.

Signed-off-by: Chay Guo <changyi.guo@nxp.com>
2026-03-17 18:24:04 -04:00
Chay Guo
36e75b47fd tests: drivers: comparator: Improve gpio_loopback test stability
Add delays after GPIO pin transitions to ensure comparator input
stabilization before checking trigger status. This prevents spurious
failures caused by reading the comparator state before the input
signal has settled.

The additional delays improve test reliability across different
hardware platforms where signal propagation and comparator response
times may vary.

Signed-off-by: Chay Guo <changyi.guo@nxp.com>
2026-03-17 18:24:04 -04:00
Jose Alberto Meza
81b0a18e65 conf: npcx: Enable VW workarounds for NPCX4
Enable VW specific handling
Enable eSPI Flash channel for sample driver test

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
2026-03-17 18:23:50 -04:00
Jose Alberto Meza
2d12658a12 samples: drivers: espi: Add vendor-specific interrupt handling
Add special handling for NPCX4

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
2026-03-17 18:23:50 -04:00
Fin Maaß
5a54939938 docs: migration-guide: mention hawkbit change
mention the removal of the deprecated option
CONFIG_HAWKBIT_DDI_NO_SECURITY.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-17 18:23:41 -04:00
Fin Maaß
f4e724a56a mgmt: hawkbit: remove CONFIG_HAWKBIT_DDI_NO_SECURITY
remove the deprecated option
CONFIG_HAWKBIT_DDI_NO_SECURITY.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-17 18:23:41 -04:00
Sylvio Alves
88b7348acc samples: net: dumb_http_server_mt: remove stale platform exclude
The esp32s2_saola platform exclusion is no longer needed as the
build failure has been resolved.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-17 18:23:32 -04:00
Sylvio Alves
d54faf4d71 tests/samples: espressif: rename esp32c3 board target
esp32c3_devkitm has been used as board reference for ESP32-C3 SoC.
Change to default esp32c3_devkitc to align with internal CI tests.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-17 18:23:32 -04:00
Sylvio Alves
3121a8bf27 tests/samples: espressif: rename esp32s2 board target
esp32s2_saola has been used as board reference for ESP32-S2 SoC.
Change to default esp32s2_devkitc to align with internal CI tests.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-17 18:23:32 -04:00
Jiafei Pan
e7ad32472a drivers: gpio: rgpio: fix access protection for A-Core
For Cortex-A Core, Zephyr runs on non-secure world, the bit in PCNS
or ICNS for corresponding GPIO pin is 1, no need to clear it and
Cortex-A Core could access the corresponding pin's regitsters, so
disable this feature for Cortex-A Core.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-17 18:23:22 -04:00
Jjateen Gundesha
786f040751 soc: nxp: imx943: fix pm_mcore link failure when SCMI helpers absent
SOC_IMX943_PM_MCORE had no dependency on NXP_SCMI_CPU_DOMAIN_HELPERS,
causing pm_mcore.c to be compiled even when the scmi_nxp_cpu_* symbols
were not built, resulting in undefined reference link failures.

Fix by adding depends on NXP_SCMI_CPU_DOMAIN_HELPERS to the Kconfig
entry, ensuring pm_mcore.c is only compiled when the full SCMI CPU
domain stack is present. With this change, enabling CONFIG_PM=y without
the required SCMI stack is caught at Kconfig level rather than failing
at link time.

Fixes #103992

Signed-off-by: Jjateen Gundesha <jjateen97@gmail.com>
2026-03-17 18:23:09 -04:00
Peter Marheine
5fec964b23 soc: ite: remove unnecessary __soc_handle_irq trampoline
Defining `__soc_handle_irq` (part of the code path run on every
interrupt) as a jump to `get_irq` introduces unnecessary latency to
interrupt handling and inflates code size. Since `get_irq` is not
otherwise called, rename it to `__soc_handle_irq` and delete the old
trampoline.

The signature of the function is changed to match the declaration of
`__soc_handle_irq`, which is possible since commit
495a3281d4679c19703810afbac9607d16ac6788 corrected its declaration.

Signed-off-by: Peter Marheine <pmarheine@chromium.org>
2026-03-17 18:23:00 -04:00
Holt Sun
3542b69da4 doc: releases: migration-guide-4.4: document lptmr system-timer chosen.
Document that boards using CONFIG_MCUX_LPTMR_TIMER must now designate
the timer instance via the zephyr,system-timer chosen property.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-03-17 18:22:50 -04:00
Holt Sun
7607e9fa1e dts: soc: arm: nxp: mcxw: designate lptmr0 as system timer via chosen
Set zephyr,system-timer = &lptmr0 in the MCX-W7x and MCX-W70 DTSI
/chosen nodes. lptmr1 remains available for use by the counter driver.
Both drivers can be active simultaneously since they use separate
hardware instances.

Update SYS_CLOCK_HW_CYCLES_PER_SEC in the MCX-W7xx SoC defconfig to
resolve the clock frequency from the chosen node path instead of the
lptmr0 nodelabel.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-03-17 18:22:50 -04:00
Holt Sun
c4efe9821c dts: soc: arm: nxp: imx95: designate lptmr1 as system timer via chosen
Set zephyr,system-timer = &lptmr1 in the i.MX95 DTSI /chosen node.
lptmr2 remains available for use by the counter driver. Both drivers
can be active simultaneously since they use separate hardware instances.

Default MCUX_LPTMR_TIMER to y in the i.MX95 SoC defconfig and resolve
SYS_CLOCK_HW_CYCLES_PER_SEC from the chosen node path instead of a
hard-coded node address.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-03-17 18:22:50 -04:00
Holt Sun
bd3076276c drivers: mcux_lptmr: select timer instance via zephyr,system-timer chosen
Replace the single-instance assumption with a zephyr,system-timer chosen
node approach. The timer driver reads its hardware instance directly from
DT_CHOSEN(zephyr_system_timer) instead of assuming instance 0. The
counter driver skips whichever instance is designated as the system timer,
allowing both drivers to coexist on SoCs with multiple LPTMR instances.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-03-17 18:22:50 -04:00
Holt Sun
944617489a doc: dts: api: document zephyr,system-timer chosen property
Register zephyr,system-timer in the Zephyr-specific chosen nodes
table. This property selects the hardware timer instance used as
the system timer when a SoC has multiple instances of the same
timer peripheral.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-03-17 18:22:50 -04:00
Alessandro Manganaro
69c9392640 soc: st: stm32: stm32wbax: Implementing ram retention in s2ram
Implementing the stm32wba power controller interface to manage
the ram retention in s2ram power state.

According the defined RAM, only the required pages will be retained.
This memory size can be modified by the overlay mechanism matching
the RAM required by the application and highlighted
in the building report.

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2026-03-17 18:22:16 -04:00
Alessandro Manganaro
7446833f21 dts: arm: st: stm32wba: create series-specific power controller
Adding a specific stm32wba power controller defining
an interface to manage the ram retention in s2ram power state.

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2026-03-17 18:22:16 -04:00
Laura Carlesso
0bbc5ee22a soc: infineon: kit_pse84_eval: Enable relocate code config on cm33
Set CONFIG_CODE_DATA_RELOCATION for cm33 core so
that code that needs to be executed from RAM rather
than ext flash gets properly relocated
Additionally, ensure that the SRAM memory allows code
to be executed from it so set the MPU appropriately.
This aligns the strategy with the cm55 core for which all
this is already in place but does it by properly
setting the MPU regions from the start.

Signed-off-by: Laura Carlesso <laura.carlesso@infineon.com>
2026-03-17 18:22:07 -04:00
Kate Wang
04f95f50eb modules: lvgl: Set rendering buffer alignment for MCUX_ELCDIF
The MCUX ELCDIF display driver requires 8-byte alignment for the
display buffer address. Set the LVGL rendering buffer alignment to
8 bytes when DISPLAY_MCUX_ELCDIF is enabled.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-03-17 18:21:56 -04:00
Kate Wang
aba860b288 samples: drivers: display: Set buffer alignment for MCUX_ELCDIF
The MCUX ELCDIF display driver requires 8-byte alignment for the
display buffer address.
Add explicit 8-byte alignment requirement for DISPLAY_MCUX_ELCDIF
to ensure correct operation on platforms using this display controller.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-03-17 18:21:56 -04:00
Tony Han
792386f953 samples: drivers: rtc: allow compile-testing on sama7 boards
Add sama7d65_curiosity and sama7g54_ek to sample.yaml file.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-03-17 18:21:49 -04:00
Tony Han
e61009d919 boards: microchip: sama7g54_ek: add aliases rtc = &rtc; to dts file
Add aliases `rtc = &rtc;` to sama7g54_ek.dts file.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-03-17 18:21:49 -04:00
Emil Gydesen
a54f3a405b MAINTAINERS: Remove babrsn from Bluetooth Audio
babrsn is no longer involved with Zephyr.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-17 18:21:38 -04:00
Alberto Escolar Piedras
d74c1ab7c8 net: Stop including net_log.h from net_core.h
So we do not leak these macros and its includes into users of net_core.h

Note this is a separate commit in case it is necessary to revert it.
But note that users should instead not use these NET_ logging helper
macros but just use the LOG_ macros directly.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-17 18:21:28 -04:00
Alberto Escolar Piedras
aadb23a188 net: Include correct header in all users of net logging macros
The net logging helper macros are now in a separate header.
Let's have all net users to include this new header.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-17 18:21:28 -04:00
Alberto Escolar Piedras
086be2b85b net: Split private net logging helper macros in own header
Split these private macros into their own header. That way
a) we avoid including log/logging.h from a common header which causes
   some trouble
b) we are a bit clearer about them being private

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-17 18:21:28 -04:00
Alberto Escolar Piedras
8e2db2ef96 net: Do not use private net logging helper macros in public headers
Otherwise the users of these headers need to pull the networking header
which defines them.
And include the logging header instead of having it included indirectly
by another header.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-17 18:21:28 -04:00
Alberto Escolar Piedras
f9002f02fc shell: backends: shell_telnet: Remove uses of net logging helper macros
These macros are private to the net subsystem, let's not use them in
other subsystems.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-17 18:21:28 -04:00
Alberto Escolar Piedras
aff1068916 modules: openthread: Remove uses of net logging helper macros
These macros are private to the net subsystem, let's not use them in
modules.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-17 18:21:28 -04:00
Alberto Escolar Piedras
b537eccd2c samples: ocpp: Include logging/log.h header
Instead of relaying on it being included by another header

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-17 18:21:28 -04:00
Alberto Escolar Piedras
223516e2d3 samples net: Remove uses of net logging helper macros
These macros are private to the net subsystem, let's not use them in
samples so users do not try to use them.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-17 18:21:28 -04:00
Alberto Escolar Piedras
0a1c9eec56 drivers: ethernet: tap: Remove uses of net logging helper macros
These macros are private to the net subsystem, let's not use them in
drivers

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-17 18:21:28 -04:00
Alberto Escolar Piedras
078f47d9c8 drivers: net: ppp: Remove uses of net logging helper macros
These macros are private to the net subsystem, let's not use them in
drivers

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-17 18:21:28 -04:00
Alberto Escolar Piedras
5926c43353 drivers: ieee802154: Remove uses of net logging helper macros
These macros are private to the net subsystem, let's not use them in
drivers.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-17 18:21:28 -04:00
Chaitanya Tata
277dad84c9 net: lib: shell: Add static ARP support
Add shell command to add a static ARP entry, useful in testing.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Assisted-by: Cursor:Auto clang-format
2026-03-17 18:21:10 -04:00
Aditya Bhutada
8d57889537 drivers: espi: espi_taf_npcx: Add retry mechanism for RPMC OP2 command
Add a retry mechanism for the RPMC OP2 command in the eSPI TAF NPCX
driver. If the OP2 command returns a status indicating that the device
is busy, the driver will retry the command up to 3 times.

Signed-off-by: Aditya Bhutada <aditya.bhutada@intel.com>
2026-03-17 18:21:01 -04:00
Muhammad Waleed Badar
17641a8523 drivers: input: chsc6x: use common touchscreen helper
Use the common touchscreen configuration and replace manual ABS
reporting with input_touchscreen_report_pos() to align with the
Zephyr input subsystem helpers.

Add the touchscreen-common devicetree properties screen-width and
screen-height to in-tree nodes using this controller.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-03-17 18:20:51 -04:00
Chun-Chieh Li
b5077ea895 drivers: usb: udc: numaker: fix zero data transfer in HSUSBD DMA
HSUSBD DMA doesn't support zero data transfer and must be skipped.

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2026-03-17 18:20:42 -04:00
David J. Leach, Jr.
0f8f891b9e drivers: audio: max98091: log I2C communication errors
The internal I2C helper functions max98091_read_reg,
max98091_write_reg, and max98091_update_reg were ignoring the
return values of the underlying I2C driver calls. In the event
of a bus error or NACK, this led to silent failures where
hardware configuration would appear successful despite failure.

This commit evaluates and logs the return codes for all three
helpers to improve driver serviceability and resolve static
analysis warnings.

Fixes #92594

Signed-off-by: David J. Leach, Jr. <tasmar@gmail.com>
2026-03-17 18:20:13 -04:00
Bartosz Miller
3376f8c371 samples: Fix nrf5340dk overlay in nrfx_prs sample
Due to loopback update the existing overlay is no longer valid.
P1.08 and P1.09 are now connected.

Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
2026-03-17 18:20:03 -04:00
Jordan Yates
e9e06e4224 scripts: completion: bash: completion for west rtt
Add completion handling for `west rtt`, which is the same as the other
runner based commands.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2026-03-17 18:19:47 -04:00
Hake Huang
e7b61d14f7 drivers: dma: raise TCD queue default for MCUX SAI
Set DMA_TCD_QUEUE_SIZE default to 4 when I2S_MCUX_SAI is enabled.
The MCUX SAI driver preloads 3 RX DMA blocks and requires the TCD
queue size to be greater than 3 to satisfy its BUILD_ASSERT and avoid
build failures in MCUX SAI I2S configurations.

Fixes #103997

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2026-03-17 18:19:38 -04:00
Tim Pambor
7c7624743d ethernet: dwmac: Configureable RX refill thread priority
Add a Kconfig option to configure the RX refill thread priority.
The default is set to 0, which is the same as the previous hardcoded
value. This allows users to set a different priority if needed.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-17 18:19:30 -04:00
Tim Pambor
0466dfaabb ethernet: dwmac: Fix RX refill thread priority
Thread priority was passed to options argument of k_thread_create,
instead of the priority argument.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-17 18:19:30 -04:00
Aksel Skauge Mellbye
4aadb4c2d7 boards: silabs: xg28_rb4401c: Configure RF path switch
This board has an RF path switch on the 2.4 GHz RF path, shorting
the antenna to ground when not in use, in order to avoid spurious
harmonics for the sub-GHz radio. When not configured properly,
this leads to Bluetooth RSSI being lowered by more than 20 dBm.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-03-17 18:19:13 -04:00