Compare commits

...

2171 Commits

Author SHA1 Message Date
Jakub Rzeszutko
a04d8957c2 shell: fix race condition between prompt print and RX buffer flush
Move z_shell_backend_rx_buffer_flush() before state_set() in
shell_start() to prevent a race condition where incoming shell
commands could be lost.

Previously, the sequence was:
1. state_set() - prints the prompt
2. z_shell_backend_rx_buffer_flush() - flushes RX buffer

If the shell thread was preempted after printing the prompt,
the host could see the prompt and send commands. When the
thread resumed, z_shell_backend_rx_buffer_flush() would discard
those commands.

By flushing the RX buffer before printing the prompt, any
commands received after the prompt is visible will not be
affected by the flush operation.

Fixes #99674

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@verkada.com>
2026-01-23 09:21:43 -06:00
Cristian Bulacu
f87fff19a7 tests: net: remove OT reference device flag for OT tests
This commit removes OPENTHREAD_REFERENCE_DEVICE flag for OpenThread tests.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-01-23 09:21:10 -06:00
Cristian Bulacu
089bb1f000 samples: net: openthread: Remove OT reference device flag for NXP RW612
This commit removes the OPENTHREAD_REFERENCE_DEVICE flag for NXP RW612
samples, as these are not meant to be included in a test setup.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-01-23 09:21:10 -06:00
Andrej Butok
6404f37814 boards: nxp: Fix NXP MCU board names in yaml
- Fixes an inconsistency in the board list
  of the MCUx-VSCode extension. No functional change.
- Adjusts names in yaml files to follow the currently used approach
  "NXP <board_name> [(cpu)] [(type)]".

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2026-01-23 09:20:47 -06:00
Benjamin Cabé
1feabd2552 shell: fix potential buffer overflow in shell_help_is_structured()
The function was casting a char* help pointer to struct shell_cmd_help*
and reading its 4-byte magic field. When the help string was shorter
than 4 bytes, this caused a read past the end of the buffer.

The fix replaces the struct cast with a byte-by-byte comparison of the
magic number.

Fixes zephyrproject-rtos/zephyr#102598

Co-authored-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-23 09:20:01 -06:00
Svitlana Drozd
cdfd692b76 boards: raspberrypi: rpi_5: correct DTB file name in doc
The DTB file was previously listed as bcm2712-rpi-5.dtb, which was
inaccurate, as the hyperlink referenced the `bcm2712-rpi-5-b.dtb`
file. To ensure documentation precision and avoid potential
confusion, update the file name to the correct
`bcm2712-rpi-5-b.dtb`.

Signed-off-by: Svitlana Drozd <svitlana_drozd@epam.com>
2026-01-23 09:19:25 -06:00
Svitlana Drozd
b4bbba70b1 boards: raspberrypi: rpi_5: remove unnecessary arm_64bit option
The ARM cores in BCM2712 are incapable of running the kernel in 32-bit
mode. The option `arm_64bit=1` is unnecessary and can be confusing, as
Raspberry Pi 5 runs in 64-bit mode by default.

Removed the `arm_64bit=1` configuration from documentation for Raspberry
Pi 5 (BCM2712).

Signed-off-by: Svitlana Drozd <svitlana_drozd@epam.com>
2026-01-23 09:19:25 -06:00
Cesar Santos
ec5c3420b3 samples: net: secure_mqtt_sensor_actuator: add missing POSIX libraries
In order to compile the demo application for a secure MQTT connection,
several networking API functions are used, which is properly defined by
some of the POSIX libraries already integrated onto Zephyr project. By
adding the missing libraries, compilation to the reference board
adi_eval_adin1110ebz passes.

As a minor change, reordered the sequence of included libraries to be
in alphabetical order.

Fixes #102372.

Signed-off-by: Cesar Santos <dev.cmsantos@gmail.com>
2026-01-23 09:19:01 -06:00
Wolfgang Betz
b84bdbcee3 dts: arm: st: n6: Use dedicated dts node for NPU cache (aka CACHEAXI)
The new node is called "npu_cache".

This way a possibility is offered to choose - thru an overlay - if to
enable the NPU cache or not.
This new node has a dependency with node "npu", so the NPU cache's
status is taken into account only in case node "npu" has status "okay".

Default status value of "npu_cache" is "okay"
(i.e. enable the NPU cache).

Signed-off-by: Wolfgang Betz <wolfgang.betz@st.com>
2026-01-23 09:18:34 -06:00
Alberto Escolar Piedras
92df06bf1d boards: native: nrf_bsim: Add simple model of LDREX/STREX/CLREX
Add a model of LDREX/STREX/CLREX, that although simple may be correct
enough to cover the needs of SW using these instructions.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-01-23 09:17:37 -06:00
Marcelo Roberto Jimenez
1ab8978e66 drivers: flash: flash_shell.c: Fix flash read help text
Actually, the parameter is the number of bytes to read, not the number
of double words.

Signed-off-by: Marcelo Roberto Jimenez <marcelo.jimenez@gmail.com>
2026-01-23 09:17:05 -06:00
Marcelo Roberto Jimenez
391ca7c7de drivers: flash: flash_shell.c: Fix parsing of "flash read"
The parsing of the number of bytes to read in the read command was being
done in hexadecimal, causing unexpected behavior.

Now the number can be interpreted in decimal or hexadecimal if prefixed
with 0x.

Signed-off-by: Marcelo Roberto Jimenez <marcelo.jimenez@gmail.com>
2026-01-23 09:17:05 -06:00
Marcelo Roberto Jimenez
ec8472c362 tests: subsys: shell: Clang-format on shell_flash_test.c
This patch runs clang-format on the shell_flash_test.c file
before the real patch gets applied, otherwise the changes
would be hard to read.

Signed-off-by: Marcelo Roberto Jimenez <marcelo.jimenez@gmail.com>
2026-01-23 09:17:05 -06:00
Marcelo Roberto Jimenez
9535aebafe drivers: flash: flash_shell.c: Run clang-format before patch
This patch runs clang-format on the flash_shell.c file before the
real patch gets applied, otherwise the changes would be hard to
read.

Signed-off-by: Marcelo Roberto Jimenez <marcelo.jimenez@gmail.com>
2026-01-23 09:17:05 -06:00
Gaetan Perrot
08f8223d55 boards: phytec: phyboard_atlas: xip: fix typos in comments
Fix spelling and wording issues in comments for phytec
phyboard_atlas xip FlexSPI NOR configuration headers.

No functional change.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-23 13:57:14 +01:00
Mathieu Choplain
7a8bc1cdce soc: st: stm32: cleanup linker script of STM32MP2 series
Remove inclusion of files already included by the arch linker script from
the SoC-specific linker script.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-23 13:56:53 +01:00
Mathieu Choplain
c64c13e525 soc: st: stm32: cleanup linker scripts of STM32MP1 series
STM32MP1 series used a custom SOC_LINKER_SCRIPT, but all it did was
include the main Cortex-M script, unnecessarily re-include headers already
included by the main script(!) and add a custom section.

Get rid of the custom SOC_LINKER_SCRIPT but keep the custom section by
moving it to a linker script snippet file, added to the build system using
CMake directives.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-23 13:56:53 +01:00
Fabrice DJIATSA
d1e8918332 boards: shields: x_nucleo_dfx01m2: fix invalid dt enums in overlays
Fix the panel pixel format enum in the X-NUCLEO-GFX01M2 shield overlay
by using PANEL_PIXEL_FORMAT_RGB_565 as defined in panel dt-bindings.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-23 13:56:08 +01:00
Fabrice DJIATSA
de04861e29 samples: sensor: stream_drdy: fix invalid dt enums in overlays
Fix Devicetree compilation errors caused by incorrect enum macro
names used in DTS overlay files.

Replace LSM6DSV16X_DT_ODR_AT_120Hz with the correct Devicetree enum
LSM6DSVXXX_DT_ODR_AT_120Hz in the stream_drdy sample boards overlay.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-23 13:56:08 +01:00
Johan Hedberg
f64a999147 drivers: bluetooth: silabs_efr32: Fix default for max PAwR advertisers
This option already depends on BT_PER_ADV_RSP being enabled, so we should
have a more reasonable default for it. This way e.g. the existing PAwR
sample app should work without additional changes.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2026-01-23 13:55:25 +01:00
Pieter De Gendt
8402a4f8e5 drivers: gpio: mcux: Fix updating ICR registers without IRQ lock
During configuration the base->ICR1 or base->ICR2 register is written
without an IRQ lock. This can result in unwanted side-effects if the status
bit isn't cleared, or the edge select still needs to be updated.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-23 13:54:42 +01:00
Gaetan Perrot
7af0a2fcdf sensor: adi: adxl372: stream: check return value of adxl372_set_op_mode
Check the return value of adxl372_set_op_mode() in
adxl372_submit_stream() and abort on error.

Fix CID: 516239

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-23 13:54:21 +01:00
Gaetan Perrot
ed545d2302 drivers: ethernet: lan9250: Make interrupt mask constant unsigned
Add a 'U' suffix to the interrupt status mask passed to
lan9250_write_sys_reg() to make the constant explicitly unsigned.

This avoids signed/unsigned ambiguity and addresses a SonarQube
static analysis warning.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-23 13:53:59 +01:00
Gaetan Perrot
f18da88e3f drivers: ethernet: lan9250: fix uninitialized variable warning
The lan9250_thread() function declares a local variable that may be
used without being initialized, triggering a -Wmaybe-uninitialized
warning when building with -Werror.

Initialize the variable at declaration to ensure deterministic
behavior and avoid build failures.

No functional change intended.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-23 13:53:59 +01:00
Gaetan Perrot
2719679c26 drivers: ethernet: lan9250: fix error handling
Several LAN9250 helper functions ignored return values from register
access and wait routines, potentially hiding SPI or timeout
failures.

Propagate error codes from read/write/wait helpers throughout the
driver so failures are detected and handled by callers.

This improves robustness and makes error conditions visible during
initialization, PHY access, RX/TX paths, and MAC configuration.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-23 13:53:59 +01:00
Robert Lubos
10b9520cac net: lib: http_server: Prefer explicitly defined resources over FS ones
Do direct resource path comparison on all registered resources before
falling back to fnmatch() so that exact path matches get always
preference.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-23 13:52:47 +01:00
Robert Lubos
59b653bb4f tests: net: lib: http_server: Add test case for overlapping resources
Add a test case verifying that if there's a static resource defined
which overlaps a FS resource pointing to a directory, it takes
preference on exact URI match.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-23 13:52:47 +01:00
Hugues Fruchet
b0fd7d9665 samples: video: tcpserversink: release camera frame as soon as possible
Release camera frame immediately after video encoding.
Doing so, the frame could be reused by camera for next capture
without waiting for the end of network transmission.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2026-01-23 13:52:31 +01:00
Hugues Fruchet
9ebfb206af samples: video: tcpserversink: fix multiple connect/disconnect
Fix multiple connect/disconnect regression introduced in
6a7aefaa samples: video: tcpserversink: check video_enqueue/dequeue
return values.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2026-01-23 13:52:31 +01:00
Hugues Fruchet
0c0bb202c7 samples: video: tcpserversink: fix missing input buffer encoder dequeue
Fix missing input buffer encoder dequeue, this was corrupting camera
device fifo because of same buffer queued into two different fifo.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2026-01-23 13:52:31 +01:00
Hugues Fruchet
70f57d119a drivers: video: stm32_dcmipp: give back buffers at stream disable
Give back buffers at stream disable.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2026-01-23 13:52:31 +01:00
Hugues Fruchet
cc8475dd52 drivers: video: stm32_dcmipp: set multilines to 128 to limit interrupts
Set multiline on pixel pipes to 128 lines to limit slave IP hardware
handshakes and so reduce the number of interrupts received by slave IP.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2026-01-23 13:52:31 +01:00
Hugues Fruchet
8c8a021a5f drivers: video: stm32_venc: log interrupts
Log number of interrupts, including fuse interrupts at each
key frame and at the end of encoding.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2026-01-23 13:52:31 +01:00
Hugues Fruchet
f396ac9efc drivers: video: stm32_venc: fix completion on interrupt
Fix wait of hardware encoding completion by using
interrupt signaling instead of polling on irq status.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2026-01-23 13:52:31 +01:00
Hugues Fruchet
e84f195780 drivers: video: stm32_venc: fix delta frames generation
Only key frames were generated because of resync flag
always true, fix this.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2026-01-23 13:52:31 +01:00
Hugues Fruchet
a616f7b107 drivers: video: stm32_venc: fix release sequence
Fix missing H264 library release and total memory count reset.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2026-01-23 13:52:31 +01:00
Andy Lin
d807e39a2c arch: riscv: Add the support for Zbkb ISA extension
Introduce the missing flag to compile code with Zbkb extension,
which has already been supported by the GCC 12 in current SDK.

Signed-off-by: Andy Lin <andylinpersonal@gmail.com>
2026-01-23 13:51:55 +01:00
Łukasz Kędziora
261dfbc765 drivers: spi_dw: Add clock control
This adds optional clock control support to the spi_dw driver. The
support currently assumes that the clock control binding uses clkid for
the clock cell name.

Signed-off-by: Łukasz Kędziora <lkedziora@antmicro.com>
Signed-off-by: Piotr Zierhoffer <pzierhoffer@antmicro.com>
Signed-off-by: Andreas Weissel <andreas.weissel@synaptics.com>
2026-01-23 13:50:34 +01:00
Marcelo Roberto Jimenez
e73e2f148c drivers: ethernet: xmc4xxx: BUG Fix: RX code dropping packets
The ethernet DMA driver code was causing the silent dropping of packets
with length 125, 126 and 127. The root cause of the problem is that the
DMA engine performs an extra four bytes transfer corresponding to the
Receive Status Word. For those particular packet lengths, the previous
code incorrectly calculated the last fragment size.

The new code avoids that pitfall by decrementing the total frame size as
the fragments are being collected, while avoiding the creation of an
extra fragment on the extracted network packet.

Signed-off-by: Marcelo Roberto Jimenez <marcelo.jimenez@gmail.com>
2026-01-23 13:49:34 +01:00
Johann Fischer
506a59396f usb: device_next: fix compilation if the user disables HWINFO
Make USBD_HWINFO_DEVID_LENGTH prompt optional so that the code compiles
even if HWINFO is disabled.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-01-23 13:48:16 +01:00
Robert Lubos
ba04734220 net: sockets: tls: Optimze helper buffer for sendmsg and CID check
Both cases use a large static buffer, we can optimize here and use a
single mutex-protected buffer for both.

sendmsg() test case needed adjustments, as it was also testing a buffer
overflow scenario. This can only be properly tested however if CID
feature is disabled, as otherwise the common helper buffer size is
increased for the CID use case, preventing the overflow from taking
place.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-23 10:46:05 +01:00
Robert Lubos
3cc194ee35 tests: net: sockets: tls: Add test cases for DTLS server multi-client
Add test cases verifying that DTLS server socket can handle multiple
clients.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-23 10:46:05 +01:00
Robert Lubos
8afc2af3c2 net: sockets: tls: Make socket options work with multi-client server
For options that return the handshake status, make sure they work in
multi-client DTLS server case, by returning the status for the session
that completed handshake most recently. For TLS and DTLS client cases
that should make no difference, as there should only be one session per
context.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-23 10:46:05 +01:00
Robert Lubos
ab07f69128 net: sockets: tls: DTLS server session timeout rework
With support for multiple client sessions for DTLS server socket, the
session timeout can no longer rely on built-in mbed TLS timing out
mechanism, as this only works for the session that is currently active.
Background sessions would never time out if the client just went silent.
Therefore, allocate a per-session timestamp, that keeps track of the
last activity on the session. Then, whenever poll() or recv() is called
loop over all sessions to identify those that timed and should be
released.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-23 10:46:05 +01:00
Robert Lubos
53be38d3f0 net: sockets: tls: Implement DTLS server session matching by CID
In case a client address changes, but a session uses Connection ID
extension, the server should verify if the packet belongs to any of the
established sessions based on the CID value.

Therefore, before attempting to allocate a new session in such case,
loop over sessions and try to match the packet to one of the existing
sessions based on CID. In case of success, update the corresponding peer
address.

If no session is found based on CID, only then try to allocate a new
one.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-23 10:46:05 +01:00
Robert Lubos
4197720be8 net: sockets: tls: Free DTLS server active session on errors
In case of errors on an active session (in most cases peer closing the
session), the session should be freed. Note, that as mbed TLS needs some
session context to work with, the last session on a socket is not freed,
but only reset instead.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-23 10:46:05 +01:00
Robert Lubos
6f58b3f24f net: sockets: tls: DTLS server session matching on TX
For TX, the DTLS server needs to check the peer address before passing
the packet to mbed TLS. In case the peer address doesn't match the
active session, it needs to switch sessions.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-23 10:46:05 +01:00
Robert Lubos
cc6248d87c net: sockets: tls: Refactor RX part for DTLS server
Refactor RX side for DTLS server to allow session switching when a
datagram from a peer that does not match current session. The server
needs to loop over established sessions, and in case no session is
found allocate a new one.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-23 10:46:05 +01:00
Robert Lubos
9e544a9ec7 net: sockets: tls: Split DTLS BIO functions
Split DTLS BIO RX functions for client and server case, given the
functionality will differ heavily. DTLS server needs to peek packet
before passing it to mbed TLS to allow to switch DTLS sessions in case
peer address doesn't match.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-23 10:46:05 +01:00
Robert Lubos
779bfe2e5e net: sockets: tls: Split TLS session and context initialization
It has to be possible to initialize TLS sessions separately of the TLS
socket context.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-23 10:46:05 +01:00
Robert Lubos
42754f8f8d net: sockets: tls: Separate TLS session context from socket context
Separate TLS session context from the TLS socket context so that a
single DTLS server socket can support multiple client sessions.
Other socket types will only have a single session per TLS socket.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-23 10:46:05 +01:00
Benjamin Cabé
72a1c9e43e doc: _scripts: gen_devicetree_rest: ensure blank lines around transition
Transition markers ("----") require blank lines before and after, so
this ensures that is always the case.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-23 10:45:39 +01:00
Tim Lin
e13971b796 dts: ite/it8xxx2: Reduce devicetree size with omit-if-no-ref
Mark unused pinctrl and wuc nodes in it8xxx2 with /omit-if-no-ref/,
so that they are omitted from the final devicetree when not referenced.

After this change, test: "west build -p always -b it8xxx2_evb" shows a
reduction in devicetree size:

Before:
  build/zephyr/zephyr.dts 164,449 bytes
  build/zephyr/include/generated/zephyr/devicetree_generated.h
  3,125,359 bytes

After:
  build/zephyr/zephyr.dts 124,108 bytes
  build/zephyr/include/generated/zephyr/devicetree_generated.h
  1,892,313 bytes

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2026-01-23 10:45:20 +01:00
Ren Chen
f1c1ef170d dts: riscv: it51xxx: omit pinctrl and wuc nodes if not referenced
This commit prefixes pre-generated nodes with
`/omit-if-no-ref/` to keep the generated devicetree
C headers minimal.

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2026-01-23 10:45:05 +01:00
Tomasz Moń
288802461c dts: bindings: clock: fix reference audio frequencies
Reference audio clock frequencies are supposed to be integer multiplies
of sampling frequency (44100 * 256 = 11289600, 48000 * 256 = 12288000)
and not some arbitrary numbers.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2026-01-23 10:44:43 +01:00
Maochen Wang
67ac1ddd77 manifest: hal_nxp: upgrade wifi version to r53.p2
Upgrade wifi driver version to r53.p2.
Support static ipv4 address connection for STA interface.
Improved throughput value for SDIO case.
Support event based FW dump for IW61x.
Fix several bugs.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2026-01-23 10:44:20 +01:00
Gaetan Perrot
e18e1c06c8 drivers: dai: intel: dmic: make dai_dmic_probe void
dai_dmic_probe() and dai_dmic_probe_wrapper() never reports errors
and always returns 0.
The error check at the call site is therefore dead code.

Make functions void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-23 10:44:10 +01:00
Ryan Wiebe
8135c56cf6 modbus: Fixed serial RX enablement for ASYNC and client mode
Modbus is failing to turn on RX when using serial ASYNC mode. This
causes modbus to never receive inbound requests, leaving it inoperable.
Additionally, modbus also enables RX when in client mode, leading to
issues when running as a client. These have been fixed by enabling rx
only when serial init is successful and modbus is in server mode during
initialisation.

Signed-off-by: Ryan Wiebe <ryan.wiebe@analog.com>
2026-01-23 10:43:59 +01:00
Peter van der Perk
b76f37c5da boards: nxp: mr_canhubk3: Increase FS26 init priority
We've to ensure nothing blocks the watchdog init on startup,
otherwise we'll get into bootloop. Hence increase the piority.

Signed-off-by: Peter van der Perk <peter.vanderperk@nxp.com>
2026-01-23 10:43:47 +01:00
Peter van der Perk
80c2beff83 drivers: watchdog: FS26 watchdog support RTIO
Under RTIO SPI behaves differently and thus FS26 didn't work and
would reset the board. This changes to add 8-bit transfer support
and doesn't lock the irq anymore since the SPI driver got changed.
Which would yield an assertion, best it ensure feed callee priority
is high enough.

Signed-off-by: Peter van der Perk <peter.vanderperk@nxp.com>
2026-01-23 10:43:47 +01:00
Vincent Tardy
6f350ae64d soc: st: stm32wba: adjust thread size if BT enabled
SYSTEM_WORKQUEUE_STACK_SIZE KConfig is setting to 1024 in case of
BT_TX_PROCESSOR_THREAD is enabled, else 2048.
BT_TX_PROCESSOR_STACK_SIZE KConfig is setting to 2048 in case of
BT_TX_PROCESSOR_THREAD is enabled.

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-01-23 10:43:19 +01:00
Albort Xue
59ffa602b4 drivers: counter: mcux_lpit: Add clock configuration and enable
Add explicit clock configuration and enable calls during driver
initialization. The driver now attempts to configure the clock
subsystem before enabling it.

Note: -ENOSYS is temporarily ignored as not all clock control
drivers currently implement the configure API. This handling
should be removed once all clock drivers support configure.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-01-23 10:43:08 +01:00
Camille BAUD
f8f94fd6cd drivers: rp2: Add support for RP2350 for vreg
Adds support for RP2350 in vreg regulator driver

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-23 10:42:35 +01:00
David Jewsbury
1cbaa5f3f5 drivers: mspi_dw: nrf_qspi_v2: Remove redundant EVDMA definitions
EVDMA register access has been cleaned up to remove redundant macros.
EVDMA_PLAIN_DATA enum has also been added of value 0x3F which previously
had been assumed to be a masking of all the other values but isn't, it's
its own distinct value. Other enums still exist for future use.

Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
2026-01-23 10:42:15 +01:00
David Jewsbury
2043119bcc drivers: mspi_dw: nrf_qspi_v2: Add ifdef to include DMA code if enabled
DMA functions will not only be included if enabled for the nrf_qspi_v2
peripheral

Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
2026-01-23 10:42:15 +01:00
David Jewsbury
a2b583081a drivers: mspi_dw: fix DMA transfer size logic
Fixing of erroneous RXTRANSFERLENGTH and number of transfer frames
calculation.

Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
2026-01-23 10:42:15 +01:00
Lyle Zhu
cc18a23ec9 bluetooth: classic: GOEP: fix L2CAP MTU calculation
Correct the minimum MTU calculation for GOEP over L2CAP to account
for the L2CAP I-frame overhead.

- Update BT_BUF_ACL_RX_SIZE default from 264 to 265 bytes for GOEP
- Update BT_GOEP_L2CAP_MTU minimum range from 259 to 265 bytes
- Add detailed comment explaining L2CAP I-frame field length (6 bytes):
  * 4 bytes for extended control field
  * 2 bytes for FCS field

The previous calculation only accounted for the L2CAP header (4 bytes)
but missed the 6-byte L2CAP I-frame overhead (extended control field
and FCS), resulting in an incorrect minimum of 264 bytes instead
of the correct 265 bytes. And it causes the minimum MTU of L2CAP
to be incorrectly set to 254. The MTU cannot meet the minimum
requirement of GOEP MOPL.

The correct calculation for GOEP over L2CAP is:
255 bytes (GOEP minimum MTU) + 4 bytes (L2CAP header) + 6 bytes
(L2CAP I-frame) = 265 bytes total.

Set the default value of CONFIG_BT_BUF_ACL_RX_SIZE to 265 if GOEP is
enabled.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-23 10:41:38 +01:00
Dat Nguyen Duy
2247f4dc7a tests: drivers: support watchdog tests for s32k5xxcvb
Enable wdt_basic_api watchdog only for cm7. For cr52,
because the SoC set the cores in Thumb mode after reset,
so a debugger is always needed to switch the core to Arm
state before loading zephyr application.

wdt_basic_reset_none test can be enabled for both.

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-23 10:41:27 +01:00
Dat Nguyen Duy
2d019f163d samples: support watchdog samples for s32k5xxvcb
Only enable watchdog sample for cm7. For cr52, because the
SoC set the cores in Thumb mode after reset, so a debugger
is always needed to switch the core to Arm state before
loading zephyr application.

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-23 10:41:27 +01:00
Ha Duong Quang
640c4d1ba3 boards: nxp: s32k5xxcvb: add support for watchdog
Add support for Watchdog (SWT)

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
Co-authored-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-23 10:41:27 +01:00
Dat Nguyen Duy
3836420f2f dts: nxp: add watchdog devicetree nodes for s32k566
Add watchdog devicetree nodes for S32K566

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-23 10:41:27 +01:00
Kevin Chan
e7720307ef tests: drivers: sdhc: support PSE84
- add overlay files for CM55 in order to run sdhc app.

Signed-off-by: Kevin Chan <kevin.chan3@infineon.com>
2026-01-23 10:41:07 +01:00
Kevin Chan
ac0ad06f9e tests: subsys: sd: sdmmc: support PSE84
- add overlay file for CM55

Signed-off-by: Kevin Chan <kevin.chan3@infineon.com>
2026-01-23 10:41:07 +01:00
Kevin Chan
365ce11066 samples: subsys: fs: fs_sample: support PSE84
- add overlay and conf file

Signed-off-by: Kevin Chan <kevin.chan3@infineon.com>
2026-01-23 10:41:07 +01:00
Kevin Chan
2e8b47462a samples: net: wifi: shell: support PSE84
- add conf. file

Signed-off-by: Kevin Chan <kevin.chan3@infineon.com>
2026-01-23 10:41:07 +01:00
Kevin Chan
0c950801d3 drivers: sdhc: add SDHC driver for PSE84 & cy8cproto_062_4343w
- add SDHC driver code to support both SDMMC and SDIO fucntion
- add SDHC dts node and Kconfig
- add clock configuration for SDHC

Signed-off-by: Kevin Chan <kevin.chan3@infineon.com>
2026-01-23 10:41:07 +01:00
Thinh Le Cong
642127e1d7 dts: arm: renesas: add SCI SPI node for Renesas RA
Add SCI SPI nodes for Renesas RA SoCs

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2026-01-23 10:40:51 +01:00
Thinh Le Cong
0f80ee260d drivers: spi: Initial support for SCI SPI driver on Renesas RA
Add SCI SPI driver support on Renesas RA devices

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2026-01-23 10:40:51 +01:00
Dave Lacerte
64c88e9bb3 boards: arduino: portenta_h7 : Update doc about WiFi functionality
Removes a forgotten note about the WiFi feature, which is now supported.

Signed-off-by: Dave Lacerte <lacerte.dave@hydroquebec.com>
2026-01-22 14:35:11 -06:00
Scott Worley
705fc203e5 soc: microchip: mec: Disable deprecated MEC5 HAL for MEC165xB/174x/175x
Due to multiple customer requests we are deprecating the MEC5 HAL.
Customers prefer all code to be in the main Zephyr tree. They do
not want a dependency on an outside SoC HAL. These changes remove
the MEC5_HAL select from MEC165xB, MEC174x, and MEC175x. The SoC
code calling the HAL for debug configuration was replaced with
a small amount of code common to all SoC's. We also moved all
the common header includes into a common SoC header to prevent
changing multiple files if new common headers are added.
Note: the in-tree drivers: kernel timer, GPIO, PINCTRL, and UART
are all non-HAL.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2026-01-22 14:34:49 -06:00
Brandon Edmonds
554a765de9 drivers: sensor: shell: Add SENSOR_TRIG_TIMER to the sensor stream shell.
In sensor_shell_stream.c, cmd_sensor_stream() checks for valid trigger
types, but it is missing SENSOR_TRIG_TIMER option.

Signed-off-by: Brandon Edmonds <bedmonds91@gmail.com>
2026-01-22 14:34:17 -06:00
Kevin Chan
72b13523f6 drivers: spi: add SPI-DMA logic
support SPI-DMA logic

Signed-off-by: Kevin Chan <kevin.chan3@infineon.com>
2026-01-22 14:34:05 -06:00
Kevin Chan
aa58db6622 tests: drivers: spi: spi_loopback: support SPI-DMA on PSE84
Added SPI-DMA overlay

Signed-off-by: Kevin Chan <kevin.chan3@infineon.com>
2026-01-22 14:34:05 -06:00
Kevin Chan
09ffa475c9 drivers: dma: fix channel_state
channelState depends on descriptor count

Signed-off-by: Kevin Chan <kevin.chan3@infineon.com>
2026-01-22 14:34:05 -06:00
Peter Mitsis
e18a048c84 kernel: Add K_TIMEOUT_SUM() macro
The K_TIMEOUT_SUM() macro is intended as a means to add two
k_timeout_t values together. This may be useful for a developer
applying an exponential backoff algorithm.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2026-01-22 14:33:23 -06:00
Mohamed Azhar
29493ced6f boards: sam_e54_xpro: Update dts files for spi support
Add required DTS and pinctrl changes to enable SPI on sam_e54_xpro.

Signed-off-by: Mohamed Azhar <mohamed.azhar@microchip.com>
2026-01-22 14:32:38 -06:00
Mohamed Azhar
139f2e7b83 drivers: spi: microchip: Add SPI g1 driver
- Add SPI driver for Microchip SERCOM g1
- Add and update Kconfig files to support the driver
- Update CMakeLists.txt to include the new driver

Signed-off-by: Mohamed Azhar <mohamed.azhar@microchip.com>
2026-01-22 14:32:38 -06:00
Mohamed Azhar
61dea0bcc8 dts: arm: microchip: sam: add SPI node and binding file
Add device tree binding file for Microchip g1 SPI driver

Signed-off-by: Mohamed Azhar <mohamed.azhar@microchip.com>
2026-01-22 14:32:38 -06:00
Liam Ogletree
4bf67fca7a samples: cs40l5x: Update sample application based on driver changes
Modifies sample application to use error callback mechanism added to
haptics API instead of device-specific API extension.

Signed-off-by: Liam Ogletree <liam.ogletree@cirrus.com>
2026-01-22 14:31:31 -06:00
Liam Ogletree
339d2df232 drivers: haptics: Update CS40L5x driver to use new haptics API
Modifies the CS40L5x driver to use the error callback mechanism
added to the haptics API instead of a device-specific API
extension.

Signed-off-by: Liam Ogletree <liam.ogletree@cirrus.com>
2026-01-22 14:31:31 -06:00
Liam Ogletree
abaf251800 drivers: haptics: Add error callback mechanism to haptics API
Haptics devices provide protection features to prevent damage during
operation. Adds an error callback mechanism to the haptics API to
enable haptics device drivers to raise these conditions to the
application layer. Enumerates a subset of errors that are common
to modern haptics devices across major vendors.

Signed-off-by: Liam Ogletree <liam.ogletree@cirrus.com>
2026-01-22 14:31:31 -06:00
Marcelo Roberto Jimenez
62a49211b1 drivers: serial: uart_xmc4xxx: Enable run time configuration
This patch enables run time configuration for the XMC4xxx serial ports.

Signed-off-by: Marcelo Roberto Jimenez <marcelo.jimenez@gmail.com>
2026-01-22 14:30:26 -06:00
Marcelo Roberto Jimenez
7744d20840 drivers: serial: uart_xmc4xxx: Run clang-format before applying a patch
This patch just formats the uart_xmc4xxx.c file before the real
patch, otherwise the changes would be hard to read.

Signed-off-by: Marcelo Roberto Jimenez <marcelo.jimenez@gmail.com>
2026-01-22 14:30:26 -06:00
Thomas Lang
b5f71d3028 samples: sensor: apds9960: Added gesture support
Added a new channel fetch to demonstrate reading gestures

Signed-off-by: Thomas Lang <thomaslang2003@me.com>
2026-01-22 14:29:50 -06:00
Thomas Lang
109f0e15c4 drivers: sensor: apds9960: Added gesture detection
Created logic to calculate gestures from the APDS9960 sensor

Signed-off-by: Thomas Lang <thomaslang2003@me.com>
2026-01-22 14:29:50 -06:00
Thomas Lang
f505d31be6 drivers: sensor: apds9960: Setup gesture sensing configuration
Created sensor specific channels and Kconfig for gesture sensing.

Signed-off-by: Thomas Lang <thomaslang2003@me.com>
2026-01-22 14:29:50 -06:00
Thomas Lang
75640be632 drivers: sensor: apds9960: Allow multiple sensor instances
Allow for multiple apds9960s to be present

Signed-off-by: Thomas Lang <thomaslang2003@me.com>
2026-01-22 14:29:50 -06:00
Hanan Arshad
151a9a33e6 drivers: sensor: pms7003: add support for additional PM parameters
The current PMS7003 sensor driver in Zephyr only supports reading the
basic PM1.0, PM2.5, and PM10 concentration values.

This update extends the driver to support additional data provided by the
PMS7003 sensor, including:

- Standard particle concentration values (CF=1) for PM1.0, PM2.5, and PM10
- Particle counts for particles greater than or equal to 0.3 µm, 0.5 µm,
  1.0 µm, 2.5 µm, 5.0 µm, and 10.0 µm per 0.1 liter of air

Adding support for these readings allows applications to access more
detailed particulate data, improving the sensor’s usability in air quality
monitoring and analysis scenarios.

Signed-off-by: Hanan Arshad <hananarshad619@gmail.com>
2026-01-22 14:29:37 -06:00
dependabot[bot]
5ca1fe7399 ci: github: bump the actions-deps group across 1 directory with 15 updates
Bumps the actions-deps group with 15 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `5.0.0` | `6.0.2` |
| [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) | `11` | `12` |
| [EnricoMi/publish-unit-test-result-action](https://github.com/enricomi/publish-unit-test-result-action) | `2.21.0` | `2.22.0` |
| [tj-actions/changed-files](https://github.com/tj-actions/changed-files) | `47.0.0` | `47.0.1` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `5.0.0` | `6.0.0` |
| [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) | `5.1.0` | `5.1.1` |
| [actions/download-artifact](https://github.com/actions/download-artifact) | `6.0.0` | `7.0.0` |
| [codecov/codecov-action](https://github.com/codecov/codecov-action) | `5.5.1` | `5.5.2` |
| [github/codeql-action](https://github.com/github/codeql-action) | `4.31.2` | `4.31.10` |
| [actions/setup-node](https://github.com/actions/setup-node) | `6.0.0` | `6.2.0` |
| [zephyrproject-rtos/action-zephyr-setup](https://github.com/zephyrproject-rtos/action-zephyr-setup) | `1.0.11` | `1.0.12` |
| [carpentries/actions](https://github.com/carpentries/actions) | `0.15.0` | `0.17.0` |
| [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) | `4.0.0` | `4.0.1` |
| [actions/stale](https://github.com/actions/stale) | `10.1.0` | `10.1.1` |
| [codecov/test-results-action](https://github.com/codecov/test-results-action) | `1.1.1` | `1.2.1` |



Updates `actions/checkout` from 5.0.0 to 6.0.2
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](08c6903cd8...de0fac2e45)

Updates `dawidd6/action-download-artifact` from 11 to 12
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](ac66b43f0e...0bd50d53a6)

Updates `EnricoMi/publish-unit-test-result-action` from 2.21.0 to 2.22.0
- [Release notes](https://github.com/enricomi/publish-unit-test-result-action/releases)
- [Commits](34d7c956a5...27d65e188e)

Updates `tj-actions/changed-files` from 47.0.0 to 47.0.1
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](24d32ffd49...e002140703)

Updates `actions/upload-artifact` from 5.0.0 to 6.0.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](330a01c490...b7c566a772)

Updates `aws-actions/configure-aws-credentials` from 5.1.0 to 5.1.1
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](00943011d9...61815dcd50)

Updates `actions/download-artifact` from 6.0.0 to 7.0.0
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](018cc2cf5b...37930b1c2a)

Updates `codecov/codecov-action` from 5.5.1 to 5.5.2
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](5a1091511a...671740ac38)

Updates `github/codeql-action` from 4.31.2 to 4.31.10
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0499de31b9...cdefb33c0f)

Updates `actions/setup-node` from 6.0.0 to 6.2.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](2028fbc5c2...6044e13b5d)

Updates `zephyrproject-rtos/action-zephyr-setup` from 1.0.11 to 1.0.12
- [Commits](cefbf9086c...360ff9b36e)

Updates `carpentries/actions` from 0.15.0 to 0.17.0
- [Release notes](https://github.com/carpentries/actions/releases)
- [Commits](2e20fd5ee5...083bb9952b)

Updates `zgosalvez/github-actions-ensure-sha-pinned-actions` from 4.0.0 to 4.0.1
- [Release notes](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases)
- [Commits](9e9574ef04...6124774845)

Updates `actions/stale` from 10.1.0 to 10.1.1
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](5f858e3efb...997185467f)

Updates `codecov/test-results-action` from 1.1.1 to 1.2.1
- [Release notes](https://github.com/codecov/test-results-action/releases)
- [Commits](47f89e9acb...0fa95f0e1e)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-deps
- dependency-name: dawidd6/action-download-artifact
  dependency-version: '12'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-deps
- dependency-name: EnricoMi/publish-unit-test-result-action
  dependency-version: 2.22.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-deps
- dependency-name: tj-actions/changed-files
  dependency-version: 47.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-deps
- dependency-name: actions/upload-artifact
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-deps
- dependency-name: aws-actions/configure-aws-credentials
  dependency-version: 5.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-deps
- dependency-name: actions/download-artifact
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-deps
- dependency-name: codecov/codecov-action
  dependency-version: 5.5.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-deps
- dependency-name: github/codeql-action
  dependency-version: 4.31.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-deps
- dependency-name: actions/setup-node
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-deps
- dependency-name: zephyrproject-rtos/action-zephyr-setup
  dependency-version: 1.0.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-deps
- dependency-name: carpentries/actions
  dependency-version: 0.17.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-deps
- dependency-name: zgosalvez/github-actions-ensure-sha-pinned-actions
  dependency-version: 4.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-deps
- dependency-name: actions/stale
  dependency-version: 10.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-deps
- dependency-name: codecov/test-results-action
  dependency-version: 1.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-22 13:03:37 -05:00
Victor Brzeski
6b31178272 uac2: disable active terminals when class is disabled
When the USB Bus is reset, the USBD stack will disable and re-enable
all Classes. If this occurs while streaming audio with UAC2, the
terminals remain active when re-enabled, yet the endpoints have
yet to be enabled (resulting in -ENODEV logspam). This change
disables all active terminals when the class is disabled.

Signed-off-by: Victor Brzeski <vbrzeski@gmail.com>
2026-01-22 13:01:30 -05:00
Braeden Lane
56014df8d9 tests: Add cy8ckit_041s_max test overlays
Add test and sample overlays for CY8CKIT-041S-MAX board:
- GPIO basic API test using P1.2 and P1.3 pins
- Button sample using P11.5 with pull-up configuration

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-01-22 13:01:21 -05:00
Braeden Lane
060fe41df0 boards: infineon: Add CY8CKIT-041S-MAX board
Add support for Infineon CY8CKIT-041S-MAX development kit
based on CY8C4149AZI-S598 (PSoC 4100S Max).

Board features:
- 100-pin TQFP PSOC 4100S Max MCU (384KB Flash, 32KB SRAM)
- User LED and button
- KitProg3 for programming/debugging
- Common dtsi structure for peripheral configuration

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-01-22 13:01:21 -05:00
Braeden Lane
f68885f1c6 drivers: Add PSOC 4 clock control and serial support
Add clock control and UART support for PSOC 4 family:
- Clock control drivers with PSOC 4 compatibility
- PSOC4xx clock source bindings and definitions
- HF clock divider configuration support
- UART FIFO trigger level configuration for PSOC 4100S Max
  series with 8-deep FIFO (RX trigger=7, TX trigger=0)

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-01-22 13:01:21 -05:00
Braeden Lane
fe9ecee97e drivers: gpio: Add Infineon PSOC 4 GPIO driver support
Add GPIO driver for Infineon PSOC 4 series MCUs using the
Infineon PDL.

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-01-22 13:01:21 -05:00
Braeden Lane
fd991b7491 dts: arm: infineon: psoc4: Add PSOC 4100S Max devicetree
Add devicetree support for PSOC 4100S Max series including:
- Base SoC dtsi with GPIO, UART, HSIOM peripherals
- 100-TQFP package dtsi for pin multiplexing
- CY8C4149AZI-S598 MPN-specific devicetree include
- Updated compatible strings for PSOC 4 support
- Clock structure with clk_hf and clk_pump nodes
- Simplified peripheral clock naming (peri_clk_div)
- PSOC4xx clock source definitions and bindings

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-01-22 13:01:21 -05:00
Braeden Lane
14268793a9 soc: infineon: psoc4: Add PSOC 4100S Max series support
Add initial support for the PSOC 4100S Max series, starting
with the CY8C4149AZI-S598 (100-TQFP package) used on the
CY8CKIT-041S-MAX development board.

The infrastructure supports adding additional part numbers
in the future as needed.

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-01-22 13:01:21 -05:00
Vinayak Kariappa Chettimada
891d50c396 tests: bsim: Bluetooth: Cover settings without snprintk use
Cover settings without snprintk use in bsim test.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-22 13:01:07 -05:00
Vinayak Kariappa Chettimada
43dede5acc Bluetooth: Host: settings: Add early len check without strncpy/cmp use
Add early len check, remove use of strcpy, strncpy and
strncmp.

Co-authored-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-22 13:01:07 -05:00
Vinayak Kariappa Chettimada
230453b6ea Bluetooth: Host: settings: Fix truncation detection after strncpy
Fix truncation detection after strncpy, as strlen cannot be
used if the src was truncated due to insufficient size of
dst.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-22 13:01:07 -05:00
Vinayak Kariappa Chettimada
d98c2cf0d8 Bluetooth: Host: Rework settings without snprintk to return error
Rework settings implementation for not reusing the OS
snprintk implementation with CONFIG_PRINTK=n and to return
error if path buffer is insufficient.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-22 13:01:07 -05:00
Vinayak Kariappa Chettimada
d8f3e43b20 Bluetooth: Host: Rework settings without snprintk use
Rework settings implementation for not reusing the OS
snprintk implementation with CONFIG_PRINTK=n.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-22 13:01:07 -05:00
Vinayak Kariappa Chettimada
2db3f7978f Bluetooth: Host: settings without snprintk use
Update settings implementation for not reusing the OS
snprintk implementation with CONFIG_PRINTK=n.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-22 13:01:07 -05:00
Vinayak Kariappa Chettimada
4a914bf281 Bluetooth: Host: ATT: Do not use bt_addr_le_to_str when CONFIG_LOG=n
Do not use bt_addr_le_to_str() when CONFIG_LOG=n.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-22 13:01:07 -05:00
Antoine Pradoux
2cc03f791d tests: rtc_api: Add RTC test configuration for nucleo_u385rg_q board
- Add a new test configuration file enabling RTC calibration and alarm
features for the nucleo_u385rg_q board
- Add the nucleo_u385rg_q device tree overlay defining the RTC alias

Signed-off-by: Antoine Pradoux <antoine.pradoux@st.com>
2026-01-22 13:00:57 -05:00
Antoine Pradoux
254c6e8377 boards: st: Enable RTC support on nucleo_u385rg_q board
- Activate the RTC node in the device tree by enabling its clocks and
setting its status to okay
- Add 'rtc' to the supported features in the board YAML configuration

Signed-off-by: Antoine Pradoux <antoine.pradoux@st.com>
2026-01-22 13:00:57 -05:00
Antoine Pradoux
c10819f93a drivers: rtc: stm32: Add STM32U3 support for RTC alarm, clock & counter
Extend RTC driver to handle STM32U3 series specifics:
- Include STM32U3X in condition where RTC Alarm event is not routed to EXTI
- Use LL_RCC_RTC_ClockEnable call for STM32U3 instead of LL_RCC_EnableRTC
- Adapt counter_stm32_rtc driver for STM32U3 clock and EXTI handling

Signed-off-by: Antoine Pradoux <antoine.pradoux@st.com>
2026-01-22 13:00:57 -05:00
Antoine Pradoux
e97559b6f2 dts: arm: st: Add RTC node for STM32U3 series
- Add the rtc node for the stm32u3
- This enables RTC support for STM32U3 platforms once enabled

Signed-off-by: Antoine Pradoux <antoine.pradoux@st.com>
2026-01-22 13:00:57 -05:00
Anil Ozrenk
565bb11549 cmake: xcc: prioritize board-specific toolchain version
Change the toolchain version resolution order to check for
board-specific TOOLCHAIN_VER_${NORMALIZED_BOARD_TARGET} first,
falling back to the generic TOOLCHAIN_VER if not defined.

Now if we want to use various boards lots of them uses same version
but fewer ones differ. We won't have to define TOOLCHAIN_VER for
every board.

Signed-off-by: Anil Ozrenk <anil.ozrenk@analog.com>
2026-01-22 13:00:38 -05:00
Albort Xue
5a06cbdf82 boards: mcx_nx4x_evk: correct W25Q64JV JEDEC ID
The JEDEC ID for the Winbond W25Q64JV flash on the MCX NX4X EVK board
was incorrectly specified as [ef 40 17]. According to the W25Q64JV
datasheet, the correct JEDEC ID is [ef 60 17], where:
- ef: Winbond manufacturer ID
- 60: Memory type (W25Q series)
- 17: Capacity (64 Mbit)

Update the jedec-id property to match the actual flash device.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-01-22 13:00:23 -05:00
Albort Xue
9d817c7992 drivers: flash: flash_mcux_flexspi_nor: fix QER S2B1v5 status reg case
The JESD216_DW15_QER_VAL_S2B1v5 case had incorrect status register
read/write logic. It was reading only SR2 but writing both SR1 and SR2,
which could corrupt SR1 if not read first.

Merge the S2B1v5 case with S2B1v1/v4 cases since they all set bit 1 of
SR2. Update the common path to properly handle both single-byte (SR2 only)
and two-byte (SR1+SR2) read/write operations by:

- Reading SR1 first when rd_size is 2, saving it temporarily
- Reading SR2 using the scratch command
- Combining both bytes with SR2 in the upper byte when needed
- Writing the combined value with the QE bit set

Remove the now-redundant S2B1v5-specific case and simplify the LUT
sequence to read SR2 directly instead of reading SR1 first.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-01-22 13:00:23 -05:00
Maochen Wang
6ebf1963e8 manifest: fix DPP remain_on_channel wait timeout
The remain_on_channel callback triggers cookie_event, which checks
pending_remain_on_channel before giving drv_resp_sem. Previously,
pending_remain_on_channel was set after calling
dev_ops->remain_on_channel, causing drv_resp_sem to timeout.
Move the pending_remain_on_channel assignment before invoking
dev_ops->remain_on_channel to ensure proper synchronization.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2026-01-22 13:00:10 -05:00
Vincent Tardy
86d55a8d81 drivers: bluetooth: hci: remove RAM allocation in send process
Remove local Tx buffer allocated in the
bt_hci_stm32wba_send() function.
Get Event buffer resource to store data returned
by lower layer and provide it to Host in case of
Tx packet is an HCI Command type.

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-01-22 13:00:00 -05:00
Vincent Tardy
77f933e7d3 drivers: bluetooth: hci: fix RAM allocation in stm32wbax ble hci driver
Remove useless allocated RAM in stm32wbax ble hci driver.

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-01-22 13:00:00 -05:00
Bill Waters
db5ec5f58f dts: arm: infineon: edge: pse84: ITCM/DTCM
- There was a mistake with the CM33 core.  It does
  not have ITCM/DTCM.  Only the CM55 core does.
- Also enabled ITCM/DTCM in the cm55 board file.

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2026-01-22 12:59:49 -05:00
Yangbo Lu
41f296bc01 boards: nxp: imx93_evk_mimx9352_m33: enable lpi2c2
Enabled lpi2c2, and verified with I2C shell commands.

uart:~$ i2c scan i2c@44350000
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:             -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- 22 -- -- 25 -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- 34 -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
3 devices found on i2c@44350000
uart:~$
uart:~$ i2c read i2c@44350000 0x22 0x4 1
00000000: ff
uart:~$ i2c write i2c@44350000 0x22 0x4 0x0 1
uart:~$ i2c read i2c@44350000 0x22 0x4 1
00000000: 00

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-01-22 12:56:25 -05:00
Yangbo Lu
8f5f337419 dts: arm: nxp_imx93_m33: add lpi2c dts nodes
Added lpi2c dts nodes.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-01-22 12:56:25 -05:00
Robert Lubos
a34409f006 doc: migration-guide-4.4: Document secure socket version enforcement
Document that TLS version passed to a zsock_socket() function is no
longer ignored and is now enforced as the minimum TLS version for the
TLS session.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-22 12:56:12 -05:00
Robert Lubos
8a5c82ae1d doc: net: sockets: tls: Document the meaning of the protocol version
Document explicitly that the TLS version passed in the protocol
parameter matters and specifies the minimum TLS version to use for the
socket.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-22 12:56:12 -05:00
Robert Lubos
5a0f33b31f net: sockets: tls: Enforce minimum TLS version
Enforce the minimum TLS version on mbed TLS, based on the protocol
version provided by the application when creating socket. This ensures
that when application creates a TLS 1.3 socket, mbed TLS won't downgrade
the session to TLS 1.2 for instance.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-22 12:56:12 -05:00
Miika Karanki
c7fb653046 serial: uart_native_pty: send UART_RX_DISABLED event
When uart_rx_disable is called, or rx gets otherwise disabled,
UART_RX_DISABLED event should be emitted.

Signed-off-by: Miika Karanki <miika.karanki@vaisala.com>
2026-01-22 12:55:41 -05:00
Maciej Perkowski
0455416c52 maintainers: Add fundakol as twister collaborator
Lukasz Fundakowski is a python expert with an interest in
testing frameworks and coding standards. He is a valuable
reviewer with attention to details. He had a major impact on
design and implementation of the pytest plugin for twister.

Signed-off-by: Maciej Perkowski <maciej.perkowski@nordicsemi.no>
2026-01-22 12:55:31 -05:00
Scott Worley
df13dcc560 dts: arm: microchip: mec: Fix MEC1653B code sram base address
Microchip MEC1653B has 416KB of SRAM. ARM ICCM SRAM is 356KB
starting at 0xC0000. ARM DCCM SRAM is 64KB starting at 0x118000.
Chip DTS file had incorrect ICCM starting address.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2026-01-22 12:55:22 -05:00
Muhammad Waleed Badar
1350164d67 drivers: uart: bcm2711: fix poll_in
uart_bcm2711_poll_in() incorrectly returned the received byte
instead of writing it to the provided buffer.

Update the implementation to store the character in *c and
return 0 on success, matching the UART poll_in API.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-01-22 12:55:13 -05:00
Flavio Ceolin
59a57722ae pm: Fix wrong type promotion
In pm_system_suspend there is a possible invalid type promotion
in sys_clock_set_timeout(MAX(0, ticks - exit_latency_ticks), true);

ticks is int32_t and exit_latency_ticks is uint32_t consequently
ticks is promoted to uint32_t resulting in a possible underflow and
setting a wrong value in sys_clock_set_timeout().

Fixes #100005
Coverity CID: 535628

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-22 12:54:52 -05:00
Johann Fischer
53e6b7d543 MAINTAINERS: remove jfischer-no from display collaborators
I do not have any plans in the near future to collaborate in this area.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-01-22 12:54:38 -05:00
Jamie McCrae
195a3ff63a tests: dfu: img_util: Disable variant image for slot 1 build
Fixes an issue whereby a variant of the slot 1 image is built...
which would occupy the same slot that the test is building for,
therefore disable using the new experimental variant image Kconfig
in this configuration

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-22 12:54:28 -05:00
Adrian Bonislawski
2d0139aa22 MAINTAINERS: add myself as collaborator to Intel Xtensa platforms
Intel Platforms (Xtensa)
Drivers: DAI

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
2026-01-22 12:54:18 -05:00
Benjamin Cabé
0a8564a9b9 dts: auxdisplay: add auxdisplay_0 label to sparkfun,serlcd example
This is technically a workaround for a limitation in the Pygments DTS
lexer causing the highlighting to break when rendering this example
in the documentation, but this is also an excuse to plug the label that
is used in the official auxdisplay sample.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-22 09:07:48 -08:00
Grzegorz Chwierut
2d7b42ddc5 tests: boot: mcuboot_direct_xip: escape plus signs in regex patterns
The plus signs in version strings need to be escaped with double
backslashes when used in regex patterns for the test harness.
This ensures proper pattern matching during test execution.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2026-01-22 14:14:48 +00:00
Mathieu Choplain
4228409128 drivers: sensor: stm32_temp: read calibration data once during init
Instead of reading calibration data (device-unique, but never changing!)
as part of each conversion, perform the read once and cache the value.

This notably avoids frequently an ICACHE disable/enable cycle on STM32H5,
which is a somewhat slow operation.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-22 14:11:20 +00:00
Mathieu Choplain
bc9efec896 drivers: sensor: stm32_temp: use union as calibration info type
Using a union enables accessing the calibration data using member names
instead of an array index, which makes the code more readable.

As long as the layout of struct { T m1; ... T mN; } and array A[N] is the
same (implementation-specific?), usage of the union type as done should
be Standard-compliant: accessing through either member of the union will
use an lvalue with compatible type to the same underlying object, which
is one of the allowed aliasing situations listed in §6.5.7 of N1548.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-22 14:11:20 +00:00
Mathieu Choplain
32260932f6 drivers: sensor: stm32_temp: move constants to instance configuration
Various fields were stored in the instance data despite being initialized
at compile-time to a constant value.
Move these fields to the instance configuration instead.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-22 14:11:20 +00:00
Mathieu Choplain
c9c23bef54 drivers: sensor: stm32_temp: use CAL_RES everywhere
The raw "12" constant was used in a place where the "CAL_RES" define should
have been used instead.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-22 14:11:20 +00:00
Håkon Amundsen
155d22a117 soc: kconfig: gen_uicr: elaborate on setting ERASEPROTECT
Provide some information on how to find the command that is used for
generating the UICR hex file so that its easier for users to
know what command to use.

Signed-off-by: Håkon Amundsen <haakon.amundsen@nordicsemi.no>
2026-01-22 14:10:18 +00:00
Lingao Meng
d845a2230e fs: nvs: prevent ATE writes at sector boundary
In NVS, allocation table entries (ATEs) are written backwards within
each sector. Under delete-only or delete-heavy workloads, a sector may
contain only delete ATEs, causing the ATE write pointer to approach the
sector boundary.

Without an explicit boundary check, ATE writes may occur at offset 0 of
the current sector, allowing the write pointer to underflow into the
previous sector and corrupt unrelated data or metadata.

Fix this by disallowing ATE writes when the write pointer is at the
sector boundary. This ensures that ATE writes remain confined to the
current sector and prevents pointer underflow across sectors.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2026-01-22 14:09:23 +00:00
Vinayak Kariappa Chettimada
73c182509c Bluetooth: Controller: LLL prepare at margin Kconfig
Introduce Kconfig option to enfore LLL prepare at margin
irrespective of whether there is an overlapping state/role.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-22 14:09:11 +00:00
Vinayak Kariappa Chettimada
5fe53aaa84 Bluetooth: Controller: Use PPI/DPPI to start s/w switch timer
Use PPI/DPPI to start s/w switch timer to reduce current
consumption.

Explicitly starting the s/w switch timer at prepare meant
current being consumed in the prepare margin duration. Use
of PPI/DPPI ensure s/w switch timer is start when event
timer is started after the prepare margin.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-22 14:09:11 +00:00
Vinayak Kariappa Chettimada
0b1b099196 Bluetooth: Controller: Fix PAST sync_offset_us calculation
Fix the missing use of remainder value in the sync_offset_us
calculations. Also, Periodic Sync reception is relative to
Peripheral event hence ticks_anchor does not require the
ticker margin and event jitter to be subtracted.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-22 14:09:11 +00:00
Peter van der Perk
40d79b1f64 sensor: bmm150: fix init when no trigger is selected
When no trigger was chosen case statement fell through to
default which causes the return code to -ENOTSUPP

Signed-off-by: Peter van der Perk <peter.vanderperk@nxp.com>
2026-01-22 14:08:56 +00:00
Gaetan Perrot
27be4443fc drivers: clock_control: litex: remove redundant initialization
Local variables are initialized but always overwritten before being
read or return.

Drop the redundant initialization.

No functional change intended.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-22 14:08:19 +00:00
Gaetan Perrot
49de45225d drivers: clock_control: litex: make litex_clk_dts_clkouts_read void
litex_clk_dts_clkouts_read() never reports errors and always returns
0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-22 14:08:19 +00:00
Gatien Chevallier
40c98c82d7 boards: st: stm32n6570_dk: read the MAC address from the OTP fuses
On STM32N6x SoCs, secrets and persistent information such as Ethernet
MAC addresses are stored in the BSEC OTP fuses. Therefore, default enable
OTP support if NET_L2_ETHERNET and NVMEM are enabled so that the MAC
address can be read from the BSEC OTP fuses through the NVMEM API.

Use the "mac_address0" NVMEM cell to be able to read the ethernet MAC
address from the OTP fuses.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
2026-01-22 14:07:37 +00:00
Gatien Chevallier
28a988cc10 dts: arm: st: n6: Add BSEC node for OTP handling
The STM32N6 has a BSEC peripheral for the OTP management, add it to the
SoC device tree file. Moreover, there are 4 OTP words dedicated for
Ethernet MAC addresses, describe them in the NVMEM layout.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
2026-01-22 14:07:37 +00:00
Gatien Chevallier
84dc327084 drivers: ethernet: stm32: handle MAC address with net_eth_mac_load()
This new API handles if the MAC address should be fetched from NVMEM,
is static or be randomly generated. Use it so that the driver can
fetch the MAC address from the OTP fuses, when possible.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
2026-01-22 14:07:37 +00:00
Gatien Chevallier
ff864b3cd3 drivers: otp: add stm32 BSEC driver
Introduce the Boot and SECurity(BSEC) control driver. The BSEC
peripheral manages the accesses to an embedded one time
programmable(OTP) array of fuses. Those fuses are used to store
on-chip, non-volatile data like boot and security parameters (e.g:
secret keys, non-volatile counters, etc...).

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
2026-01-22 14:07:37 +00:00
Nicola Vetrini
fc7fae6090 sca: ECLAIR: update configuration for ECLAIR 3.14.0
This is the version of the tool that Zephyr infrastructure uses,
and the configuration needs to be adjusted accordingly.

Setting *_ALIASES variables is not necessary anymore.

Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
2026-01-22 14:03:17 +00:00
Valerio Setti
647f68cb2c doc: migration-guide: add notes for changes in flash_map's integrity check
Add notes about changes in flash_map's Kconfig for what concerns the
crypto libraries used for integrity check.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-22 14:03:06 +00:00
Valerio Setti
484fb7d7fc tests: storage: flash_map: rename conf file for integrity check
Since now there is a single backend for crypto, i.e. the PSA Crypto API
one, it's better to rename corresponding test case and related
configuration file so that instead of mentioning "psa" they mention
"integrity-check".

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-22 14:03:06 +00:00
Valerio Setti
74740148b4 tests: storage: flash_map: remove testing of legacy Mbed TLS crypto
Following the removal of legacy Mbed TLS crypto for SHA-256 in the
subsys, this commit updates the related sample. "overlay-mbedtls.conf" is
removed as no more necessary and the corresponding test case is removed
from "testcase.yaml". "overlay-psa.conf" is updated removing unnecessary
Kconfig selections.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-22 14:03:06 +00:00
Valerio Setti
77d603a5e0 storage: flash_map: remove legacy Mbed TLS crypto for integrity check
Remove Kconfig and code related to legacy Mbed TLS crypto for SHA-256.
This was used for the integrity check functionality as alternative to
PSA Crypto API. This support was already deprecated and now it's removed
in order to prepare for the next Mbed TLS 4.0 release where legacy crypto
won't be available anymore.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-22 14:03:06 +00:00
Khoa Tran
ca8e82532a drivers: rtc: Add update to use with new battery backup inplementation
Update Renesas RTC driver to use with the new battery backup inplementation

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2026-01-22 14:02:40 +00:00
Khoa Tran
caf40f2581 drivers: misc: update Renesas RA ethos_u init flow
Remove the NPU power domain enabling inside ethos_u code due to it
has already been done by soc_reset_hooks()

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-01-22 14:02:40 +00:00
Khoa Tran
0a37e1f43f drivers: display: update GLCDC device init flow
Remove power domain on for GLCDC controller inside driver code
due to it has already been done by soc_reset_hooks()

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-01-22 14:02:40 +00:00
The Nguyen
cb47fb2706 drivers: clock_control: remove clock early init for Renesas RA
Remove the root clock control early initialization because it has
already been done in the soc_reset_hooks()

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-01-22 14:02:40 +00:00
Khoa Tran
d8c1333295 boards: renesas: Disable sub-clock for boards lacking a crystal
This commit disables the sub-clock node for boards without a
populated onboard crystal.

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2026-01-22 14:02:40 +00:00
The Nguyen
9dd9132688 soc: renesas: ra: soc init hooks refactor
This commit updates the source files for Renesas RA initialization:
- The SoC reset/init now uses generic hooks from the
"soc/renesas/ra/common" instead of SoC-specific initialization hooks.
- Add soc_reset_hooks() to perform the early reset code.
- Battery-backup domain initialization has been removed from
soc_early_init() and reallocated to soc_reset_hooks().

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2026-01-22 14:02:40 +00:00
The Nguyen
0923d2cedf manifest: update revision of hal_renesas
Update hal_renesas revision to add BSP code support

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-01-22 14:02:40 +00:00
Lucien Zhao
f63b15ddd0 tests: drivers: pwm: enable pwm_api case by using flexio0
- enable pwm_api case by using flexio function
- record platform information in testcase.yaml

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-01-22 14:02:24 +00:00
Lucien Zhao
dd8e364863 boards: nxp: frdm_mcxe247: config flexio0 pinmux
- configure flexio pwm default pinmux

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-01-22 14:02:24 +00:00
Camille BAUD
7ac12165dd boards: bflb: Add ADC entry to boards with marked 'ADC' pins
Adds adc entry so driver is built.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-22 14:01:57 +00:00
Camille BAUD
b8b2d2ed21 samples: adc_dt: Add some bflb boards
Add ADC sample overlays

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-22 14:01:57 +00:00
Camille BAUD
bddaa08afd drivers: adc: add bflb adc driver
Adds a driver for the GPADC

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-22 14:01:57 +00:00
Camille BAUD
33196ff3cd dts: adc: add bindings for bflb adc
Adds the bindings for the GPADC

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-22 14:01:57 +00:00
TOKITA Hiroshi
81fd57078d MAINTAINERS: Add area for QNX Hypervisor
Add area for supporting QNX Hypervisor Virtual Machine.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-22 08:41:12 +00:00
Yangbo Lu
b2ac268a66 drivers: ethernet: dsa: make dsa_tag_netc driver native
The DSA tag protocol driver should be native for packet
tagging and untagging. There is possibility other vendors/IPs
use it. So, just defined DSA tag structures in header file
instead of using hal header file.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-01-22 08:41:00 +00:00
Yangbo Lu
05c1fecb5b drivers: ethernet: dsa: move dsa_tag_netc driver out of subsys
Moved dsa_tag_netc driver out of subsys. Maintained it in
drivers/ethernet/dsa as vendor driver.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-01-22 08:41:00 +00:00
Yangbo Lu
cd5bc5caa5 drivers: ethernet: dsa: improve DSA_NXP_NETC_GCL_LEN Kconfig option
Renamed DSA_NXP_NETC_GCL_LEN to DSA_NXP_IMX_NETC_GCL_LEN for
naming consistency, and wrapped it in DSA_DRIVERS condition.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-01-22 08:41:00 +00:00
Yangbo Lu
1b14cb18a2 net: dsa: support dsa protocol registering with iterable section
Supported dsa protocol registering with iterable section.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-01-22 08:41:00 +00:00
Yangbo Lu
d9d46c0ce3 net: dsa: make dsa_tag.h as common header file
Moved dsa_tag.h to include folder as common header file.
And we will support iterable section for vendor dsa tag
protocol drivers registering.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-01-22 08:41:00 +00:00
Felix Wang
50ba0244c1 MAINTAINERS: add FelixWang47831 as counter collaborator
Add FelixWang47831 as a collaborator for the counter driver.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-22 08:40:54 +00:00
Gaetan Perrot
981872e203 drivers: ethernet: nxp_imx_netc: netc_blk: make ierb_init() void
ierb_init() never reports an error and cannot fail in practice.
Returning an int led to a dead error.

Convert ierb_init() to a void function, drop the unused return value
checks, and provide a no-op implementation for SoCs that do not
require IERB initialization.

This simplifies the control flow and removes an unnecessary error
condition.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-22 08:40:44 +00:00
Gaetan Perrot
0f046ac0de drivers: adc: adc_ambiq: check return value of adc power control
Handle the return value of am_hal_adc_power_control() during ADC
initialization.

The previous code overwrote the return value before it was checked,
which could silently ignore failures when powering on the ADC.

Fix this by validating the return code and propagating an error if
the operation fails.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-22 08:40:37 +00:00
Camille BAUD
a780587ccb drivers: display: move ssd1306.c to display_ssd1306.c
add missig prefix

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-22 08:40:29 +00:00
Camille BAUD
74975b0be5 drivers: display: ssd1306: move registers from header to main file
standard self-containment

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-22 08:40:29 +00:00
Camille BAUD
fa30e17ffa doc: release: Notes about SSD1306/9 bindings
Adds notes about SSD1306/9 bindings

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-22 08:40:29 +00:00
Camille BAUD
fad7e5dfe6 drivers: display: rename ssd1306/9fb to ssd1306/9
harmonize with other drivers, remove irrelevant suffix

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-22 08:40:29 +00:00
Peter Mitsis
3944b0cfc7 kernel: Extend thread user_options to 16 bits
Upgrades the thread user_options to 16 bits from an 8-bit value to
provide more space for future values.

Also, as the size of this field has changed, the values for the
existing architecture specific thread options have also shifted
from the upper end of the old 8-bit field, to the upper end of
the new 16-bit field.

Fixes #101034

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2026-01-22 08:40:17 +00:00
Peter Mitsis
924874baef kernel: Fix two k_condvar_wait() issues
1. When the timeout is K_NO_WAIT, the thread should not be added
   to the wait queue as that would otherwise cause to the thread
   to wait until the next tick (which is not a no-wait situation).
2. Threads that were added to the wait queue AND did not receive
   a signal before timing out should not lock the supplied mutex.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2026-01-22 08:39:55 +00:00
Vinit Mehta
c5bc58e3bd Samples: bluetooth: a2dp_sink: Audio support for 1060EVKC
Add codec driver overlay file to enable audio
rendering for A2DP sink sample application for
1060EVKC platform

Signed-off-by: Vinit Mehta <vinit.mehta@nxp.com>
2026-01-22 08:39:40 +00:00
Daniel Leung
50e980d9a8 xtensa: mmu: halt system if not enough L2 tables during boot
If there are not enough free L2 tables to map all predefined
memory regions at boot, halt the system in case assertion is
not enabled. Without all the needed memory regions mapped,
it is very unlikely that anything will run properly.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2026-01-22 08:39:30 +00:00
Daniel Leung
82b7d94d45 xtensa: mmu: add debug logs on page table allocations
Adds some debug logs when we are allocating page tables.
This provides a more visible way of seeing whether
we need to have more free tables.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2026-01-22 08:39:30 +00:00
Daniel Leung
0777dbea02 xtensa: mmu: assert when L2 table allocation fails during dup
Add an assertions to halt the system if L2 table allocation
fails when we need to duplicate an existing L2 table, as it is
a must-have and must-success operation.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2026-01-22 08:39:30 +00:00
Dharun krithik k
682493add9 drivers: watchdog: infineon: add PSoC4 support
Add support for the Infineon PSoC4 family to the infineon watchdog driver.
PSoC4 specific ILO frequency and tick period definitions.
Initialization and configuration logic specific to PSoC4.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-22 08:39:16 +00:00
Dharun krithik k
8eec4c5fc4 boards: cy8cproto_041tp: enable watchdog
Enable the watchdog0 node and add an alias for it on the
CY8CPROTO-041TP board.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-22 08:39:16 +00:00
Dharun krithik k
2acacec3f3 dts: infineon: add watchdog node for PSoC4
Add the watchdog controller node to the PSoC4 SoC definition.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-22 08:39:16 +00:00
Ibrahim Abdalkader
0c5e7a6a95 sensing: sensor_mgmt: Use kernel heap for allocations
Use the kernel heap instead of the libc heap, improving
security and consistency.

Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
2026-01-22 08:38:34 +00:00
Ibrahim Abdalkader
afa47a2765 mgmt: mcumgr: grp: Use kernel heap for allocations
Use the kernel heap instead of the libc heap, improving
security and consistency.

Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
2026-01-22 08:38:34 +00:00
Ibrahim Abdalkader
2a432c65a2 drivers: wifi: Use kernel heap for allocations
Use the kernel heap instead of the libc heap, improving
security and consistency.

Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
2026-01-22 08:38:34 +00:00
Ibrahim Abdalkader
5e61c06c85 drivers: i3c: Use kernel heap for allocations
Use the kernel heap instead of the libc heap, improving
security and consistency.

Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
2026-01-22 08:38:34 +00:00
Mark Wang
f66ce9c251 bluetooth: shell: a2dp: include error code in failure messages
Add error code parameter to all A2DP shell error messages to provide
more detailed diagnostic information when operations fail. This applies
to configure, establish, release, start, suspend, delay report, and
abort response handlers.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2026-01-22 08:37:41 +00:00
Mark Wang
d8eb0ce5f4 bluetooth: shell: a2dp: use bt_shell_error for error messages
Replace bt_shell_print() calls with bt_shell_error() for all error
conditions and failure cases in the A2DP shell implementation to
properly distinguish error messages from informational output.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2026-01-22 08:37:41 +00:00
Mark Wang
313478b026 bluetooth: shell: a2dp: use bt_shell_xxx instead of shell_xxx
Replace all shell_print() and shell_error() calls with bt_shell_print()
and bt_shell_error() respectively to use the common Bluetooth shell
printing functions throughout the A2DP shell implementation.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2026-01-22 08:37:41 +00:00
Mark Wang
36ab1ba154 Bluetooth: shell: a2dp: Update a2dp sdp profile version
The newest a2dp spec set the profile version as 1.4.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2026-01-22 08:37:41 +00:00
Mark Wang
37a048abef doc: Bluetooth: shell: improve a2dp shell doc
describe all the a2dp shell cmds.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2026-01-22 08:37:41 +00:00
Mark Wang
6f0b31c709 bluetooth: shell: a2dp: improve a2dp shell cmds
add abort req and rsp callbacks, improve register_ep cmd to support delay
report, check buf tailroom for sending media, add get_conn cmd to test
bt_a2dp_get_conn.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2026-01-22 08:37:41 +00:00
Mark Wang
c92d617855 bluetooth: shell: a2dp: use common function to check a2dp initialization
Before every cmd, call one common function to check whether a2dp is
initialized.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2026-01-22 08:37:41 +00:00
Bernardo Perez Priego
42fcca480b drivers: i2c: microchip: Add mutex to transaction implementation
Currently, I2C transfer implementation does not have a mutex to
prevent multiple users from sending data at the same time, this could
lead to devices malfunction due to mixing I2C transaction data.

This patch adds mutex into transfer implementation to allow only one
user to send data at the time.

Signed-off-by: Bernardo Perez Priego <bernardo.perez.priego@intel.com>
2026-01-22 08:37:21 +00:00
Rex Chen
cbc881cc51 drivers: wifi: nxp: Add scan limit configure item
Expose scan limit configuration to customer.

Signed-off-by: Rex Chen <rex.chen_1@nxp.com>
2026-01-21 20:08:14 +01:00
Rex Chen
e9b257a1f9 manifest: hal_nxp: Add scan limit configure item
Sync hal_nxp to add scan limit configure item.

Signed-off-by: Rex Chen <rex.chen_1@nxp.com>
2026-01-21 20:08:14 +01:00
Armando Visconti
af6264e4b9 drivers/sensor: lsm6dsv16x: add device self test
Add device Self Test procedure. It is required to enable the
per device self-test DT property as well as the LSM6DSV16X_SELF_TEST
configuration.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-01-21 20:08:05 +01:00
Supper Thomas
bd9bf13a0e logging: Fix backoff calculation to use K_CYC instead of K_TICK
The backoff timeout calculation in z_log_msg_claim_oldest() was
incorrectly using K_TICK macro. Changed to K_CYC to properly convert
cycle-based timing differences to kernel timeouts for accurate backoff
in multi-domain message processing.

Signed-off-by: Supper Thomas <78900636@qq.com>
2026-01-21 20:07:56 +01:00
Karol Werner
c84a5eb24f drivers: sensor: ina3221: fix measurement wait time calculation
INA3221 performs measurements sequentially for all enabled channels (see
datasheet chapter 7.3.1), but the driver was not accounting for this
when calculating the wait time. Additionally, when measuring both bus
and shunt voltages, conversion times should be summed rather than taking
greater value.

Fix by counting enabled channels and multiplying them with per-channel
conversion time. For combined measurement, sum both conversion times
instead of using MAX().

Signed-off-by: Karol Werner <karol@ppkt.eu>
2026-01-21 20:07:46 +01:00
Jimmy Johnson
abeca66759 sensor: shell: battery: Update support for battery shell queries
Added a `supported` flag to battery status query so if the
charger does not support the query (returns -ENOTSUP) the
command still returns any other supported queries and
doesn't error out without reporting anything. Any other
errors than -ENOTSUP still cause the request to return
immediately, as was the case before the changes. Tested
on nordic npm 13xx.

Signed-off-by: Jimmy Johnson <catch22@fastmail.net>
2026-01-21 20:07:36 +01:00
Albort Xue
65438886e6 drivers: serial: uart_mcux_lpuart: configure clock before initialization
Add clock configuration step before UART initialization to ensure
proper clock setup. The clock is first disabled, then configured
if supported by the clock controller.

If clock configuration is not supported (ENOTSUP/ENOSYS), the driver
continues with default settings. Other errors are treated as failures
and propagated to the caller.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-01-21 20:07:26 +01:00
Greg Leach
5064eda9a4 tests: app_development: Add efr32bg22 support
Map test IRQ to SGI to prevent clash with EUART0 TX IRQ for EFR32BG22 SoC.

Signed-off-by: Greg Leach <greg.leach@ezurio.com>
2026-01-21 20:07:16 +01:00
Greg Leach
730b301009 boards: ezurio: Add rm126x_dvk support
Add support for the Ezurio RM126x DVK board family.

Signed-off-by: Greg Leach <greg.leach@ezurio.com>
2026-01-21 20:07:16 +01:00
Camille BAUD
9e39daadfd doc: release: Notes about SSD1327 Driver
Adds note about Kconfig change for SSD327 driver

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-21 20:07:07 +01:00
Camille BAUD
c5c4df5dd6 tests: build_all: display: Add ssd1325
Add ssd1325 test, rename ssd1327

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-21 20:07:07 +01:00
Camille BAUD
384abc7489 drivers: display: Introduce SSD1325, update driver
Adds SSD1325 support to SSD1327 driver, update and
improve driver.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-21 20:07:07 +01:00
Sven Ginka
f54a3fa8cd dts: bindings: fix filename typo in sy1xx-i2c.yaml
this fixes the incorrect filename of the sy1xx-i2c.yml
file.

Signed-off-by: Sven Ginka <s.ginka@sensry.de>
2026-01-21 20:06:57 +01:00
Camille BAUD
18652dea69 drivers: serial: bflb: do not enable rx and err interrupt by default
It breaks things when callback doesnt expect them.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-21 20:06:48 +01:00
Benjamin Cabé
27120315d3 arch: arm: avoid the use of "sanity check" term
As per coding guidelines, "sanity check" must be avoided.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-21 20:06:35 +01:00
Benjamin Cabé
71262d0e07 arch: xtensa: avoid the use of "sanity check" term
As per coding guidelines, "sanity check" must be avoided.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-21 20:06:25 +01:00
Benjamin Cabé
5a9715add1 arch: x86: avoid the use of "sanity check" term
As per coding guidelines, "sanity check" must be avoided.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-21 20:06:15 +01:00
Benjamin Cabé
f64bb4bf1e arch: riscv: avoid the use of "sanity check" term
As per coding guidelines, "sanity check" must be avoided.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-21 20:06:06 +01:00
Benjamin Cabé
ff78913fa8 arch: arm: smp: Master core should be referred to as "primary"
As per Zephyr guidelines re: inclusive language, the term
"master" is replaced with "primary".

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-21 20:05:54 +01:00
Tahsin Mutlugun
2de323cd3e testsuite: Correct broken link to coverage documentation
The existing documentation link pointed to a non-existent page.
Update the link to use the current documentation URL.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2026-01-21 17:09:07 +01:00
Jukka Rissanen
96121bfb57 net: posix: Avoid multiple definitions of IFNAMSIZ symbol
One might see this compile error depending on what order the
POSIX headers are included

include/zephyr/net/net_compat.h:143: error: "IFNAMSIZ" redefined
.../zephyr/include/zephyr/net/net_compat.h:143:
                                error: "IFNAMSIZ" redefined [-Werror]
  143 | #define IFNAMSIZ NET_IFNAMSIZ
      |
In file included from ...
.../zephyr/include/zephyr/posix/net/if.h:16:
                note: this is the location of the previous definition
   16 | #define IFNAMSIZ IF_NAMESIZE
      |

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-01-21 17:08:55 +01:00
Jeroen Broersen
a10f7f3541 net: lwm2m: senml opaque base64 encoding fix
The SenML-JSON specification mentions base64-encoded data with the
URL-safe alphabet and padding omitted.
For sending data, zephyr used normal base64 with padding. Change the
base64 data to use the URL-safe format without padding when sending opaque
data via SenML-JSON.
Fixes #102390

Signed-off-by: Jeroen Broersen <jeroen.broersen@wioniq.com>
2026-01-21 17:08:41 +01:00
Robert Lubos
fbd9079148 net: dns: Implement CONFIG_DNS_RESOLVER_ADDITIONAL_QUERIES
There was a Kconfig option defined to limit the number of additional DNS
queries sent for aliases received in CNAME records (to avoid potential
query loops), however it was not implemented. This commit implements the
feature - the resolver will now only send up to
CONFIG_DNS_RESOLVER_ADDITIONAL_QUERIES follow-up queries after
receiving CNAME record with an alias w/o any IP addresses.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-21 17:08:29 +01:00
Robert Lubos
38d9c632d6 net: dns: Fix query redirection in case of CNAME result
In case CNAME record is received with no IP addresses, DNS resolver will
attempt to re-send the query for the name indicated by the CNAME record.
The logic for scheduling the new query was inconsistent though:
dispatcher_cb() assumes that it'll reuse the query context with the same
query id, while dns_read() cancelled the query, which shouldn't really
happen, as that would cause an error to be reported to the application
via callback.

Fix that by skipping the query cancel in case of DNS_EAI_AGAIN result.
The query context will be properly reused then, and freed either when
reply for another query arrives, or the query times out.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-21 17:08:29 +01:00
Robert Lubos
2a1b814f7b net: dns: Don't report CNAME records via callback
Don't report CNAME records via application callback (as it used to be
done). They don't carry any data in the info struct and are only used
internally to redirect DNS queries.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-21 17:08:29 +01:00
Sudan Landge
6891d57c01 boards: arm: musca_s1: disable crypto HW acceleration
Disable HW acceleration to fix CI failures caused by -Werror triggered
by prototype mismatches in the crypto accelerator path between TF-M and
Mbed TLS.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2026-01-21 17:08:08 +01:00
Sudan Landge
c30ab4e404 boards: arm: musca_b1: disable crypto HW acceleration
TF-M documentation states that code sharing on Musca-B1 is only
supported with software crypto and requires crypto hardware acceleration
to be disabled. So, force CRYPTO_HW_ACCELERATOR=OFF for the Musca-B1
non-secure TF-M build to match this requirement.

This also fixes CI failures caused by -Werror triggered by prototype
mismatches in the crypto accelerator path between TF-M and Mbed TLS.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2026-01-21 17:08:08 +01:00
Sudan Landge
7294fca0ac boards: arm: musca: Update flash layout to fix ci failure
Flash layout of musca_b1 and musca_s1 is updated as recommended by
mcuboot. This also fixes the below cmake build failures reported in
Zephyr ci.

```
CMake Error at
zephyrproject/zephyr/cmake/modules/extensions.cmake:3877
(message):
  required nodelabel not found: slot0_partition
Call Stack (most recent call first):
  zephyrproject/zephyr/modules/trusted-firmware-m/CMakeLists.txt:489
  (dt_nodelabel)
```

Note that the flash address of musca_b1 board is fixed from 0x0A07_0000
to 0x0A08_0000 as this was missed after the layout was changed in TF-M
in e1570bd143ef4843a531b57f77f0c2814b075dd9

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2026-01-21 17:08:08 +01:00
Magne Værnes
c2011b9d0f lib: posix: add missing getopt_long guard
Added ifdef guard (CONFIG_GETOPT_LONG) around the functions in
getopt_shim.c that requires getopt_long implementation.

Signed-off-by: Magne Værnes <magne.varnes@nordicsemi.no>
2026-01-21 17:07:49 +01:00
Jonas Berg
7c66a65c73 boards: shields: Add Adafruit HTS221 humidity sensor shield
Tested with the command mentioned in index.rst

Compile testing of the overlay file is done via
the dht_polling sample.

Product photo from https://learn.adafruit.com/assets/89387

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-21 17:07:33 +01:00
Sylvio Alves
be501ebb06 drivers: i2s: skip syscall validation when unconfiguring stream
When frame_clk_freq is set to 0, the I2S API specifies that the
stream should transition to NOT_READY state (i.e., unconfigure).
In this case, other config fields like mem_slab and block_size
are not used by the driver.

Skip the mem_slab and block_size validation in the syscall handler
when frame_clk_freq is 0 to match the driver behavior and avoid
rejecting valid unconfigure requests due to uninitialized fields.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-21 17:07:19 +01:00
Sylvio Alves
a5dd03b029 tests: drivers: i2s: initialize i2s_config struct to avoid garbage
Initialize the i2s_config struct to zero before use in the
test_i2s_state_not_ready_neg test case.

When frame_clk_freq is set to 0 to unconfigure a stream, other
fields in the struct were left uninitialized. On platforms with
userspace support, the syscall handler validates block_size against
the mem_slab block size before calling the driver.
Uninitialized garbage values could cause this validation to
fail unexpectedly.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-21 17:07:19 +01:00
Albort Xue
f5bee07bf5 drivers: spi: nxp_lpspi: Add clock configuration support
Add clock_control_configure() call during initialization to properly
configure the LPSPI clock. The implementation gracefully handles
platforms that don't support clock configuration by checking for
-ENOTSUP and -ENOSYS return codes and continuing with default
settings. Real configuration errors are logged and propagated.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-01-21 17:06:57 +01:00
Grzegorz Chwierut
efc36d96d3 twister: refactor DUT class to dataclass for serialization support
Convert the DUT class from a traditional class to a dataclass to enable
proper serialization and support for future multi-device testing with
pytest-harness.

Key changes:
- Migrated DUT class to use `dataclass` decorator with proper type hints
- Renamed `baud` property to `serial_baud` for consistency
- Updated hardware map schema to support both `baud` (legacy) and
`serial_baud` fields for backward compatibility
- Updated tests

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2026-01-21 17:06:36 +01:00
Gaetan Perrot
8340e8c264 drivers: sensor: ina2xx: get: remove redundant channel NULL checks
The ina2xx channel get helpers assume that channel descriptors are
valid when the driver exposes a given sensor channel.

Checking for NULL channel pointers after they are already
dereferenced does not provide any real safety and can hide
configuration errors.

Drop the late NULL checks and rely on the driver contract that
supported channels must be properly defined.

No functional change intended.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-21 17:06:19 +01:00
Gaetan Perrot
ae44e1e7b7 drivers: sensor: ina2xx: fetch: remove redundant channel NULL checks
The INA2xx fetch path assumes valid channel descriptors for all
supported sensor channels.

NULL checks performed after channel data is accessed are ineffective
and misleading, as invalid channel definitions indicate a
configuration error rather than a runtime condition.

Remove the redundant checks and keep the channel handling consistent
with the driver expectations.

No functional change intended.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-21 17:06:19 +01:00
Pieter De Gendt
3a961db126 doc: releases: 4.4: Add COBS streaming support entry
Add a Utilities entry with added COBS structs and functions.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-21 17:06:04 +01:00
Pieter De Gendt
aa76c1d10d tests: lib: cobs: Add streaming tests
Add test cases for streaming variants of COBS encoder/decoder.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-21 17:06:04 +01:00
Pieter De Gendt
f344ab6b98 cobs: Introduce streaming
This commit does:

- Introduce COBS streaming
- Refactor custom delimiter with XOR'ed encoded data
- Update tests

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-21 17:06:04 +01:00
Pieter De Gendt
d4bf9ea2e8 tests: lib: cobs: Remove malloc/free
Use static fixture struct so no malloc/free is needed.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-21 17:06:04 +01:00
James Roy
ae556f8914 dts: bindings: can: Move the dts clips to the examples
Move the dts sample nodes from the binding `description`
into the `examples` block.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-21 17:05:41 +01:00
James Roy
55870811db dts: bindings: timer: Move the dts clips to the examples
Move the dts sample nodes from the binding `description`
into the `examples` block.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-21 17:05:41 +01:00
James Roy
08ba0d242c dts: bindings: cache: Move the dts clips to the examples
Move the dts sample nodes from the binding `description`
into the `examples` block.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-21 17:05:41 +01:00
James Roy
a93c789c51 dts: bindings: charger: Move the dts clips to the examples
Move the dts sample nodes from the binding `description`
into the `examples` block.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-21 17:05:41 +01:00
James Roy
3989a59e9b dts: bindings: auxdisplay: Move the dts clips to the examples
Move the dts sample nodes from the binding `description`
into the `examples` block.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-21 17:05:41 +01:00
James Roy
6524e670b3 edtlib: Fix the accidental merging of examples in the binding
Fix the example nodes in the examples block being accidentally
merged and overwritten during build.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-21 17:05:41 +01:00
Aditya Ganesh
f9de2777d9 drivers: sensor: i3g4250d: migrate SPI support to stmemsc
Convert the i3g4250d driver to use the ST MEMS SC API for SPI

Signed-off-by: Aditya Ganesh <adga5133@colorado.edu>
2026-01-21 17:05:13 +01:00
Tim Lin
125d88c172 soc: it8xxx2: Select KERNEL_NO_LTO only when LTO is enabled
Select KERNEL_NO_LTO only when LTO is enabled. This ensures proper
handling when kernel code is placed in RAM.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2026-01-21 17:04:50 +01:00
Tim Lin
2edece9d58 kernel: Add Kconfig option to disable LTO for kernel sources
Some SoCs require kernel code to be placed in RAM, which makes
link-time optimization (LTO) unsuitable for these files.
Disabling LTO allows the affected code to be linked as separate
objects and placed in specific memory regions.

Running kernel code from RAM can improve execution performance,
especially for timing-critical routines or context switch paths.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2026-01-21 17:04:50 +01:00
Alberto Escolar Piedras
4d0852b005 lib/midi2: Do not add to include path always
Do not add this folder to the include path when this component is not
enabled. As that creates noise and slows down builds.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-01-21 13:03:38 +00:00
Gang Li
0a92e6f908 modules: hostap: Fix DPP show UNKNOWN security type after reconfiguration
In case DPP reconfiguration test, if the dpp_akm has psk,
it will set WPA_KEY_MGMT_PSK | WPA_KEY_MGMT_PSK_SHA256 |
WPA_KEY_MGMT_FT_PSK to key_mgmt, then wifi status shows
security as "Unknown".

Signed-off-by: Gang Li <gang.li_1@nxp.com>
2026-01-21 13:03:26 +00:00
Lucien Zhao
0e0757cc3c soc: nxp: delete HAS_MCUX_SIM/RCM kconfig symbols
- Remove HAS_MCUX_SIM and HAS_MCUX_RCM Kconfig symbols
on NXP platforms

- delete HAS_MCUX_SIM/HAS_MCUX_RCM kconfigs,
use dt ways to get enabled SIM/RCM devices

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-01-21 13:03:11 +00:00
Lucien Zhao
0a6e0160b4 hwinfo: mcux_sim/mcux_rcm: Add new dependency
Change to use DT_HAS_NXP_SIM_UUID_ENABLED/DT_HAS_NXP_RCM_HWINFO_ENABLED
as the dependency condition for HWINFO_MCUX_SIM/HWINFO_MCUX_RCM to
enable the driver when the nxp,sim-uuid/nxp,rcm-hwinfo compatible
is present in the devicetree.

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-01-21 13:03:11 +00:00
Lucien Zhao
eb43ffc6b8 dts: arm: nxp: Add specific compatible strings for RCM and SIM
Add vendor-specific compatible strings to RCM and SIM nodes:
- "nxp,rcm-hwinfo" for Reset Control Module (hwinfo-reset functionality)
- "nxp,sim-uuid" for System Integration Module (hwinfo-UUID functionality)

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-01-21 13:03:11 +00:00
Lucien Zhao
215a35c78f dts: bindings: hwinfo: add nxp,rcm-hwinfo and nxp,sim-uuid.yaml
- add nxp,rcm-hwinfo.yaml and nxp,sim-uuid.yaml to support hwinfo
  features by using dts ways

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-01-21 13:03:11 +00:00
Peter Hoddie
ec3c28db0f boards: adafruit: correct gpio pin numbers for feathers
These DTS uses absolute GPIO numbers for some
pins where relative pin numbers are required.
This causes crash on booth when these pins
are enabled. Follow on PR to #101857.

Signed-off-by: Peter Hoddie <peter@moddable.com>
2026-01-21 13:02:55 +00:00
Tom Hughes
2d6aa47398 tests: mcumgr: Re-enable clang warning by using variables
When removing TOOLCHAIN_DISABLE_CLANG_WARNING, building the
settings.mgmt test with clang fails with:

tests/subsys/mgmt/mcumgr/settings_mgmt/src/main.c:87:22: error:
variable 'test_response_read_data_start' is not needed and will not be
emitted [-Werror,-Wunneeded-internal-declaration]
   87 | static const uint8_t test_response_read_data_start[5] = {
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/subsys/mgmt/mcumgr/settings_mgmt/src/main.c:91:22: error:
variable 'test_response_read_data_end' is not needed and will not be
emitted [-Werror,-Wunneeded-internal-declaration]
   91 | static const uint8_t test_response_read_data_end[1] = {

Add additional asserts to use these variables in the test.

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
2026-01-21 13:02:20 +00:00
Stephan Linz
8bf8eeb338 drivers: display: rm67162: avoid uninitialized variable
Warning as error was:

.../drivers/display/display_rm67162.c: In function ‘rm67162_write_fb’:
.../drivers/display/display_rm67162.c:383:9: error: ‘wlen’ may be used
          uninitialized in this function [-Werror=maybe-uninitialized]
  383 |  return wlen;
      |         ^~~~
cc1: all warnings being treated as errors

Signed-off-by: Stephan Linz <linz@li-pro.net>
2026-01-21 13:01:53 +00:00
Evgenii Kosenko
7deab5e334 Bluetooth: Shell: Add per-bearer pool for GATT operations
The original implementation used a single global parameter structure for
GATT operations, preventing concurrent operations on different bearers. By
introducing a per-bearer context pool, each bearer can maintain its own
operation state, enabling simultaneous GATT operations.

Signed-off-by: Evgenii Kosenko <Evgenii.Kosenko@silabs.com>
2026-01-21 13:01:42 +00:00
Laurentiu Mihalcea
bf747b8e03 bindings: scmi: modify description format
Modify the description format of all SCMI-related bindings such that the
SCMI/SHMEM acronym is spelled out in between parentheses and not the other
way around. This will make the generated documentation more compact.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2026-01-21 11:25:46 +00:00
Braeden Lane
4e314b4aec boards: infineon: standardize pinctrl in supported list
Update board YAML files to use 'pinctrl' instead of 'pin_ctrl'
in the supported features list for consistency with Zephyr
naming conventions.

Affected boards:
- cy8cproto_041tp
- kit_pse84_ai
- kit_pse84_eval

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-01-21 11:25:38 +00:00
Robert Lubos
699da43045 samples: net: sockets: http_get: Fix addrinfo dump
The debug code for dumping resolved addresses was modifying the addrinfo
res pointer (effectively setting it to NULL), causing crash later in the
sample. Fix this, by using a temporary pointer copy for iterating over
resolved addresses.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-21 11:24:43 +00:00
Felix Wang
c7425884d6 MAINTAINERS: add FelixWang47831 as PWM collaborator
Add FelixWang47831 as a collaborator for the PWM driver.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-21 11:24:32 +00:00
Aksel Skauge Mellbye
a2b64c9335 dts: arm: silabs: Clean up radio feature selection
Sort ble radio feature properties alphabetically according to
the coding standard.

Certain features on xg22 and xg28 depend on the specific SoC
selected, move the properties from the generic .dtsi file to
the SoC specific one.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-01-21 11:24:21 +00:00
Flavio Ceolin
3d5a3ae075 entropy: mcux_rng: Do not ignore possible error
Propagate the HAL error otherwise it may return success even
when it fails causing invalid entropy and compromising security.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-21 11:24:07 +00:00
Daniel Leung
231e72af8e boards: snps/arc: add nsim_vpx5/mpuv3 board
This adds the nsim_vpx5/mpuv3 board for MPU. The files
are based on nsim_vpx5 board files.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2026-01-21 11:23:33 +00:00
Daniel Leung
ee8f9915a4 soc: arc: mark nsim_vpx5 as supporting MPU
This selects CONFIG_CPU_HAS_MPU for nsim_vpx5 series SoC as
it supports ARC MPUv3.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2026-01-21 11:23:33 +00:00
Daniel Leung
2c911b1b8a soc: snps: vpx5: no -Hccm compiler option for userspace
With -Hccm, the linker automatically moves stuff in RODATA
section into DATA section. Our current kobject related
scripts cannot accommodate this, resulting in space not
being reserved correctly. So for now, disable -Hccm
compiler option if userspace is enabled.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2026-01-21 11:23:33 +00:00
Waqar Tahir
8e7198392a manifest: tf-m: BL2 support mcxn947
Updated TF-M repo for BL2 support in mcxn947

Signed-off-by: Waqar Tahir <waqar.tahir@nxp.com>
2026-01-21 11:23:17 +00:00
Waqar Tahir
07384efb72 samples: tfm_ipc: update mcxn947 board support
As the board now supports TF-M with bl2, spport
from sample.tfm_ipc.no_bl2 is removed and
added in sample.tfm_ipc test.

Signed-off-by: Waqar Tahir <waqar.tahir@nxp.com>
2026-01-21 11:23:17 +00:00
Waqar Tahir
bdcb5c6b4b boards: nxp: mcxn947: updated partitions
- Updated partitions in non-secure device tree
  files as tfm now supports Bl2.
- Flash_base address updated for ns-app as
  tfm apps are now using bl2 by default.

Signed-off-by: Waqar Tahir <waqar.tahir@nxp.com>
2026-01-21 11:23:17 +00:00
Hui Bai
0cafc3e4f6 modules: hostap: Add new APIs to set operating mode for SoftAP
Add new APIs to set operating mode 11n, 11ac and 11ax for SoftAP.
Currently, the 11n, 11ac and 11ax are enabled by default. Theses APIs
can be used to configure operating modes enable/disable for SoftAP.

Signed-off-by: Hui Bai <hui.bai@nxp.com>
2026-01-21 11:22:57 +00:00
Adrian Warecki
c1a2b3be45 xtensa: Restore the EXCCAUSE register when returning from Double Exception
Preserve EXCCAUSE and EXCVADDR values on entry to _Level1Vector.
Restore EXCCAUSE when exiting TLB miss exception handling in the double
exception handler.

During first-level exception handling, a LoadStoreTLBMissException may
occur during the initial register dump to BSA. It modifies EXCCAUSE and
EXCVADDR registers before they are saved in BSA. Therefore, these values
must be captured as early as possible.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
2026-01-21 11:22:35 +00:00
Adrian Warecki
fd8188a408 xtensa: Remove saving EXCCAUSE in BSA from _Level1Vector
Remove saving EXCCAUSE register in BSA through the _Level1Vector handler.
These value are later overwritten by the ODD_REG_SAVE macro called by
EXCINT_HANDLER, so saving it here is pointless.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
2026-01-21 11:22:35 +00:00
Gaetan Perrot
1a12292846 tests: drivers: flash: negative_tests: fix write/fill alignment tests
The negative flash write and fill tests assumed that unaligned
offsets are always invalid.

This is not true for flash drivers reporting a write_block_size of
1, where all offsets and sizes are naturally aligned.

Condition the unaligned offset and size tests on the actual
write_block_size reported by the driver to avoid false failures and
ensure the tests follow the flash API contract.

No functional change for drivers with write_block_size > 1.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-21 11:22:25 +00:00
Jiafei Pan
b1946cba2a boards: imx943_evk: use 100M PHY for net switch port
Currently the PHY for 2.5G SGMII is not enabled, so could only use 100M
PHY for two switch ports on the board.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-01-21 11:22:09 +00:00
Jiafei Pan
4edfd97621 dts: arm64: mimx943; add MSI device ID for ENET3 port
ENET3 port is internal port for switch, add MSI device ID to enable
interrupt for it.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-01-21 11:22:09 +00:00
Jamie McCrae
b0467a0313 doc: release: migration_guide: 4.4: Add MCUmgr change
Adds a note on a required change for MCUmgr if using the UART
transport

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-21 11:21:46 +00:00
Jamie McCrae
917404f5d7 mgmt: mcumgr: transport: uart: Change Kconfig to depends on
Changes CONFIG_MCUMGR_TRANSPORT_UART from selecting
CONFIG_UART_MCUMGR to instead of depending upon it, as it should
never have selected a driver Kconfig and instead always depended
upon it, and is needed for supporting different UART transports

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-21 11:21:46 +00:00
Khai Cao
71389b3dd5 doc: releases: document ek_ra8t2/r7ka8t2lfecac rename
Document the board rename from ek_ra8t2/r7ka8t2lfecac/cm85 to
ek_ra8t2/r7ka8t2lflcac/cm85 in the Zephyr v4.4.0 migration guide.

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-01-21 11:21:27 +00:00
Khai Cao
c1a356e5ef boards: renesas: Correct part number for mck_ra8t2 board
Correct part number for mck_ra8t2 board by change
r7ka8t2lfecac to r7ka8t2lflcac

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-01-21 11:21:27 +00:00
Ederson de Souza
86f7962d2c drivers/i3c/mcux: Handle short reads from target
Sometimes, the size of a message coming from a target is not known in
advance. In those cases, we must rely on the T-bit to get the end of
message, which is signaled as the `COMPLETE` bit of `MSTATUS`.

This patch verifies the COMPLETE bit before starting to wait for data,
and if set, simply returns what was read so far.

As a bonus, this simplifies the handling of IBI bytes: no need to rely
on timeouts, if it's reading from IBI, etc.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2026-01-21 11:19:57 +00:00
Ederson de Souza
3311d9734c drivers/i3c/mcux: Don't lose return value for function
Return value for `mcux_i3c_do_one_xfer` was being lost due reuse
of `ret` variable. Use another variable for timeout check.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2026-01-21 11:19:57 +00:00
Ederson de Souza
0bbe07bbc7 drivers/i3c/mcux: Use size_t for buffer size
Or a buffer whose size is 256 will become zero.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2026-01-21 11:19:57 +00:00
Kate Wang
6f5e752187 drivers: display: co5300: Fix pitch calculation in write function
The previous implementation incorrectly calculated the source pointer
advancement when pitch differs from width. The calculation was using
`total_bytes_sent` which accumulated across iterations, leading to
incorrect pointer arithmetic.

Replace `total_bytes_sent` with `line_each_sent` to track lines written
per iteration. Simplify the pointer advancement by:
- Calculating complete lines written from bytes_written
- Advancing by full pitch-sized lines
- Adding any remaining partial line bytes

This fixes the source pointer calculation when the buffer pitch is
greater than the display width.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-01-21 11:19:44 +00:00
Etienne Carriere
fdda5f5fad manifest: psa-arch-tests: build PSA arch tests from Zephyr
Restore build of TF-M PSA-arch-tests using the Zephyr SDK toolchain.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-01-21 11:19:32 +00:00
Jakub Zymelka
7431163b52 samples: ipc: icmsg: Extend support for nRF54LM20A
Extends support and adds new overlays.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
2026-01-21 11:19:21 +00:00
Pieter De Gendt
93b5f19f99 doc: releases: 4.4: Add ADC_DT_SPEC_GET_*_OR
Add an entry to the release notes with the added ADC DT spec macros.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-20 20:11:59 -05:00
Pieter De Gendt
6dcc156258 tests: lib: devicetree: api_ext: Add ADC_DT_SPEC with fallback tests
Add tests for the _OR variant sf the different ADC_DT_SPEC_GET macros.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-20 20:11:59 -05:00
Pieter De Gendt
0d4435984a include: zephyr: drivers: adc: Add adc_dt_spec _OR variants
Add _OR variations for the differen adc_dt_spec initialization macros.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-20 20:11:59 -05:00
Pieter De Gendt
12408745f4 tests: lib: devictree: api_ext: Add ADC_DT_SPEC_GET_BY_IDX cases
Add tests for the ADC_DT_SPEC_GET_BY_IDX and ADC_DT_SPEC_INST_GET_BY_IDX
macros.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-20 20:11:59 -05:00
Matthias Blankertz
f58602891a drivers: watchdog: wdog32: Add missing include for k_msleep
In commit 1f9e39752a ("drivers: watchdog: wdog32: add delay before
init") a reference to k_msleep was added to
drivers/watchdog/wdt_mcux_wdog32.c without including the necessary
header. At least for the board frdm_mcxw71/mcxw716c, this causes a
compile failure in this file as soon as CONFIG_WATCHDOG is enabled.

Add the missing include to zephyr/kernel.h to fix the issue.

Signed-off-by: Matthias Blankertz <matthias.blankertz@inovex.de>
2026-01-20 20:11:49 -05:00
Matthias Blankertz
b672a265a4 boards: nxp: frdm_mcxw71: Connect Arduino header I2C
The I2C bus of the lpi2c1 I2C controller is connected to the Arduino
Shield header on the usual pins. Label it with "arduino_i2c" in the
board device tree so that the frdm_mcxw71 board can be used with I2C
shields.

Signed-off-by: Matthias Blankertz <matthias.blankertz@inovex.de>
2026-01-20 20:11:49 -05:00
Jacob Wienecke
87baf78082 boards: shields: nxp_m2_wifi_bt remove oob-gpios
Remove oob-gpios property from nxp_m2_1xk_wifi_bt.overlay. There is no
binding for this property at bindings\wifi\nxp,wifi.yaml. Therefore,
builds using this shield will fail.

Signed-off-by: Jacob Wienecke <jacob.wienecke@nxp.com>
2026-01-20 20:11:40 -05:00
farsin NASAR V A
5f91dc2a75 tests: drivers: dac: Add SAM E54 Xplained Pro test support
Add board-specific configuration and overlay files for
running DAC API tests on the SAM E54 Xplained Pro board.
- Add sam_e54_xpro.conf
- Add sam_e54_xpro.overlay
- Update DAC API test to support the board

Signed-off-by: farsin NASAR V A <farsin.nasarva@microchip.com>
2026-01-20 20:11:31 -05:00
Arunprasath P
8b778f57f9 boards: microchip: sam_e54_xpro: Add DAC pinctrl and feature support
Add DAC pinctrl definitions and update the board metadata
to list DAC as a supported feature on the SAM E54 Xplained Pro board.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2026-01-20 20:11:31 -05:00
Arunprasath P
74bafaf20e drivers: dac: microchip: Introduce DAC G1 Driver
Add G1 DAC driver for Microchip DAC Peripherals.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2026-01-20 20:11:31 -05:00
Arunprasath P
dc0360df2c dts: arm: microchip: Introduce dac g1 binding file and dts node
Add the device tree node and the binding file for
microchip DAC G1 Peripherals.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2026-01-20 20:11:31 -05:00
Ali Hozhabri
03822df9a7 west.yml: Update west to point to the recent changes for hal_stm32
Update west.yml to point to the recent changes for hal_stm32.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
2026-01-20 20:11:22 -05:00
Ali Hozhabri
2bc754e581 drivers: timer: Fix a typo in the STM32WB07 radio timer
Replace one extra CONFIG_SOC_STM32WB06XX with the CONFIG_SOC_STM32WB07XX.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
2026-01-20 20:11:22 -05:00
Ali Hozhabri
a32b5cfe34 drivers: timer: Fix radio timer issue on STM32WB07/STM32WB05
Due to the hardware limitation, the time between the CPU wake-up IRQ fire
(IRQ 23) and the next call of LL_RADIO_TIMER_SetCPUWakeupTime should not
be less than 16 MTU (Machine Time Unit), i.e. approximately 30us.
otherwise, the next CPU wake-up doesn't happen unless the timer wraps.

Lock IRQs while sys_clock_set_timeout is being executed.

Remove HAL_RADIO_TIMER_WakeUpCallback and it will be implemented
differently in the future.

Remove HAL_RADIO_TIMER_TimeoutCallback as it is not needed anymore.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
2026-01-20 20:11:22 -05:00
Ali Hozhabri
e1257bf845 drivers: entropy: Fix STM32WB07/STM32WB05 init issue
Change the initialization priority. According to the documentation, kernel
services should not be used during device configuration with PRE_KERNEL_1.
In "entropy_stm32_rng_init", there is "start_pool_filling" which calls
"k_work_schedule". Moreover, "k_work_schedule" requires system timer which
is initialized within PRE_KERNEL_2. Therefore, the SoC gets stuck.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
2026-01-20 20:11:22 -05:00
Yongxu Wang
0296e2ee3b dts: arm: nxp: imx943: enable runtime PM auto for LPI2C
Enable automatic runtime power management for all LPI2C instances
to support interrupt-driven when suspend and resume device
by scmi firmware interface.

On i.MX943 with System Manager firmware, clock operations require
SCMI communication which needs interrupts. The system-managed PM
approach locks interrupts during device suspend/resume, preventing
SCMI from completing.

Although lpi2c mcux driver have enabled pm runtime in driver init,
set lpi2c auto runtime in dts to record this issue that only
device runtime can be supported now.

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-01-20 20:11:10 -05:00
Yongxu Wang
9a8acec820 drivers: i2c: mcux_lpi2c: add PM device support
Add PM device support for the LPI2C peripheral.

Implement PM device callback to gate and ungate the device clock
during suspend and resume. No attach register save and restore as
it's preserved by hardware

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-01-20 20:11:10 -05:00
Pisit Sawangvonganan
ec2b92c1e6 drivers: spi_nxp_lpspi: prevent null pointer dereference
The condition `!spi_context_rx_buf_on(ctx) && spi_context_rx_on(ctx)`
only returns early when RX is active with a NOP buffer.
However, when `rx_len == 0`, `spi_context_rx_on(ctx)` returns false,
causing the early return to be skipped.
This leaves `ctx->rx_buf` (which can be NULL) to be dereferenced.

Since `lpspi_handle_rx_irq()` already guarantees `spi_context_rx_on(ctx)`
is true before calling this function, only check
`!spi_context_rx_buf_on(ctx)` to safely handle NOP buffers.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2026-01-20 20:11:01 -05:00
Pisit Sawangvonganan
e28b3b04ce drivers: spi_nxp_lpspi: simplify lpspi_rx_buf_write_words
Refactor `lpspi_rx_buf_write_words()` to compute `words_read` upfront
using `MIN(rx_len, max_read)`, simplifying control flow and making
the read limit explicit without changing behavior.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2026-01-20 20:11:01 -05:00
Jonas Berg
e35cb66069 boards: Add support for Longan Labs CANBed RP2040
Tested with the commands mentioned in index.rst

Product photo from https://docs.longan-labs.cc/1030018/

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-20 20:10:52 -05:00
Jonas Berg
00fceded42 dts: bindings: vendor-prefixes: Add longan
Add vendor prefix for Longan Labs

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-20 20:10:52 -05:00
TOKITA Hiroshi
45cde341dc drivers: serial: pl011: Allows mixed IRQ settings.
Allows a mixture of IRQ-enabled and IRQ-disabled nodes.
Enabled nodes are identified by the presence or absence of
the interrupt-names property.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-20 20:10:42 -05:00
Albort Xue
d9e86ad878 drivers: can: mcux_flexcan: Add clock configuration and enable
Add explicit clock configuration and enable calls during driver
initialization.

Note: -ENOSYS is temporarily ignored as not all clock control
drivers currently implement the configure API. This handling
should be removed once all clock drivers support configure.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-01-20 20:10:31 -05:00
Albort Xue
dba5c5081f drivers: pwm: mcux_tpm: Add clock configuration support
Add clock_control_configure() call during initialization to properly
configure the TPM clock. The driver now attempts to configure the
clock and handles cases where configuration is not supported by the
platform (-ENOTSUP/-ENOSYS) by continuing with default settings.
Real configuration errors are logged and cause initialization to fail.

Note: -ENOSYS is temporarily ignored as not all clock control
drivers currently implement the configure API. This handling
should be removed once all clock drivers support configure.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-01-20 20:10:19 -05:00
Ederson de Souza
e30b0acea9 MAINTAINERS: Add edersondisouza as PMCI collaborator
Add edersondisouza as a collaborator to PMCI - it should've been done
when edersondisouza was added as libmctp West module collaborator, but
it was missed.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2026-01-20 20:09:55 -05:00
Daniel Leung
61e9f9ea04 soc: intel_adsp: rename CONFIG_SOC_INTEL_ACE* to CONFIG_SOC_ACE*
Just following guidelines here.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2026-01-20 20:09:40 -05:00
Daniel Leung
1dae40fa2e soc: rename CONFIG_INTEL_CAVS_V25 to CONFIG_SOC_CAVSV25
Just following the guideline.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2026-01-20 20:09:40 -05:00
Gillian Minnehan
987722df9d doc: add license/terms to external module template
It is important to include license and terms of use information
in the documentation for external modules. This helps users
understand their rights and obligations when using these modules
within the Zephyr project.

Signed-off-by: Gillian Minnehan <gillian.minnehan@nordicsemi.no>
2026-01-20 20:09:23 -05:00
Tom Hughes
8ea64b7b33 bluetooth: audio: Fix redundant initialization
When building the bluetooth.general.tester_le_audio test with clang and
-Winitializer-overrides, it warns:

subsys/bluetooth/audio/mpl.c:318:2: error: initializer overrides prior
initialization of this subobject [-Werror,-Winitializer-overrides]
  318 |         .add_group = NULL,
      |         ^~~~~~~~~~~~~~~~~
subsys/bluetooth/audio/mpl.c:317:15: note: previous initialization is here
  317 |         .add_track = NULL,
      |                      ^~~~

Remove redundant initializer for add_group which overlaps with add_track
in an anonymous union.

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
2026-01-20 20:09:06 -05:00
Benjamin Cabé
e6b8ffba92 drivers: modem: adopt SHELL_HELP in modem_at shell
Use SHELL_HELP macro for help strings to ensure consistency across
various shell modules.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-20 20:08:47 -05:00
Benjamin Cabé
114b3bd50c drivers: mdio: adopt SHELL_HELP in MDIO shell
Use SHELL_HELP macro for help strings to ensure consistency across
various shell modules.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-20 20:08:34 -05:00
Benjamin Cabé
25448bc996 task_wdt: adopt SHELL_HELP in task watchdog shell
Use SHELL_HELP macro for help strings to ensure consistency across
various shell modules.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-20 20:07:37 -05:00
Benjamin Cabé
39a8408b30 drivers: pm_cpu_ops: adopt SHELL_HELP in psci shell
Use SHELL_HELP macro for help strings to ensure consistency across
various shell modules.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-20 20:07:25 -05:00
Tom Hughes
f9664d51c3 samples: net: midi2: Fix compiler warning
When building with clang we get the following warning when building the
sample.net.midi2.host_auth_user test:

samples/net/midi2/src/main.c:122:54: error: initializer element is not a
compile-time constant
  122 | NETMIDI2_EP_DEFINE_WITH_USERS(midi_server, ump_ep_dt.name, NULL, 0,
      |                                            ~~~~~~~~~~^~~~
include/zephyr/net/midi2.h:99:12: note: expanded from macro
'NETMIDI2_EP_DEFINE_WITH_USERS'
   99 |                 .name = (_ep_name), \
      |                          ^~~~~~~~

Instead of using ump_ep_dt.name for initialization, we use the
equivalent expression that UMP_ENDPOINT_DT_SPEC_GET(DT_NODELABEL(midi2))
initializes the ".name" member with.

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
2026-01-20 20:06:50 -05:00
Benjamin Cabé
8f8502c0c7 drivers: i3c: shell: adopt SHELL_HELP in I3C shell
Use SHELL_HELP macro for help strings to ensure consistency across
various shell modules and save quite a bit of flash.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-20 20:06:18 -05:00
Gaetan Perrot
5e16700cb2 drivers: ethernet: phy: phy_dm8806: fix error handling
The return value of gpio_pin_set_dt() and
gpio_pin_interrupt_configure_dt() was not stored before being
checked, causing the error condition to always evaluate to false.

Store the return value and properly handle potential GPIO errors
during PHY reset.

No functional change intended.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-20 20:06:06 -05:00
Fabian Blatz
3658dbd489 manifest: Update LVGL to 9.4.X
Update the west yaml to point to the new LVGL version.
Update CMakeLists and samples accordingly.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2026-01-20 20:05:25 -05:00
Eden Uhde
98573a57cd drivers: display: ls0xx: add Kconfig setting VCOM thread priority for ls0xx
The ls0xx driver VCOM inversion thread has a hardcoded priority of 3,
while in some applications this may be considered lower priority than
time sensitive tasks, maintaining close to an even polarity balance is
best, but this change allows developers to determine the approach.

Signed-off-by: Eden Uhde <eden@rainbowtree.house>
2026-01-20 20:05:15 -05:00
Benjamin Cabé
474d502df3 doc: link-roles: Update path handling to use document name
Use docname instead of source from get_source_and_line() because
source can be a relative path to an included file (e.g., .rst.inc),
while docname is always the main document being processed.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-20 20:04:57 -05:00
Benjamin Cabé
608fdac2d7 doc: release: convert broken zephyr_file links to literal paths
Fix dead links by replacing them to normal strings. This is in
preparation for a fix in zephyr_file role link check that will make the
checks more strict and fail on these even if they hadn't been flagged
until now.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-20 20:04:57 -05:00
Guðni Már Gilbert
284a30053f scripts: twister: don't parse west modules in TestPlan
TwisterEnv already parses west modules during initialization, but TestPlan
was parsing them again via zephyr_module.parse_modules(), duplicating work.

Store the parsed module objects on TwisterEnv (self.modules) and have
TestPlan derive its module name list from env.modules instead. This drops
the redundant parse in TestPlan by removing handle_modules() and its call
site.

Each call to parse_modules() takes around 250-300ms on my end.

Update twister unit tests

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
2026-01-20 20:04:37 -05:00
Felix Wang
0bce58b4fe boards: nxp: frdm_mcxe247: Add supported list in board yaml
Newly supported items: counter, pwm

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-20 14:36:24 -05:00
Felix Wang
765476405a tests: drivers: pwm: Enable FTM pwm test on frdm_mcxe247
Provide overlay file to configure ftm to
enable pwm_api and pwm_loopback

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-20 14:36:24 -05:00
Felix Wang
a2e3327273 boards: nxp: frdm_mcxe247: Enable FTM0 in device tree
Enable FTM0 for frdm_mcxe247, which using fircdiv1_clk.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-20 14:36:24 -05:00
Felix Wang
c6e6463918 boards: nxp: frdm_mcxe247: Fix typo in ASSERT_ASYNC_CLK_DIV_VALID
The val should be 32, not 2.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-20 14:36:24 -05:00
Felix Wang
b7106127af drivers: counter: Support multiple interrputs
For devices like MCXE247, the FTM peripheral instance
has multiple interrupts. In this patch, add FTM_CONFIG_FUNC
macro to support single or multiple interrupts based on irq
number.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-20 14:36:24 -05:00
Neil Chen
03aef0d156 boards: nxp: frdm_mcxaxx6: Support usb for NXP frdm_mcxaxx6 board
Support usb for NXP frdm_mcxa1366 and frdm_mcxa266 board.
Test it using samples/subsys/usb/console and tests/drivers/udc

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-20 14:36:14 -05:00
Neil Chen
ed75a28d9c dts: arm/nxp: Add usb nodes to NXP MCXA366 and MCXA266 dtsi file
Add usb nodes to NXP MCXA366 and MCXA266 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-20 14:36:14 -05:00
Neil Chen
b2d28bc8d5 boards: nxp: frdm_mcxaxx6: add arduino labels
Added arduino_header node labels to FRDM-MCXA366,FRDM-MCXA346 and
FRDM-MCXA266 device tree board definition, allowing compatible
shield boards to be used. Also extend the board YAML file with
related support tags arduino_gpio.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-20 14:36:14 -05:00
Kate Wang
cf7763ea37 tests: drivers: build_all: input: Add TMA525B to build test
Add the TMA525B touch controller driver to the input build_all test.
This includes:
- Device tree overlay entry for the TMA525B device
- Test configuration enabling interrupt mode

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-01-20 14:36:06 -05:00
Kate Wang
ec5a3db24b samples: lvgl: demos: Add zc143ac72mipi shield to test platforms
Adds the zc143ac72mipi shield configuration for the mimxrt700_evk
platform to the LVGL demos sample test platforms.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-01-20 14:36:06 -05:00
Kate Wang
504cf082d8 boards: shields: g1120b0mipi: Move configs to board-specific files
Move MIPI_DSI_MCUX_2L_SWAP16 and LV_COLOR_16_SWAP configuration from
the shield's Kconfig.defconfig to board-specific configuration files.
This allows for better board-level customization and removes the
conditional logic from the shield defaults.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-01-20 14:36:06 -05:00
Kate Wang
a6df355b12 boards: shields: zc143ac72mipi: Add touch controller and LVGL config
- Add support for the TMA525B touch controller to the
zc143ac72mipi shield
- Add Kconfig.defconfig with LVGL configuration defaults
- Update board specific configuration

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-01-20 14:36:06 -05:00
Kate Wang
0e6c2aedaf drivers: input: Add TMA525B capacitive touch controller driver
This commit adds support for the Parade Tech TMA525B capacitive touch
controller. The driver supports both interrupt-driven and polling modes,
and can handle up to 4 simultaneous touch points.

Key features:
- I2C communication interface
- Multi-touch support (up to 4 touch points)
- Interrupt mode with GPIO callback support
- Polling mode with timer
- Power management support with PM notifier
- Reset and power control via GPIO
- Touch event tracking (down, contact, up)

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-01-20 14:36:06 -05:00
Camille BAUD
2c1d2c8e83 tests: build_all: add ch9350l test
Adds a build test for CH9350L

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-20 14:35:50 -05:00
Camille BAUD
fd9b0b81b7 drivers: input: Add CH9350L USB keyboard driver
Adds a driver that allows using CH9350 as a USB keyboard interface chip

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-20 14:35:50 -05:00
Dat Nguyen Duy
0c97804b3d boards: nxp_s32k5xx_mb: add support for can
Add support can (canxl) for nxp_s32k5xx_mb

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-20 14:35:42 -05:00
Dat Nguyen Duy
abb4ca3845 drivers: can: add support canxl for s32k5
- The RX Message Descriptor in CANXL on newer SoC such as
the S32K5 supports receiving both classic and FD frames,
so enable the RX FIFO only for S32ZE SoC.

- The CANXL bare-metal driver has significant changes, the
current codebase for S32ZE need to be guarded and modified
to support newer SoC

- Expand the peripheral region to 1G to include the CANXL
area.

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-20 14:35:42 -05:00
Dat Nguyen Duy
478a0ffc6b dts: arm: nxp: add canxl node for s32k566
Add CANXL node for S32K566

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-20 14:35:42 -05:00
Dat Nguyen Duy
7bb9b42c99 drivers: can_nxp_s32_canxl: switch to freeze mode before setting baudrate
Switch canxl hw to freeze mode before setting baudrate

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-20 14:35:42 -05:00
Greg Leach
c584b86010 boards: ezurio: Add lyra_dvk support
Add support for the Ezurio Lyra DVK board family.

Signed-off-by: Greg Leach <greg.leach@ezurio.com>
2026-01-20 14:35:34 -05:00
Greg Leach
c170fede6b boards: ezurio: Add lyra_24_dvk support
Add support for the Ezurio Lyra 24 DVK board family.

Signed-off-by: Greg Leach <greg.leach@ezurio.com>
2026-01-20 14:35:26 -05:00
Albort Xue
c9dc320cf5 drivers: watchdog: wdt_mcux_wdog32: Support named clocks for clock sources
Add support for named clocks in the WDOG32 driver to properly handle
different clock sources. The driver now uses clock-names property to
identify which clock source is being used, based on the clk-source
property.

This change enables proper clock configuration and control for platforms
where the clock frequency is not statically defined in the device tree.
The driver will now configure and enable the appropriate clock during
initialization.

Updated all affected device tree files to include the clock-names
property aligned with their clk-source configuration.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-01-20 14:35:20 -05:00
Laura Carlesso
0b02c507c9 soc: infineon: Fix NMI handling in PSOC6 for legacy boards
cy8ckit_062_wifi_bt board requires NMI handler to point to
the prefefined address 0x0000000D in order to correctly run
system calls. This can be achieved by specifying the runtime
nmi configuration and hardcoding the address in soc.c.
With the introduction of this change the system calls can
correctly be executed correctly thus resolving open
issue #99642 .

Signed-off-by: Laura Carlesso <laura.carlesso@infineon.com>
2026-01-20 14:35:11 -05:00
Guðni Már Gilbert
e19ebfb49a scripts: twister: use os.scandir for platform YAML discovery
Use a single os.scandir() pass per board directory to load twister.yaml
and collect legacy *.yaml files, replacing Path checks and globbing.

On my end this reduces execution time by ~50ms on Ubuntu 24.04 and
eliminates  ~80k Python function calls.

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
2026-01-20 14:35:03 -05:00
Grzegorz Chwierut
f8e4c6cf6a twister: pytest: Fix post-script calling in initialization phase
The post-script was being called multiple times and during the
initialization phase when it should only run after the reader
thread has started and the device testing is complete.

Fixes #102386

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2026-01-20 14:34:54 -05:00
Carlo Caione
c4a5c5cc32 lorawan: loramac-node: Use zephyr_library_compile_definitions_ifdef
Replace zephyr_compile_definitions_ifdef with
zephyr_library_compile_definitions_ifdef to avoid setting options globally.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-20 14:34:44 -05:00
Flavio Ceolin
6595aaf280 pm: device_runtime: Fix documentation typo
s/EWOUDBLOCK/EWOULDBLOCK in pm_device_runtime_get() documentation.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-20 14:34:37 -05:00
Flavio Ceolin
9003da65b7 pm: policy: Fix pm_policy_event signatures
Fix pm_policy_event_register() and pm_policy_event_update signatures
when CONFIG_PM is disabled.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-20 14:34:37 -05:00
Flavio Ceolin
dbf3bb64a9 pm: state: Fix pm_state_in_constraints stub
It was missing the const qualifier in pm_state_in_constraints
when CONFIG_PM is not enabled.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-20 14:34:37 -05:00
Flavio Ceolin
18e3d5c368 pm: device_runtime: Fix doxygen inconsistency
Fix an inconsistency / typo in pm_device_runtime_get return
value documentation.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-20 14:34:37 -05:00
Fin Maaß
77c4fd9a53 console: add functions to set the timeout
While the tty_* api already has functions
to set the rx and the tx timeout, the console_*
api didn't had one.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-20 14:34:29 -05:00
Fin Maaß
2ed0e04dc8 console: use k_timeout_t internally
use k_timeout_t internally, that way
the timeout has only to be calculated, when setting it and not
every time when it is used.

Also use the ys_timepoint* api instead of
counting the ms.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-20 14:34:29 -05:00
Flavio Ceolin
cc1391b5f7 random: entropy: Always check device is ready
Use a proper branch instead of an assert to check if the device
is ready. It can potentialy lead to improper random
value that can compromise security.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-20 14:34:13 -05:00
Flavio Ceolin
213b1605d8 random: ctr_drbg: Fix sys_csrand_get types
This implementation of sys_csrand_get was using a
different type for the length parameter.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-20 14:34:13 -05:00
Lukasz Fundakowski
c5bc1a9779 twister: fix access to item in empty list
Fixed default argument in run_cmake_script method,
which cannot be an empty list.

Signed-off-by: Lukasz Fundakowski <lukasz.fundakowski@nordicsemi.no>
2026-01-20 14:34:05 -05:00
Chaitanya Tata
0305a9f157 net: l2: ethernet: Fix build error
When Ethernet management is not enabled, the respective calls should
also be compiled out. In case there are no callers the toolchain will
remove this, hence it worked till date.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-20 14:33:58 -05:00
Chaitanya Tata
6100817e34 drivers: nrf_wifi: Fix raw TX shell
When using shell the users input raw header as big-endian, so, add
support for both formats for the magic number.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-20 14:33:58 -05:00
Chaitanya Tata
acd5815cb1 doc: connectivity: networking: Add zperf raw TX mode
Add a section for raw TX mode.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-20 14:33:58 -05:00
Chaitanya Tata
ec1bdb212b samples: net: zperf: Add raw TX to twister
Add raw TX for QEMU and nRF7002DK to twister.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-20 14:33:58 -05:00
Chaitanya Tata
0907ffb370 net: lib: shell: Add TX injection command
This to make the interface operationally UP to allow data packets in RAW
socket mode.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-20 14:33:58 -05:00
Chaitanya Tata
23ba648b82 net: lib: zperf: Add raw socket upload support
This helps in benchamrking raw socket (packet socket) performance in the
lines of UDP/TCP.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-20 14:33:58 -05:00
Chaitanya Tata
55e6102ac2 mainfest: nrf_wifi: Pull fix for raw TX header alignment
Align the raw TX header to 4bytes and make it packed.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-20 14:33:58 -05:00
Szymon Janc
258eef1017 tests: Bluetooth: Bump qualification materials to Core Spec 6.2
This enables Bluetooth Core 6.2. No functional changes.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
2026-01-20 15:33:36 +00:00
Grzegorz Chwierut
3881d4bad7 scripts: west: Fix sysbuild overwrite by test item parameter
When sysbuild is enabled globally and running west build with a
selected test scenario, the sysbuild setting was being overwritten
with False when sysbuild was not explicitly set in the test YAML file.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2026-01-20 15:33:30 +00:00
Holt Sun
4138155273 drivers: uart_mcux_lpuart: refine DMA TX busy/error handling
Split DMA status error from busy state handling. Use LOG_DBG for
busy state and LOG_ERR for status query failures. Return -EBUSY
as required by async UART API when transfer is in progress.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-20 15:33:20 +00:00
Razvan Heghedus
8f2b245fe6 dma: mcux_edma: Fix channel gap for edma_reload_loop
`edma_reload_loop` doesn't take into account the DMA possible channel
gap. This is an issue for S32K3 series leading to system crashes when
higher DMA channels are used.

Signed-off-by: Razvan Heghedus <razvan.heghedus@protonmail.com>
2026-01-20 15:33:15 +00:00
Gaetan Perrot
551843cff0 boards: nxp: fix typos in comments
Fix spelling and wording issues in comments across NXP board FlexSPI
NOR configuration headers.

No functional change.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-20 15:33:02 +00:00
Yongxu Wang
1b5e94197b soc: nxp: imx95_m7: enable power domain support
Enable power domain support for i.MX95 M7 core when PM_DEVICE is enabled.

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-01-20 15:32:32 +00:00
Yongxu Wang
ae6be9bed6 dts: arm: nxp: imx95_m7: add NETC power domain support
Add SCMI power domain definition for NETC (Network Controller) subsystem.

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-01-20 15:32:32 +00:00
Yongxu Wang
6df440012b drivers: power_domain: add SCMI power domain driver
Add ARM SCMI-based power domain driver for managing power domains
through the SCMI protocol.

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-01-20 15:32:32 +00:00
Fabio Baltieri
cf356b32a1 tests: twister: only instantiate the Linux instance
This test has been changed in d7a8f29ce7 to drop all the steps that
were running on the other platforms, change it to just instantiate the
Linux instance and drop the conditional.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-20 15:32:20 +00:00
Axel Le Bourhis
f6c7299295 hal_nxp: move multicore middleware to mcux-sdk-ng integration
Move the multicore middleware to the new mcux-sdk-ng integration from
hal_nxp, instead of using the legacy integration method.
This will allow for easier integration of future releases.

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2026-01-20 15:32:09 +00:00
Jamie McCrae
e3371aaf24 mgmt: mcumgr: Add name to CMake libraries
Adds names to these libraries to prevent using auto-generated
names of the paths, which can be longer than the maximum supported
length on the current version of gcc for windows

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:50 +00:00
Jamie McCrae
42ee9832b4 mgmt: mcumgr: kconfig: Fix various issues
Fixes various issues in the Kconfigs including not properly having
abbreviations in the correct case, line lengths, duplicating other
Kconfigs, etc.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:50 +00:00
Jamie McCrae
e830376b71 mgmt: mcumgr: Refactor callback header files
Refactors these so that each group defines the events it raises

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:50 +00:00
James Roy
34a6cac24c doc: Add dt api documentation for hwspinlock
Add devicetree API documentation for hwspinlock, it's
located in `api.html#hardware-specific-apis`.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-20 15:31:32 +00:00
James Roy
2faf427d6a doc: Add dt api documentation for ordinals
Add devicetree API documentation for ordinals, it's
located in `api.html#hardware-specific-apis`.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-20 15:31:32 +00:00
James Roy
9c6cc7d6cb doc: Add dt api documentation for display
Add devicetree API documentation for display, it's
located in `api.html#hardware-specific-apis`.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-20 15:31:32 +00:00
James Roy
253336c396 doc: Add dt api documentation for nvmem
Add devicetree API documentation for nvmem, it's
located in `api.html#hardware-specific-apis`.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-20 15:31:32 +00:00
Jiafei Pan
ec8205162f boards: frdm_imx93: add J-Link runner support
Added J-Link runner to support west flash and west debug.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-01-20 15:31:17 +00:00
Jiafei Pan
fd6fdb817f boards: frdm_imx91: add J-Link runner support
Added J-Link runner to support west flash and west debug.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-01-20 15:31:17 +00:00
Jamie McCrae
58f9d5e6c3 doc: releases: release-notes: 4.4: Add notes on new bits
Adds a new on the newly introduced sysbuild variant image feature
and a new slot1-partition snippet

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:06 +00:00
Jamie McCrae
78772ba863 doc: build: sysbuild: Add details on variant images
Adds details about the ``ExternalZephyrVariantProject_Add`` sysbuild
function which has been newly added, that allows for creating
variant images

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:06 +00:00
Jamie McCrae
43b0c9895d tests: boot: Add mcuboot_direct_xip test
Adds a test which checks that the sysbuild slot1 variant image is
generated, and ensures that it boots properly when both images are
present or when only the second image is present

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:06 +00:00
Jamie McCrae
8312b20ca9 sysbuild: Add ability to generate slot 1 variant image
Adds a new experimental Kconfig option to sysbuild which allows
generating a variant image to use with MCUboot in direct-xip mode.
It also includes base sysbuild infrastructure for creating
additional variant images in future (including out-of-tree),
whereby they use the base configuration of an existing image but
modify it, without creating the default zephyr extra targets for
images (e.g. menuconfig) to prevent changing configuration that
should not be changed.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:06 +00:00
Jamie McCrae
fddcf70d57 snippets: Add slot1-partition snippet
Adds a snippet which sets the chosen code partition to
slot1_partition, which can be used with things like MCUboot

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:06 +00:00
Vinit Mehta
46d8f1baa9 drivers: bluetooth: hci: add host wakeup for IW612 BT controller
Add wakeup IO config for IW612 shield for BT host wakeup
functionality.
Add kconfig to enable/disable BT host wakeup functionality
Add kconfig to toggle onboard LED upon detecting BT activity

Signed-off-by: Vinit Mehta <vinit.mehta@nxp.com>
2026-01-20 15:30:54 +00:00
Grzegorz Chwierut
5d73bc00ca twister: fix --list-tests output, remove duplication in names
This fixes the issue where --list-tests and --test-tree commands
showed duplicated testsuite IDs in the output,
simplifies testcase name handling in harness and runner modules.
Removed feature to extend behaviour of --no-detailed-test-id to shorten
test case names - feature was introduced in #82302.
This makes the twister output more predictable and the codebase easier
to maintain.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2026-01-20 15:30:44 +00:00
Jiafei Pan
0be4e58871 boards: imx943_evk: add A55 SMP board variant
The default SMP board variant runs SMP Zephyr on four A55 Cores, it
could be changed by disabling some CPU core nodes in dts and change
CONFIG_MP_MAX_NUM_CPUS accordingly.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-01-20 15:30:33 +00:00
Jiafei Pan
7f864309a7 boards: imx943_evk: fix board document footer
Move footer to the end of the document.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-01-20 15:30:33 +00:00
Jamie McCrae
ac348a7ab5 scripts: dts: gen_dts_cmake: Output compatibles for no prop. nodes
Seemingly partitions (fixed-partitions) have no properties when
the edt file is loaded, work around this issue by outputting
compatibles for nodes that have them but have no properties, also
fixes some other outputs for misc. devices

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:30:18 +00:00
Aiden Hu
1cbc2de20f drivers: usb: uhc: fix unused variable warning for phy_config
Remove phy_config local variable then use controller-specific
config struct for usb PHY initialization

Signed-off-by: Aiden Hu <weiwei.hu@nxp.com>
2026-01-20 15:30:03 +00:00
Biwen Li
7a1cc72efa drivers: i2s: mcux_sai: init base,mask,offset as 0
Initialize mclk_control_base,
mclk_pin_mask, mclk_pin_offset as 0
and skip mclk settings when
there is no property pinmuxes.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2026-01-20 15:29:36 +00:00
Alain Volmat
7cc95ae919 boards: shields: st_b_cams_omv_mb1683: add stm32h7s78_dk confs
Add board specific configuration and overlay for enabling the
st_b_cams_omv_mb1683 shield on the stm32h7s78_dk board.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-20 15:29:27 +00:00
Alain Volmat
cd82d84153 boards: st: stm32h7s78_dk: use PSRAM for video buffers
Use the psram to store video buffers.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-20 15:29:27 +00:00
Alain Volmat
8078db0419 boards: st: add camera connector and camera interface in stm32h7s78
Describe the camera related pins of the 30pins connectors of the
stm32h7s78 as well as DCMIPP pin assignments for the stm32h7s78

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-20 15:29:27 +00:00
Alain Volmat
9e993d3111 boards: st: stm32h7s78_dk: correct SPI4 chip select
On this board the chip select is connected to GPIO E10
and must be controlled via GPIO since SPI4 CS is accessible
via either E4 or E11 which are both already used by other
functions on this board.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-20 15:29:27 +00:00
Alain Volmat
94d5de3ffe dts: arm: st: add dcmipp node in stm32h7rs.dtsi
The STM32H7RS series embeds a parallel interface based DCMIPP
block allowing to capture data from sensors and store them into
memory.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-20 15:29:27 +00:00
Alain Volmat
8f9e370bfb drivers: clock: h7rs: add PCLKx support
Addition of PCLKx clock source which can be used by some
peripherals.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-20 15:29:27 +00:00
Alain Volmat
39a60f8a0b video: st: remove soc specific dcmipp compatibles
Only st,stm32-dcmipp is described and only st,stm32n6-dcmipp
was used within the driver to decide if CSI / PIXEL_PIPES
are available. Instead of this, look at HAL provided macros
to know if the selected soc has the functionalities or not.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-20 15:29:27 +00:00
Ren Chen
7b81e406d6 board: ite: it515xx_evb: rename it515xx_evb to it51xxx_evb
This change accommodates support for next-generation
soc(it51600).

Tested with:
west build -p always -b it51xxx_evb/it51526aw samples/hello_world/

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2026-01-20 15:28:09 +00:00
Khoa Nguyen
04a334360c soc: renesas: ra: Update condition for SOC_RA_ENABLE_START_SECOND_CORE
Update condition to use config RENESAS_PN_NUMBER_OF_CORES
for SOC_RA_ENABLE_START_SECOND_CORE

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-01-20 13:26:43 +00:00
Khoa Nguyen
4d5f4888b4 soc: renesas: ra: Add invisible RENESAS_PN config
Add invisible RENESAS_PN config to reflect the SoC hardware
information and provide input for hal_renesas

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-01-20 13:26:43 +00:00
Mathieu Choplain
dac9d3e1c3 drivers: usb: common: stm32: pwr: add power disable support
Add code to disable the USB power supply.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-20 13:26:11 +00:00
Mathieu Choplain
2120eb3027 drivers: usb: udc: stm32: move power configuration to common code
Create infrastructure for shared USB common code on STM32 family, and move
the Power Controller configuration logic to common code. This removes some
midly unrelated code from the UDC driver while enabling reuse by a future
UHC driver implementation for STM32.

While at it, clean up the migrated code.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-20 13:26:11 +00:00
Deepika R
47ed66bcc2 dts: arm: infineon: Change TCPWM Base Register
-Change base register for TCPWM to 0x40200000
 which controls the entire IP block.
- enabling/disabling counters and handling
 global interrupts.

Signed-off-by: Deepika R <deepika@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-20 13:25:58 +00:00
Deepika R
4c295bf681 samples: drivers: counter: alarm: boards: Add overlay file
- Add an overlay to enable TCPWM Counter sample.
- Contains configurations for Counter and Clock

Signed-off-by: Deepika R <deepika@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-20 13:25:58 +00:00
Deepika R
f1edde06f0 drivers: counter: Add Infineon counter driver
Add implementation of the Infineon PSoC4 TCPWM-based counter driver.
- Provides basic counter operations
including start, stop, read, and set alarm.
- Supports configuration and initialization through Device Tree.
- Enables alarm callback handling for
precise time-based event generation.

Signed-off-by: Deepika R <deepika@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-20 13:25:58 +00:00
Nhut Nguyen
541e732f35 doc: migration-guide-4.4: Document renesas,rz-gpio change
Document renesas,rz-gpio change

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
315ea7bdcc tests: drivers: gpio: Update Renesas RZ overlay files
Update all Renesas RZ overlays for GPIO tests to replace raw
values with IRQ phandles.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
af766e0cda boards: renesas: Update irq property of gpio nodes to use irq phandle
Update irq property of gpio nodes to use irq phandle for rzn2l_rsk,
rzt2l_rsk, rzt2m_rsk

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
45c7710fe4 dts: renesas: Update pinctrl and gpio nodes for RZ family
Update pinctrl and gpio nodes for Renesas RZ family

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
e200e82909 drivers: gpio: renesas: Refactor gpio for RZ family
- Decouple interrupt settings from gpio drivers, making them configured
  and handled independently by tint and ext_irq drivers.
- Remove device-specific hardware definitions in gpio_renesas_rz.h and
  take advantage of pinctrl data type and dtsi for certain series.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
69285c4294 drivers: pinctrl: renesas: Refactor RZ pinctrl data structure
- Replaced the previous struct layout with a union
  type. This change exposes all register fields that were hidden
  for pinctrl, but now they are useful for gpio to reuse.
- Remove `_t` suffix from struct tag to avoid duplication with
  typedef alias.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
f671c98b08 bindings: pinctrl: Remove required tag from Renesas RZ
Remove required tag from `req` and `reg-names` as the pinctrl node is
changed into a dummy node to avoid cycle in devicetree between irq,
gpio and pinctrl so these properties are not required for Renesas
RZ/A,G,V series.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
ad2ca49df7 dts: renesas: Update renesas,rz-ext-irq nodes
Added `#irq-cells` to `renesas,rz-ext-irq` nodes to reflect the update
of `renesas,rz-ext-irq` binding.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
2537ee030a drivers: intc: renesas: Update external interrupt of RZ family
Added a condition to check trigger type as high-level detection is not
supported by Renesas RZ external interrupt.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
1de74c98e2 bindings: intc: Update Renesas RZ external interrupt
Add `#irq-cells` to Renesas RZ external interrupt binding
`renesas,rz-ext-irq`.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
76d3333d22 dts: renesas: Add interrupt controller nodes for RZ family
Add interrupt controller `intc` and `tint` nodes for Renesas RZ family.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
982231a8fe drivers: intc: renesas: Add gpio interrupt (tint) for RZ family
Add support for gpio interrupt (tint) for Renesas RZ familiy.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Holt Sun
0037a5fc4b boards: frdm_ke17z: Add power management support
Enable power management using LPTMR0 as the idle timer.

- Set zephyr,cortex-m-idle-timer to lptmr0
- Remove redundant stop state DTS overrides
- Add power_mgmt_soc test configuration and overlay

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-20 13:25:01 +00:00
Holt Sun
8260974216 soc: nxp: ke1xz: Add power management support
Implement power management with IDLE, STOP, PSTOP1, and PSTOP2 modes.

- Add power state definitions with timing parameters
- Implement pm_state_set() with proper SLEEPDEEP handling
- Add XIP-safe WFI execution from RAM
- Enable SMC driver and power mode protection
- Remove forced timer Kconfig defaults

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-20 13:25:01 +00:00
Chris Friedt
e59a65386e doc: release: 4.4: deprecate CONFIG_XOPEN_STREAMS (again)
Deprecate the CONFIG_XOPEN_STREAMS Kconfig option in favour of
CONFIG_XSI_STREAMS, which matches the naming conventions of other XSI
Kconfig options and the actual Option Group name in the specification.

Please use CONFIG_XSI_STREAMS instead.

Note: this option was originally deprecated prior to 4.3.

Signed-off-by: Chris Friedt <chris@fr4.co>
2026-01-20 13:24:51 +00:00
Chris Friedt
c2cad209a3 posix: xsi_streams: add tc-provides-xsi-streams kconfig option
Enable the toolchain to provide the XSI_STREAMS Option Group.

Signed-off-by: Chris Friedt <chris@fr4.co>
2026-01-20 13:24:51 +00:00
Chris Friedt
25c2aaef9b posix: xsi: streams: deprecate CONFIG_XOPEN_STREAMS (again)
CONFIG_XOPEN_STREAMS does not follow the pattern of other XSI Option
Groups, where the Option Group name is not the same as the feature
test macro that indicates it is supported by the implementation.

Deprecate CONFIG_XOPEN_STREAMS and rename it to CONFIG_XSI_STREAMS.

For more information, please see
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/\
V1_chap02.html#tag_02_01_05_09

Signed-off-by: Chris Friedt <chris@fr4.co>
2026-01-20 13:24:51 +00:00
Emil Gydesen
a25598eab9 Bluetooth: CSIP: Fix set member register issue
Fix issue with re-registering CSIS where it relied on
a stack allocated value during the service unregistering
and reset. To fix this properly, and to allow for further
optimization, the register function was refactored to dynamically
create the service, rather than relying on a static allocation
and dynamically remove unwanted characteristics.

Additionally this new approach also allow us to rely on
IS_ENABLED and remove some #if defined, as well as reducing
both ROM and RAM memory usage.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-20 13:23:28 +00:00
Lyle Zhu
ef7b132bfd Bluetooth: Classic: Fix initialization to support re-initialization
In current implementation, the Classic L2CAP server list will be
cleared when the function `bt_enable()` called. It causes the
registered Classic L2CAP servers are unregistered. However, the
higher-ups were completely unaware of this behavior. It causes the
Classic L2CAP server cannot work after executing the sequence
`bt_enable()`, `bt_disable()`, and `bt_enable()`. Also this behavior
is inconsistent with LE L2CAP server.

Remove the initialization of Classic L2CAP server list from function
`bt_l2cap_br_init()` to fix the issue.

Make Bluetooth Classic profile initialization functions idempotent
by adding static initialized flags to prevent re-initialization.
Change return type from int to void since errors are now logged
but not propagated.

Changes include:
- Add initialized flag to prevent multiple initialization
- Change return type to void for init functions
- Mark err variables as __maybe_unused where appropriate
- Improve error logging with error codes
- Handle -EEXIST and -EALREADY errors for re-registration
- Initialize connection pools before checking initialized flag
  in AVRCP to support re-initialization scenarios
- Remove unnecessary sys_slist_init in bt_l2cap_br_init

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-20 13:23:14 +00:00
Lyle Zhu
4146c053d2 bluetooth: shell: Fix error code formatting in BR/EDR shell
Fix incorrect error code formatting in Bluetooth BR/EDR shell commands.
Error codes are already negative values, so remove the redundant negation
when printing error messages. Also update PSM registration message to
print the PSM value in hexadecimal format for consistency.

Changes:
- Remove negation of error codes in shell_error() calls
- Change PSM format specifier from %u to %04x for hex display
- Affects l2cap_disconnect, l2cap_send, l2cap_credits, l2cap_echo_reg,
  l2cap_echo_unreg, l2cap_echo_req, and l2cap_echo_rsp commands

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-20 13:23:03 +00:00
Jamie McCrae
7a18e3a8cc scripts: dts: gen_dts_cmake: Add DT_UNIT_ADDR to pickled CMake
Adds a new property which outputs the absolute address of a dts
device (if it is available) which will take the parent nodes into
consideration without a user having to manually trawl through
devices (which is error prone depending upon how they are layered)

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:22:53 +00:00
cyliang tw
df32725c46 boards: nuvoton: add support for numaker m55m1
Add new development board numaker_gai_m55m1 for m55m1x series.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2026-01-20 13:22:40 +00:00
Farsin Nasar V A
d5317f5d42 tests: drivers: watchdog: Adds pic32cxsg test support files
- Adds pic32cx_sg41_cult.overlay for wdt test projects.
- Adds pic32cx_sg41_cult platform allow in testcase.yaml.
- Adds wdt board specific configuration in main.c

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2026-01-20 13:22:14 +00:00
Muhammed Asif
a6335e34e2 samples: drivers: watchdog: Adds pic32cx_sg61_cult board overlay file
- Adds the overlay file for pic32cx_sg61_cult board for supporting
   watchdog sample application

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-20 13:22:14 +00:00
Muhammed Asif
c6b8d5c470 boards: microchip: pic32cx_sg61_cult: Add watchdog tag in board file
- Add watchdog tag in the board yaml file section to allow
   CI run watchdog tests on this board.

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-20 13:22:14 +00:00
Muhammed Asif
a207f0d8a8 samples: drivers: watchdog: Adds pic32cx_sg41_cult board overlay file
- Adds the overlay file for pic32cx_sg41_cult board for supporting
   watchdog sample application

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-20 13:22:14 +00:00
Muhammed Asif
7dc784a3f9 boards: microchip: pic32cx_sg41_cult: Add watchdog tag in board file
- Add watchdog tag in the board yaml file section to allow
  CI run watchdog tests on this board.

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-20 13:22:14 +00:00
Muhammed Asif
96c4de16ca dts: arm: microchip: pic32cx_sg: Add dts node of watchdog
- Add the watchdog node for pic32cx_sg device

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-20 13:22:14 +00:00
Håvard Reierstad
f5f7bb4461 Bluetooth: Host: Add bt_keys config flag
Adds a flag `cfg_flags` to the `bt_keys` struct  and a version field
`cfg_version` in order to be able to detect configuration changes
between firmware updates. This is needed because the `bt_keys` struct
has fields which are compiled in depending on which Kconfig options are
enabled, enabling the possibility of stored data being intepreted
wrongly if the struct changes.

Signed-off-by: Håvard Reierstad <haavard.reierstad@nordicsemi.no>
2026-01-20 13:22:05 +00:00
Yasushi SHOJI
6006b3b32a MAINTAINERS: Add Space Cubics Platforms entry
Register Space Cubics on-board computer platforms in MAINTAINERS.yml.

Mark the area as maintained, set yashi as maintainer, and scope it to
boards/sc/. Add a short description for the platform group.

Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
2026-01-20 13:21:46 +00:00
Jamie McCrae
3233c2915a arch: arm: core: cortex_m: timing: Remove stray comment
Removes a stray comment mentioning a Kconfig which actually has
nothing to do with the code

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
8c093a08f5 doc: release: migration_guide: 4.4: Add note on NRF Kconfig change
Adds a note on required changed for SOC_SERIES_NRF Kconfigs with
an X in them

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
2d0f632c31 soc: nordic: kconfig: Deprecate SOC_SERIES_NRF Kconfigs with X in
Deprecates these Kconfigs, as they have been replaced

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
70fcffd5de tests: Update to use SOC_SERIES_NRF Kconfigs without X suffix
Updates usage of the old Kconfig to use the new Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
9700579f6a bluetooth: Update to use SOC_SERIES_NRF Kconfigs without X suffix
Updates usage of the old Kconfig to use the new Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
a7e099f20b scripts: Update to use SOC_SERIES_NRF Kconfigs without X suffix
Updates usage of the old Kconfig to use the new Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
cc9287d291 samples: Update to use SOC_SERIES_NRF Kconfigs without X suffix
Updates usage of the old Kconfig to use the new Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
723476370d modules: Update to use SOC_SERIES_NRF Kconfigs without X suffix
Updates usage of the old Kconfig to use the new Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
3a9189aa3e drivers: Update to use SOC_SERIES_NRF Kconfigs without X suffix
Updates usage of the old Kconfig to use the new Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
212b63a6ca soc: nordic: Update to use SOC_SERIES_NRF Kconfigs without X suffix
Updates usage of the old Kconfig to use the new Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
03e8e88d79 soc: nordic: Add SOC_SERIES_NRF* Kconfigs without X suffix
This is to start the process of fixing the issue of the SoC series
not matching the value in the soc.yml file, which is needed to
support future build system features for automatically creating
SoC Kconfigs by the build system.
This also fixes some oddities with how the Kconfigs were set out,
which included duplicated Kconfigs and duplicate selections and
having them in the wrong (or differing) files, to actually follow
how HWMv2 should define these Kconfigs.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Kyra Lengfeld
ed5683250c Bluetooth: Host: make TX processor stack size configurable
While the tx processor thread is needed to prevent deadlocks and is as
such always enabled, its stack size may be adjusted based on need.
What is needed is dependent on which features are enabled in the
zephyr host as well as other project configurations impacting the
zephyr host.

Signed-off-by: Kyra Lengfeld <kyra.lengfeld@nordicsemi.no>
2026-01-20 13:21:17 +00:00
Tomasz Gorochowik
e5126a0874 doc/develop/manifest/external: add grvl
Add grvl [1] as an external module to Zephyr.

1: https://github.com/antmicro/grvl

Signed-off-by: Tomasz Gorochowik <tgorochowik@antmicro.com>
2026-01-20 13:21:08 +00:00
Emil Gydesen
a6c54dcf68 doc: releases: Add note about UTF8 for CONFIG_BT_AUDIO
CONFIG_BT_AUDIO now depends on CONFIG_UTF8. Add instructions
on how to (easily) migrate.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-20 13:20:52 +00:00
Emil Gydesen
d74f5d7d23 Bluetooth: Audio: depend on UTF8
Add a dependency for UTF8 for LE Audio. Since (nearly?) all
string in LE Audio are UTF8 and that the stack wants to be
able to check and validate strings coming both from remove
deviecs and from the application, it will depend on the utf8
API that is guarded by CONFIG_UTF8.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-20 13:20:52 +00:00
Jamie McCrae
7d54f9c7c5 soc: arm: mps4: Fix SoC Kconfig naming
Fixes the Kconfig name of this so that it matches the value from
soc.yml, this has not been deprecated because this SoC is a virtual
SoC used only with the boards in zephyr meaning it should not cause
any breakage of out-of-tree boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:20:45 +00:00
Jamie McCrae
fcb77f2491 soc: arm: mps3: Fix SoC Kconfig naming
Fixes the Kconfig name of this so that it matches the value from
soc.yml, this has not been deprecated because this SoC is a virtual
SoC used only with the boards in zephyr meaning it should not cause
any breakage of out-of-tree boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:20:45 +00:00
Jamie McCrae
13bcf52b29 soc: arm: mps2: Fix SoC Kconfig naming
Fixes the Kconfig name of this so that it matches the value from
soc.yml, this has not been deprecated because this SoC is a virtual
SoC used only with the boards in zephyr meaning it should not cause
any breakage of out-of-tree boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:20:45 +00:00
Jamie McCrae
bf5460b661 soc: arm: musca: Fix SoC Kconfig naming
Fixes the Kconfig name of this so that it matches the value from
soc.yml, this has not been deprecated because this SoC is a virtual
SoC used only with the 2 boards in zephyr meaning it should not
cause any breakage of out-of-tree boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:20:45 +00:00
Kyra Lengfeld
4ae5f63aa9 Bluetooth: Host: Give option to disable TX processor thread
It is not recommended to disable the tx processor thread as otherwise
deadlocks may occur, but it has been observed that some boards and
configurations may have too little RAM to accommodate the TX processor
thread stack.
As such BT_TX_PROCESSOR_THREAD gets a prompt.

Signed-off-by: Kyra Lengfeld <kyra.lengfeld@nordicsemi.no>
2026-01-20 13:20:04 +00:00
Flavio Ceolin
15d6ab8ae8 pm: device: Acknowledge unused variable
action_cb is not used in pm_device_driver_deinit is
not used when CONFIG_PM_DEVICE is enabled.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-20 13:17:37 +00:00
Flavio Ceolin
96c44c540b pm: device_runtime: Fix possible inconsistent state
In pm_device_runtime_get, when resume fails after the domain as claimed,
the flag PM_DEVICE_FLAG_PD_CLAIMED is not cleared (but the domain is
released). This leaves this flag in a consistent state and in a further
resume this device won't resume its domain leading to bigger problems.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-20 13:17:37 +00:00
Jingxing Lai
0fa079d81e boards: seeed: xiao_nrf54l15: enable key SoC peripherals and HFXO config
Enable and configure essential peripherals that are typically required
for meaningful use of the XIAO nRF54L15 board, especially for wireless
and sensing applications:

- Configure HFXO with internal load capacitors (16 pF) for better
  RF performance/stability
- Enable IEEE 802.15.4 radio support
- Enable temperature sensor
- Enable radio core
- Enable NFCT (NFC tag)
- Enable clock controller

These changes make the board usable out-of-the-box for Bluetooth LE,
Thread, Matter, NFC and basic temperature monitoring use cases.

Signed-off-by: Jingxing Lai <starsphere@foxmail.com>
2026-01-20 13:17:16 +00:00
Jingxing Lai
dcfa19b3cf boards: seeed: xiao_nrf54l15: fix IMU device tree driver binding
Fix the device tree configuration for the IMU sensor to ensure proper
driver binding.

Signed-off-by: Jingxing Lai <starsphere@foxmail.com>
2026-01-20 13:17:01 +00:00
Jingxing Lai
52ac7438e7 boards: seeed: xiao_nrf54l15: add more GPIO mappings
Add GPIO mappings for D11 to D15

Signed-off-by: Jingxing Lai <starsphere@foxmail.com>
2026-01-20 13:17:01 +00:00
Gaetan Perrot
1efa88e51a drivers: ethernet: phy: phy_tja11xx: remove dead error handling
phy_tja11xx_get_link_state() always returns 0, making callers' error
checks ineffective.

Remove the unused return variable and drop the dead conditional in
invoke_link_cb() to silence static analysis warnings and simplify
the code.

No functional change.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-20 13:16:02 +00:00
Gaetan Perrot
537b8a635b boards: arduino: fix intereface typo in openocd cfg file
Fix a spelling mistake in the board openocd cfg file for arduino
boards.

No functional change.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-20 13:15:48 +00:00
Joel Guittet
00dfe39149 dts: fix nxp mcxn94x opamp1 reg value
It seems there is currently no impact except a warning displayed when
building: "unit address and first address in 'reg' (0x40113000) don't
match for /soc/peripheral@50000000/opamp@113000"

Signed-off-by: Joel Guittet <joelguittet@gmail.com>
2026-01-19 18:49:17 -06:00
Benjamin Cabé
93bf06a235 drivers: firmware: scmi: inclusive language fixes
As per coding guidelines, "sanity check" must be avoided.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-19 18:48:51 -06:00
Gaetan Perrot
44e0c38c63 net: coap: coap_client: make coap_client_schedule_poll void
coap_client_schedule_poll() never reports errors and always returns
0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-19 18:48:26 -06:00
Charles Hardin
fb9c9f034b drivers: ethernet: lan9250: Add promiscuous mode support
Handle both multicast packets and promiscuous mode in the driver. This
will allow the lan9250 to be added to a bridge as well as process
multicast packets being received.

Signed-off-by: Charles Hardin <ckhardin@gmail.com>
2026-01-19 18:47:57 -06:00
Pieter De Gendt
eee57d48cb drivers: pwm: mcux: Print status value on error
When PWM_SetupPwm returns an error, add the value of status to the error
log message.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-19 18:47:25 -06:00
Pieter De Gendt
42f96fc78d manifest: Update hal_nxp with PWM assert to error patch
Update the NXP HAL with a change where PWM_Setup can return an error value
instead of asserting.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-19 18:47:25 -06:00
Tim Knodel
e734c05d78 drivers: i2c: mcux_flexcomm: Add ip block reset to bus recovery
The bus recovery implementation did not reset the I2C block. If
a glitch on the bus looks like a start condition, the I2C block
will be stuck forever waiting for the associated stop. This adds
reset to the I2C block to address this type of error.

Signed-off-by: Tim Knodel <tbk@google.com>
2026-01-19 18:46:41 -06:00
Fabrice DJIATSA
11f7d3be2f tests: drivers: rtc: rtc_api: remove alarm support from wb09ke
Alarms are not supported due to RTC interrupt not triggered
in Run mode erratum.

Delete the overlay since RTC node already defined in the
board dts.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-19 16:22:56 -06:00
Alain Volmat
4711521016 boards: st: avoid enabling CONFIG_INPUT in board/shield defconfig
Usage or not of the input subsystem is an application decision hence
boards or shields defconfig should not force it, even if there might
be a touchpanel available on the board.
This commit remove enabling of CONFIG_INPUT in ST shields / boards.
This shouldn't have impact on in-tree application since LVGL samples
already enable CONFIG_INPUT.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-19 16:22:31 -06:00
Alain Volmat
2619ef5e5f samples: display: lvgl: make CONFIG_INPUT common in prj.conf
Always enable the CONFIG_INPUT in the project since it is trying
to use inputs, and let inside the application figure out if there
is really an input device available or not to either simply
draw a label or a button with a label.
This also allow avoid need to have board specific conf file just
to enable CONFIG_INPUT as well has allow to use shields which
embed touchpanels.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-19 16:22:31 -06:00
Alain Volmat
143fa22b4d samples: lvgl: demos: remove CONFIG_INPUT from st25dv_mb1283_disco.conf
CONFIG_INPUT=y is already part of the demos sample prj.conf file so
it is not necessary to have it enabled in the st25dv_mb1283_disco
board specific conf file.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-19 16:22:31 -06:00
Tomas Galbicka
c057340a86 soc: RT600 DSP Hifi4 enable cache handling
This commit adds cache handling for Hifi4 core on RT600.
Enable CACHE_MANAGEMENT and HAS_DCACHE.

This is required for proper data coherency when the DSP shares memory
with other cores (e.g., Cortex-M33) or DMA peripherals.

With this change, applications can now use sys_cache_data_flush_range()
and sys_cache_data_invd_range() to ensure cache coherency in shared
memory scenarios.

Signed-off-by: Tomas Galbicka <tomas.galbicka@nxp.com>
2026-01-19 16:21:37 -06:00
Martin Moya
dd2dedf343 sensor: bosch: bma4xx: add attr_get to device API
This feature allows the user to get the chip's id
from the sensor's API easily

Signed-off-by: Martin Moya <moyamartin1@gmail.com>
2026-01-19 16:21:11 -06:00
Eve Redero
60c1970c4d doc: build: use dt_freq_m in example
Example dts should use dt_freq_m instead of lots of zeros.

Signed-off-by: Eve Redero <eve.redero@gmail.com>
2026-01-19 16:20:56 -06:00
Guillaume Gautier
c62748a9e0 doc: releases: migration guide: add a note for stm32f2/f4/f7 pll rework
Add a note for the STM32F2/F4/F7 PLL clock rework in the migration guide.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-19 16:20:44 -06:00
Guillaume Gautier
3e7fa6c5e9 drivers: clock: stm32_f2_f4_f7: remove __unused from exported functions
Remove the __unused keyword from exported functions.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-19 16:20:44 -06:00
Guillaume Gautier
911d6905d0 dts: arm: st: add clk48 clock mux for f446, f469, f479 and f7
For STM32F446, F469, F479 and F7x, add the clk48 node in the dtsi.
This allows configuring the clock source of the CLK48 clock.
It is necessary to add it for the SDIO peripheral that can have either
SYSCLK or CLK48 as clock source.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-19 16:20:44 -06:00
Guillaume Gautier
a26ad94d82 drivers: clock: stm32f2_f4_f7: extend get_ck48_frequency function
On STM32F446, F469, F479 and on STM32F7x, the CK48M mux can have either
PLL Q or PLLSAI P as input. Adds the support for the PLLSAI P input in
the driver.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-19 16:20:44 -06:00
Guillaume Gautier
4536b15bca drivers: clock: stm32f2_f4_f7: move get_ck48_frequency function
Move get_ck48_frequency function outside of the #if STM32_PLL_ENABLED
because it should be usable even if the main PLL is not used. The mux
can indeed be used with PLLI2S.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-19 16:20:44 -06:00
Guillaume Gautier
e5dbb600bc include: dt-bindings: clock: stm32f4: rename clock sel macro
Rename CLK48M_SEL to CK48M_SEL for consistency with stm32f410_clock.h.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-19 16:20:44 -06:00
Guillaume Gautier
4bf38ff694 boards: stm32f4: add missing pll properties
With the new PLL bindings, fixes a few board dts and overlays
that are missing some properties.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-19 16:20:44 -06:00
Guillaume Gautier
21e433eed6 include: drivers: clock: stm32: clean up indentation
Clean up indentation for consistency.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-19 16:20:44 -06:00
Guillaume Gautier
5960c2d5a1 drivers: clock: stm32: update stm32f2_f4_f7 driver with the new binding
This commit updates the STM32Fx clock driver to add complete support for
all PLLs for all SoCs.

Supports  all outputs and additional divisors:
- PLL-DIV-R
- PLLI2S-P
- PLLI2S-DIV-Q
- PLLI2S-DIV-R

Adds global checks to make sure that all:
- All PLLs share the same source clocks
- All PLLs share the same M-Divisor (on applicable SoCs)
- Both div-X and div-divX are defined (on applicable SoCs)

Functions get_plli2s_source and get_plli2ssrc_frequency are added to make
sure that PLLI2S can be used even if PLL is not defined.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-19 16:20:44 -06:00
Guillaume Gautier
447d552ac0 include: dt-bindings: clock: stm32fx: add missing clock sources
Add some missing clock sources and reorganize them to class the PLL outputs
together for STM32F4 and F7.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-19 16:20:44 -06:00
Guillaume Gautier
97cc7adf25 dts: arm: st: update stm32f2, f4 and f7 pll compatibles
For all STM32F2, F4 and F7, use the new binding instead of the various ones
previously defined.

For F411 and F446, this removes the need to define the PLLI2S since it is
already included in F401.

For F7, this commit also adds the PLLI2S that was missing.

Also update post-div-x properties for some boards and overlays.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-19 16:20:44 -06:00
Guillaume Gautier
d985cfa9f5 dts: bindings: clock: st: use a single binding for stm32f2, f4 and f7 PLLs
STM32F2, F4 and F7 have up to 3 PLLs: PLL, PLLI2S and PLLSAI. These PLLs
are very similar, the principal differences are which outputs are available
for which PLL of each SoC.

Instead of having a large number of files to describe all the possible
very similar variants, use one single binding to rule them all.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-19 16:20:44 -06:00
Guillaume Gautier
8d677b2c29 drivers: clock: use concat instead of ##
Use CONCAT macro instead of ## to create the PLL division macro.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-19 16:20:44 -06:00
Ashirwad Paswan
68b86a15a1 dma: rpi_pico: fix transfer count calculation
The Pico SDK expects a transfer count (items), not a byte count. The
driver incorrectly passed the byte size, causing buffer overflows on
16-bit and 32-bit transfers.Fix this by storing the transfer width in
the channel configuration and dividing the block size by that width
to calculate the correct transfer count.

Fixes #99435

Signed-off-by: Ashirwad Paswan <ashi06712@gmail.com>
2026-01-19 16:19:56 -06:00
Alessandro Manganaro
b93fabaf25 drivers: timers: stm32: improving lptim configuration sequence
Moving the reset of ltpim hw ip at the beginning of
sys_clock_driver_init to improve the reliability of lptim hw
configuration sequence.

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2026-01-19 16:04:36 +00:00
Yves Wang
9214274464 tests: watchdog: Enable watchdog reset none for more nxp socs
Enable reset_none_ewm for frdm_ke15z, frdm_mcxe247 and mimxrt1170.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-01-19 16:04:24 +00:00
Yves Wang
0d66cdd54b dts: nxp: support watchdog on more nxp platforms
Add ewm dts node for mimxrt1170.
Enable ewm clock for frdm_mcxe247.
Enable wdog for frdm_mcxe247 and frdm_ke15z.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-01-19 16:04:24 +00:00
Alain Volmat
290b8e6748 samples: display: use white background for ARGB_8888
Set the background color to 0xFF (white) in case of ARGB_8888
framebuffer format so that it is same for all formats except
AL88 and MONO.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-19 16:04:04 +00:00
Alain Volmat
5b5cdecb97 display: fix SDL display format handling
Switch SDL buffers from SDL_PIXELFORMAT_ARGB8888 to
SDL_PIXELFORMAT_BGRA32. BGRA32 is platform endianness independent
description, defined as below:

	Byte 0   Byte 1   Byte 2   Byte 3
	7......0 15.....8 23....16 31....24
	Bbbbbbbb Gggggggg Rrrrrrrr Aaaaaaaa

The driver is then updated in order to ensure that all buffers,
given via a PIXEL_FORMAT_ described format are properly converted
into the SDL_PIXELFORMAT_BGRA32. At the same time endianness
conversion code is also added in order to avoid taking assumption
that the running platform is little-endian and ensure that data
are properly read as expected.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-19 16:04:04 +00:00
Alain Volmat
b39b8bc94c samples: display: add corner colors in L_8 mode
Draw different greyscale in all 4 corners in L_8 mode.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-19 16:04:04 +00:00
Alain Volmat
321f08ae97 samples: display: fix RGB888 red/blue values
The RGB888 colors generated leads to having
  byte0 - R
  byte1 - G
  byte2 - B
while the RGB888 is usually described as B - G - R
going from byte0 to byte2.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-19 16:04:04 +00:00
Alain Volmat
26afede1db samples: display: ensure data proper endianness buffer fill
Ensure proper endianness when data are written via 16 or 32bit write.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-19 16:04:04 +00:00
Alain Volmat
83e6e4379b include: display: Add description for all formats
Add detailed description for all supported display formats.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-19 16:04:04 +00:00
Alain Volmat
b13d9a0510 display: rename current BGR_565 format into RGB_565X
The format currently expected by devices and sample display
application for BGR_565 is actually RGB_565 format with bytes
swapped (not B / R swapped). That is:

PIXEL_FORMAT_RGB_565:
         * @code{.unparsed}
         *   7......0 15.....8
         * | gggBbbbb RrrrrGgg | ...
         * @endcode

current PIXEL_FORMAT_BGR_565:
         * @code{.unparsed}
         *   7......0 15.....8
         * | RrrrrGgg gggBbbbb | ...
         * @endcode

This is explained in both st7796s display driver but also is
what is generated by the sample display application. As a video
format (ex: V4L2), such format is not mentioned as BGR (for
which R and B are swapped) but RGB_565X.

Within the whole Zephyr tree, rename the curremt BGR_565 format
into RGB_565X in order to emphasis that this is a byte swapped
format rather than a B/G component swapped format.

This also correct the description of the format in display.h
file, which wasn't correct based on what was being used by
display driver or sample display app.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-19 16:04:04 +00:00
Stephan Linz
9d205d65f9 MAINTAINERS: include MCP251xFD Click shields in CAN drivers
This commit adds the MikroE MCP251xFD Click shields under the same
assignees as other of the CAN driver based shields.

Signed-off-by: Stephan Linz <linz@li-pro.net>
2026-01-19 16:03:49 +00:00
Stephan Linz
ef55e9bfc1 boards: shields: mikroe_mcp251xfd_click: add MCP251863 click shield
Adds MikroElektronica MCP251xFD click shield with the Microchip
MCP251863 CAN FD controller.

Signed-off-by: Stephan Linz <linz@li-pro.net>
2026-01-19 16:03:49 +00:00
Stephan Linz
c6ae75b0d7 boards: shields: mikroe_mcp251xfd_click: add MCP2517FD click shield
Adds MikroElektronica MCP251xFD click shield with the Microchip
MCP2517FD CAN FD controller.

Signed-off-by: Stephan Linz <linz@li-pro.net>
2026-01-19 16:03:49 +00:00
Stephan Linz
db302632e6 boards: shields: mikroe_mcp251xfd_click: adjust documentation
The documentation now contains an introductory section covering
the possible variants of this shield. Furthermore, the existing
documentation for the MikroElektronika MCP2518FD click shield
has been enhanced with additional WEB references and the missing
picture.

Signed-off-by: Stephan Linz <linz@li-pro.net>
2026-01-19 16:03:49 +00:00
Stephan Linz
e9b8784f2f boards: shields: mikroe_mcp2518fd_click: prepare for variations
MikroElektronica offers various click shields, all based on the MCP251xFD
chip family. These include, for example, the MCP2517FD and MCP251863. All
of these chips are software compatible, meaning they can be used with the
same driver.

This preparation makes it possible to introduce additional click shields,
each with their own name. These do not differ in terms of functionality
and handling, so a separate directory for each additional "similar"
module is not necessary. Only an additional DTS overlay and documentation
need to be added.

In addition, missing copyright strings have been added or their labeling
has been adapted to the current guidelines.

Signed-off-by: Stephan Linz <linz@li-pro.net>
2026-01-19 16:03:49 +00:00
Gaetan Perrot
e38ddf4edf tests: bluetooth: btp_mesh: return error when blob target list is full
cmd_blob_target() always returned 0 even when the target list was
full, making error checks at call sites unreachable.

Return a proper error code when no more targets can be added so
callers can correctly detect and handle the failure.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-19 16:03:28 +00:00
Alberto Escolar Piedras
c8e1138bc6 manifest: Update nRF hw models to latest
Update the HW models module to:
4d11a73d62bf999205f16de21a0ef675501f5b21

Including the following:
4d11a73 makefile: Check for more types of build warnings
e53f8db hal: Disable unused-parameter warning when building hal files
5dfba9f RADIO: Avoid 2 shadow redefinition warnings
4a4f979 nrf_hack: Avoid a shadowed redefinition warning
4b9e63b misc: Fix a couple of signedness comparison warnings
d46094f CRACEN: Fix an unused parameter warning
1cf2b04 CLOCK: Fix prototype and one warning
2dab612 nrf_clock: Select header based on symbol instead of platform
0b45a30 54 CRACEN: Make it clear that fallthrough is intentional
7945bf8 GRTC: Add PASTCC model
0a997e5 nrf_hack: Trivial refactoring to remove duplicate code
f328e9b cmake: Add build defines to nrfx library
3824f9c hal: nrf_common: Add repl. for nrf_address_{bus,slave}_get()

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-01-19 16:03:20 +00:00
Fabio Baltieri
fa646a28fc ci: pr_metadata_check: do not rerun on edited
This workflow used to host the "empty" description check and had to
rerun on PR title edit, but that has been moved to into the (faster) dnm
workflow in db18e4c507. Drop the "edited" trigger from this one as it's
not needed anymore.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-19 16:03:05 +00:00
Ren Chen
5720f4aa54 tests: secure_storage: skip flash erase if no storage partition
On the it51xxx soc, the psa/its twister test was failing because
there is no storage partition defined. This change ensures the
flash erase function in the psa/its test only runs if fixed
partition labeled 'storage_partition' exists.

Tested with:
- west twister -p it51xxx_evb/it51526aw \
  -s secure_storage.psa.its.secure_storage.custom.both
- west twister -p it51xxx_evb/it51526aw \
  -s secure_storage.psa.its.secure_storage.custom.store

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2026-01-19 16:02:44 +00:00
Georgios Vasilakis
347b2c9077 dts: nordic: Rename the dts/vendor dtsi files
This renames the dtsi files in the dts/vendor/nordic
to include the cpuapp in the filename.

At the same time it updates the inclusion of these files
to include the vendor in the path because the same filenames
exists in both:
dts/vendor/nordic
dts/arm/nordic

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
2026-01-19 15:24:50 +01:00
Georgios Vasilakis
dac69073cd dts: nordic: Rename all Nordic dtsi files for non secure
Rename all dtsi files for Nordic boards for non secure builds
to have a _ prefix before "ns" to increase readiblity.

At the same time, change the path to include the arm
folder in order to be able to differentiate with the
vendor folder which has similar files.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
2026-01-19 15:24:50 +01:00
Georgios Vasilakis
00287376c4 dts: nordic: nrf54l refactor SRAM partitioning for NS builds
Refactor the SRAM partitioning for TF-M builds for the Nordic
nRF54L devices. Instead of using the reserved-memory node this
just partitions the normal SRAM node. This aligns the design with
the rest of the Nordic devices.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
2026-01-19 15:24:50 +01:00
Georgios Vasilakis
ba59fa7882 dts: nordic: nrf54l10 ns refactor/update memory mapping
Update the memory layout of nrf54l10 for TF-M builds so that
it does not reserve any memory for FLPR since it is not supported
with TF-M.

This affects both the SRAM and the RRAM partitioning.

I moved the SRAM partitioning to the nrf54l10_ns_partition.dtsi
and removed it from individual board files so it can be updated
for all the platforms in one place.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
2026-01-19 15:24:50 +01:00
Georgios Vasilakis
01056bcfab dts: nordic: nrf54lm20a ns refactor/update memory mapping
Update the memory layout of nrf54lm20a for TF-M builds so that
it does not reserve any memory for FLPR since it is not supported
with TF-M.

This affects both the SRAM and the RRAM partitioning.

I moved the SRAM partitioning to the nrf54lm20a_ns_partition.dtsi
and removed it from individual board files so it can be updated
for all the platforms in one place.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
2026-01-19 15:24:50 +01:00
Georgios Vasilakis
0b71dea510 dts: nordic: nrf54l15 ns refactor/update memory mapping
Update the memory layout of nrf54l15 for TF-M builds so that
it does not reserve any memory for FLPR since it is not supported
with TF-M.

This affects both the SRAM and the RRAM partitioning.

To do that I refactored the dts files, specifically:
1) I created new files for the _ns targets since they have
   different available RRAM/SRAM sizes now.
2) I moved the SRAM partitioning to the nrf54l15_ns_partition.dtsi
   and removed it from individual board files so it can be updated
   for all the platforms in one place.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
2026-01-19 15:24:50 +01:00
Georgios Vasilakis
8345c07ed3 manifest: tf-m: Remove reserved memory for FLPR in TF-M for Nordic
Update the memory layout of the Nordic nRF54L devices to avoid
reserving volatile and non-volatile memory for FLPR since it is
not yet supported with TF-M.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
2026-01-19 15:24:50 +01:00
Piotr Kosycarz
6bd273ad9f samples: subsys: ipc: ipc_service: icmsg: Skip test if no second UART
If a second UART was not configured in the hardware map, then skip
the testcase instead of failing.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2026-01-19 15:24:37 +01:00
Aleksandr Khromykh
bf261206bb bluetooth: mesh: remove secure sorage for tfm crypto provider
Commit removes selection secure storage for tfm
crypto provider. The secure storage is under
the secure image management. Non-secure image
is not required in the secure storage subsystem.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2026-01-19 15:24:22 +01:00
Jamie McCrae
b016be13a1 soc: nordic: kconfig: Fix dt function usage
Fixes using a dt function which suffered from firstly trying to
take the value from a variable that isn't defined, and which if is
ignored, was entirely invalid due to supplying a chosen node, not
a path as the dt function explicitly requires

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-19 15:24:10 +01:00
Felix Wang
88d4709b45 drivers: pwm: mcux_ctimer: Fix multi-line assertion message formatting
Fix formatting of the __ASSERT message in
mcux_ctimer_pwm_get_cycles_per_sec to properly concatenate the
string across multiple lines.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-19 15:18:20 +01:00
Neil Chen
58bdfd1f46 drivers: syscon: Fix mcxn547 CLOCK_GetFlexcanClkFreq issue
mcxn547 only have one flexcan, but When calling CLOCK_GetFlexcanClkFreq,
parameters are required.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-19 15:16:39 +01:00
Flavio Ceolin
6a8be27ec0 dts: arm/gd: Add entropy to chosen properties
Add zephyr,entropy and sets to TRNG0. This is needed by
the random subsys when using entropy device.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-19 15:15:52 +01:00
Flavio Ceolin
4690b7f966 entropy: gd32: Fix build error
entropy_gd32_recover() had not return type defined causing the
following issue when building:

drivers/entropy/entropy_gd32.c:61:8: error: return type defaults to
'int' [-Werror=implicit-int]

Fix it and change the function to void since it was returning a
constant 0 that is never checked or used.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-01-19 15:15:52 +01:00
Pieter De Gendt
bc63b5cd30 nvmem: Improve doxygen in public APIs
Update the NVMEM doxygen in accordance with the contribution guidelines.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-19 15:15:07 +01:00
Jamie McCrae
f3fa86ec1a soc: andestech: Fix Kconfig naming
Fixes Kconfig naming to be properly set as required by HWMv2, to
allow for future build system features to work

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-19 15:14:13 +01:00
Jamie McCrae
a53edb7cfd soc: andestech: ae350: Fix wrong implementation of SoC
Fixes a wrongly added SoC feature which should not have been
accepted in the original way it was added, by correctly adding a
Kconfig to select an optional build configuration for this SoC

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-19 15:14:13 +01:00
Gaetan Perrot
287d6e9ddd net: mqtt_sn: make process_advertise void
process_advertise() never reports errors and always returns 0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-19 15:13:05 +01:00
Gaetan Perrot
32e3057009 net: mqtt_sn: make process_search void
process_search() never reports errors and always returns 0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-19 15:13:05 +01:00
Pieter De Gendt
7fb1573311 drivers: flash: flexspi-nor: Support reset GPIO
Add optional reset pin to flash devices.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-19 15:12:25 +01:00
Fin Maaß
9ff85c87d5 drivers: ethernet: nxp: remove redunant tx mutex
remove redunant tx mutex, as the networking
subsystem already provides one since
f65ac5effb

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-19 15:11:50 +01:00
Fin Maaß
77cbd69a3e drivers: ethernet: stm32: remove redunant tx mutex
remove redunant tx mutex, as the networking
subsystem already provides one since
61c392c5b1

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-19 15:11:50 +01:00
Fin Maaß
d043dd3cdf drivers: ethernet: sensry: remove redunant tx mutex
remove redunant tx mutex, as the networking
subsystem already provides one since
61c392c5b1

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-19 15:11:50 +01:00
Fin Maaß
999223f36e drivers: ethernet: numaker: remove redunant tx mutex
remove redunant tx mutex, as the networking
subsystem already provides one since
61c392c5b1

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-19 15:11:50 +01:00
Fin Maaß
6fc50ff4f0 drivers: ethernet: litex: remove redunant tx mutex
remove redunant tx mutex, as the networking
subsystem already provides one since
61c392c5b1

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-19 15:11:50 +01:00
Holt Sun
2f3b4a4611 drivers: timer: cortex_m_systick: fix counter read order on LPM exit
Read the idle timer counter value after getting interrupt status and
top value to ensure more accurate timing measurements when exiting
low-power mode.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-19 15:10:27 +01:00
Holt Sun
f9444d2d80 drivers: timer: cortex_m_systick: fix LPM entry with RESET_BY_LPM
Clear pending SysTick interrupt before entering low-power mode when
CONFIG_CORTEX_M_SYSTICK_RESET_BY_LPM is enabled. A pending interrupt
can inhibit LPM entry or cause immediate wakeup. This is safe since
cycle_count was already updated.
Also improve RESET_BY_LPM Kconfig help text.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-19 15:10:27 +01:00
Can Wang
d9a5b9cc4a Bluetooth: OBEX: add setpath flags enum
Add documentation for the setpath flags parameter by defining a new
enum bt_obex_setpath_flags that describes the available flags:
- BT_OBEX_SETPATH_FLAG_BACKUP: backup a level before applying name
- BT_OBEX_SETPATH_FLAG_NO_CREATE: don't create folder if it doesn't exist

Update the documentation for bt_obex_setpath() and the setpath callback
in bt_obex_server_ops to reference the new enum, improving clarity for
users of the OBEX setpath operation.

Signed-off-by: Can Wang <can.wang@nxp.com>
2026-01-19 15:08:42 +01:00
Can Wang
40931508ca Bluetooth: OBEX: fix incorrect error code in obex_transport_disconn
The function obex_transport_disconn() was always returning -EINVAL
regardless of the actual error code returned by the transport
disconnect operation.

Fix this by returning the actual error code from the transport
disconnect call instead of the hardcoded -EINVAL value.

Signed-off-by: Can Wang <can.wang@nxp.com>
2026-01-19 15:08:42 +01:00
Can Wang
3138be0b08 Bluetooth: OBEX: allow zero-length body in End-of-Body header
According to OBEX Version 1.5, section 2.2.9, it is legal to send a
zero-length End-of-Body header when object body data is generated on
the fly and the end cannot be anticipated.

Update parameter validation in bt_obex_add_header_body_or_end_body()
and bt_obex_add_header_end_body() to allow NULL body pointer when
length is zero, while still rejecting NULL body with non-zero length.

This enables proper support for zero-length End-of-Body headers as
specified in the OBEX specification.

Signed-off-by: Can Wang <can.wang@nxp.com>
2026-01-19 15:08:42 +01:00
Can Wang
85446aafd7 Bluetooth: OBEX: add bt_obex_has_app_param helper function
Add a new helper function bt_obex_has_app_param() to check whether
a specific application parameter tag exists in the OBEX buffer.

The function uses the existing bt_obex_get_header_app_param() to
retrieve the application parameters, then parses them using
bt_obex_tlv_parse() with a callback to search for the specified tag ID.

This simplifies checking for the presence of application parameters
without needing to manually parse the TLV structure.

Signed-off-by: Can Wang <can.wang@nxp.com>
2026-01-19 15:08:42 +01:00
Krzysztof Chruściński
5cfcbf2e87 drivers: counter: nrfx_timer: Optimize interrupt handler
Check only events which have interrupt enabled.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-01-19 15:08:06 +01:00
Robert Hancock
8b287a6a74 drivers: dma: dma_xilinx_axi_dma: Make descriptors per-instance
Move the descriptor storage into the per-instance data structure rather
than being global, as they should not be shared between instances.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
2026-01-19 15:07:05 +01:00
Robert Hancock
0345fc9d2a drivers: dma: dma_xilinx_axi_dma: Fix up IRQ locking
The way the driver was storing IRQ numbers for later use in the various
locking modes was not correct, causing the wrong IRQs to potentially be
disabled/enabled in some modes. Refactor the way this is done to be
cleaner, and also the way the different locking modes are implemented in
order to ensure that all modes receive compile test coverage.

Also, ensure that the IRQ for the RX or TX channel is always disabled
during the execution of the corresponding ISR, to prevent it from being
preempted by itself if the DMA core raises another interrupt during the
ISR execution.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
2026-01-19 15:07:05 +01:00
Robert Hancock
c00f01fb97 drivers: dma: dma_xilinx_axi_dma: Use selective dcache flush/invalidate
This driver has a config option
DMA_XILINX_AXI_DMA_DISABLE_CACHE_WHEN_ACCESSING_SG_DESCRIPTORS to allow
it to be used on platforms where DMA memory access is not automatically
cache coherent. However, fully disabling the dcache when accessing DMA
buffers/descriptors is not necessary and is potentially problematic.
This can be handled more selectively by doing explicit cache invalidate
and/or flush operations on the buffers involved as required.

Note that this does introduce a requirement that RX DMA buffers provided
to the driver are cache line aligned, as otherwise the required cache
invalidate operation could potentially corrupt unrelated data. This is
explicitly checked when a DMA RX operation is started.

Tested on Cortex-R5 with data cache enabled.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
2026-01-19 15:07:05 +01:00
Robert Hancock
01d089ae02 drivers: dma: dma_xilinx_axi_dma: Remove polling timer
The driver previously had a timer to periodically check for completed
TX/RX transfers in case an interrupt notification was missed. With
previous changes to the driver to avoid lost interrupt wakeups, this
workaround should no longer be required, so remove it.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
2026-01-19 15:07:05 +01:00
Robert Hancock
dd352c1e5d drivers: dma: dma_xilinx_axi_dma: Fixes for DMA interrupt processing
Fix some issues in the driver's DMA interrupt handling:

-Ensure that interrupts are cleared prior to handling interrupt events,
so that events raised during interrupt processing will cause the
hardware to raise a new interrupt

-Ensure that we do not overwrite existing DMA descriptors which are
incomplete (such as by trying to execute more transfers than there are
slots in the descriptor ring)

-Ensure that error events reported by the DMA engine are reported

-Rename some of the variables to track pending and completed ring
locations for better clarity

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
2026-01-19 15:07:05 +01:00
Robert Hancock
1874b172b0 drivers: dma: dma_xilinx_axi_dma: Move global reset to init function
Doing a reset of the DMA engine during the dma_configure operation is
problematic when using the DMA core in combination with the Xilinx AXI
Ethernet core, since the DMA core's reset signals are normally
propagated into the Ethernet core. This means that after the Ethernet
core initializes and starts a DMA operation for the first time, the DMA
core is reset, wiping out all of the register settings that the Ethernet
core has made.

To avoid this, move the DMA core reset and other initialization which
only needs to be done once into the init function, so this is done
during initial driver load and not deferred until later.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
2026-01-19 15:07:05 +01:00
Robert Hancock
36909486e7 drivers: dma: dma_xilinx_axi_dma: Cleanup register access
Instead of using a packed structure to define the register map, just
create an enum for the registers and use that to refer to them. This
avoids the need for repeatedly disabling GCC warnings for taking the
address of packed structure members.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
2026-01-19 15:07:05 +01:00
Robert Hancock
e0a268f501 drivers: dma: dma_xilinx_axi_dma: Add dependency for cache disable option
The DMA_XILINX_AXI_DMA_DISABLE_CACHE_WHEN_ACCESSING_SG_DESCRIPTORS
option is not meaningful to enable unless the platform/configuration
actually supports the corresponding cache maintenance operations. Add
dependencies accordingly.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
2026-01-19 15:07:05 +01:00
Nicolas Pitre
6b5af82164 cmake: compiler: arm64: Disable SVE for ARMv9-A when CONFIG_ARM64_SVE=n
When building for ARMv9-A platforms with CONFIG_ARM64_SVE disabled,
compilers still emit SVE instructions because ARMv9-A includes SVE
by default in the architecture specification.

Add explicit +nosve flag to -march when CONFIG_ARMV9_A=y but
CONFIG_ARM64_SVE=n to prevent SVE instruction emission. This ensures
the compiler respects the SVE configuration and only emits SVE
instructions when explicitly enabled.

Applied to both GCC and Clang/LLVM toolchains.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2026-01-19 12:22:34 +01:00
Thomas Hebb
bf81b7ca07 bluetooth: cyw43xxx: Wire up vendor command to set MAC address
There's a standardized way to set a public Bluetooth address in the
core, and this hardware has a vendor specific command to do just that.
Tell the core we support the operation and implement the command. This
allows applications to set a MAC by calling bt_id_create() prior to
bt_enable().

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
2026-01-19 12:21:32 +01:00
Thomas Hebb
0b75b100cc drivers: bluetooth: h4: Pass params to vendor setup function
If the vendor driver knows how to set a public MAC, it can select
CONFIG_BT_HCI_SET_PUBLIC_ADDR and set the address in this argument,
allowing applications to set a public address with bt_id_create().

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
2026-01-19 12:21:32 +01:00
Wilfried Chauveau
b25ecfd358 cmake: sysbuild: propagate WEST_PYTHON & Python3_EXECUTABLE
Without this, the parent CMake and the sub-processes may use different
Python environment.

Co-authored-by: Torsten Tejlmand Rasmussen <torsten.rasmussen@nordicsemi.no>
Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
2026-01-19 12:20:01 +01:00
Abderrahmane JARMOUNI
ddaf21c02d Revert "drivers: display: st7796s: Add display_set_orientation API"
This reverts commit 132ab06a3f.

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2026-01-19 12:18:36 +01:00
Antoni Duda
4419420618 tests: Bluetooth: Test for unregistering of per adv callbacks
Introduces a testcase for the new api function
bt_le_per_adv_sync_cb_unregister.

Signed-off-by: Antoni Duda <antoni.duda@programmer.net>
2026-01-19 12:17:53 +01:00
Antoni Duda
28a9b43459 bluetooth: host: Allow unregistering per adv sync cbs
Introduce bt_le_per_adv_sync_cb_unregister to allow
unregistering of the periodic sync callbacks.

Signed-off-by: Antoni Duda <antoni.duda@programmer.net>
2026-01-19 12:17:53 +01:00
Yves Wang
587e4aacaa tests: watchdog: fixed incorrect skip statement
- Remove ztest_test_skip in sub testcase because it will skip all
  following code in the testcase.
- Print sub testcase name at the case begining.
- Wrap bad window and wait mode test with macros.
- For nxp,cop, need disable it when the testcase ends.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-01-19 12:17:02 +01:00
Yves Wang
de2b8994ac tests: watchdog: format wdt_basic_api
Format the file with clang-format

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-01-19 12:17:02 +01:00
Hieu Nguyen
33914a65db tests: drivers: pwm: Add support for RZ devices
Add test support for PWM driver of:
- RZ/T2L-RSK
- RZ/G2L-SMARC, RZ/G2LC-SMARC
- RZ/V2N-EVK, RZ/V2H-EVK

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-19 12:13:58 +01:00
Hieu Nguyen
002a7a7cbd boards: renesas: Add PWM support for RZ devices
Add PWM support for:
- RZ/T2L-RSK
- RZ/G2L-SMARC, RZ/G2LC-SMARC
- RZ/V2N-EVK, RZ/V2H-EVK

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-19 12:13:58 +01:00
Hieu Nguyen
4890a26f1c drivers: pwm: Update driver for RZ devices
Implement interrupt settings to expand the driver to RZ/V2H, V2N SoCs

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-19 12:13:58 +01:00
Hieu Nguyen
577906b09b dts: renesas: Add PWM support for RZ SoCs
Add GPT nodes for devicetree of
- RZ/T2L
- RZ/G2L, RZ/G2LC
- RZ/V2H R8 Core, RZ/V2H M33 Core, RZ/V2N
Update GPT nodes for devicetree of RZ/G3S

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-19 12:13:58 +01:00
Pierre-Henry Moussay
b60fbc2abc MAINTAINERS.yml: Add pic64 SoC and pic64gx_curiosity_kit
Add pic64 SoC and pic64gx_curiosity_kit to Microchip RISCV board and SoC

Signed-off-by: Pierre-Henry Moussay <pierre-henry.moussay@emdalo.com>
2026-01-19 12:11:40 +01:00
Pierre-Henry Moussay
e19fd33b6c boards: microchip: Add minimal support for pic64gx_curiosity_kit
Add minimal support for PIC64GX curiosity kit

Signed-off-by: Pierre-Henry Moussay <pierre-henry.moussay@emdalo.com>
2026-01-19 12:11:40 +01:00
Pierre-Henry Moussay
8c82334f5b soc: microchip: pic64: Add minimal support for PIC64GX
Add minimal support for PIC64GX SoC and devicetree

Signed-off-by: Pierre-Henry Moussay <pierre-henry.moussay@emdalo.com>
2026-01-19 12:11:40 +01:00
Daniel Schultz
16c40508fd tests: i2c: i2c_speed: Add phyBOARD-Atlas Files
Add an overlay and conf file for the phyBOARD-Atlas. Those
files are copies from NXP's RT1176 board, because the phyBOARD-Atlas
is using the same MCU.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2026-01-19 12:09:44 +01:00
Daniel Schultz
e540442ec9 samples: net: prometheus: Exclude phyBOARD-Atlas
This sample doesn't compile for the phyBOARD-Atlas. Exlude this board
until it got fixed.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2026-01-19 12:09:44 +01:00
Daniel Schultz
1e3602b735 tests: dac: Add phyBOARD-Atlas
phyBOARD-Atlas is based on NXP's RT1176 MCU. Add this
board nex to the NXP defines.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2026-01-19 12:09:44 +01:00
Daniel Schultz
b56a4e1000 boards: phytec: add support for phyBOARD-Atlas i.MX RT1170
Add initial support for PHYTEC phyBOARD-Atlas i.MX RT1170 based on the
PHYTEC phyCORE-i.MX RT1170 SOM. SOM uses dual-core NXP i.MX RT1170 SoC
as a basis, with Cortex-M7 core running at 1 GHz and Cortex-M4 core at
400 MHz.

Supported features:
 * Accelerometer
 * Audio codec
 * CAN
 * DAC
 * EEPROM
 * Ethernet
 * External display
 * I2C
 * RS-232
 * SD-Card
 * SPI
 * UART
 * USB

Signed-off-by: John Ma <jma@phytec.com>
Signed-off-by: Florijan Plohl <florijan.plohl@norik.com>
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2026-01-19 12:09:44 +01:00
Florijan Plohl
c4bd68def0 dts: arm: phytec: add support for phyCORE-RT1170 SOM
Add phyCORE-1170 SOM dtsi for streamlined inclusion on carrier
boards and uses a dual-core NXP i.MX RT1170 SoC as a basis.

Signed-off-by: Florijan Plohl <florijan.plohl@norik.com>
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2026-01-19 12:09:44 +01:00
Gaetan Perrot
47ae7f4a50 pmci: mctp: mctp_i3c_controller: remove dead code in controller start
mctp_i3c_controller_start() contains a conditional check on a return
code that is never updated, making the error handling path
unreachable.

Remove the dead code to avoid misleading logic and make the current
controller startup behavior explicit.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-19 10:10:18 +01:00
Yasushi SHOJI
31863b30ae soc: xlnx: versal: Select VFPv3-D16
The Versal RPU uses Arm Cortex-R5F cores, which implement VFPv3-D16
(single and double precision with 16 double-word registers):.

Select VFP_DP_D16 to describe the available VFP configuration for this SoC.

Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
2026-01-19 10:09:44 +01:00
Gaetan Perrot
9f39f80e72 sensing: sensor_mgmt: make set_sensor_state void
set_sensor_state() never reports errors and always returns 0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-19 10:08:21 +01:00
Gaetan Perrot
363387890d sensing: sensor_mgmt: make init_sensor void
init_sensor() never reports errors and always returns 0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-19 10:08:21 +01:00
Can Wang
b723880279 Bluetooth: Classic: OBEX: adjust MOPL handling when exceeding MTU
When MOPL exceeds MTU, adjust it to match MTU instead of sending the
error code. This handles the common case where mainstream mobile
operating systems (iPhone and Android) negotiate
MOPL values greater than the RFCOMM or L2CAP MTU.

Signed-off-by: Can Wang <can.wang@nxp.com>
2026-01-19 10:07:52 +01:00
Farsin Nasar V A
73efb8678c tests: drivers: pwm: Adds pwm test support file
Adds PWM test support files for pic32cx_sg41_cult

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2026-01-19 10:07:28 +01:00
Muhammed Asif
d0d7df2568 boards: microchip: pic32cx_sg41_cult: Adds pwm tc node
- Adds support for pwm with tc node on the board file

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-19 10:07:28 +01:00
Muhammed Asif
81437027cc boards: microchip: pic32cx_sg61_cult: Adds pwm tc node
- Adds support for pwm with tc node on the board file

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-19 10:07:28 +01:00
Muhammed Asif
695dd30ba0 dts: arm: microchip: pic32cx_sg : Add tc nodes
- Adds the tc nodes to the common dtsi files

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-19 10:07:28 +01:00
Grzegorz Ferenc
a4d8ee8836 doc: smp_svr: CDC USB port note
Added a note to the USB CDC_ACM building scenario.
The note reminds the user to connect to the correct USB port
when programming. NCSIDB-1733.

Signed-off-by: Grzegorz Ferenc <Grzegorz.Ferenc@nordicsemi.no>
2026-01-19 10:07:00 +01:00
Gaetan Perrot
46ad3814cc drivers: clock_control: bl60x: make set_root_clock_dividers void
clock_control_bl60x_set_root_clock_dividers() never reports errors
and always returns 0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-19 10:06:51 +01:00
Gaetan Perrot
9927c16d1f drivers: clock_control: bl70x: make set_root_clock_dividers void
clock_control_bl70x_set_root_clock_dividers() never reports errors
and always returns 0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-19 10:06:51 +01:00
Jonas Berg
ac6e27d95b boards: Add support for Pimoroni Tiny 2040
Tested with the commands mentioned in the index.rst file.

Product photo from https://shop.pimoroni.com/products/tiny-2040

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-19 10:06:11 +01:00
Jonas Berg
0c169bb5ea boards: Add support for DFRobot Beetle RP2350
Tested with the commands mentioned in index.rst

Product photo from
https://www.dfrobot.com/product-2913.html

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-19 10:04:38 +01:00
alperen sener
8907c9ab8d tests: Bluetooth: tester: Fix Central Address Resolution chr. read
CAR characteristic read process was incomplete, CAR status was not
actually stored.

Added a new BTP_GAP_EV_PEER_CAR_RECEIVED to tester. This is to
prevent disconnect events before IUT successfully reads CAR from
central.

Updated start_directed_advertising() so that if the central has
no CAR support we must not send directed advertisements. IUT
might enter another connectable mode according to specification,
thus IUT starts sending connectable undirected advertisements with
resovable address.

Signed-off-by: alperen sener <alperen.sener@nordicsemi.no>
2026-01-19 10:04:25 +01:00
Neil Chen
c0473e1fbe boards: nxp: frdm_mcxa344: Support wwdt for NXP frdm_mcxa344 board
Support watchdog for NXP frdm_mcxa344 board.
Test using samples/drivers/watchdog.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-19 10:04:03 +01:00
Neil Chen
f782c6e32e tests: drivers: spi: add spi test support for frdm_mcxa344 board
add spi test support for frdm_mcxa344 board

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-19 10:04:03 +01:00
Neil Chen
9f866e17c9 boards: nxp: frdm_mcxa344: Support lpspi for NXP frdm_mcxa344 board
Support lpspi for NXP frdm_mcxa344 board.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-19 10:04:03 +01:00
Neil Chen
7d522e1064 tests: drivers: i2c: add i2c test support for frdm_mcxa344 board
add i2c test support for frdm_mcxa344 board

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-19 10:04:03 +01:00
Neil Chen
8564d10c75 boards: nxp: frdm_mcxa344: Support lpi2c for NXP frdm_mcxa344 board
Support lpi2c for NXP frdm_mcxa344 board.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-19 10:04:03 +01:00
Thomas Hebb
21cd98a5e1 drivers: sdhc: imx_usdhc: Extend all reset timeouts
commit bf61a47887 ("drivers: sdhc: imx_usdhc: extend reset timeout
duration") extended the timeout from 100 iterations to 1000 iterations
for the USDHC_Reset() call in imx_usdhc_reset() but not in the other
places it's called. I have observed a "usdhc: Failed to reset command
line" error from imx_usdhc_error_recovery() on an i.MX RT1061, which
goes away if I extend the timeout. Do so there and also at other call
sites for good measure.

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
2026-01-19 10:03:39 +01:00
Etienne Carriere
82ef82dff1 drivers: ethernet: stm32: factorize clock handles
Factorize STM32 interface clocks configuration in a single array.
This change eases later integration of other SoCs with different
clocks names while the driver only has to enable (possibly disable)
the clocks on a single sequence.

Suggested-by: Fin Maaß <f.maass@vogl-electronic.com>
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-01-19 10:03:16 +01:00
Etienne Carriere
c623c4544d drivers: ethernet: stm32: finalize move of clocks to controller node
Remove helper macro used to transition from MAC clocks defined
by the MAC node to definition in the controller (parent) node.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-01-19 10:03:16 +01:00
Etienne Carriere
0a49c46958 dts: arm: st: move ethernet clocks from mac to controller node
Move the ethernet controller clocks from mac node to controller node.
This change simplifies how clocks are gathered and handled in STM32
ethernet drivers.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-01-19 10:03:16 +01:00
Etienne Carriere
d965feeea4 drivers: ethernet: stm32: prepare move of MAC clocks to parent node
Prepare move of STM23 ethernet MAC clocks to the controller node (parent
node). For sake of simplicity, define a filed for all possible clocks in
struct eth_stm32_hal_dev_cfg, a later change will replace the whole
with a single STM32 clock instance (struct stm32_pclken) array pointer.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-01-19 10:03:16 +01:00
Etienne Carriere
6e095400c2 drivers: ethernet: stm32: use STM32_DT_INST_CLOCK_INFO_BY_NAME()
Update STM32 ethernet driver to use STM32_DT_INST_CLOCK_INFO_BY_NAME()
helper macro to always get all clock information, not only the bus ID
and bit position.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-01-19 10:03:16 +01:00
Arunprasath P
f04a3cfa7a tests: comparator: microchip: Add board overlay file
Add board overlay file for pic32cx_sg41_cult to enable comparator
test cases to run on this board.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2026-01-18 09:40:33 -06:00
Arunprasath P
33845c2e44 boards: microchip: pic32cx_sg61_cult: Add comparator support
Update pic32cx_sg61_cult.yml to include Comparator in the supported
features list.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2026-01-18 09:40:33 -06:00
Arunprasath P
c201b11a85 boards: microchip: pic32cx_sg41_cult: Add comparator support
Update pic32cx_sg41_cult.yml to include Comparator in the supported
features list.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2026-01-18 09:40:33 -06:00
Arunprasath P
11b51eafe0 dts: arm: microchip: Add AC node for PIC32CX-SG family devices
Add Analog comparator node to enable Comparator G1 driver
support on PIC32CX-SG devices.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2026-01-18 09:40:33 -06:00
Peter Johanson
a17503cb17 drivers: input: Add sleep-mode-enable property for Pinnacle
Add a new sleep-mode-enable property for the Cirque Pinnacle input driver,
to enable the sleep-mode for those peripherals, which will go into a lower
power state after 5 seconds with no fingers detected.

Signed-off-by: Peter Johanson <peter@peterjohanson.com>
2026-01-18 09:40:21 -06:00
Peter Johanson
fa7037ca71 input: pinnacle: Perform software reset on init
Don't rely on power-on-reset for the connected device, issue a software
reset on init to be sure we're reset before continuing.

Signed-off-by: Peter Johanson <peter@peterjohanson.com>
2026-01-18 09:40:12 -06:00
Chay Guo
035d026741 samples: nxp: frdm_ke15z: Enable ADC samples.
ADC0 CH0 as input channel
Enabled samples/drivers/adc on frdm_ke15z

Signed-off-by: Chay Guo <changyi.guo@nxp.com>
2026-01-18 10:31:24 +01:00
Chay Guo
43d73f19bd boards: nxp: frdm_ke15z: Support ADC feature.
Enable ADC0 CH0 as input channel
Tested with tests/drivers/adc/adc_api/ on frdm_ke15z

Signed-off-by: Chay Guo <changyi.guo@nxp.com>
2026-01-18 10:31:24 +01:00
Chay Guo
58febe8690 boards: nxp: doc: ke1xz: Correct system clock source and frequency
The System clock was changed to LPFLL by commit 68937acbb8.
Updated the clock source and frequency description in board documentation.
Regarding boards: frdm_ke15z, frdm_ke17z, frdm_ke17z512

Signed-off-by: Chay Guo <changyi.guo@nxp.com>
2026-01-18 10:31:24 +01:00
Henrik Lindblom
79e9b72534 drivers: adc: ads1x4s0x: configure reference buffers
Configure the reference buffers when using external reference voltage for a
channel. For the internal reference the datasheet[1] recommends that the
buffers are disabled and for external references they should be disabled if
REFPx/REFNx is close to AVDD/AVSS. After reset the positive reference
buffer is enabled and the negative is disabled. The default values
correspond to the example circuit for a two-wire and four-wire PT100 RTD
measurement with low-side reference.[2][3]

The values configured by the driver are maybe a little opinionated, but the
current behaviour is kept to avoid surprises for people that are happy with
the drivers defaults.

The change applies to both ads11xs0x and ads124xs0x series.

Link: [1]: https://www.ti.com/lit/ds/symlink/ads124s08.pdf
Link: [2]: https://www.ti.com/lit/an/sbaa329b/sbaa329b.pdf
Link: [3]: https://www.ti.com/lit/an/sbaa336b/sbaa336b.pdf

Signed-off-by: Henrik Lindblom <henrik.lindblom@vaisala.com>
2026-01-18 10:30:42 +01:00
Henrik Lindblom
2c81aef924 dts: bindings: ads1x4s0x: add reference buffers
Add boolean properties to control whether the reference voltage buffers are
enabled or not. After reset the positive reference buffer is enabled and
the negative is disabled.

Signed-off-by: Henrik Lindblom <henrik.lindblom@vaisala.com>
2026-01-18 10:30:42 +01:00
Benjamin Cabé
3dfe5a98f6 doc: code_data_relocation: Add syntax highlight to cmake snippets
Fix code-blocks that had improper syntax highlighting set

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-17 20:30:15 +00:00
Pieter De Gendt
84415a1252 boards: nxp: mimxrt1064_evk: Fix PWM polarity for user LED
The user LED is active low, or when using the PWM, polarity inverted.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-17 20:30:00 +00:00
Neil Chen
348cc0116d tests: drivers: flash: add flash test support for frdm_mcxac444
add erase_block and flash_map support for frdm_mcxc444 board

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-17 20:29:52 +00:00
Neil Chen
7ade290225 boards: frdm_mcxc444: add flash support
- enable flash support
- verified tests/drivers/flash/common

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-17 20:29:52 +00:00
Daniel Schaefer
e64a7a2817 boards: framework: Remove unnecessary figure
Requested during code review to remove.
Apparently zephyr:board:: automatically does it.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-01-17 20:29:34 +00:00
Daniel Schaefer
7bd6c0079b boards: framework: Add framework_ledmatrix board
The following examples build and work as expected:

> west build -p -b framework_ledmatrix samples/basic/button
> west build -p -b framework_ledmatrix samples/basic/minimal
> west build -p -b framework_ledmatrix samples/subsys/usb/console
> west build -p -b framework_ledmatrix samples/subsys/usb/cdc_acm
> west build -p -b framework_ledmatrix samples/subsys/input/input_dump

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-01-17 20:29:34 +00:00
Felix Wang
63c2ea0054 tests: drivers: pwm: pwm_loopback: boards: Enabe test on lpcxpresso55s36
Add lpcxpresso55s36  board configuration file.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-17 17:05:00 +01:00
Felix Wang
e72d11e903 drivers: pwm: Add input capture support to nxp,sctimer-pwm
Implement PWM input capture functionality for the NXP SCTimer
driver with support for both pulse width and period measurement
in single-shot and continuous modes.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-17 17:05:00 +01:00
Felix Wang
3a5f9c886e dts: bindings: pwm: Add input capture properties to nxp,sctimer-pwm
Add input-channels and inputmux-connections properties to the
nxp,sctimer-pwm device tree binding to support SCTimer input
capture configuration.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-17 17:05:00 +01:00
Felix Wang
e7840a9d27 drivers: pwm: Fix polarity update on duty cycle change
1.Add mcux_sctimer_pwm_update_polarity() function to properly
reconfigure PWM output polarity when duty cycle is updated.
2.Update Match Reload Value register when Match register is
set.
3.Stop timer before update to prevent bus error

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-17 17:05:00 +01:00
Felix Wang
c30ad66e46 tests: drivers: pwm: pwm_api: boards: Enable frdm_mcxa153 test
Add device tree overlay to enable PWM API testing on the frdm_mcxa153
board using ctimer0. The overlay configures:
- PWM test alias pointing to ctimer0
- Pin P2_12 (J2_12) as PWM output
- ctimer0 in PWM mode with prescaler set to 1

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-17 17:04:44 +01:00
Felix Wang
fa48bee6c4 drivers: pwm: fix prescaler calculation for pwm_mcux_ctimer
The prescaler divides the clock by (prescaler + 1), not by the prescaler
value directly. Update the calculation to correctly account for this.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-17 17:04:44 +01:00
Felix Wang
d2c4dda0c6 dts: bindings: pwm: clarify prescaler description for ctimer pwm
Clarify that the prescaler value divides the clock by (prescaler + 1),
not by the prescaler value directly. This helps users understand the
actual clock division behavior.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-17 17:04:44 +01:00
Derek Snell
694ecafce2 boards: nxp: mimxrt1180_evk: enable CM7 execution from hyperram
* adds CM7 HyperRAM overlay and documentation
* removes hardcoded Kconfig settings for ITCM
* adds example cm33_sram_dtcm.overlay

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2026-01-17 17:04:35 +01:00
Derek Snell
baaf468bc1 soc: nxp: imxrt1180: enable more CM7 memory execution options
Enables other RAM locations for CM7 instead of hardcoding to ITCM.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2026-01-17 17:04:35 +01:00
Felix Wang
c84fdef122 tests: pwm: pwm_loopback: Add board overlay for mimxrt1180_evk
Add device tree overlay for PWM loopback testing on the
MIMXRT1180EVK board using FlexPWM1 module.

Configuration includes:
- Pin configuration for PWM output (gpio_ad_00/J69-3) and input
  capture (gpio_ad_06/J70-1) using FlexPWM1 channels
- PWM loopback test node with output on channel 0 and input on
  channel 2
- Input filter settings with minimal count and period for testing
- Physical connection requirement between J69-3 and J70-1

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-17 17:04:24 +01:00
Felix Wang
8dcd7579eb drivers: pwm: Add PWM capture functionality for pwm_mcux
Add support for PWM input capture functionality to the NXP MCUX PWM
driver. This enables measurement of pulse width and period of external
PWM signals.

Key features added:
- PWM capture configuration and control APIs
- Interrupt-driven capture with overflow handling
- Support for both pulse width and period measurement
- Configurable input filtering
- Support for continuous and one-shot capture modes

The implementation uses FlexPWM channel X as the dedicated input
capture channel, while channels 0 and 1 remain available for PWM
output. Capture functionality is conditionally compiled based on
CONFIG_PWM_CAPTURE configuration option.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-17 17:04:24 +01:00
Felix Wang
bf829e6476 dts: bindings: pwm: Add input filter properties for nxp,imx-pwm.yaml
Add device tree binding properties for PWM input capture filtering
functionality to the NXP i.MX PWM driver binding.

New properties added:
- input-filter-count: Configure number of consecutive samples
  required before accepting input transitions
- input-filter-period: Set sampling period in IPBus clock cycles
  for input capture filtering

These properties enable configuration of input filtering to reduce
noise and improve signal integrity for PWM capture operations.
Setting filter period to 0 bypasses the input filter entirely.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-17 17:04:24 +01:00
Felix Wang
f46f921b7f drivers: pwm: Fix ASSERTION FAIL in pwm_mcux
In PWM_SetupPwm implementation, there is a check:
    temp = pwmClock / pwmFreq_Hz;
    assert(temp <= 0xFFFFU);
Currently pwmFreq_Hz is 1, makes assert failed with
high frequency pwmClock. Since VALx values is set
directly for edge aligned PWM, the pwmFreq_Hz here is
a dummy value, set pwmFreq_Hz equal to pwmClock
frequency to pass assert check.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-01-17 17:04:24 +01:00
Tom Hughes
a0fdebcc90 tests: drivers: build_all: input: Fix warning
When building the drivers.input.adc_keys test with clang and
-Winitializer-overrides, it warns:

subsys/input/input_keymap.c:123:29: error: initializer overrides prior
initialization of this subobject [-Werror,-Winitializer-overrides]
  123 | DT_INST_FOREACH_STATUS_OKAY(INPUT_KEYMAP_DEFINE)
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/include/zephyr/devicetree.h:5306:25: note: expanded from macro
'DT_INST_FOREACH_STATUS_OKAY'
 5304 |         COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(DT_DRV_COMPAT),   \
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5305 |                     (UTIL_CAT(DT_FOREACH_OKAY_INST_,            \
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5306 |                               DT_DRV_COMPAT)(fn)),              \
      |                               ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
 5307 |                     ())
      |                     ~~~

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
2026-01-17 14:28:33 +01:00
Tom Hughes
a28b6f8ed7 arc: Use ARG_UNUSED instead of self-assignment to avoid clang warnings
clang warns about self assignment when -Wself-assign is enabled.

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
2026-01-17 14:28:18 +01:00
TOKITA Hiroshi
c4f1ccb960 boards: qnx: Add support for QNX Hypervisor virtual machine
Adding support for running Zephyr OS as a guest virtual machine
in the QNX Hypervisor environment.
This change introduces a new board configuration for ARM64-based
QNX Hypervisor VM.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-17 14:28:08 +01:00
Derek Snell
051940789d boards: nxp: mimxrt1040_evk: enable Ethernet
Tested with samples dhcpv4_client and http_server.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2026-01-17 14:27:35 +01:00
Neil Chen
eac5cfa0e4 boards: nxp: frdm_mcxn947,mcx_n9xx_evk: Update doc
Update frdm_mcxn947,mcx_n9xx_evk boards' Datasheet and
Reference manual link

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-17 14:27:09 +01:00
Chay Guo
0b30562497 doc: boards: mimxrt700_evk: fix build command for display
- Fix the build command for display samples.

Signed-off-by: Chay Guo <changyi.guo@nxp.com>
2026-01-17 14:26:47 +01:00
Yves Wang
334f5726b4 soc: nxp: unify DISABLE_WDOG condition
Aligh the macro to determine DISABLE_WDOG definition for nxp devices.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-01-17 14:26:25 +01:00
Isabelle OGER
a2a14b548e boards: shields: add support for ST87M01 module.
Add support for the STMicroelectronics ultra-compact low-power NB-IoT
industrial ST87M01 module.

Signed-off-by: Isabelle OGER <isabelle.oger@st.com>
2026-01-17 14:25:46 +01:00
Isabelle OGER
69a826c7f5 tests: drivers: build_all: add support for ST87M01 module.
Add support for the STMicroelectronics ultra-compact low-power NB-IoT
industrial ST87M01 module.

Signed-off-by: Isabelle OGER <isabelle.oger@st.com>
2026-01-17 14:25:46 +01:00
Isabelle OGER
d6e3b49837 dts: bindings: add support for STMicroelectronics ST87M01 module.
Add support for the STMicroelectronics ultra-compact low-power NB-IoT
industrial ST87M01 module.

Signed-off-by: Isabelle OGER <isabelle.oger@st.com>
2026-01-17 14:25:46 +01:00
Isabelle OGER
bdf1e58a97 drivers: modem: introduce STMicroelectronics ST87M01 modem driver
The STMicroelectronics ST87M01 modem is an ultra-compact low-power
NB-IoT industrial module.
The ST87M01 is a high-performance, fully programmable, ultra-compact,
and low-power LTE Cat NB2 NB-IoT industrial module series,
offering comprehensive worldwide band coverage and advanced
security features.
Supporting a wide range of IoT protocols, the ST87M01 module includes
PDU SMS services and internet protocols such as TCP/IP, TLS/DTLS, CoAP,
LwM2M, MQTT, and HTTP/HTTPS, enabling versatile connectivity and
application scenarios.

This driver introduces support for AT commands to query modem
information and socket offloading for TCP/UDP transfers.

Signed-off-by: Isabelle OGER <isabelle.oger@st.com>
2026-01-17 14:25:46 +01:00
Fabio Baltieri
69c7befe26 drivers: eth_nxp_enet_qos: add promisc mode support
Add support for ETHERNET_CONFIG_TYPE_PROMISC_MODE.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-16 20:56:56 +00:00
Jason Yu
4808de2498 drivers: flash: soc_mcux: Fix ram function permission issue
Add workaround for MCUXSDK FTFX driver when FTFx_DRIVER_IS_FLASH_RESIDENT
is enabled.
The SDK places the run command function in data section which
is not executable when Zephyr configures memory permissions.
Implement a RAM function to replace the FTFX driver's run command function

Fixes: #98560

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2026-01-16 20:56:50 +00:00
Gaetan Perrot
bc5f5f8829 boards: adi: fix evaluation typo in board names
Fix a spelling mistake in the board name description for ADI
evaluation boards.

No functional change.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-16 18:08:51 +01:00
Malon Tian
16ffda989b scripts: west: fix typos and formatting in sdk help message
Specific fixes include:
- Add missing space after period in the disk space warning.
- Fix mismatched quotes in the --install-base example (usage of `...').
- Removed a typo double quote in the installation description.

This addresses the CLI help message issues reported.

Fixes #95609

Signed-off-by: Malon Tian <a3205153416@gmail.com>
2026-01-16 18:08:24 +01:00
Robert Lubos
602b91039a net: core: Queue loopback packets instead of processing directly
Instead of processing loopback packets from the TX thread directly,
queue them for further processing by RX thread (if possible), just as
regular packets. It's now possible as the information regarding the
packet is a loopback one or not is stored directly in the net_pkt
structure.

This allows to avoid unexpected stack consumption increases if packets
are sent for loopback destinations.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-16 18:07:57 +01:00
Mathieu Choplain
e0d6d425bd drivers: disk: sdmmc_stm32: error out when no domain clock is provided
If CONFIG_SDMMC_STM32_CLOCK_CHECK=y but the SDMMC node lacked domain clock,
the driver would perform an out-of-bounds access to priv->pclken[1] and
provide garbage as the "subsystem" in the call to clock_control_get_rate().

Detect this situation and error out with an explicit message instead to
prevent UB and help users.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-16 18:07:27 +01:00
Tim Pambor
9066af6a70 soc: st: stm32: {h5, l5, u5, wbax}: Correct cache line size
STM32H5, STM32L5, STM32U5, and STM32WBAX series MCUs have external
ICACHE/DCACHE with a cache line size of 16 bytes. The previous
configuration incorrectly set the cache line size to 32 bytes (the
default cache line size for Cortex-M cores).

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-01-16 18:07:00 +01:00
Andrej Butok
46e1c2a52e boards: nxp: mimxrt1170_evk: unify the documentation title
Removed revision from the MIMXRT1170-EVK documentation title,
to be consistent with all other MIMXRT boards.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2026-01-16 18:06:36 +01:00
Bjarki Arge Andreasen
e0481a1f30 drivers: i2c: i2c_nrfx: Use NRF_DT_INST_IRQ macros
Use NRF_DT_INST_IRQ_ macros which support building with and without
SW ISR table for all nordic socs.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-01-16 18:06:06 +01:00
Bjarki Arge Andreasen
7f685ca60a drivers: gpio: nrfx_gpio: Use NRF_DT_INST_IRQ macros
Use NRF_DT_INST_IRQ_ macros which support building with and without
SW ISR table for all nordic socs.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-01-16 18:06:06 +01:00
Bjarki Arge Andreasen
2e9586b33b drivers: spi: nrfx_spim: Use NRF_DT_INST_IRQ macros
Use NRF_DT_INST_IRQ_ macros which support building with and without
SW ISR table for all nordic socs.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-01-16 18:06:06 +01:00
Bjarki Arge Andreasen
46a5734ece soc: nordic: common: Introduce NRF_DT_(INST)_IRQ_ utility macros
Introduce the NRF_DT_IRQ_DIRECT_DEFINE and NRF_DT_IRQ_CONNECT macros
which reduce provide a common way for nordic drivers to adapt to the
presence of the SW ISR table which is commonly excluded as it is not
required for nordic socs. Also adds device driver inst variants of
the macros.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-01-16 18:06:06 +01:00
Andrej Butok
cd530875a5 boards: nxp: Fix NXP FRDM names in yaml
- Fixes NXP FRDM names in yaml files.
- The '-' was missed for some NXP FRDM boards.
- It caused an inconsistent board list in MCUx-VSCode extension.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2026-01-16 18:05:35 +01:00
Thorsten Klein
de18a52a20 scripts: west_commands: tests: test_build: add tests for west build args
Add tests to ensure 'west build' arguments are correctly forwarded to
CMake in the correct order.

Signed-off-by: Thorsten Klein <thorsten.klein@bshg.com>
2026-01-16 18:05:26 +01:00
Thorsten Klein
fe13def7a5 scripts: west_commands: build: support cmake arguments via --cmake-opt
Support cmake options specified via argument --cmake-opt, in order to
avoid `--` in alias commands.

Signed-off-by: Thorsten Klein <thorsten.klein@bshg.com>
2026-01-16 18:05:26 +01:00
Thorsten Klein
47db2c6522 scripts: west_commands: build: remove shadowed function argument
Remove _run_cmake argument 'cmake_opts' which is never used and shadowed
by a local variable.

Signed-off-by: Thorsten Klein <thorsten.klein@bshg.com>
2026-01-16 18:05:26 +01:00
Neil Chen
1d2fe6ef0f tests: drivers: can: timing: enable full timing test
Enable the full range of CAN timing tests on the NXP FRDM-MCXA366,
FRDM-MCXA346 and FRDM-MCXA266 boards.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-16 18:04:54 +01:00
Neil Chen
393d8807e3 boards: nxp/frdm_mcxaxx6: Support Flexcan for NXP frdm_mcxaxx6 board
Support Flexcan for NXP frdm_mcxa366,frdm_mcxa346,frdm_mcxa266 board

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-16 18:04:54 +01:00
Neil Chen
6b5489b850 dts: arm/nxp: Add Flexcan nodes to NXP mcxaxx6 dtsi file
Add Flexcan0,Flexcan1 node to NXP MCXA366,MCXA266 dtsi file
Add Flexcan0 node to NXP MCXA346 dtsi file

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-16 18:04:54 +01:00
Neil Chen
a52ff9a7bb drivers: syscon: update syscon driver to support mcxa flexcan clock
Add mcxa flexcan clock support

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2026-01-16 18:04:54 +01:00
Kate Wang
a600317285 MAINTAINERS: Add Kate Wang as collaborator for Display drivers
Add myself as a collaborator for the Display drivers subsystem.
I have been actively contributing to display driver implementations
and will continue developing and reviewing patches.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-01-16 11:43:59 +00:00
Kate Wang
d087bf9a25 MAINTAINERS: Add Kate Wang as collaborator for MIPI DBI/DSI
Add myslef as a collaborator for the MIPI DBI and MIPI DSI subsystems.
I have been actively contributing to MIPI DBI/DSI implementations
and will continue developing and reviewing patches.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-01-16 11:43:59 +00:00
Zhaoxiang Jin
e790de88c6 doc: releases: add migration guide for NXP compile flag scope changes
Document the scope changes for NXP compile flags that were
moved from global to local scope in PR #100252. Applications
that depended on these flags being globally available may need
to be updated.

The following flags have been moved to use
zephyr_library_compile_definitions():
- BOARD_FLASH_SIZE: moved to SoC layer CMake for RT10xx and RT11xx
- XIP_BOOT_HEADER_ENABLE: scoped to boards CMake or SoC layer as needed
- BOOT_HEADER_ENABLE: scoped to boards CMake, removed from RW61x boards
- XIP_BOOT_HEADER_DCD_ENABLE: scoped to boards CMake or SoC layer as needed

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-16 11:43:49 +00:00
Zhaoxiang Jin
a4b8d3ed7c boards: nxp: rd_rw612_bga: remove unused build flag
'BOOT_HEADER_ENABLE' is not used in RW61x build tree,
so should remove it from RW61x board CMakeLists.txt.

Note: if out-of-tree files still need to use this flag,
please add it in your own CMakeLists.txt.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-16 11:43:49 +00:00
Zhaoxiang Jin
3eb60a9792 boards: nxp: convert 'XIP_BOOT_HEADER_DCD_ENABLE' to Kconfig options
1. This commit converts the 'XIP_BOOT_HEADER_DCD_ENABLE' preprocessor
define to Kconfig options across NXP i.MX RTxxxx evaluation boards.
The changes enable flexible boot header configuration through the
Kconfig build system instead of compile-time defines, improving
configurability and maintainability.

2. Now 'XIP_BOOT_HEADER_DCD_ENABLE' flag is only used in
hal_nxp/rtxxxx/fsl_flexspi_nor_boot.h which is included by soc.c,
therefore, this flag should be passed in the rtxxxx/SoC layer CMake
using zephyr_library_compile_definitions(). and can be removed from
each board CMakeLists.txt.

Note: if out-of-tree files still need to use this flag, please add
it in your own CMakeLists.txt.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-16 11:43:49 +00:00
Zhaoxiang Jin
c323ac7f7e boards: nxp: convert 'BOOT_HEADER_ENABLE' to Kconfig options
1. This commit converts the 'BOOT_HEADER_ENABLE' preprocessor
define to Kconfig options across NXP i.MX RTxxx evaluation boards.
The changes enable flexible boot header configuration through the
Kconfig build system instead of compile-time defines, improving
configurability and maintainability.

2. Now this flag is not used in Zephyr tree, so removed
'zephyr_compile_definitions(BOOT_HEADER_ENABLE=1)' from the
CMakeLists.txt files of the following boards:
- mimxrt595_evk
- mimxrt685_evk
- mimxrt700_evk

Note: for out-of-tree projects that still require this flag,
users can define it in their own CMakeLists.txt or prj.conf files.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-16 11:43:49 +00:00
Zhaoxiang Jin
2849272e60 boards: nxp: convert 'XIP_BOOT_HEADER_ENABLE' to Kconfig options
1. This commit converts the 'XIP_BOOT_HEADER_ENABLE' preprocessor
define to Kconfig options across NXP i.MX RTxxxx evaluation boards.
The changes enable flexible boot header configuration through the
Kconfig build system instead of compile-time defines, improving
configurability and maintainability.

2. Now 'XIP_BOOT_HEADER_ENABLE' flag is only used in
hal_nxp/rt11xx/fsl_flexspi_nor_boot.h which is included by soc.c,
therefore, this flag should be passed in the rt11xx/SoC layer CMake
using zephyr_library_compile_definitions(). and can be removed from
each board CMakeLists.txt.

Note: if out-of-tree files still need to use this flag, please add
it in your own CMakeLists.txt.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-16 11:43:49 +00:00
Zhaoxiang Jin
7ff326ef56 boards: nxp: move 'BOARD_FLASH_SIZE' to SoC layer cmake
For RT10xx and RT11xx, flag 'BOARD_FLASH_SIZE' is only used
in hal_nxp fsl_flexspi_nor_boot.h which is included by soc.c,
therefore, this flag should be passed in the SoC layer CMake
using zephyr_library_compile_definitions() to limit its scope.

Normally, 'BOARD_FLASH_SIZE' should not be used elsewhere.
If an out-of-tree user uses this flag elsewhere, please define
the flag yourself.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-16 11:43:49 +00:00
Zhaoxiang Jin
a86a84afdf boards: nxp: remove 'BOARD_FLASH_SIZE' for RTxxx boards
Flag 'BOARD_FLASH_SIZE' is not used for RTxxx, so remove it
from mimxrt595_evk, mimxrt685_evk, and mimxrt700_evk board
CMakeLists.txt files.

Normally, 'BOARD_FLASH_SIZE' should not be used elsewhere.
If an out-of-tree user uses this flag elsewhere, please define
the flag yourself.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-16 11:43:49 +00:00
Zhaoxiang Jin
174f1f71c4 soc: nxp: scope boot-header compile defs to soc library
Create a dedicated Zephyr library for the imxrt11xx and
imxrt10xx SoC in CMakeLists.txt and move soc.c into it
(zephyr_library() + zephyr_library_sources(soc.c)).

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-16 11:43:49 +00:00
Camille BAUD
bc07d91cca drivers: lora: Add ability to force enable LDRO
Allows Enabling LDRO all the time via DTS

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-16 11:43:43 +00:00
Camille BAUD
cd65845ba2 drivers: lora: Enable LDRO when symbol time > 16.38ms
Enable LDRO when it should be enabled

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-16 11:43:43 +00:00
Camille BAUD
6b2f1c19ac drivers: lora: Add missing Bandwidth and Spreading Factor values
Add missing values and replace arbitrary BW enum with actual value

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-16 11:43:43 +00:00
Richard Mc Sweeney
213d95358c dts: arm: infineon cat1b mpns
Disabled flash controller as it is not yet updated to support PSC3

Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
2026-01-16 11:43:25 +00:00
Richard Mc Sweeney
415986b89f dts: arm: infineon cat1b psc3
Add power-states to PSC3

Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
2026-01-16 11:43:25 +00:00
Richard Mc Sweeney
5dbd980dce soc: infineon: add psc3 power management
Adds power management support for the Infineon PSC3 device

Signed-off-by: Richard Mc Sweeney <Richard.McSweeney@infineon.com>
2026-01-16 11:43:25 +00:00
Gaetan Perrot
f15e645e35 drivers: watchdog: nxp_ewm: fix redundant NULL check
nxp_ewm_install_timeout() accesses cfg fields before checking for
NULL, making the later NULL check ineffective.

Remove the redundant check.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-16 11:43:06 +00:00
Gatien Chevallier
1b988e9014 MAINTAINERS: Add area for OTP
Create a section for the OTP subsystem. NVMEM is referenced in the test
category as the OTP subsystem is tested using the NVMEM API.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
2026-01-16 11:42:50 +00:00
Gatien Chevallier
afab067381 tests: nvmem: Add OTP testcase
Add an overlay/config to test the NVMEM subsystem with an emulated
OTP driver.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
2026-01-16 11:42:50 +00:00
Gatien Chevallier
a6953f6427 boards: native_sim: add OTP memory emulator node
Add an OTP memory emulator node to the board native_sim board device
tree file.

Additions of a node to the native sim device tree shifts the device
index, hence making the check_init_priorities test fail. Update the
index in the reference data of the test.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
2026-01-16 11:42:50 +00:00
Gatien Chevallier
1d42f375cd drivers: otp: add OTP memory emulation driver
In order to make some basic tests on the OTP API, add an OTP memory
emulator driver. It implements the .program() and .read() APIs.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
2026-01-16 11:42:50 +00:00
Gatien Chevallier
624e018a5f nvmem: Add OTP API support
OTP drivers are the interface to One Time Programmable memory, which
is NVMEM. Add the interface with the OTP API to the NVMEM one.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
2026-01-16 11:42:50 +00:00
Gatien Chevallier
7db8328b08 drivers: Introduce new OTP subsystem
Introduce a new OTP subsystem to be able to interact with One Time
Programmable(OTP) memory. For now, add basic read()/program() APIs.
Program() API is default disabled due to its sensitivity.

File drivers/otp.h is inspired by drivers/eeprom.h as the basic
features are similar.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
2026-01-16 11:42:50 +00:00
Carlo Caione
89b097428d modules: lora-basics-modem: Add remaining HAL stub functions
Add stub implementations for all remaining smtc_modem_hal functions
required by LoRa Basics Modem. These functions are not yet implemented
but provide the necessary symbols for linking.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-16 11:42:37 +00:00
Carlo Caione
a4dbdba2e7 modules: lora-basics-modem: Add HAL implementation with porting tests
Add the initial smtc_modem_hal implementation for Zephyr that provides the
hardware abstraction layer required by LoRa Basics Modem.

To fully port the LoRa Basic Modem library to Zephyr we need to port and
adapt three parts (see [0]):

1. Radio Driver HAL
2. RAL BSP
3. LoRa Basics Modem HAL

Right now the Radio Driver HAL and the RAL BSP are correctly implemented by
the lbm_sx126x drivers, this patchset is taking care of the initial work of
porting and adapting also the LoRa Basics Modem HAL.

The LBM library provides a porting tool [1] that (quoting from [2]) "[...]
provides a automatic suite of tests that will help user ensures that lora
basics modem mcu and radio HAL functions are implemented in a good way
(SPI, radio_irq, time, timer, random, radio config, sleep and low power)"

This patchset is taking care of making the porting tool a first class test
suite for Zephyr implementing the needed HAL functions.

[0] https://github.com/Lora-net/SWL2001/blob/master/lbm_lib/PORTING_GUIDE.md
[1] https://github.com/Lora-net/SWL2001/blob/master/lbm_examples/main_examples/main_porting_tests.c
[2] https://github.com/Lora-net/SWL2001/blob/master/lbm_examples/README.md

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-16 11:42:37 +00:00
Carlo Caione
ca0703f9e6 modules: lora-basics-modem: Refactor and fix CMake
A set of preliminary (but harmless) changes to prepare for adding the HAL
implementation.

- Rename CMake variables for clarity and consistency, adding an 'LBM_LIB_'
  prefix when the path is a library / module path.

- Change zephyr_library_include_directories to zephyr_include_directories
  for the RAL/RALF includes, since these headers may be needed outside the
  library itself.

- Make lbm_common.h available to code outside the driver directory.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-16 11:42:37 +00:00
TOKITA Hiroshi
523941037c tests: sensor: Add liteon,ltr553 to build_all test suite
Enable LTR553 driver testing.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-16 11:42:27 +00:00
TOKITA Hiroshi
0c506c6300 boards: m5stack: cores3: Add LTR 553 sensor configuration
Adding configuration for enabling LTR553 ambient light and
proximity sensor.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-16 11:42:27 +00:00
TOKITA Hiroshi
717bc816b9 drivers: sensor: liteon: ltr553: Add support for LTR553
Extends the LTR329 driver to support the LTR553.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-16 11:42:27 +00:00
TOKITA Hiroshi
ab6699c03a dts: bindings: liteon: ltr329: deprecate legacy ALS props
To add support for LTR553, we will migrate device-tree
properties to new ones and mark the old ones as deprecated.
We will also refactor variable names accordingly.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-16 11:42:27 +00:00
TOKITA Hiroshi
0f40d36f6b drivers: sensor: liteon: ltr55x: Split definitions to header
ADd ltr55x.h to split definitions from .c file.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-16 11:42:27 +00:00
TOKITA Hiroshi
69bee427ba drivers: sensor: liteon: Rename ltr329 to ltr55x
The LTR329 is a functional subset of the LTR55X series,
lacking the proximity sensor functionality.

To maintain symbol consistency, we will use LTR55X as the base name.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-16 11:42:27 +00:00
Jiafei Pan
b6866c15d3 boards: imx943_evk: enable watchdog for Cortex-A55
Enable WDOG4 for A55 on imx943_evk board. It could be verified by
building application by:
west build -p always -b imx943_evk/mimx94398/a55 samples/drivers/watchdog

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-01-16 11:42:08 +00:00
Jiafei Pan
4197520016 dts: arm64: imx943: add watchdog device nodes
Added device nodes for WDOG3 and WDOG4 which is used by A55.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-01-16 11:42:08 +00:00
Biwen Li
eb7827869c dts: arm: nxp: imx95: m7: disable disp_irqsteer
This is a workaround to fix a bug that failed
to access registers of display irqsteer when
display mix is in power off state.
- Display irqsteer is in display mix, need to
  power on display mix firstly.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2026-01-16 11:41:50 +00:00
Sylvio Alves
a03afda472 boards: espressif: update hw breakpoint limits per soc
Fix max number of hardware breakpoints based on SOC.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-16 11:41:34 +00:00
Zhaoxiang Jin
ab16cca665 drivers: adc: nxp_sar_adc: Add compatibility for SoCs without ADCLKSEL
Some NXP SAR ADC variants don't implement the MCR[ADCLKSEL] field.
Add conditional compilation guards to define compatibility macros
that evaluate to 0 when ADCLKSEL is not available, allowing the
driver to compile across different NXP SoCs.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-16 11:41:16 +00:00
Carlo Caione
d6dce1ca51 lorawan: rename region Kconfig symbols to be backend-agnostic
Move and rename the region Kconfig symbols from LORAMAC_REGION_* to
LORAWAN_REGION_* to make them backend-agnostic.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-16 11:41:01 +00:00
Carlo Caione
5eab8eb693 lorawan: move emulator to separate backend directory
Move the LoRaWAN emulator from the loramac-node backend directory to its
own directory because the emulator currently still depends on loramac-node
for some types and functions.

Once these dependencies are removed in a follow-up, the emulator can become
a fully standalone backend.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-16 11:41:01 +00:00
Carlo Caione
0a45c8dc70 lorawan: make NVM header documentation backend-agnostic
Remove loramac-node specific references (LORAMAC_NVM_NOTIFY_FLAG_*)
from the NVM interface documentation, making it suitable for any
LoRaWAN backend implementation.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-16 11:41:01 +00:00
Carlo Caione
429d98f80d lorawan: move loramac-node backend to subdirectory
Refactor the LoRaWAN subsystem to support multiple backends by moving
the loramac-node specific implementation into a dedicated subdirectory.

This change prepares the subsystem for adding lora-basics-modem support
as an alternative backend.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-16 11:41:01 +00:00
Ritesh Kudkelwar
14a4591ec0 doc: document west sdk under zephyr-specific west commands
Move west sdk documentation to the Zephyr-specific west commands page
and clarify listing, interactive install behavior, and toolchain
selection.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2026-01-16 11:40:47 +00:00
Scott Worley
dc9d70307d boards: microchip: Use new, common UART driver for all MEC boards
Modify Microchip mec_assy6941 boards to use the new, common
UART driver. We also added chose "zephyr,shell-uart" to all
MEC boards allowing building of the "echo_bot" sample application.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2026-01-16 11:40:38 +00:00
Scott Worley
63b7e57fe9 dts: arm: microchip: mec: Update UART nodes with new driver properties
We updates all the UART hardware nodes for all MEC parts with
properties used by the new, common UART driver.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2026-01-16 11:40:38 +00:00
Scott Worley
c6a959dcc3 drivers: serial: microchip: mec: Common UART driver
We modified the Microchip MEC UART driver to be HAL
independent and be usuable on all MEC SoCs. The only
hardware difference is an extra register in the MEC174x/5x
family providing TX FIFO full and current byte count.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2026-01-16 11:40:38 +00:00
Henrik Brix Andersen
b5980bcc75 doc: releases: migration-guide: 4.4: mention change to FlexCAN DT clock
Mention that the NXP FlexCAN devicetree property "clk-source" now
automatically selects between named input clocks.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-01-16 11:40:27 +00:00
Henrik Brix Andersen
b359f9037d drivers: can: nxp: mcux: flexcan: add proper support for clock multiplexer
Add proper support for the 1-bit CAN protocol engine clock multiplexer
present in some NXP FlexCAN instances.

Both possible input clocks are now represented as named clocks in the
devicetree nodes ("clksrc0" and "clksrc1") and the existing devicetree
property "clk-source" now selects the correct clock in addition to setting
the multiplexer bit (CLKSRC) in the FlexCAN CTRL1 register.

Fixes: #94517

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-01-16 11:40:27 +00:00
Henrik Brix Andersen
b1aa1a394a dts: bindings: can: nxp: flexcan: make clk-source property optional
Make the clk-source property of the NXP FlexCAN devicetree nodes optional
as not all FlexCAN instances have an internal clock multiplexer.

Remove the clk-source property from the SoCs where the internal clock
multiplexer is not present, limit the values this property can be assigned,
and default the clock selection bit to 0 in the driver.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-01-16 11:40:27 +00:00
Emil Gydesen
d30ed27049 Bluetooth: Tester: Remove empty file hci_ipc.conf
The file is unused and the use of it has been removed from
autopts.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-16 11:40:13 +00:00
Fabrice DJIATSA
2e20e83109 tests: boot: with_mcumgr: exclude stm32h573i_dk from running ble scenario
add stm32h573i_dk to the list of excluded platforms for
test_upgrade_ble scenario since it's not supported.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-16 11:40:00 +00:00
Gaetan Perrot
bb214df802 ipc: ipc_service: ipc_static_vrings: make vq_teardown void
vq_teardown() never reports errors and always returns 0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-16 11:39:51 +00:00
Bjarki Arge Andreasen
547d0ffe25 scripts: checkpatch: extend has_arg_concat to include CONCAT()
The has_arg_concat check checks for ## and UTIL_CAT, but is missing
the CONCAT macro. This is causing spurious occurances of
MACRO_WITH_FLOW_CONTROL warnings for functions defined with macros
if they use the CONCAT() macro (its like UTIL_CAT but supports up
to 10 concatenations).

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-01-16 11:39:41 +00:00
Bjarki Arge Andreasen
636e104b23 util: Use CONCAT() instead of internal _CONCAT_\d() in tree
The explicit, and internal, _CONCAT_\d macros are used in a few
files instead of the public CONCAT() macro which automatically
expands to the correct _CONCAT_\d macro based on number of args
passed to it. Update files to use CONCAT().

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-01-16 11:39:41 +00:00
Andrew Davis
9c3343d00f boards: ti: Add support for the AM62L EVM
The AM62L evaluation module (TMDS62LEVM) is designed for low-cost and
performance optimized AM62L family of application processors. More
information here:

https://www.ti.com/tool/TMDS62LEVM

Add base board support here.

Signed-off-by: Andrew Davis <afd@ti.com>
2026-01-16 11:39:06 +00:00
Andrew Davis
a159d0ee03 soc: ti: k3: Add support for AM62L
The TI AM62L is a low-power ARM Cortex-A53 based SoC with display for
IOT, HMI and general purpose applications. More information here:

https://www.ti.com/product/AM62L

Add initial SoC and DTS support here.

Signed-off-by: Andrew Davis <afd@ti.com>
2026-01-16 11:39:06 +00:00
Jamie McCrae
13eeffbc4b samples: mgmt: mcumgr: smp_svr: Document/rename UDP DTLS file
Renames the UDP DTLS Kconfig fragment file, due to wrongly using an
underscore instead of a dash like the other Kconfig fragments, and
also documents how to use it in the readme

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-16 11:38:42 +00:00
Fabio Baltieri
1c353a3924 ci: twister_tests_blackbox: filter the toolchain list
Only install arm, riscv and x86 toolchains for the twister blackbox
workflow, save some space.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-16 11:38:31 +00:00
Christopher Hofmeister
a893e1dccf boards: silabs: siwx917_dk2605a: fix LED polarity
Fix incorrect LED polarity definitions for the SiWx917 DK.

The user LEDs on the SiWx917 DK are wired as active-low according
to the board schematic, but were previously defined as
GPIO_ACTIVE_HIGH. Update the devicetree LED gpio definitions to
GPIO_ACTIVE_LOW so LED behavior matches the hardware and sample
applications behave as expected.

Signed-off-by: Christopher Hofmeister <chofmeister@gopresto.com>
2026-01-16 11:38:22 +00:00
Tom Hughes
6d7b8b6b2d drivers: gpio: max14906: Fix initialization
Found when building with clang with -Winitializer-overrides:

drivers/gpio/gpio_max14906.c:495:29: error: initializer overrides prior
initialization of this subobject [-Werror,-Winitializer-overrides]
  495 | DT_INST_FOREACH_STATUS_OKAY(GPIO_MAX14906_DEVICE)
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
2026-01-16 11:38:13 +00:00
Derek Snell
f69cb62868 maintainers: add DerekSnell as collaborator
to NXP Platforms (MCU)

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2026-01-16 11:37:55 +00:00
Laura Carlesso
9541db5f9c tests: drivers: gpio: gpio_basic_api: Updated pins for cy8cproto_063_ble
Updated pins for the gpio basic tests for cy8cproto_063_ble to pins not
used by other tests so that a single board can be wired for all tests
without overlaps.

Signed-off-by: Laura Carlesso <laura.carlesso@infineon.com>
2026-01-16 11:37:42 +00:00
Yves Wang
678adcd77b MAINTAINER: Add yvesll as Watchdog Collaborator
Add yvesll as Watchdog Collaborator

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-01-16 11:37:34 +00:00
Andrej Butok
32823f39fb boards: mikroe: move the hexiwear board
- The vendor of the hexiwear board is mikroe (not nxp)
  https://www.mikroe.com/hexiwear.
- Move the board files from 'nxp' to 'mikroe'.
- Delete hexiwear from the nxp maintained board list.
- Update paths in the documentation.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2026-01-15 16:42:24 +00:00
Marcin Niestroj
060682fb8d drivers: nsos: release socket lock while polling
So far using recvfrom() and send() from two different threads was not
possible, since thread attempting send() was blocked by the thread
executing recvfrom(). All other APIs were also blocking each other, while
it was not necessary. One example use case in Zephyr tree is MCUMGR SMP
over UDP implementation, which resuled in communication timeouts.

Release socket lock while actively polling, so other APIs executed from
other threads can safely progress. Do this using k_condvar_wait() API with
socket mutex, so that mutex is safely released and reaquired during wait.

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2026-01-15 16:41:50 +00:00
Sylvio Alves
f6adcad1a6 drivers: wifi: esp32: fix AP mode MAC address mismatch
When ESP32 operates in AP-only mode the network interface is
initialized with the STA MAC address, but the Wi-Fi hardware operates
with the AP MAC address (typically STA MAC + 1).

Some Wi-Fi clients correctly address frames to the AP MAC, causing them
to be dropped by the ethernet L2 layer with "Dropping frame, not for me"
because the interface link address doesn't match.

Fix this by updating the interface link address to the AP MAC when
enabling AP mode, and restoring the STA MAC when disabling AP mode.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-15 16:41:41 +00:00
Axel Le Bourhis
68cf4b7b50 hal_nxp: move connectivity_framework to mcux-sdk-ng integration
Move the connectivity framework to the new mcux-sdk-ng integration from
hal_nxp, instead of using the legacy integration method.
This will allow for easier integration of future releases.

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2026-01-15 16:41:13 +00:00
Fabio Baltieri
68999e6fcf samples: button: rework to use the input and leds subsystem
Rework the button sample to use the input subsystem for the button and
LED subsystem for the LED. This is a better representation of how a
button and LED should be controlled in Zephyr.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-15 16:40:48 +00:00
Fabio Baltieri
d8b9b7ff33 samples: copy the button example into drivers/gpio/button_interrupt
Make space for reworking the one in basic in the next commit.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-15 16:40:48 +00:00
Nikita Divakov
b807da4f56 scripts: gen_relocate_app.py: add quotes around section names in templates
Section names may contain paths to files with special characters.
For example, a valid file path might contain '@'. Then using
CONFIG_CODE_DATA_RELOCATION to relocate section, macro
__in_section_unique() will generate section name like this:

KEEP(*file.c.obj(.noinit.WEST_TOPDIR/path_with@char/file.c.0))

Such section names cannot be processed by ld because '@'
is a special character for ld.

This fix wraps section names in double quotes to escape
special characters for ld.

Signed-off-by: Nikita Divakov <grommerin@gmail.com>
2026-01-15 16:40:39 +00:00
Nikita Divakov
dbc30c5e2f toolchain: gcc: iar: add ___in_section_unique()
Macros __in_section_unique() and __in_section_unique_named() use
___in_section with  __FILE__ argument to create a unique section name.
Since __FILE__ is a string, calling Z_STRINGIFY(__FILE__) in
___in_section() causes double quotes in __FILE__ value to be masked.
This prevents ld from matching section names output by this script.
For example, when using CONFIG_CODE_DATA_RELOCATION to relocate
a noinit section, __in_section_unique() generates the following
section name:

KEEP(*file.c.obj(.noinit."WEST_TOPDIR/path/file.c".symbol))

Besides, __FILE__ is used to create unique sections in two macros,
so why not unify this approach.

This fix adds ___in_section_unique() macro, which substitutes __FILE__
string into section name without additional stringification. Thus,
resulting section is correctly matched by ld.

Signed-off-by: Nikita Divakov <grommerin@gmail.com>
2026-01-15 16:40:39 +00:00
Ibrahim Abdalkader
d320921cd1 tests: subsys: llext: Add test for LLEXT_RODATA_NO_RELOC.
Test extension for CONFIG_LLEXT_RODATA_NO_RELOC feature.

Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
2026-01-15 16:40:29 +00:00
Ibrahim Abdalkader
dca4136f5e llext: Keep constant data in flash.
This patch adds a new Kconfig option that allows read-only data sections
without relocations to be mapped directly (remain in flash) instead of
being copied to RAM during extension loading. This helps extensions that
have large constant data, such as certificates, lookup tables etc.. to
save saving significant RAM, especially with MPU is enabled.

This feature requires the extension to place rodata sections without
relocations in LLEXT_RODATA_NO_RELOC section.

Note that we chose to disable this optimization when MMU or USERSPACE is
enabled because the NO_RELOC section may not be aligned to the MPU/MMU
requirements on some architectures. If we leave it in place, llext will
attempt to create an MPU region for it using a misaligned address, and
if we allow it to be copied to RAM, it defeats the purpose of this feature.

Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
2026-01-15 16:40:29 +00:00
Mark Inderhees
234aa30a8f build: Dependency handling for syscall gen for changed API
Fix issue where changing an existing syscall API does not result in
regeneration of syscalls. This causes a build break on incremental
builds. The issue comes from an incorrect assumption that file
modifications result in updates to folder timestamps on Linux. The fix
is to use the same mechanism Windows is using to track file changes,
making explicit deps on header files that have syscalls.

Signed-off-by: Mark Inderhees <markind@meta.com>
2026-01-15 16:40:11 +00:00
Sergei Ovchinnikov
e572a6f7c6 drivers: regulators: regulator_fixed, regulator_gpio: change init
Change init procedure of regulator_fixed and regulator_gpio to not rely
on reading the state of the enable pin as it might not be available.
Initialize the enable pin to the appropriate state based on the
REGULATOR_INIT_ENABLED flag.

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2026-01-15 16:40:02 +00:00
Sergei Ovchinnikov
9c3b2f0648 drivers: regulators: regulator_gpio: remove gpio_pin_get_dt call
Since input buffer may not always be connected when a GPIO is configured
as an OUTPUT, setting its state based on what is returned by
gpio_pin_get_dt can lead to faulty behavior. Remove this check as
redundant.

Fixes #93012

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2026-01-15 16:40:02 +00:00
Benjamin Cabé
60f97b4c7c cmake: modules: boards: fix typo in "outcome" target name
The module sets a target named "boards", not "board".

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-15 15:27:50 +01:00
Tim Pambor
a793acaff0 drivers: flash: shell: increase max repeat limit for speed tests
Increase the maximum allowed repeat count for flash speed tests from
10 to 10000. This allows for more accurate measurements over
longer test durations.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-01-15 15:27:26 +01:00
Gaetan Perrot
69f318ab16 tests: net: lwm2m: interop: client: make lwm2m_setup void
lwm2m_setup() never reports errors and always returns 0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-15 15:27:04 +01:00
Ivan Iushkov
f0c26dfb85 Bluetooth: fix potential unaligned access in CS HCI fields
This commit fixes an issue reported by LLVM Clang compiler
when building with -Wunaligned-access:
```
bluetooth/hci_types.h:4044:2: error: field  within
'struct bt_hci_le_cs_step_data_mode_1'
is less aligned than 'union bt_hci_le_cs_step_data_mode_1::
(include/zephyr/bluetooth/hci_types.h:4044:2)' and is usually due to
'struct bt_hci_le_cs_step_data_mode_1' being packed, which can lead
to unaligned accesses [-Werror,-Wunaligned-access]
```
and similar issues for other CS-specific types containing
unions

Signed-off-by: Ivan Iushkov <ivan.iushkov@nordicsemi.no>
2026-01-15 15:26:52 +01:00
Alberto Escolar Piedras
a3df33722c manifest: update hal_nordic to get cache hal fix
Update hal_nordic to get a fix in the definition of
nrf_cache_data_unit_validity_check()

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-01-15 15:26:40 +01:00
Farsin Nasar V A
752c1d97c6 boards: microchip: pic32cm_jh01_cpro: add RESET to supported list
Update pic32cm_jh01_cpro.yaml to include RESET in the supported
modules list.

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2026-01-15 15:26:19 +01:00
Farsin Nasar V A
9d156cc98b drivers: reset: microchip: update RSTC G1 driver for PIC32CM JH
Update the reset driver to add support for the
PIC32CM JH family

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2026-01-15 15:26:19 +01:00
Farsin Nasar V A
a28ee312b0 dts: arm: microchip: add RSTC node
Add the device tree node for microchip RSTC G1 IP.

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2026-01-15 15:26:19 +01:00
Karol Werner
9e9eb8e3ca doc: rp2040_zero: Update pin mapping to match pinctrl
The pin mapping documented for I2C0 and I2C1 did not match actual
pinctrl definitions. Update the documentation to reflect correct pins
and add missing SPI and RGB LED mappings.

Signed-off-by: Karol Werner <karol@ppkt.eu>
2026-01-15 15:25:45 +01:00
Ha Duong Quang
31fb05d9b2 boards: nxp: s32k5xxcvb: add pwm support
Add support PWM (FTM) for S32K5XXCVB

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
Co-authored-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-15 15:25:30 +01:00
Dat Nguyen Duy
af3d6a25c7 tests: drivers: pwm_ftm: enable tests for s32k5xxcvb
Enable PWM (FTM) tests for s32k5xxcvb. The board supports
eMIOS and FTM for PWM

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-15 15:25:30 +01:00
Dat Nguyen Duy
837eac94e0 dts: nxp: add pwm (ftm) devicetree nodes for s32k566
Add PWM (FTM) devicetree nodes for s32k566

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-15 15:25:30 +01:00
Lucien Zhao
2f6a4191a7 boards: nxp: frdm_mcxe31b: add pit support
- add some necessary static parameter for pit instances
- Enable counter_basic_api case by using pit0 instance
- Test counter_basic_api passed

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-01-15 15:25:08 +01:00
Lucien Zhao
f0a528bbb2 drivers: clock_control_nxp_mc_cgm.c: update clock driver
- Update switch usage for mc_cgm_clock_control_on function
- add pit clock on/get rate feature

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-01-15 15:25:08 +01:00
Tarang Patel
b43382c685 boards: u-blox: ubx_evk_iris_w1_rw612: fix flash config
correct flash_config.c file for different flash varient
fix spelling error across board files
update boards/deprecated.cmake to help older release support

Signed-off-by: Tarang Patel <tarang3399.patel@gmail.com>
2026-01-15 15:24:45 +01:00
Guillaume Gautier
5688afaf0d dts: arm: st: fix rng nist compliant configs
In order to comply to NIST SP800-90B, the STM32 RNG should set its
registers as documented in Application Note AN4230 (Rev12, Table 3) [1].
To that effect, some values have been modified to match the table, and some
have been added.

For STM32H7R/S and WBA, configure the RNG as per configuration C of the
Reference Manual since the NSCR register is not available yet (internal
issues 221082 and 221083).

[1]: https://www.st.com/resource/en/application_note/dm00073853.pdf

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-15 15:24:20 +01:00
Guillaume Gautier
ffa1c2fad4 drivers: entropy: stm32: add noise source control support
Set the content of the noise source control register if the corresponding
property is set in device tree.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-15 15:24:20 +01:00
Guillaume Gautier
40df5225e2 drivers: entropy: stm32: remove STM32L4 specific code
STM32L4 was using different LL functions from the other series.
With the latest HAL update, the usual functions are now defined, so
the L4-specific code can now be removed.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-15 15:24:20 +01:00
Guillaume Gautier
8c729eec2f dts: bindings: rng: stm32: add noise source control property
Some STM32 series need to configure the RNG source noise control register
for NIST SP800-90B compliance.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-15 15:24:20 +01:00
Jordan Yates
7e3c5ab2bb samples: net: nsos: remove CONFIG_HEAP_MEM_POOL_SIZE
Remove the explicit setting of `CONFIG_HEAP_MEM_POOL_SIZE` from NSOS
samples, letting the build system construct the heap size from Kconfig
options.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2026-01-15 11:09:33 +00:00
Jordan Yates
3feb7ca425 net: heap default for NSOS DNS results
DNS queries using native posix can return multiple results. Add a
relatively large default to pre-empt failures due to the query being
too successful.

Extra RAM usage can be ignored since NSOS sockets can only exist on
native posix, which has essentially infinite RAM.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2026-01-15 11:09:33 +00:00
Jordan Yates
16c2444d7a net: nsos_sockets: update heap size check
The final system heap size is now stored in `K_HEAP_MEM_POOL_SIZE`, not
`CONFIG_HEAP_MEM_POOL_SIZE`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2026-01-15 11:09:33 +00:00
Qiang Zhao
203c92980d net: shell: fix qbv command documentation and help text
Fix inconsistencies in the QBV (IEEE 802.1Qbv Time-Aware Shaper) shell
command documentation and help messages:

1. Add missing "net qbv" command documentation to net_shell.rst
2. Correct command examples in help text - add missing "net" prefix
   to "qbv set_gc" commands
3. Fix command usage descriptions for set_config and set_gc to match
   actual command names

This ensures users see correct command syntax in both documentation
and interactive help.

Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
2026-01-15 11:09:22 +00:00
Zhaoxiang Jin
a3f95c886a drivers: ipm: ipm_mbox: fix qualifier warning in callback
mbox_msg::data is a const pointer, but ipm_callback_t expects a
volatile void * payload. Passing the mailbox payload through the
IPM callback was triggering compiler warnings about discarded
qualifiers.

Convert the mailbox payload pointer to the IPM callback payload
type via a uintptr_t round-trip to avoid -Wdiscarded-qualifiers
or -Wcast-qual noise without changing the runtime behavior.

fix:https://github.com/zephyrproject-rtos/zephyr/issues/102057

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-15 11:08:58 +00:00
Tom Hughes
32b63c63ed tests: bluetooth: classic: Remove self assignment
When building with clang it warns about self-assignment in the
bluetooth.classic.sdp_s test:

tests/bluetooth/classic/sdp_s/src/sdp_server.c:258:5: error: explicitly
assigning value of variable of type 'const struct shell *' to itself
[-Werror,-Wself-assign]
  258 |         sh = sh;
      |         ~~ ^ ~~
tests/bluetooth/classic/sdp_s/src/sdp_server.c:277:5: error: explicitly
assigning value of variable of type 'const struct shell *' to itself
[-Werror,-Wself-assign]
  277 |         sh = sh;
      |         ~~ ^ ~~
tests/bluetooth/classic/sdp_s/src/sdp_server.c:290:5: error: explicitly
assigning value of variable of type 'const struct shell *' to itself
[-Werror,-Wself-assign]
  290 |         sh = sh;
      |         ~~ ^ ~~
tests/bluetooth/classic/sdp_s/src/sdp_server.c:368:5: error: explicitly
assigning value of variable of type 'const struct shell *' to itself
[-Werror,-Wself-assign]
  368 |         sh = sh;
      |         ~~ ^ ~~
4 errors generated.

The "sh" variable is used later in the functions.

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
2026-01-15 11:08:21 +00:00
Tom Hughes
c1b8c14995 tests: net: Use ARG_UNUSED instead of self assignment
When building with clang it warns about self-assignment in these tests:

* net.icmpv6
* net.shell
* net.arp
* net.tcp
* net.ip_addr
* net.6lo
* net.icmpv4
* net.udp

Example:

error: explicitly assigning value of variable of type
'struct net_udp_context *' to itself [-Werror,-Wself-assign]

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
2026-01-15 11:07:52 +00:00
Bill Waters
12d68dc496 samples: drivers: counter: alarm: kit_psc3m5_evk
Updating overlay file for the kit_psc3m5_evk board
to work with device tree updates.

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2026-01-15 11:07:33 +00:00
Daniel Leung
6cab38312b soc: intel_adsp: add GDB stub register list for ACE 4.0
This adds the register list for GDB stub that is suitable for
ACE 4.0.

Fixes #102084

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2026-01-15 11:07:21 +00:00
Khoa Nguyen
448d3c04f7 modules: Update Kconfig USE_RA_FSP for RA I2C controller
Since the latest hal_renesas has updated the I2C Controller config
to build the IIC Controller source. Without this update, many
current PRs on mainstream which has the update for hal_renesas
revision will fail.

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-01-15 11:07:02 +00:00
Khoa Nguyen
cab3ad6137 manifest: Update latest hal_renesas revision
Update latest hal_renesas revision

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-01-15 11:07:02 +00:00
Camille BAUD
8049f25a08 boards: add weact rp2350b_core
add weact rp2350b board

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-15 11:06:50 +00:00
Gaetan Perrot
21c1417f31 drivers: usb: usb_dc_numaker: make usbd_ep_fifo_copy_to_user void
numaker_usbd_ep_fifo_copy_to_user() never reports errors and always
returns 0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-15 11:06:31 +00:00
Gaetan Perrot
f6060eb31f drivers: usb: usb_dc_numaker: make usbd_ep_fifo_copy_from_user void
numaker_usbd_ep_fifo_copy_from_user() never reports errors and
always returns 0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-15 11:06:31 +00:00
Sara Touqan
772bfccd68 drivers: mspi: stm32: remove unused mspi_stm32_ospi_verify_device function
Remove unused function in OSPI driver.

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
2026-01-15 11:06:14 +00:00
Sara Touqan
da5f20c5ad dts: bindings: mspi: stm32: Make clock-frequency a required property
Add clock-frequency property as required for
MSPI/OSPI/QSPI binding files.

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
2026-01-15 11:06:14 +00:00
Sara Touqan
0651092295 drivers: mspi: stm32: refactor frequency handling to rely on devicetree
Remove max frequency Kconfig and uses clock-frequency
property instead

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
2026-01-15 11:06:14 +00:00
Sara Touqan
a0918b6ed2 samples: mspi_flash: add clock-frequency in STM32 DTS files
Add clock-frequency property under some overlay files.

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
2026-01-15 11:06:14 +00:00
Gaetan Perrot
9217ce54c6 Bluetooth: VCP: avoid NULL dereference
Avoid calling vcp_vol_ctlr_discover_complete() with a NULL
controller pointer when lookup fails during AICS discovery.

The vcp_vol_ctlr_discover_complete() helper dereferences the
controller unconditionally, which could otherwise lead to a NULL
pointer dereference.

Fix by returning early if the controller lookup fails.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-15 11:06:01 +00:00
Gaetan Perrot
01e3a54f20 Bluetooth: MICP: avoid NULL dereference
Avoid calling micp_mic_ctlr_discover_complete() with a NULL
controller pointer when lookup fails during AICS discovery.

The micp_mic_ctlr_discover_complete() helper dereferences the
controller unconditionally, which could otherwise lead to a NULL
pointer dereference.

Fix by returning early if the controller lookup fails.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-15 11:06:01 +00:00
Lin Yu-Cheng
c15bd8daa5 drivers: spi: use transfer config to set spi frequency
use transfer config to set spi frequency

Signed-off-by: Lin Yu-Cheng <lin_yu_cheng@realtek.com>
2026-01-15 11:05:53 +00:00
Aleksandr Senin
13286c2ddf tests: drivers: entropy: enable GD32 TRNG on gd32f450i_eval
Enable TRNG node and select it as zephyr,entropy for the API test.
Configure CK48M source via RCU DT properties.

Signed-off-by: Aleksandr Senin <al@meshium.net>
2026-01-15 11:05:28 +00:00
Aleksandr Senin
57993e7d8e soc: gd32: gd32f4xx: init CK48M from devicetree
Add DT properties to select CK48M source for GD32 RCU.
Apply CK48M source selection during early SoC init.

Signed-off-by: Aleksandr Senin <al@meshium.net>
2026-01-15 11:05:28 +00:00
Aleksandr Senin
f8cf0d3803 drivers: entropy: add GD32F4xx TRNG driver
Add entropy driver for the GD32F4xx TRNG.
Implement get_entropy_isr() semantics and bounded DRDY wait.
Add DT binding and SoC TRNG node; hook driver Kconfig.

Signed-off-by: Aleksandr Senin <al@meshium.net>
2026-01-15 11:05:28 +00:00
Lyle Zhu
6531d415b6 sample: Bluetooth: HFP_AG: Make global variables static
Make global variables static in the HFP AG sample to improve
encapsulation and avoid potential symbol conflicts.

Change the following variables from global to static scope:
- hfp_ag
- hfp_ag_call
- discover_work
- call_connect_work
- call_disconnect_work
- call_remote_ringing_work
- call_remote_accept_work

These variables are only used within main.c and do not need to be
externally visible.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-15 11:05:12 +00:00
Lyle Zhu
8ca34066c6 sample: Bluetooth: HFP_AG: Support voice transmission and playback
Add PCM and CODEC support for voice streaming in the HFP AG sample.

Implement PCM interface to handle voice data transmission between the
Bluetooth controller and the application using I2S driver.

Implement CODEC interface to handle voice playback and capture using
I2S and audio codec drivers.

Add bidirectional voice streaming: capture voice from CODEC and
transmit through PCM when SCO connection is established, and receive
voice from PCM and playback through CODEC.

Initialize PCM and CODEC interfaces based on the SCO air mode (CVSD or
mSBC) when SCO connection is established.

Add codec negotiation callbacks to support codec selection.

Enable codec negotiation and mSBC codec support for mimxrt1170_evk
board.

Add configuration options for audio transfer interval, buffer counts,
and thread priorities for both PCM and CODEC RX threads.

Update documentation with voice streaming topology diagram and running
instructions.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-15 11:05:12 +00:00
Francis Roi Manabat
6ca6fb8233 tests: rtc: include adi,max31331 in build_all test suite
Add the MAX31331 RTC device to the build_all RTC test suite. This ensures
it compiles on all supported platforms without requiring actual hardware.

Signed-off-by: Francis Roi Manabat <francisroi.manabat@analog.com>
2026-01-15 11:05:00 +00:00
Francis Roi Manabat
51fa798260 drivers: rtc: add MAX31331 RTC Support
Add MAX31331 RTC driver, an ultra-low-power real-time clock (RTC)
that provides timekeeping with
extremely low current consumption (65 nA).

Signed-off-by: Francis Roi Manabat <francisroi.manabat@analog.com>
2026-01-15 11:05:00 +00:00
Nicolas Moreno
d689916186 doc: releases: add ili9xxx fixes to 4.4 releases notes & migration guide
Added documentation for doc/releases/migration-guide-4.4.rst
in reference with the changes on ili9xxx and ili9341
controllers

Signed-off-by: Nicolas Moreno <niko722795@gmail.com>
2026-01-15 11:04:16 +00:00
Nicolas Moreno
69e353904c drivers: display: features for ILI9341 driver
Replaced display-controller.yaml with lcd-controller.yaml
Deleted pixel format property, replacing it with the
property on lcd-controller.yaml. Replace ILI9XXX RGB macro
with PANEL RGB macro. Also, added condition to verify pixel
format is RGB565, BRG565 or RGB888, otherwise it will show error
Replaced <zephyr/dt-bindings/display/ili9xxx.h> with
<zephyr/dt-bindings/display/panel.h> and
ILI9XXX_PIXEL with PANEL_PIXEL in some Devicetrees
and files that contained both elements. Fixed some
script sintax. Deleted drivers/display/display_ili9xxx.c

Signed-off-by: Nicolas Moreno <niko722795@gmail.com>
2026-01-15 11:04:16 +00:00
Nicolas Moreno
9b2593b8c5 drivers: display: issue with configuration on ILI9341
ILI9341 is not deploying correctly the display sample.
The screen looks mirrored vertically and the color
doesn't match with the sequence expected. To fix it,
change the Memory Access Control configuration data.

Signed-off-by: Nicolas Moreno <niko722795@gmail.com>
2026-01-15 11:04:16 +00:00
Benjamin Cabé
8e4a55cedb doc: contribute: add Doxygen guidelines
Add Doxygen guidelines to help maintain code documentation consistency
across the project in particular for constructs or commands that are Zephyr
specific, such as properly documenting API symbols that are gated by
Kconfig.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-15 11:04:02 +00:00
Sylvio Alves
caa8079a53 tests: debug: coredump: use k_panic() for Espressif SoCs
Espressif RISC-V chips (ESP32-C3, ESP32-C6, etc.) with PMP enabled
use dynamic PMP mode (CONFIG_PMP_NO_LOCK_GLOBAL). In this mode,
null pointer dereference to address 0 causes a bus hang instead
of generating a clean exception, since address 0 is outside any
valid memory region and there's no PMP entry protecting it.

Use k_panic() instead, which reliably triggers the coredump path
on all Espressif chips.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-14 13:07:14 -06:00
Robert Lubos
59206e4132 doc: net: http_server: Update header capture code snippet
Update outdated code snippet for the header capture feature in HTTP
server docs.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-14 13:06:50 -06:00
Fabrice DJIATSA
93c0172d4d boards: st: add netif:eth twister support for f207zg
The Twister netif:eth was missing on the STM32F207ZG board,
and hence it was not built against net tests/samples

Additionally,sort the supported peripherals in alphabetical order.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-14 13:06:26 -06:00
Robert Lubos
6d51407803 net: tcp: Fix possible assertion when peer advertises zero window
If peer lowered its receive window and advertised zero-window length,
TCP stack would pause the retransmission timer until non-empty window is
advertised again. This however could trigger an assertion, that verified
that the retransmission timer is running whenever there is data to
transmit. Add an exception to the assertion for the zero-window case.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-14 13:05:55 -06:00
Sylvio Alves
85e1ea0259 runners: openocd: refactor flash methods into single do_flash
Add _openocd_cmd() helper method to reduce code duplication when
building openocd command lists. Consolidate do_flash, do_flash_elf,
and do_flash_bin into a single do_flash method using match statement
on image_type parameter.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-14 13:05:34 -06:00
Sylvio Alves
cb196db575 boards: esp32: add openocd flash support
Configure ESP32 boards to use OpenOCD for flashing with BIN files.
The --flash-address argument is combined with its value to avoid
YAML parsing issues where hex values like 0x0 are parsed as integers.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-14 13:05:34 -06:00
Sylvio Alves
2ba21af69d runners: openocd: add BIN file flash support
Add --use-bin and --flash-address arguments to allow flashing BIN
files at a specific address. This is needed for targets like ESP32
where HEX files contain virtual addresses (due to MMU mapping)
rather than physical flash addresses.

The new do_flash_bin() method uses the load command with the BIN
file path and flash address, similar to how ELF flashing works.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-14 13:05:34 -06:00
Lyle Zhu
18d6e8c8b1 drivers: bluetooth: hci: nxp: enable calibration data by default
Enable HCI_NXP_SET_CAL_DATA and HCI_NXP_SET_CAL_DATA_ANNEX100 by
default for NW612 and IW416 modules to ensure proper calibration
during HCI initialization.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-14 13:04:42 -06:00
Gerson Fernando Budke
9d5731d0d0 west.yml: Replace native_posix by native_sim in tests
Repalce the native_posix by native_sim in tests and reformat platform
list to allow twister to correct recognize the platforms.

Fixes #101300

Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
2026-01-14 13:04:15 -06:00
Jacob Schloss
f51e2aaf39 tests: crypto: crypto_aes: enable nucleo_h753zi platform
Enable nucleo_h753zi platform for crypto_aes tests.

Signed-off-by: Jacob Schloss <jacob.schloss@suburbanmarine.io>
2026-01-14 13:03:36 -06:00
Jacob Schloss
4342789ee4 boards: st: nucleo_h753zi: enable cryp node
Enable cryp on board nucleo_h753zi.

Signed-off-by: Jacob Schloss <jacob.schloss@suburbanmarine.io>
2026-01-14 13:03:36 -06:00
Jacob Schloss
da0e264c9d dts: arm: st: h7: Add missing cryp reset controllers
Add missing reset to h755 / h757 cryp block.

Signed-off-by: Jacob Schloss <jacob.schloss@suburbanmarine.io>
2026-01-14 13:03:36 -06:00
Jacob Schloss
b432178303 dts: arm: st: h7: Add cryp to STM32H753/H755
Add cryp block to STM32H753, as in STM32H755.

Signed-off-by: Jacob Schloss <jacob.schloss@suburbanmarine.io>
2026-01-14 13:03:36 -06:00
Robert Robinson
bb042f0be8 tests: Add support for nRF7120 to CI tests
Initial porting of nRF7120 to zephyr requires support for a number of
tests that are run as part of the CI. This commit adds the support.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-01-14 13:02:59 -06:00
Robert Robinson
cf6e4178e9 modules: tf-m: nordic: Add support for nRF7120 TF-M
This commit adds initial support for non secure nRF7120 targets in
zephyr.

There are important limitations, such as:
- The hardware Crypto accelerator is not supported and thus the non
  secure target is NOT secure for production applications in upstream
  Zephyr.
- The BL2 is not supported, so no DFU is supported with this support

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-01-14 13:02:59 -06:00
Robert Robinson
5445a6ac0f manifest: Update TF-M for nRF7120DK to align with upstream zephyr
Rename nRF7120PDK to nRF7120DK to align with upstream zephyr
Align to nrf4.0
Add tfm_platform_user_memory_ranges.h files

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-01-14 13:02:59 -06:00
Robert Robinson
eb647dbf64 soc: nordic: Add initial support for nRF7120 SoC
Add SoC files for nrf7120.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-01-14 13:02:59 -06:00
Robert Robinson
a0ac5b0e22 boards: Add Nordic nrf7120dk_nrf7120 board support
Add all board files for nRF7120dk

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-01-14 13:02:59 -06:00
Robert Robinson
212a8fe8c9 dts: arm: nordic: Add support for nRF7120
Add dts files for nRF7120 SoC.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-01-14 13:02:59 -06:00
James Roy
4c8cb73198 doc: Generate documentation for the binding examples
Generate an rst document with an `Examples` section
from the sample nodes written in the examples of the
binding.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-14 13:02:02 -06:00
James Roy
077e23482c doc: scripts: Add a language parameter to the to_code_block()
Introduce a `language` parameter in `to_code_block()` for syntax
highlighting support (default: None).

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-14 13:02:02 -06:00
Albort Xue
307c13ad7a drivers: flash: flexspi_nor: Add RDSR2 command to quad enable LUT
When qer is S2B1v1 or S2B1v4, reading Status Register
1 and Status Register 2 requires different opcodes,
and writing Status Register 1/2 requires two bytes in a
single write. Add the Read Status Register 2 command
sequence to the LUT used by the quad-enable function,
and ensure the write operation sends two bytes (SR1|SR2)
when setting the QE bit.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-01-14 13:01:34 -06:00
Qiang Zhang
22e754c77e doc: migration-guide-4.4: Document DMA_MCUX_EDMA_V5 removal
Add migration guide entry for the removal of CONFIG_DMA_MCUX_EDMA_V5
configuration option.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-01-14 13:00:55 -06:00
Qiang Zhang
a96905a601 tests: drivers/uart: Add async API support for frdm_mcxe31b
Add board-specific overlay file to enable UART async API testing on the
FRDM-MCXE31B board.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-01-14 13:00:55 -06:00
Qiang Zhang
be3e51d444 tests: drivers/dma: Add support for frdm_mcxe31b
Add board-specific configuration and overlay files to enable DMA
testing on the FRDM-MCXE31B board.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-01-14 13:00:55 -06:00
Qiang Zhang
3a5cdd0be9 dts: nxp: frdm_mcxe31b: Add LPUART2 DMA support
Add pinctrl configuration and DMA channel assignments for LPUART2
on the FRDM-MCXE31B board.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-01-14 13:00:55 -06:00
Qiang Zhang
33e71b448b dts: arm: nxp: Update EDMA device tree configurations
Update EDMA device tree nodes for NXP MCXE31B platforms to align
with the unified EDMA driver implementation.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-01-14 13:00:55 -06:00
Qiang Zhang
cdb53ec8aa drivers: dma: mcux_edma: Remove DMA_MCUX_EDMA_V5 configuration
The DMA_MCUX_EDMA_V5 configuration option has been removed and replaced
with DMA_MCUX_EDMA_V4, as both versions share the same register layout
and can use the same driver implementation.

Key changes:
- Remove CONFIG_DMA_MCUX_EDMA_V5 Kconfig option
- Replace DMA_MCUX_EDMA_V5 conditionals with DMA_MCUX_EDMA_V4
- Remove DMAx_Type typedef, use DMA_Type directly
- Update EDMA_HW_TCD macros for V4 to use HAL-provided accessor macros
- Add DMA_MCUX_EDMA_DMAMUX Kconfig option to control DMAMUX support
  based on device tree property
- Update device tree binding to add has-dmamux property
- Update HAL driver selection to use DMA_MCUX_EDMA_DMAMUX instead of
  DMA_MCUX_EDMA for DMAMUX component
- Add SOC_SERIES_MCXE31X to DMA_MCUX_TEST_SLOT_START configuration
- Calculate DMA_TCD_ALIGN_SIZE from edma_tcd_t structure size

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-01-14 13:00:55 -06:00
Mohamed Moawad
7fb39e806c twister: Add board-level flash_before support for pytest/shell harnesses
Add support for boards to specify flash_before in their board YAML files,
which is then used by pytest and shell harnesses. This is needed for
Synopsys ARC development boards (hsdk, hsdk/arc_hsdk/2cores, hsdk4xd
and iotdk) where the USB serial port disconnects during flashing.

Signed-off-by: Mohamed Moawad <moawad@synopsys.com>
2026-01-14 13:00:22 -06:00
Mohamed Moawad
c75ee62562 soc: arc_iot: add configurable custom CPU idle for UART retention
The ARC IoT SoC (used on iotdk board) has a hardware limitation where
entering CPU sleep mode causes some peripherals (e.g., UART) to lose
power, preventing the board from waking up via peripheral interrupts.

Add a configurable custom CPU idle option (CONFIG_ARC_IOT_CUSTOM_CPU_IDLE)
that enables interrupts without executing the sleep instruction. This
allows the system to remain responsive while keeping peripherals powered.

The option defaults to disabled (n) to preserve normal CPU sleep behavior
for most use cases. Tests that require continuous UART operation during
idle (pytest/shell harnesses) can enable it via platform-specific
extra_configs.

This approach allows timer-based idle to work correctly by default while
providing a workaround for tests that need UART retention.

Signed-off-by: Mohamed Moawad <moawad@synopsys.com>
2026-01-14 13:00:22 -06:00
Andreas Huber
c611a16ecd net: ipv4: Add missing broadcast check in address conflict detection
As described in RFC5227 ch. 2.1.1 ARP Probes are broadcasted.
ARP requests not being broadcasted should not be detected as
ARP Probes.

Signed-off-by: Andreas Huber <andreas.huber@sautergroup.com>
2026-01-14 09:23:48 -06:00
Chaitanya Tata
23efdfe309 drivers: nrf_wifi: Implement key installation for nRF71
For nRF71 series keys should be installed via PSA-APIs (KMU).

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-14 09:23:16 -06:00
Jukka Rissanen
74931644b5 net: tcp: Add NULL check when receiving SYN
Make sure that if the connection is closed but we still received
a SYN packet, we do not try to access already closed connection.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-01-14 09:22:38 -06:00
Tomi Fontanilles
d9b7fe379a modules: mbedtls: PKCS5: depend on, do not select MD
To avoid dependency loops.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-01-14 09:22:13 -06:00
Wilfried Chauveau
05dde46c4d build: cmake: print the board's qualifiers in the elf postbuild phase
When building for several cores of the same system it can be hard to
identify which build is currently running.
This addition helps disambiguate the logs.

Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
2026-01-14 09:19:39 -06:00
Tim Knodel
471060a354 logging: formatting: Add support for domain names
The domain name was always set to NULL. This adds a Kconfig
that will enable setting the domain name and sets the domain
name if the config is enabled.

Signed-off-by: Tim Knodel <tbk@google.com>
2026-01-14 09:18:52 -06:00
Samuel Kleiser
0fbbba2dc0 mcumgr: fs_mgmt: forward return values from fs_close
A new error code FS_MGMT_ERR_FILE_CLOSE_FAILED is returned when
closing a file fails. This is done on write or close operations - read
operations remain unchecked.

Signed-off-by: Samuel Kleiser <s.kleiser@vega.com>
2026-01-14 09:18:10 -06:00
Gaetan Perrot
d3868911f8 drivers: flash: spi_nor: fix typo in an error log message
Fix a typo in an error log message in mxicy_configure.

No functional change.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-14 09:17:34 -06:00
Andrzej Głąbek
8a190d77fb drivers: mspi_dw: Add support for data only packets
The SSI core requires special handling of packets that are supposed
to contain only data (no instruction and data phases):
- for TX packets, the first data frame needs to be sent as the address
  (the instruction and address cannot be both set to zero length for TX,
  otherwise the transfer will not be performed correctly)
- for RX packets, a dummy write to the data register (DR) is needed to
  start the transfer.
Implement the above in the function that starts a packet transfer.
Rename also the `packet_frames` variable there to `data_frames` to avoid
confusion.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2026-01-14 09:17:18 -06:00
Andrzej Głąbek
bbf0187913 drivers: mspi_dw: Remove needless packet parameter
FIFO handling functions in the driver are supplied with a `packet`
parameter that is in fact not used anymore. Remove it to simplify
matters.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2026-01-14 09:17:18 -06:00
Gaetan Perrot
742c23a352 tests: drivers: flash: split mixed error conditions in negative tests
Some flash negative tests were validating multiple error conditions
in a single API call, such as combining unaligned offsets with
oversized operations.

This makes it unclear which condition is actually being tested and
can lead to fragile tests if drivers change the order of validation.

Split these cases so that each call checks a single expected error
condition, improving test clarity and robustness.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-14 09:16:25 -06:00
Marek Matej
34757ac269 samples,tests: remove obsolete overlays
Remove wifi enabling overlays that became obsolete.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2026-01-14 09:15:48 -06:00
Alain Volmat
1da7503904 drivers: video: stm32-dcmi: correct set_frmival handling
Correct set_frmival in order to avoid having un-optimized
frmival selection due to rounded values.
Computation has been done in usec, leading to incorrect
frmival selection due to value being rounded internally.
As an example, code was selecting 1/60 from sensor then 4 time
frame drop by DCMI instead of selecting directly 1/15 from
sensor.
Use msec instead to hide those rounding issue and avoid
as well 64bit variables.
This also put the first video_frmival_nsec outside of the
loop to avoid having to do the processing everytime.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-14 13:02:01 +00:00
Fabio Baltieri
a10d932c17 workflows: manually update action-zephyr-setup
Current version as a fix for something that is currently causing
problems in CI and dependabot is failing too, update this one manually
for now.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-14 13:00:45 +00:00
Lyle Zhu
dd76aa4402 doc: maintainers: update Bluetooth Classic file patterns
Update MAINTAINERS.yml to reflect the reorganization of Bluetooth
Classic documentation into subdirectories. Replace specific file
references with directory paths to cover all files within the
classic/ subdirectories for both shell and API documentation.

Changes include:
- Replace specific a2dp.rst file reference with classic/ directory
  in Bluetooth Classic section
- Add doc/connectivity/bluetooth/api/classic/ to Bluetooth Classic
- Add doc/connectivity/bluetooth/api/classic/ to Bluetooth Host
- Replace specific a2dp.rst with classic/ directory in Bluetooth Host

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-14 09:57:38 +01:00
Lyle Zhu
8dca624355 doc: bluetooth: reorganize Classic API documentation into subdirectory
Reorganize Bluetooth Classic API documentation by moving existing files
(SDP, RFCOMM, A2DP, HFP) into a new `classic/` subdirectory and adding
new documentation files for L2CAP BR/EDR, AVRCP, GOEP, and BIP.

Changes include:
- Move existing Classic API docs to subdirectory `classic/`
- Add new L2CAP BR/EDR documentation
- Add AVRCP, GOEP, and BIP API reference documentation
- Update HFP documentation to include both HFP Unit and HFP-AG sections
- Update index.rst to reflect new directory structure
- Add Doxygen group documentation to AVRCP header
- Update AVRCP Cover Art to be a subgroup of AVRCP
- Fix L2CAP BR/EDR Doxygen group name and description

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-14 09:57:38 +01:00
Abhinav Kulkarni
b1edb19033 drivers: wifi: nxp: Added WLS support
Added configuration to enable wifi location services.

Signed-off-by: Abhinav Kulkarni <abhinav.kulkarni@nxp.com>
2026-01-14 09:57:28 +01:00
Matin Lotfaliei
8dbaca4131 drivers: sensor: bosch: bma4xx: Update RTIO callbacks with result arg
drivers: sensor: bosch: bma4xx: Update RTIO callbacks with result argument

Commit bc8d66d538 introduced
a result argument to some RTIO callback handlers.
Update for the BMA4XX sensor.

Signed-off-by: Matin Lotfaliei <matinlotfali@gmail.com>
2026-01-14 09:57:16 +01:00
Gaetan Perrot
646e93d294 net: coap: coap_client: fix request validation order in coap_client_req
Avoid accessing request fields before validating input arguments in
coap_client_req().

The request path length is now checked only after validating the
request pointer, preventing a potential NULL pointer dereference.

No functional change intended.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-14 09:57:03 +01:00
Firas Sammoura
6834cd5dae mem_mgmt: add mem_attr_get_region_index_by_name()
Add a new API to look up a memory region's index using its DeviceTree
node name. This allows callers to identify specific regions within the
internal regions array.

Includes unit tests for successful lookups and error handling for
non-existent names.

Signed-off-by: Firas Sammoura <fsammoura@google.com>
2026-01-14 09:56:53 +01:00
Tom Burdick
1c13761898 boards: kit_pse84_ai: Add ram property
Some tests depend on the ram board property to determine whether or not
to run, like LLEXT tests. Set the ram property for this board.

Signed-off-by: Tom Burdick <thomas.burdick@infineon.com>
2026-01-14 09:56:33 +01:00
Tom Burdick
4ff523d0fc boards: kit_pse84_eval: Add ram property
Some tests depend on the ram board property to determine whether or not
to run, like LLEXT tests. Set the ram property for this board.

Signed-off-by: Tom Burdick <thomas.burdick@infineon.com>
2026-01-14 09:56:33 +01:00
Muhammad Waleed Badar
ec758c9d1c drivers: wifi: esp32: use macro for mac address len
Replace magic number used for mac address lenght with
WIFI_MAC_ADDR_LEN macro

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-01-14 09:56:20 +01:00
Jay Vasanth
842d31c691 MAINTAINERS.YML: Add maintainer for Microchip MEC
Adding additional maintainer - Scott Worley for Microchip
MEC Platforms

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
2026-01-14 09:56:07 +01:00
Gaetan Perrot
3755392579 sensing: sensor_mgmt: fix potential NULL dereferences
Ensure pointers are validated before dereferencing them in
set_arbitrate_interval() and set_interval().

This avoids accessing sensor or connection fields prior to
validation and makes the code safe even when assertions are
disabled.

No functional change intended.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-14 09:55:53 +01:00
Carlo Caione
5e35f14b1e drivers: lora: rename lora_basics_modem directory to lora-basics-modem
Rename the lora_basics_modem backend directory to lora-basics-modem
for consistency with the module naming convention.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-14 09:55:43 +01:00
Carlo Caione
a309b3c127 drivers: lora: rename loramac_node directory to loramac-node
Rename drivers/lora/loramac_node to drivers/lora/loramac-node to align
with the module naming convention (modules/loramac-node).

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-14 09:55:43 +01:00
Siratul Islam
084adcd423 boards: arm: fix weact_stm32wb55_core led and button pins
LED: PB2 -> PE4
BUTTON: PE4 -> PH3
Signed-off-by: Siratul Islam <email@sirat.me>
2026-01-14 09:55:32 +01:00
Albort Xue
08df06727c drivers: clock_control: Consolidate NXP Kconfig files
Multiple individual Kconfig files for NXP clock control drivers are
consolidated into a single Kconfig.nxp file. This improves
maintainability by grouping all NXP-related clock control
configurations in one location.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-01-14 09:55:20 +01:00
Peter Hoddie
4c23ce6341 boards: adafruit: correct gpio1 pins for feather_esp32s3_tft
This DTS uses absolute GPIO numbers for pins on
gpio1 rather than relative pin numbers. This causes
an abort on boot when led1, neopixel_pwr, or mipi_dbi
is enabled.

Signed-off-by: Peter Hoddie <peter@moddable.com>
2026-01-14 09:54:58 +01:00
Jonas Berg
c9d5d2f62f boards: shield: Add Adafruit MAX17048 fuel gauge shield
Compile testing of the overlay file is done via the fuel-gauge
sample.

Product photo from https://learn.adafruit.com/assets/123027
with the license CC BY-SA 3.0

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-14 09:54:36 +01:00
Gaetan Perrot
e0ee5cd6e9 drivers: i3c: i3c_npcx: fix redundant NULL check
npcx_i3c_do_ccc() dereferences the device pointer before checking it
against NULL, making the defensive check ineffective.

Remove the redundant check.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-14 09:54:24 +01:00
Manojkumar Konisetty
cc7c11f6d2 samples: sensor: mpu6050: boards: Add overlay file
- Add an overlay to enable mpu6050 sensor sample.
- Contains configurations for I2C bus and Clock

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-14 09:54:14 +01:00
Manojkumar Konisetty
ad1b041608 samples: sensor: bme280: boards: Add overlay file
- Add an overlay to enable bme280 sensor sample.
- Contains configurations for I2C bus and Clock

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-14 09:54:14 +01:00
Manojkumar Konisetty
efce139fcd drivers: I2C: Add Infineon PSOC4 I2C slave support
De-initialize the SCB when switching between I2C master
and slave modes

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-14 09:54:14 +01:00
Manojkumar Konisetty
1cf68612d4 boards: cy8cproto_041tp: enable I2C
- Add pin control definitions with proper open-drain drive mode
  for SCL/SDA in cy8cproto_041tp-pinctrl.dtsi.
- Add I2C node and clock configuration to cy8cproto_041tp.dts.

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-14 09:54:14 +01:00
Manojkumar Konisetty
78a4516cd9 dts: infineon: add I2C pins for PSoC4100TP
Include package-level I/O mapping for I2C pins
in psoc4100tp.64-tqfp.dtsi

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-14 09:54:14 +01:00
Manojkumar Konisetty
6725a9a39b drivers: i2c: update Infineon PDL I2C driver
Implement I2C configure() handling in the driver
to apply speed settings and default hardware options.

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-14 09:54:14 +01:00
Matin Lotfaliei
417a37b20d boards: vicharak: shrike_lite: Add full name to the board.yml
boards: vicharak: shrike_lite: Add full name to the board.yml

Add the missing `full_name` field for the shrike_lite board added in
3f3b528997

Signed-off-by: Matin Lotfaliei <matinlotfali@gmail.com>
2026-01-14 00:52:16 +01:00
Gaetan Perrot
3dfdfad2de tests: drivers: eeprom: api: assert EEPROM size
Verify that the EEPROM is large enough to hold the test write buffer
before executing the test.

This makes the test assumptions explicit and avoids unused variable
in API test.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-13 14:13:12 -06:00
Fabio Baltieri
9035b77251 github: hello_world_multiplatform: trim the sdk list further
Trim the sdk list down to arm and riscv64, should be good enough for
testing the buildsystem and saves some disk space.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-13 14:12:41 -06:00
Charles Hardin
cc29ac7871 drivers: ethernet: lan9250: remove/simplifiy the runtime structure
Remove the unused variable tid_int and lock. Also, match the other drivers
by dropping the back reference to the device structure and just pass
in the dev for the thread and dereference the context from there.

Signed-off-by: Charles Hardin <ckhardin@gmail.com>
2026-01-13 14:12:00 -06:00
Valerio Setti
24db35949e tests: benchmark: mbedtls: remove legacy crypto Kconfig
This is a leftover from the past that is no more required and that should
be removed in order to prepare for the next Mbed TLS release.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-13 14:11:32 -06:00
Camille BAUD
03eab92f89 drivers: i2c: Fix BFLB I2C again again
Maybe the last time? associated issue outlines details

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-13 14:11:03 -06:00
Jonas Berg
995a77ae3e boards: Add Grove headers for Cytron Maker Uno RP2040
Added the six Grove headers (and the Stemma QT header) to a separate
devicetree include file.

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-13 14:10:13 -06:00
Dhruv Menon
da7d8d5c4b boards: vicharak: shrike_lite: Add initial board config
Add initial board configuration and device tree files for the
Vicharak Shrike Lite board.

Signed-off-by: Dhruv Menon <dhruvmenon1104@gmail.com>
2026-01-13 14:09:52 -06:00
Thomas Stranger
0aadb3f0c8 doc: develop: getting_started: fedora dnf5 group installation
The group display names don't work with dnf5.
As displaynames can depend on the locale and are not unique
dnf5 only supports the group identifiers.

Distributions with dnf4 like RHEL<=10, Fedora<41, and CentOS stream
shouldn't have any issues with the group id, but have not been tested.

Alternatives considered: use the @-sytax for groups introduced in dnf5,
but using the group command makes it more clear that package groups are
installed.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2026-01-13 14:09:01 -06:00
Mark Wang
952ee6a681 MAINTAINERS: bluetooth: add sbc.h and sbc.c to libsbc maintainer entry
Add include/zephyr/bluetooth/sbc.h and subsys/bluetooth/lib/sbc.c to
the libsbc module maintainer entry to ensure proper coverage of SBC
codec related files.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2026-01-13 14:08:32 -06:00
Qingsong Gou
2917cc90bc tests: drivers: build_all: add SF32LB dbi test
Add a SF32LB DBI test

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-13 14:08:12 -06:00
Qingsong Gou
60943ec684 drivers: mipi_dbi: add lcdc mipi-dbi driver for sf32lb
Add lcdc mipi-dbi driver for sf32lb platform

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-13 14:08:12 -06:00
Qingsong Gou
ec60b59eae dts: arm: sfili: sf32lb52x: add lcdc and mipi-dbi node
Add lcdc and mipi-dbi device for sf32lb platform

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-13 14:08:12 -06:00
Qingsong Gou
0d4640e71a dts: bindings: mipi-dbi: sf32lb: add sifli,sf32lb-lcdc-mipi-dbi
Add mipi-dbi device bingding for sf32lb platform

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-13 14:08:12 -06:00
Qingsong Gou
27c518ee6c dts: bindings: display: add sifli,sf32lb-lcdc
Add sifli,sf32lb-lcdc for sf32lb platform

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-13 14:08:12 -06:00
Ryan McClelland
6e227712d8 drivers: i3c: cdns: make idle timeout a kconfig
Rather than having a hardcoded timeout for entering idle, make it
a KConfig.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-01-13 14:07:26 -06:00
Andrei Smirnou
90abc8083d board: adi: eval_adin2111d1z
- Add ADIN2111D1Z board support
- Added documentation for eval_adin2111d1z
- Added regulator for the bypass relay

Co-authored-by: Andrei Smirnou <andrei.smirnou@analog.com>
Co-authored-by: Jules Rouillard <jules.rouillard@analog.com>
Signed-off-by: Andrei Smirnou <andrei.smirnou@analog.com>
2026-01-13 17:28:44 +01:00
Valerio Setti
c5dd4c7a0b net: lib: shell: make header file inclusion conditional
Include "websocket/websocket_internal.h" only when CONFIG_WEBSOCKET_CLIENT
is also enabled.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-13 17:28:29 +01:00
Valerio Setti
63cfa56bbb net: lib: http: http_server: replace usage of legacy Mbed TLS crypto
Use PSA Crypto API for SHA-1 computation instead of legacy Mbed TLS crypto.
The latter is going to be removed soon.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-13 17:28:29 +01:00
Valerio Setti
f331614bac net: lib: websocket: remove usage of legacy Mbed TLS crypto
Remove optional use of legacy Mbed TLS crypto in favor of the already
existing PSA Crypto API alternative. This is required in order to jump
to the next version of Mbed TLS (i.e. 4.0) where all this legacy crypto
support is no more available.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-13 17:28:29 +01:00
Andreas Huber
bb9616c0cd net: arp: Choose IP corresponding to the same network
If we have more than one IP on an interface we should choose the IP
corresponding to the same network as the target IP.

Signed-off-by: Andreas Huber <andreas.huber@sautergroup.com>
2026-01-13 17:28:16 +01:00
Sylvio Alves
f3deb7bed7 kernel: nothread: fix build when CONFIG_SYS_CLOCK_EXISTS=n
The k_timer API requires CONFIG_SYS_CLOCK_EXISTS to be enabled,
as timer.c is only compiled when this config is set. Guard the
timer-based k_sleep() implementation and fall back to the previous
busy-wait approach when no system clock exists.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-13 17:27:58 +01:00
Mathieu Choplain
517cd3e5c6 dts: arm: st: n6: fix reg property of NPU
The reg property on the NPU node indicated a base address of 0x580C0000 and
size of 4 KiB, neither of which are correct (in fact, this base address is
the one of the OTGPHYC2).

Set the reg property to the correct values: the NPU instance is mapped at
0x580E0000 and occupies 128 KiB of address space.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-13 17:27:23 +01:00
Ajay Neeli
1c6d0c0c2e MAINTAINERS: add neeliajay as Xilinx collaborator
Add neeliajay (Ajay Neeli) as a collaborator for "Xilinx Platforms"

Signed-off-by: Ajay Neeli <ajay.neeli@amd.com>
2026-01-13 17:27:07 +01:00
Sylvio Alves
8805de47b4 tests: arch: riscv: add PMP SoC regions test
Add test for PMP_SOC_REGION_DEFINE macro that allows SoCs to define
custom PMP regions via iterable sections.

The test verifies:
- Regions defined with PMP_SOC_REGION_DEFINE are programmed into PMP
  registers during z_riscv_pmp_init()
- SoC regions are placed in global PMP slots (first half of entries)
- STRUCT_SECTION_FOREACH correctly iterates over defined regions

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-13 17:26:48 +01:00
Sylvio Alves
b75d67fb1f soc: esp32c6: enable PMP and define SoC regions
Enable RISC-V PMP for ESP32-C6 and configure appropriate defaults:
- 16 PMP slots available on hardware
- Unlocked global entries for XIP flash execution
- MEM_ATTR subsystem for device tree memory regions

Define SoC-specific PMP regions:
- SoC ROM (0x40000000): libc functions, R+X
- IRAM text: interrupt handlers and critical code, R+X

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-13 17:26:48 +01:00
Sylvio Alves
52c9bd85ca soc: esp32c6: add userspace linker support
Add linker script support for CONFIG_USERSPACE:
- MPU alignment macros for PMP granularity
- User stacks section in noinit area
- Application shared memory partitions
- Kernel object sections (text, rom, data, priv-stacks)
- ROM region size symbol for PMP configuration

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-13 17:26:48 +01:00
Sylvio Alves
78fddf083a dts: esp32c6: add SoC ROM memory region
Add device tree node for ESP32-C6 SoC ROM at 0x40000000.
This 320KB ROM contains libc and utility functions used by
the application. PMP protection is configured separately
via PMP_SOC_REGION_DEFINE in pmp_regions.c.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-13 17:26:48 +01:00
Sylvio Alves
b05332abee arch: riscv: pmp: add SoC-specific region support
Add infrastructure for SoCs to define additional PMP regions
that need protection beyond the standard ROM region. This uses
iterable sections to collect region definitions at link time.

The PMP_SOC_REGION_DEFINE macro allows SoCs to register memory
regions with specific permissions. These regions become global
PMP entries shared between M-mode and U-mode.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-13 17:26:48 +01:00
Ibrahim Abdalkader
00bf0915d6 llext: Skip MPU region alignment if userspace is disabled.
llext aligns and rounds up memory regions to satisfy MPU requirements,
which can waste significant memory by relocating read-only regions,
with power-of-two alignment on some architectures. However, these
MPU-aligned regions are never actually used by the MPU unless
userspace (CONFIG_USERSPACE) is enabled.

Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
2026-01-13 17:26:30 +01:00
Fin Maaß
35f2cd6353 doc: migration-guide: 4.4: mention litex,gpio change
mention litex,gpio change.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-13 17:26:08 +01:00
Fin Maaß
075f2e7361 drivers: gpio: litex: rework litex gpio driver
rework litex gpio driver.
It is now also supported to change direction.
now uses the reg names to detect if what modes the gpio
controller supports.
use the reg names directly from litex.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-13 17:26:08 +01:00
Fin Maaß
1ad13962ee tests: dts: add for DT_ANY/ALL_INST_REG_HAS_NAME_STATUS_OKAY
add test for DT_ANY_INST_REG_HAS_NAME_STATUS_OKAY
and DT_ALL_INST_REG_HAS_NAME_STATUS_OKAY macros.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-13 17:26:08 +01:00
Fin Maaß
6f9e5bed93 devicetree: add DT_ANY/ALL_INST for reg names
add DT_ANY_INST_REG_HAS_NAME_STATUS_OKAY
and DT_ALL_INST_REG_HAS_NAME_STATUS_OKAY
to check if any instance has a register with a specific
name.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-13 17:26:08 +01:00
Guðni Már Gilbert
6bb7a1b54b scripts: twister: Add full_name to board.yml
Fixes regression introduced by e45ac11aeb

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
2026-01-13 09:33:35 -05:00
Henrik Brix Andersen
7440bca13d drivers: pwm: shell: add command for getting cycles per second
Add PWM shell command for getting the number of cycles per second for a
given PWM controller/channel.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-01-13 15:21:21 +01:00
Benedek Kupper
12cd3703eb drivers: adc: stm32: only set CR2/DMA bit once on STM32F1
As reported in #101190, running adc_sequence sample on stm32f103c8 with 8
ADC channels causes all subsequent conversions after the first to be one
channel shifted. This is because writing to CR2 with ADON=1 and no other
changes triggers a conversion (which is why the bug happens on all
but the first sequence). Adding this check will ensure that CR2 is only
written when the DMA bit changes.

Signed-off-by: Benedek Kupper <kupper.benedek@gmail.com>
2026-01-13 15:21:05 +01:00
Lukasz Majewski
6628f16231 samples: net: doc: Add information to build and test the T1S driver
This commit provides information regarding building and executing stress
tests for LAN8651 based 10BASE T1S ethernet connection.

The LAN8651 is connected to nucleo_g474re board.

Signed-off-by: Lukasz Majewski <lukma@nabladev.com>
2026-01-13 15:20:53 +01:00
Lukasz Majewski
fbeb78fe6b net: samples: dts: spi: Enable LAN8651 (SPI) for T1S (echo_server)
This commit provides device tree description of the LAN8651 T1S
device to work with echo_server sample program.

Signed-off-by: Lukasz Majewski <lukma@nabladev.com>
2026-01-13 15:20:53 +01:00
Lukasz Majewski
b86999a7b0 net: samples: dts: spi: Enable LAN8651 (SPI) for T1S (zperf)
This commit provides device tree description of the LAN8651
T1S device to work with zperf performance test program.

Signed-off-by: Lukasz Majewski <lukma@nabladev.com>
2026-01-13 15:20:53 +01:00
Lukasz Majewski
65e4958f10 net: samples: echo_server: Add configuration for T1S - nucleo_g474re
This patch provides configuration to run T1S (OA_TC6) driver with
echo_server test program.

Signed-off-by: Lukasz Majewski <lukma@nabladev.com>
2026-01-13 15:20:53 +01:00
Lukasz Majewski
c2a3803b0f net: samples: zperf: Add configuration for T1S - nucleo_g474re
This patch provides configuration to run T1S (OA_TC6) driver with
zperf test program.

Signed-off-by: Lukasz Majewski <lukma@nabladev.com>
2026-01-13 15:20:53 +01:00
Pieter De Gendt
96a4d92c52 doc: releases: migration-guide-4.4: Add compatibles with MAC config support
Add ethernet driver compatibles to the migration guide that have support
for MAC address configuration.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-13 15:20:37 +01:00
Pieter De Gendt
9adc5bda07 doc: releases: migration-guide-4.4: Ethernet MAC config compatibles
Replace file references with compatibles, for users to refer to the
migration guide if it has any impact on out-of-tree boards.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-13 15:20:37 +01:00
Fin Maaß
2b6e2874c4 net: shell: explicitly check for NULL
explicitly check for NULL

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-13 13:36:20 +01:00
Fin Maaß
67c6ec66b5 net: shell: set constant array index directly
set constant array index directly.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-13 13:36:20 +01:00
Fin Maaß
06d257d41b net: shell: follow rule 78
Follow coding guidelines rule 78:

A full expression containing an increment (++) or decrement (–) operator
should have no other potential side effects other than that caused by the
increment or decrement operator

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-13 13:36:20 +01:00
Michał Stasiak
a1ccb9647f drivers: nrf: use NRF_ERRATA_DYNAMIC_CHECK macros
It is now the proper way of checking whether
an anomaly workaround should be performed.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-01-13 13:35:39 +01:00
Tomasz Moń
6fc1cd52af nrf_usbd_common: use NRF_ERRATA_DYNAMIC_CHECK macros
Upcoming MDK will make nrf52 errata check functions exist only for
nRF52 and therefore the code will no longer compile for nRF5340. Replace
nrf52 errata checks with new NRF_ERRATA_DYNAMIC_CHECK().

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2026-01-13 13:35:25 +01:00
Tim Pambor
427f872a56 samples: net: sockets: http_server: fix buffer undeclared error
Fix regression introduced in commit ddaeb13 which removed the
'buffer' function parameter from the dynamic endpoint callback
function signature but did not update the http_server sample
accordingly.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-01-13 13:35:07 +01:00
Andrzej Głąbek
ad40aa7f2b MAINTAINERS: remove anangl as I2S maintainer
I can no longer act as a maintainer in this area. Degrade my role
to collaborator.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2026-01-13 13:34:50 +01:00
Gaetan Perrot
ec85cddd15 samples: fs: fs_sample: fix typo in board overlay files
Fix a typo in several filesystem sample board overlay files where
'parition' was used instead of 'partition'.

This is a spelling-only change with no functional impact.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-13 13:34:38 +01:00
Joel Key
dd0dd16a81 MAINTAINER: Add jkey-eng as Safety Collaborator
Add myself as a Safety Collaborator

Signed-off-by: Joel Key <joel@keyengineeringllc.com>
2026-01-13 13:34:16 +01:00
Robert Lubos
735f16f12f samples: net: mdns_responder: Verify accept() result in echo server
The mdns_responder sample has a simple TCP echo server running, however
the accept() function errors were ignored, making the server defunct in
case server socket started to report errors (for example when network
went down).

Update the sample to restart the echo server in case of accept() errors
to make the sample more reliable.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-13 13:33:49 +01:00
Robert Lubos
1a2d9f7b8f net: sockets: Report an unrelying errors from accept()
If the underlying listening TCP context reported an error, it's no
longer usable, therefore accept() call for such a socket should report
an error as well, otherwise it may block indefinitely.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-13 13:33:49 +01:00
Robert Lubos
913fae5169 net: tcp: Make sure TCP context is dereferenced only once on network down
In case network interface goes down, all underlying TCP contexts are
being dereferenced, however they are not released until application
dereferences them as well (i.e. closed the socket). If the application
does not do so however timely, and network interface goes down again,
the TCP context would still be present on the active contexts list and
could've been dereferenced for the second time.

Fix this by checking the context state before dereferencing it on the
stack behalf. Non-listening TCP context are being set to CLOSED state
upon dereferencing.  For the listening contexts, the TCP context has
only one ref from the application side, so use the `accept_cb` pointer
value as an indicator that the accept callback, indicating an error,
has already been called for the context.

Additionally, add a mutex lock when releasing listening context on
network down even, to avoid potential races with yet unprocessed
incoming packets.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-13 13:33:49 +01:00
Sam Friedman
8ba115c2c5 net: coap_client: remove unused parameter in static function
75ef6392 removed the only call to coap_client_init_request() where
reconstruct==true. All remaining calls have reconstruct==false.
This commit removes the parameter.

Signed-off-by: Sam Friedman <sam@golioth.io>
2026-01-13 13:33:35 +01:00
Maochen Wang
399a3766ee manifest: update hal_nxp FW for RW61x/IW612/IW610/IW416
Remove unused IW612 part.
update IW610 FW version to 5.p86
update RW612 FW version to 6.p50
update IW61x FW version to p27.8
update IW416 FW version to p153.8

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2026-01-13 13:33:20 +01:00
Kai Vehmanen
72d06609af drivers: dai: intel: hda: implement get_properties_copy
Implement get_properties_copy(). This allows the driver to be used
from user-space threads.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2026-01-13 13:32:58 +01:00
Kai Vehmanen
43e45a2b50 drivers: dai: intel: dmic: implement get_properties_copy
Implement get_properties_copy(). This allows the driver to be used
from user-space threads.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2026-01-13 13:32:58 +01:00
Kai Vehmanen
82f28ff774 drivers: dai: intel: alh: implement get_properties_copy
Implement get_properties_copy(). This allows the driver to be used
from user-space threads.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2026-01-13 13:32:58 +01:00
Kai Vehmanen
6110b9728f drivers: dai: fix dai_config_set() syscall validation
Make a in-kernel copy of 'cfg' parameter before passing the struct
to kernel z_impl_dai_config_set() implementation. This ensures
user-space will not have access to the object when kernel part
of the syscall is running.

Also add separate handling for the case where bespoke configuration
object is NULL. While no current driver works without a bespoke
configuration, this is not forbidden in the API and the generic syscall
handler should not assume a bespoke object is passed.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2026-01-13 13:32:58 +01:00
Kai Vehmanen
8fb3da57f3 drivers: dai: intel: ssp: handle no properties case for properties_copy()
dai_ssp_get_properties() can return NULL if there are no properties
defined for the device. Handle this case correctly in ssp driver's
dai_ssp_get_properties_copy() by returning -ENOENT in this case.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2026-01-13 13:32:58 +01:00
Kai Vehmanen
a64a4325e7 drivers: dai: intel: ssp: fix indentation for dai_ssp_get_properties_copy
Fix function indentation to match coding style.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2026-01-13 13:32:58 +01:00
Kai Vehmanen
cf318bb1f2 drivers: dai: fix optional use of dai_get_properties_copy()
Handle the case if driver is not implementing get_properties_copy().

Document the behaviour and add a note that the method is optional and
users need to be handle the case that not all drivers will have this
method defined.

Also add documentation on error codes. Drivers should use -ENOENT if
no properties are defined for the device. This matches behaviour of
dai_get_properties() returning NULL if there are no properties.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2026-01-13 13:32:58 +01:00
Farsin Nasar V A
72b2a51f3e boards: microchip: pic32cx_sg61_cult: add hwinfo to supported list
- Update pic32cx_sg61_cult.yaml to reflect G1 hwinfo support on the board.

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2026-01-13 13:32:29 +01:00
Farsin Nasar V A
31dbbf6aad boards: microchip: pic32cx_sg41_cult: add hwinfo to supported list
- Update pic32cx_sg41_cult.yaml to reflect G1 hwinfo support on the board.

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2026-01-13 13:32:29 +01:00
Farsin Nasar V A
419b6d6658 dts: arm: microchip: Add HWINFO node
- Added hwinfo node in the pic32cx_sg.dtsi file

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2026-01-13 13:32:29 +01:00
Hieu Nguyen
6b266684c5 tests: drivers: pwm: Add support for RZ/A2M-EVK
Add test support for PWM driver of RZ/A2M-EVK

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-13 13:32:06 +01:00
Hieu Nguyen
d88dc4e751 boards: renesas: rza2m_evk: Add PWM support
Add PWM support for board RZ/A2M-EVK

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-13 13:32:06 +01:00
Hieu Nguyen
e58a100bbf dts: renesas: Add PWM support for RZ/A2M
Add GPT nodes and PWM child nodes to RZ/A2M devicetree

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-13 13:32:06 +01:00
Hieu Nguyen
a437d3057a drivers: pwm: Initial support for RZ/A2M
Add PWM driver support for Renesas RZ/A2M

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-13 13:32:06 +01:00
Bjarki Arge Andreasen
ae275eb4a1 boards: nordic: nrf54h20dk: cpurad: enable lfclk
The lfclk is required for bluetooth, so enable it by default for the
radio core. Applications are only affected if they enable
CLOCK_CONTROL, in which case either only the lfclk or all clocks are
enabled, so enabling lfclk alone is the lowest common denominator.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-01-13 13:31:11 +01:00
Mathieu Choplain
239fab93bc kconfig: treewide: use auto-generated Kconfig compatible macro variables
Replace some manually-defined DT_COMPAT_<> Kconfig macro variables with
their automatically generated counterparts. In most cases, this is
straightforward as the manually defined macro is named identically to the
one generated by the build system.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-13 13:30:54 +01:00
Jamie McCrae
e31140859d doc: build: snippets: writing: Add details on board revision support
Adds details of how to use the newly added board revision support
in snippets

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-13 13:30:38 +01:00
Jamie McCrae
f1772b94f1 tests: cmake: snippets: Add board revision check
Adds a check that snippets are correctly applied to named boards
with the correct board revision

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-13 13:30:38 +01:00
Jamie McCrae
c1a4c78c5c scripts: snippets: Add support for board revisions
Allows snippets to specify additional files for specific revisions
of boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-13 13:30:38 +01:00
Ravi Dondaputi
baef40786c drivers: wifi: nrf_wifi: Use filter_ssid for connect scan
Modify the scan logic to use filter_ssids for connect scan
and use ssids for other cases.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Chaitanya Tata
45029ab469 drivers: nrf_wifi: Fix the port authorization logic
For non-STA mode the vif level authorized flag is unused, simply allow
all group traffic and for unicast traffic check respective peer status.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Chaitanya Tata
3905d7a939 drivers: nrf_wifi: Set VIF type for non-STA
This is used in SoftAP/P2P GO modes.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Chaitanya Tata
ce937488b3 drivers: nrf_wifi: Workaround for failing tests
Test automation framework fails if there are any error prints, and we
had seen issues with networking that sends packets to the driver before
the assocation is up (either not checking dormant status or in a window
where dormant status is being updated).

Add a workaround to suppress the print till the issue root cause is
fixed.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Chaitanya Tata
797a87c29c modules: hostap: Fix SoF in softap mode
Due to recent changes, the stack usage is increased, fix the SoF.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Triveni Danda
f71d52c4dd drivers: wifi: nrf_wifi: Fix invalid pointer access
Fix pointer dereferencing by accessing the pointer only
after initialization, preventing fault exceptions.

Signed-off-by: Triveni Danda <triveni.danda@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
02756ea9da drivers: wifi: nrf_wifi: Suppress 11b rates in P2P scan
Add an identifier to P2P scan request. RPU can use this to
differentiate it from regular scan requests and suppress
11b rates.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
85b8e880aa net: wifi: Add P2P power save shell command support
Add shell command support for P2P power save.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
094d30cc05 net: wifi: Add API support for P2P power save
Add API support for P2P power save.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
8a5b39fd27 drivers: wifi: nrf_wifi: Add cookie handling support
Add cookie event callbacks to track RoC and cancel-RoC
requests and its responses from firmware.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
fbc0429906 drivers: wifi: nrf_wifi: Add P2P powersave support
Add ops to handle P2P powersave configuration.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
bd1aec4ffc net: wifi: Add Wi-Fi direct P2P GO mode shell command
Add shell commands support for P2P GO mode.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
4e5783f39a net: wifi: Add API support for P2P GO mode
Add structures and API support for P2P Go mode.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
1da38b7d0a drivers: wifi: nrf_wifi: Add per-peer authorized flag
Add per-peer authorized parameter. Port authorization command
from supplicant will set this flag and will be used by driver
to allow or nor allow data traffic.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
7b6930b746 modules: hostap: Add support for P2P GO mode ops
Enable build time configs required for supporting P2P GO mode.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
aff682032f doc: networking: Add Wi-Fi P2P info
Add Wi-Fi P2P mode build command and info.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
04a9692a91 drivers: nrf_wifi: Add default value to p2p mode Kconfig
The Kconfig NRF70_P2P_MODE should be enabled when
WIFI_NM_WPA_SUPPLICANT_P2P is enabled.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
9428fe090f net: wifi: Add Wi-Fi direct P2P connect shell command support
Add shell command support for P2P connect.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
c2649b5887 net: wifi: Add Wi-Fi direct P2P connect API support
Add structures and API support for P2P connect.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Chaitanya Tata
ca9e1eba5d modules: hostap: Remove obsolete conditional
We now support a single MbedTLS shim for hostap, so, this extra check is
not needed, we can always use DH5 groups from Mbedtls.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
000e41b2e8 modules: hostap: Define heap and stack for P2P support
Increase required heap and stack size for P2P. More stack was required
during WPS negotiation.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
041766d9cb drivers: wifi: nrf_wifi: Register frame without match
For frames like Probe Requests, there is no match criterion.
Re-arrange the checks to support registering of frames without
providing any matching info.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
ed56b9b97c drivers: wifi: nrf_wifi: Allow off channel TX for probe responses
For frames sent down by supplicant in station mode, inform RPU
to allow off-channel transmission. This is needed for sending
P2P probe responses.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
a9176ad7cb drivers: wifi: nrf_wifi: Add RoC support
Add ops for remain-on-channel and cancelling remain-on-channel.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
2805347dfa net: wifi: Add Wi-Fi direct P2P discovery shell command support
Add shell command support for P2P discovery.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
84db77c46b net: wifi: Add Wi-Fi direct P2P discovery API support
Add supplicant api and  mgmt ops support for P2P discovery.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
3ac9a46aba drivers: wifi: nrf_wifi: Set P2P capability
In P2P mode, inform supplicant that the driver is P2P capable.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
d9015cf5d0 drivers: wifi: nrf_wifi: Set SSID for P2P discovery
Use `ssids` instead of `filter_ssids` to set the SSID in probe
requests. `filter_ssids` are to filter scan results to include
only the specified SSIDs.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Gaetan Perrot
65f43b919e drivers: videos: ov767x: fix typos in comments
Fix typos in comments in ov767x_init_regtbl.

No functional change.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-13 10:30:03 +01:00
Nakul Chauhan
a7cea5d58a native_simulator: Get latest from upstream
Align with native_simulator's upstream main
215ee859eee5e49dc09eda8f17a956ee7318caf2

Which includes:
215ee85: native timer_model: Fix printf format specifier warnings w
         debug logs

Signed-off-by: Nakul Chauhan <nakulchauhan111@gmail.com>
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-01-13 10:29:44 +01:00
Bjarki Arge Andreasen
4c0b2622a6 drivers: can: can_nrf: add missing soc.h include
The can_nrf driver uses defines from soc.h which happened to be
included by some other header when building for cpuapp, but not
when building for cpuflpr. Include soc.h explicitly.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-01-13 10:29:31 +01:00
Bjarki Arge Andreasen
f241ecedec boards: nordic: nrf54h20dk: rm hfxo/lfxo from common dtsi
The hfxo and lfxo should only be enabled for the cpuapp and cpurad
as these cores are the only ones which have access to the clock.
Leaving it enabled will break cpuppr and cpuflpr builds if
CONFIG_CLOCK_CONTROL is enabled as the drivers are not compatible.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-01-13 10:29:31 +01:00
Gaetan Perrot
a0c17db18e drivers: video: remove redundant rad_val initialization
Remove the unused initialization without changing behavior.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-13 10:27:39 +01:00
Gaetan Perrot
4655fa18d4 drivers: video: ov7725: fix uninitialized struct
Fix uninitialized struct fmt to fix Coverity issue.
CID: 524756

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-13 10:26:59 +01:00
Gaetan Perrot
b14f7e9e9f drivers: rtc: ds3231: drop impossible negative id check
rtc_ds3231_alarm_set_callback() takes an unsigned alarm id, making
the negative value check impossible.

The id < 0 condition is therefore dead code and can never be true.
Remove it and keep only the upper bound check.

No functional change intended.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-13 10:26:05 +01:00
Tom Burdick
769ac1b112 ci: Drop preemptible||preemptable spellcheck
Preemptable and preemptible are both commonly used spellings. Infineon
had chosen preemptable as the spelling and lead to CI failures when
using struct members in the PDL. Removing the check in Zephyr allows
for flexibility in spellings of this word.

Signed-off-by: Tom Burdick <thomas.burdick@infineon.com>
2026-01-13 10:25:26 +01:00
Tom Burdick
c97ccba142 twister: Support kitprog when generating hw map
Hardware map file generation should at least get you part way now with
Infineon boards with the Cypress derived KitProg3.

Signed-off-by: Tom Burdick <thomas.burdick@infineon.com>
2026-01-13 10:24:30 +01:00
Muhammad Waleed Badar
0d8c876448 doc: releases: v4.4: add pl011 uart poll_in changes
Add changes for pl011 uart poll_in function

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-01-13 10:21:58 +01:00
Lucien Zhao
2669090ce3 test: drivers: can: support can cases on frdm-mcxe247
- Support can test case: api/shell/timing
- Tese passed for three cases on my local

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-01-13 10:21:23 +01:00
Lucien Zhao
f2653dc523 boards: nxp: frdm_mcxe247: add flexcan0 support
- config flexcan0 pinmux
- enable flexcan0 instance
- add three flexcan clock enablement code

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-01-13 10:21:23 +01:00
Lucien Zhao
ba24cc36e5 dts: arm: nxp_mcxe24x_common.dtsi: update clk-source
- Update clk-source to 1 for all flexcan instances because
  we need to use sysclk as PE clock source and reduce customer's
  confused when configuring flexcan clock

  If user use a fast external osc and want to choose another choice,
  user can change it in overlay files

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-01-13 10:21:23 +01:00
Holt Sun
6623fbcb6f doc: releases: migration-guide-4.4: add GPT counter run-mode change
Document the breaking change in the NXP i.MX GPT counter driver that
introduces a devicetree "run-mode" property and changes the default
from hardcoded free-run to restart mode.

Out-of-tree boards must add `run-mode = "free-run";` to their GPT
devicetree nodes to preserve previous behavior.

This change aligns GPT configuration with the LPTMR driver, providing
consistency across NXP counter drivers in using devicetree properties
for hardware behavior control.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-13 10:20:24 +01:00
Holt Sun
a2e902b307 drivers: counter: mcux_gpt: add devicetree run-mode property
Add a "run-mode" devicetree property to the NXP i.MX GPT counter
driver to control counter behavior on compare events.

The property supports two modes:
- "restart": Counter resets to 0 when reaching Compare Channel 1 value
- "free-run": Counter continues counting without reset

This change makes the GPT run mode configurable per device instance
instead of being hardcoded. The driver now derives the enableFreeRun
setting from devicetree, defaulting to "restart" mode.

This update aligns the GPT driver configuration approach with the
NXP LPTMR counter driver, which also uses devicetree properties
for runtime behavior configuration.
This provides consistency across NXP counter drivers in how hardware
behavior is controlled through devicetree.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-13 10:20:24 +01:00
Henrik Brix Andersen
b947de920e doc: hardware: peripherals: can: shell: document can dump subcommand
Document the "can dump" subcommand of the CAN shell module.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-01-13 10:18:18 +01:00
Henrik Brix Andersen
008904d63e drivers: can: shell: add can dump subcommand
Add "can dump <device>" subcommand for dumping all CAN RX frames of a given
CAN controller.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-01-13 10:18:18 +01:00
Daniel Leung
b98fc2740a soc: intel_adsp/ace40: disable spin validation on simulator
xt-clang seems to generate some memory access patterns which
result in the simulator accessing incorrect memory and/or
messing with cached TLB entries when spinlock validation
is enabled. Not exactly sure what's going on here due to
the core of the simulator is built on top of pre-built
binaries provided by the toolchain without any sources so
debugging would be nearly impossible. But at least we have
an easy workaround by disabling spin lock validation.

Fixes #100885

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2026-01-13 10:17:49 +01:00
Johann Fischer
730880e266 doc: migration: add note about DAP subsystem changes
Add note about DAP subsystem changes. Keep it general, as there will be
more changes.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-01-13 10:16:27 +01:00
Johann Fischer
cfd748fff1 dap: add header and macro to instantiate DAP context
Although we have the three layers, SWDP driver API, DAP stack, and USB
backend, to implement a debug probe, there is no way for the user to
instantiate the DAP context, which would allow it to be used with
different backends or to change the configuration at runtime.

The Debug Access Port (DAP) is an implementation of the ARM Debug
Interface (ADI) that is typically integrated into SoC.
With all three layers, we implement a link to the DAP on the SoC.
Let's call it Zephyr DAP Link and use the dap_link prefix. There is also
a MBED DAPLink project that implements similar functionality, but using
a different name would likely cause more confusion.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-01-13 10:16:27 +01:00
Johann Fischer
2c254285cb drivers: dp: add common header for SWD drivers
Move the LUT to convert from simplified format to request packet
expected by the target, and the helper to calculate parity bits to
common header, so that they could be used by other drivers.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-01-13 10:16:27 +01:00
Johann Fischer
4b9f4106e2 dap: cmsis_dap: use SWD driver user API
Use SWD driver user API.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-01-13 10:16:27 +01:00
Johann Fischer
490fe49856 include: drivers: add SWD driver user API
Although the DAP subsystem is the only user in the tree, yet, we may have
other subsystems, libraries, or simple samples that could use this API
in the future.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-01-13 10:16:27 +01:00
Hau Ho
5c0bf4ee7a tests: drivers: gpio: Add overlay and config file for gpio tests
Add overlay and config file for EK-RX261 and FPB-RX261

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-13 10:14:54 +01:00
Hau Ho
44c64b007c boards: renesas: Add GPIO interrupt support for FPB-RX261 board
Add GPIO interrupt support for EK-RX261 board

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-13 10:14:54 +01:00
Hau Ho
33bfffc07a boards: renesas: Add GPIO interrupt support for EK-RX261 board
Add GPIO interrupt support for EK-RX261 board

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-13 10:14:54 +01:00
Hau Ho
94f08de684 dts: renesas: Add GPIO interrupt for RX261 SoC
Add GPIO interrupt for RX261 SoC

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-13 10:14:54 +01:00
Camille BAUD
de939ab796 boards: bflb: update ai_m61_32s for PWM
Adds PWM nodes and samples

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-13 10:13:04 +01:00
Camille BAUD
12aa44edbd boards: bflb: update ai_wb2_12f for PWM
Adds PWM nodes and samples

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-13 10:13:04 +01:00
Camille BAUD
cafc6a9c73 boards: bflb: update ai_m62_12f for PWM
Adds PWM nodes and samples

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-13 10:13:04 +01:00
Camille BAUD
396249fdd4 drivers: pwm: Add BFLB PWM 1 and 2
Adds BFLB PWMs

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-13 10:13:04 +01:00
Camille BAUD
f4bcc3cd55 drivers: clock_control: bflb: add PWM elements
Adds clock side elements for PWM

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-13 10:13:04 +01:00
Camille BAUD
918bc58761 dts: bflb: add PWM nodes
Adds nodes for BFLB pwm

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-13 10:13:04 +01:00
Piotr Kosycarz
f16c568c99 samples: boards: nordic: coresight_stm: enable uart at rtt config
Enable uart logging as it is required for testing.
Can be used at the same time with RTT.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2026-01-12 12:42:45 -06:00
Ian Morris
d6f9a4808f boards: renesas: ek_ra4l1: added arduino node labels
Added arduino_serial and arduino_header node labels to EK-RA4L1 device
tree board definition, allowing compatible shield boards to be used.

Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
2026-01-12 12:42:24 -06:00
Stefan Gloor
9ae3b77359 net: net_if: remove obsolete documentation about buffer lifetime
The net_linkaddr struct used to use pointers instead of copying the
data. Thankfully this was fixed in
https://github.com/zephyrproject-rtos/zephyr/pull/87027.

Remove the old comment to reflect the current state.

Signed-off-by: Stefan Gloor <stefan.gloor@siemens.com>
2026-01-12 12:41:54 -06:00
Grzegorz Chwierut
ca26f143f0 samples: sysbuild: hello_world: Skip test if no second UART
If a second UART was not configured in the hardware map, then skip
the testcase instead of failing.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2026-01-12 12:41:31 -06:00
Fin Maaß
e0da5fa899 MAINTAINERS.yml: add maass-hamburg to i2c colaborators
add me to the i2c collaborators, that we are going to
have at least 2 reviewers for that area.

I wrote the drivers/i2c/i2c_litex_litei2c.c driver and
the acording i2c core https://github.com/litex-hub/litei2c

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-12 12:41:07 -06:00
Gaetan Perrot
311769564c samples: sensor: soc_voltage: fix error propagation
print_voltage() always returned success even when sensor operations
failed, making the error check in main() dead code.

Return the actual error codes so failures are correctly propagated
to the caller.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-12 12:40:51 -06:00
Fin Maaß
eaca1fcf7f drivers: ethernet: nxp: netc: fix ethernet_hw_caps
ETHERNET_CONFIG_TYPE_FILTER is not supported
in the set_config, therefore remove
ETHERNET_HW_FILTERING from the
ethernet_hw_caps of this driver.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-12 12:40:31 -06:00
Fin Maaß
e6bd2151da drivers: ethernet: nxp: fix set_config case
the enum ethernet_config_type for the
multicast filter is ETHERNET_CONFIG_TYPE_FILTER.
ETHERNET_HW_FILTERING is only the according
ethernet_hw_caps.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-12 12:40:31 -06:00
Eric Mechin
8aec838deb drivers: stm32wb: ipm_stm32wb: Add extended advertising support
Set extended advertising setting in ipm_stm32wb.c with
stm32wb_set_stack_options function call for the BLE stack
Options flags initialization according to the
zephyr Kconfig options.

Signed-off-by: Eric Mechin <eric.mechin@st.com>
2026-01-12 12:39:56 -06:00
Zackery Backman
6defef2519 doc: develop: manifests: external: add wolfTPM
Add documentation to external module section for adding wolfTPM to Zephyr

Signed-off-by: Zackery Backman <backman23@live.com>
2026-01-12 12:39:19 -06:00
Zackery Backman
1753bdb0f6 doc: develop: manifests: external: add wolfMQTT
Add documentation to external module section for adding wolfMQTT to Zephyr

Signed-off-by: Zackery Backman <backman23@live.com>
2026-01-12 12:38:31 -06:00
Liam Ogletree
256f043644 samples: cs40l5x: Support CRD40L50 demonstration board
Add CRD40L50 board support to the CS40L5x sample application and update
documentation accordingly.

Signed-off-by: Liam Ogletree <liam.ogletree@cirrus.com>
2026-01-12 12:37:28 -06:00
Liam Ogletree
5b92b6a66f boards: crd40l50: Add support for CRD40L50 demonstration board
Add support for the Cirrus Logic CRD40L50 demonstration board, which
features a CS40L5x haptics driver, AT25 SPI flash memory, status LEDs,
and a push button.

Signed-off-by: Liam Ogletree <liam.ogletree@cirrus.com>
Co-authored-by: Ricardo Rivera-Matos <ricardo.rivera-matos@cirrus.com>
2026-01-12 12:37:28 -06:00
Gaetan Perrot
bca0b43be9 drivers: crypto: intel_sha: make set_resume_length_dw1 void
intel_sha_set_resume_length_dw1() never reports errors
and always returns 0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-12 12:36:48 -06:00
Gaetan Perrot
f017f4cb91 drivers: crypto: intel_sha: make set_ctl_enable void
intel_sha_set_ctl_enable() never reports errors
and always returns 0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-12 12:36:48 -06:00
Lyle Zhu
1cf21e55ca bluetooth: Classic: hfp_hf: make at_get_raw_string() return const char *
Change at_get_raw_string() return type from 'char *' to 'const char *'
to match at_get_string() and improve const-correctness. This function
returns read-only AT command response data that should not be modified.

- Update at_get_raw_string() signature in at.h and at.c
- Update return statement cast from 'char *' to 'const char *'
- Update local variables in hfp_hf.c to use 'const char *':
  * bvra_handle: 'id' variable
  * chld_handle: 'value' variable
  * cnum_handle: 'alpha' and 'speed' variables
- Mark unused 'alpha' and 'speed' in cnum_handle with __maybe_unused
- Change NULL check style from '!id' to 'id == NULL' for consistency

This completes the const-correctness improvements started in the
previous commit for HFP HF AT command string handling.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-12 12:36:18 -06:00
Eoin Jordan
e4bfc1d2a4 doc: add Edge Impulse SDK external module documentation
Add documentation for the Edge Impulse SDK Zephyr module to the external
modules section, including:

- Module overview describing the Edge Impulse ML development platform
- Integration instructions with west.yml manifest configuration
- West extension commands (ei-build, ei-deploy) for model deployment
- License information (BSD-3-Clause-Clear)
- References to official Edge Impulse documentation and tutorials

The Edge Impulse SDK module enables machine learning inference on Zephyr
devices by packaging the Edge Impulse SDK as a reusable Zephyr module
with west integration for streamlined ML model deployment workflows.

Signed-off-by: Eoin Jordan <eoin@edgeimpulse.com>
2026-01-12 12:35:55 -06:00
Sylvio Alves
3ff8115439 samples: bluetooth: hci_pwr_ctrl: remove unnecessary config
Remove CONFIG_BT_CTLR_ADVANCED_FEATURES from prj.conf. This option
only controls visibility of advanced features in menuconfig and is
not required by the sample. It also depends on BT_LL_SW_SPLIT which
is not available on all platforms (e.g., ESP32 uses a closed-source
controller blob).

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-12 12:34:47 -06:00
Sylvio Alves
c94930c6c9 soc: espressif: set BLE HCI buffer defaults
Set default values for BLE HCI buffer configuration that match
the ESP32 controller requirements:
- BT_BUF_ACL_RX_COUNT=24: Match controller's ACL buffer count
- BT_BUF_EVT_RX_COUNT=30: Match controller's event buffer count

Enable BT HCI node in device tree for all ESP32 SoCs that
support BLE.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-12 12:34:47 -06:00
Sylvio Alves
06890c3f92 drivers: bluetooth: esp32: add vendor-specific HCI commands
Implement VS HCI commands for ESP32 BLE controllers:
- Read/Write TX power level with per-handle support
- Read version info (platform, variant, firmware version)
- Read supported commands and features
- Read static addresses from eFuse (C2/C6/H2)
- Read build info (controller version string)

For original ESP32, use the legacy esp_ble_tx_power_set/get API.
For newer variants (ESP32-S3, ESP32-C2, ESP32-C3, ESP32-C6, ESP32-H2),
use the enhanced API that supports per-connection power control.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-12 12:34:47 -06:00
Sylvio Alves
6511eb4edf bluetooth: hci: add Espressif VS platform/variant definitions
Add Espressif platform and variant IDs to hci_vs.h for ESP32 family
SoCs (ESP32, ESP32-S3, ESP32-C2, ESP32-C3, ESP32-C6, ESP32-H2).

Add Espressif Systems to vs_hw_platform() and vs_hw_variant()
functions in hci_core.c for proper vendor identification.

Use CONFIG_SOC_FAMILY guards in vs_hw_variant() to reduce flash
usage by only compiling variant strings for the active SoC family.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-12 12:34:47 -06:00
Maximilian Werner
1602f3cff1 drivers: i2c: mcux: refactor target event handler
The target event handler i2c_mcux_target_transfer_cb() had a too high
cognitive complexity. Create a function for each event type to reduce
the complexity score.

Signed-off-by: Maximilian Werner <maximilian.werner96@gmail.com>
2026-01-12 12:34:11 -06:00
Maximilian Werner
c1722f5eda drivers: i2c: mcux: add support for target mode
Add i2c target support to the i2c_mcux driver.
Add the frdm_mcxc242 board to i2c_target_api tests.

Signed-off-by: Maximilian Werner <maximilian.werner96@gmail.com>
2026-01-12 12:34:11 -06:00
Yongxu Wang
52c712d4d1 firmware: scmi: add mutex protection to polling mode
Protect scmi_send_message_polling() with channel mutex to prevent
concurrent access with interrupt-driven transfers.

Without this fix, PM subsystem could send polling-mode messages
while an interrupt-mode transfer was in progress, corrupting the
shared channel state.

Fixes hang on i.MX943 during I2C initialization when PM attempted
to send power state notifications concurrently.

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-01-12 12:33:40 -06:00
Igor Knippenberg
0d1863c409 drivers: can: stm32: fdcan: enable hardware RX timestamping
Enables hardware RX timestamping for the STM32 FDCAN driver by
leveraging the M_CAN timestamping interface.

Introduces a new `timestamp-counter` property in the device tree binding.
If `CONFIG_CAN_RX_TIMESTAMP` is enabled and this property is defined,
the driver configures the M_CAN Timestamp Select to use the
external timestamp counter value.

This allows linking a Zephyr Counter device to the FDCAN instance to
provide precise packet timing.

Signed-off-by: Igor Knippenberg <knippenberg@filics.eu>
2026-01-12 12:32:55 -06:00
Om Srivastava
eb2da4f4c6 bluetooth: shell: fix AD length validation
Fix validation of AD length handling in the Bluetooth shell.
Reject zero-length AD fields before subtracting the AD type size.

The previous implementation compared an unsigned length
against zero after subtraction, making the error path
unreachable.

Signed-off-by: Om Srivastava <srivastavaom97714@gmail.com>
2026-01-12 12:32:25 -06:00
Marek Matej
45dd7fa9ad xtensa: debug: enable xtensa thread awareness
Enable stack offset switching for Xtensa targets if arch_switch is used.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2026-01-12 12:31:57 -06:00
Sylvio Alves
b6e6a4c0c4 doc: esp32: document openocd thread awareness
Document the OpenOCD version required for Zephyr thread
awareness and how to use CONFIG_DEBUG_THREAD_INFO.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-12 12:31:57 -06:00
Sylvio Alves
f9e81d6ded boards: esp32: set openocd target handle for RTOS support
ESP32 OpenOCD uses $_TARGETNAME_0 instead of $_TARGETNAME.
Set the correct target handle to enable RTOS awareness.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-12 12:31:57 -06:00
Sylvio Alves
aaec098e0e boards: esp32: enable Zephyr RTOS in openocd config
Change ESP_RTOS from none to Zephyr in all ESP32 board
openocd.cfg files to enable thread awareness during debug.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-12 12:31:57 -06:00
Sylvio Alves
7695aefce1 boards: esp32: remove --no-init from openocd args
Remove the --no-init flag to fix west debugserver on boards
with built-in USB JTAG (ESP32-C6, ESP32-H2).

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-12 12:31:57 -06:00
Kapil Bhatt
2b2ac80eea drivers: wifi: Change WPA3 to WPA3_HNP and WPA3_H2E
Change WPA3 into WPA3-HNP, WPA3-H2E for Display scan fix.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-12 12:31:08 -06:00
Kapil Bhatt
7885303422 driver: nrf_wifi: Add config option for No-ACK policy in Tx packets
Build time configuration option to set No-ACK policy for Tx packets
with a specific TID.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-12 12:31:08 -06:00
Kapil Bhatt
16c97c5170 manifest: Update hostap revision for p2p fixes
Listen for probe request in GO mode
Reducing a delay in p2p connection.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-12 12:31:08 -06:00
Karun Kumar Eagalapati
cef6b4a760 manifest: Update nrf_wifi with latest rpu bins
1. Fixes an issue in UMAC where valid P2P devices were filtered
      during a connect scan due to strict SSID length matching.
   2. P2P NOA Bug Fix.
   3. Linker issue fix in Raw modes.
   4. LMAC BIMG offset change.
   5. RPU Version update from 1.2.14.6 to 1.2.14.7.
   6. Display scan fix for WPA3 HNP and H2E.

Signed-off-by: Karun Kumar Eagalapati <karun.kumar@nordicsemi.no>
2026-01-12 12:31:08 -06:00
Qingsong Gou
0ee36a6f50 drivers: rtc: sf32lb: fix compile warnings
Fix compile warnings for sf32lb

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-12 12:30:23 -06:00
Qingsong Gou
0a0ab9888c boards: sifli: sf32lb52_devkit_lcd: enable rtc build
Enable rtc build on sf32lb52_devkit_lcd board

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-12 12:30:23 -06:00
Qingsong Gou
cd528e3b25 drivers: rtc: sf32lb: fix y2k bug
Fix 1999 to 2000 year bug

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-12 12:30:23 -06:00
Etienne Carriere
b42b10f89e west.yml: update hal_stm32 module on H7RS/L4/L5/N6 stm32cube releases
stm32h7rsxx bumps to STM32CubeH7RS version 1.3.0.
stm32l4xx bumps to STM32CubeL4 version 1.18.2.
stm32l5xx bumps to STM32CubeL5 version 1.6.0.
stm32n6xx bumps to STM32CubeN6 version 1.3.0.

Update dma_stm32.h to sync with HAL new function prototype for
LL_DMA_IsActiveFlag_HT*() functions that now expect a const pointer
on STM32L4X series. While at it, also update the STM32MP13X series
that expects the same prototypes.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-01-12 12:29:37 -06:00
Fin Maaß
540df685f4 drivers: ethernet: w5500: implement get_link
implement get_link from the ethernet phy
api.

Signed-off-by: Fin Maaß <info@finmaass.de>
2026-01-12 12:29:07 -06:00
Fin Maaß
b85c12049b drivers: ethernet: w5500: use timeout directly
use Kconfig timeout directly.

Signed-off-by: Fin Maaß <info@finmaass.de>
2026-01-12 12:29:07 -06:00
Dev Joshi
80474fae1c boards: rpi_pico2: fix I2C misconfiguration bug
I2C controller on rpi_pico2 boards were getting misconfigured due to
`CONFIG_I2C_DW_CLOCK_SPEED` not getting set properly. This change fixes
the value for this Kconfig symbol to the correct clock speed (clk_peri)
that is used by I2C controller.

Signed-off-by: Dev Joshi <devbhave@qti.qualcomm.com>
2026-01-12 12:28:39 -06:00
Marco Casaroli
2988310fe6 doc: releases: add note about CONFIG_MBEDTLS_VERSION in Mbed TLS
Updates release notes about the addition of the new configuration.

Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-01-12 12:27:59 -06:00
Marco Casaroli
e1c68019cc modules: mbedtls: include option to enable version information
Some libraries like libcoap make use of mbedtls_version_get_number
which is enabled by MBEDTLS_VERSION_C.

We add a config option to be able to selectively enable it.

Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-01-12 12:27:59 -06:00
Stephan Linz
adaac81ae8 MAINTAINERS: include CAN FD 6 Click shield in CAN drivers
This commit adds the MikroE CAN FD 6 Click shield under the same
assignees as other of the CAN driver based shields.

Signed-off-by: Stephan Linz <linz@li-pro.net>
2026-01-12 12:27:21 -06:00
Stephan Linz
0049bbe202 tests: drivers: build_all: can: add MikroE compile tests for tcan4x5x
Add the MikroE compile test for the TI TCAN4x5x series CAN controller
driver.

Signed-off-by: Stephan Linz <linz@li-pro.net>
2026-01-12 12:27:21 -06:00
Stephan Linz
baf18d9e88 boards: shields: add support for MikroE CAN FD 6 Click
Add shield definition for the MikroElektronika CAN FD 6 Click shield,
an mikroBUS compatible evaluation module for the TI TCAN4x5x CAN
controller series.

Signed-off-by: Stephan Linz <linz@li-pro.net>
2026-01-12 12:27:21 -06:00
Armando Visconti
56b85ea61a drivers/sensor: lsm6dsvxxx: add ism6hg256x support
Add support to ism6hg256x sensor variant of LSM6DSVXXX driver.

More information:
https://www.st.com/resource/en/datasheet/ism6hg256x.pdf

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-01-12 12:26:41 -06:00
Armando Visconti
310457448a drivers/sensor: lsm6dsvxxx: add High-g data support in FIFO
Add support for High-g data in FIFO. The HG data wiil be marked in
FIFO with LSM6DSV80X_XL_HG_TAG.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-01-12 12:26:41 -06:00
Armando Visconti
b66fc31c95 drivers/sensor: lsm6dsvxxx: add lsm6dsv80x support
Add support to lsm6dsv80x sensor variant of LSM6DSVXXX driver.

More information:
https://www.st.com/resource/en/datasheet/lsm6dsv80x.pdf

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-01-12 12:26:41 -06:00
Armando Visconti
3c16d599b1 drivers/sensor: lsm6dsvxxx: add streaming capabality
Add read_and_decode streaming APIs support.

Triggers supported:
    - SENSOR_TRIG_FIFO_WATERMARK
    - SENSOR_TRIG_FIFO_FULL
    - SENSOR_TRIG_DATA_READY

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-01-12 12:26:41 -06:00
Armando Visconti
d6eaae4d53 drivers/sensor/st: add support to LSM6DSVXXX IMU family
This driver is currently only supporting the polling-mode read_and_decode
APIs (both blocking and non-blocking).

The driver implements a chip_api structure which has to be used to
provide device specific callbacks. The only lsm6dsvxxx family device
currently supported is lsm6dsv320x.

More information about LSM6DSV16X:
https://www.st.com/resource/en/datasheet/lsm6dsv320x.pdf

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-01-12 12:26:41 -06:00
Armando Visconti
5372b41979 sensor/lsm6dsvxxx: change DT common prop names
The Device Tree property names that are common to lsm6dsv16x and
lsm6dsv32x drivers are now prefixed with LSM6DSVXXX_ (and not
LSM6DSV16X_) just for the sake of clarity.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-01-12 12:26:41 -06:00
Henrik Brix Andersen
0949f8a52a drivers: sensor: adi: max30210: Fix build with Clang/LLVM
drivers/sensor/adi/max30210/max30210_trigger.c:144:3: error: label followed
by a declaration is a C23 extension [-Werror,-Wc23-extensions]
  144 |                 uint8_t temp_hi_setup[2];
      |                 ^

drivers/sensor/adi/max30210/max30210_trigger.c:175:3: error: label followed
by a declaration is a C23 extension [-Werror,-Wc23-extensions]
  175 |                 uint8_t temp_inc_fast_thresh;
      |                 ^

drivers/sensor/adi/max30210/max30210_trigger.c:196:3: error: label followed
by a declaration is a C23 extension [-Werror,-Wc23-extensions]
  196 |                 uint8_t temp_dec_fast_thresh;
      |                 ^

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-01-12 12:26:27 -06:00
Camille BAUD
76dd50833f boards: bflb: Add pre_dt_board.cmake to all
Add -Wno-unique_unit_address_if_enabled for all boards,
as bflb SoCs contains a lot of overlapping peripheral nodes.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-12 11:55:54 +01:00
Mathieu Choplain
8f5a5bb7cd doc: services: mem_mgmt: cleanup zephyr,memory-attr examples
Remove whitespace between parentheses and value. This seems to be the only
place in tree where such a pattern is found, and it violates the rules of
the Devicetree linter executed by CI.

Replace ARM-specific MPU attributes with their plain variant, also removing
the unnecessary parentheses in the process.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-12 11:55:36 +01:00
Mathieu Choplain
37f8685ab2 doc: arch: arm_cortex_m: cleanup zephyr,memory-attr example
Remove unnecessary parentheses and switch to the plain variant of the
RAM_NOCACHE "attribute".

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-12 11:55:36 +01:00
Mathieu Choplain
0b5477cd38 doc: arch: arm_cortex_m: CM0/CM1 can't program custom fault priorities
The documentation currently indicates that Cortex-M0 and Cortex-M1 have
programmable fault priorities which is not true. Fix this error.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-12 11:55:36 +01:00
Ian Morris
a4da896211 boards: renesas: ek_ra2l1: add LEDs and alias
Added additional LEDs and an alias so that examples such
basic/threads will build/run on this board.

Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
2026-01-12 11:55:25 +01:00
Ian Morris
d6cb39852d boards: renesas: ek_ra6m4: add PWM LED alias
Added pwm-led0 alias so that basic/blinky_pwm and basic/fade_led
samples can be built/run on the ek_ra6m4.

Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
2026-01-12 11:55:10 +01:00
Pisit Sawangvonganan
aba81d54e7 drivers: spi: avoid duplicating tx/rx length selection logic
For clarity and compactness, use
`spi_context_max_continuous_chunk()` instead of open-coding
the same tx/rx length selection logic.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2026-01-12 11:54:58 +01:00
Lyle Zhu
bd7da95049 Bluetooth: Classic: L2CAP: Fix sending buffer reference counting
There is a corner case that the ACL_Data_Packet_Length is less than
the MPS of the L2CAP BR channel connection. Then the partial data
will be sent and the remaining data will be sent in sequence in the
function `l2cap_br_data_pull()`. The issue occurs when sending the
continuing fragment HCI ACL packet, due to the reference counting of
sending buffer is 0. Therefore, the application will be asserted in
the function `send_buf()`.

Fix the issue by managing the reference count of the sending buffer.

Use the function `net_buf_ref()` to increment the reference count of
the sending buffer.

If the sending buffer is the last fragment, use `net_buf_unref()` to
decrement the reference count of the sending buffer to ensure that
the send buffer can be properly released when the data is sent out.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-12 11:54:43 +01:00
Devika Raju
5f0483a8aa drivers: wifi: siwx91x: Fix multicast filtering on IGMP leave
Device continued receiving multicast data after leaving IGMP group
because the driver did not configure the SiWx917 firmware to stop
filtering for the multicast MAC address.

Register a Zephyr multicast monitor callback (net_if_mcast_mon_register)
that calls sl_wifi_configure_multicast_filter() to add or remove
multicast MAC filters in the firmware when groups are joined or left.

Signed-off-by: Devika Raju <Devika.Raju@silabs.com>
2026-01-12 11:54:32 +01:00
Jukka Rissanen
290384b8cb net: dns: Add missing documentation for struct dns_addrinfo
The documentation of various fields in "struct dns_addrinfo" were
missing.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-01-12 11:54:20 +01:00
Muhammed Asif
e92fe156f9 samples: watchdog: sam_e54_xpro: Adds the overlay for the board
- Adds the overlay for sam_e54_xpro board in the sample for watchdog.

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-12 11:54:08 +01:00
farsin NASAR V A
4fb07b6be0 tests: drivers: watchdog: Adds sam_e54 test support files
- Adds sam_e54_xpro.overlay files for wdt test projects.
- Adds sam_e54_xpro platform allow in testcase.yaml.
- Adds wdt board specific configuration in main.c

Signed-off-by: farsin NASAR V A <farsin.nasarva@microchip.com>
2026-01-12 11:54:08 +01:00
Muhammed Asif
f223439235 boards: microchip: sam_e54_xpro: Updates watchdog to board yaml
- Updates the board yaml file with watchdog entry for enabling CI
  to include watchdog for testing

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-12 11:54:08 +01:00
Muhammed Asif
e452c05026 drivers: watchdog: microchip: watchdog g1 driver
- Adds watchdog g1 driver for microchip devices

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-12 11:54:08 +01:00
Muhammed Asif
76e862cd13 dts: arm: microchip: same5xd5x: Add watchdog node in devicetree
- Adds devicetree node of watchdog in same5xd5x family
- Adds the binding yaml for g1 driver of watchdog

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-12 11:54:08 +01:00
Alexandre Bailon
3d11f60b58 ieee802154: cc13xx_cc26xx: Make filter more reliable
The radio driver updates the filters but never submit
the new ones to the radio core.
The filters was only applied later thanks, probably during
a channel selection that was happening often.
Update the driver stop RX operation and restart it using
the new filters.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
2026-01-12 11:53:47 +01:00
Alexandre Bailon
06503ceb02 ieee802154: cc13xx_cc26xx: Improve channel selection
When using OpenThread, set_channel operation may be called often
with the same channel number.
Everytime, even if the channel has not changed, the driver stop all
the radio operations, restart the synthesizer and then restart RX
operations.
This behavior prevents OpenThread joiner to work correcly.
This updates the driver to only stop radio operations if this is really
required.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
2026-01-12 11:53:47 +01:00
Phuc Pham
8a50020b7a samples: drivers: adc: Add ADC support for Renesas RZ/A2M
Add ADC samples support for board RZ/A2M-EVK

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-12 11:53:36 +01:00
Phuc Pham
d6d3a1df23 tests: drivers: adc: Add ADC support for Renesas RZ/A2M
Add ADC tests support for board RZ/A2M-EVK

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-12 11:53:36 +01:00
Phuc Pham
d641a2847c boards: renesas: Add ADC support for Renesas RZ/A2M
Add ADC support for board Renesas RZ/A2M-EVK

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-12 11:53:36 +01:00
Phuc Pham
2ef755cd81 dts: renesas: Add ADC support for Renesas RZ/A2M
Add ADC nodes for Renesas RZ/A2M

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-12 11:53:36 +01:00
Phuc Pham
1eec5dae9f drivers: adc: Add ADC support for Renesas RZ/A2M
Add ADC driver support for Renesas RZ/A2M

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-12 11:53:36 +01:00
Phuc Pham
1cb9ebaad2 drivers: timer: Fix incorrect data type use
- Fix incorrect data type that caused the timer to malfunction
after running for a period of time

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-12 11:53:36 +01:00
Francis Roi Manabat
0a5d3e44f2 tests: drivers: build_all: Add build test for MAX30210
Add max30210 sensor to build test.

Signed-off-by: Francis Roi Manabat <francisroi.manabat@analog.com>
2026-01-12 11:53:15 +01:00
Francis Roi Manabat
c6a0444f50 drivers: sensor: add MAX30210 Temperature Sensor Support
Add Support for MAX30210, a low-power,
high-accuracy digital temperature sensor
operating from a 1.7 V to 2.0 V supply.

Signed-off-by: Francis Roi Manabat <francisroi.manabat@analog.com>
2026-01-12 11:53:15 +01:00
Jamie McCrae
ef9f455db1 doc: releases: release-notes: 4.4: Add note on sysbuild merged hex
Adds details of the newly introduced merged hex output support for
sysbuild

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-12 11:52:58 +01:00
Jamie McCrae
c6bc55e698 doc: build: sysbuild: Add merged hex file information
Adds details about the newly introduced merged hex file support

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-12 11:52:58 +01:00
Jamie McCrae
a69bf8d419 tests: cmake: Add sysbuild_merged_hex test
Adds a test to ensure proper functioning of the sysbuild merged hex
feature

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-12 11:52:58 +01:00
Jamie McCrae
feadf2e8ef sysbuild: Add optional output merged hex file support
Adds support for generated merged hex file output, one hex file
per unique board target. This feature can be enabled with
SB_CONFIG_MERGED_HEX_FILES

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-12 11:52:58 +01:00
Andy Lin
588d22464d soc: raspberrypi: rp235x/hazard3: Add support for ramfunc
Add support to run code from SRAM and future PSRAM for RP235x:hazard3.

Signed-off-by: Andy Lin <andylinpersonal@gmail.com>
2026-01-11 13:06:14 +01:00
Anton Puppe
3e7b47f7c4 samples: video: capture: Add STM32N6570_DK to sample documentation
Add docs (wiring, build etc.) for the stm32n6570_dk board with the
st_b_cams_imx_mb1854 camera shield (based on an IMX335).

Signed-off-by: Anton Puppe <anton-noel-flynn.puppe@zeiss.com>
2026-01-11 13:05:34 +01:00
Anton Puppe
4cd4b75159 samples: video: capture: Add option to allow shell and capture together
Add Kconfig option VIDEO_SHELL_AND_CAPTURE to allow the capture to run
even if the video shell is enabled. Also, add delta time between frames
to log output. This enables testing of on-the-fly framerate changes.

Signed-off-by: Anton Puppe <anton-noel-flynn.puppe@zeiss.com>
2026-01-11 13:05:34 +01:00
Anton Puppe
264a01f832 drivers: video: imx335: Add configurable refresh rate
Adds support for video_set_frmival for the IMX335 sensor driver.
The available framerates depend on whether the binning mode is enabled.
Currently, 25Hz and 30Hz are always available and 50Hz/60Hz only with
binning.

Signed-off-by: Anton Puppe <anton-noel-flynn.puppe@zeiss.com>
2026-01-11 13:05:34 +01:00
Anton Puppe
d74087f58d drivers: video: imx335: Add 2x2 binning support
Adds support for switching the sensor resolution between all-pixel scan
(2592x1944) and 2x2 binning (1296x972). This reduces the bandwidth
and processing power requirements for applications that do not need the
full resolution. It also paves the way for higher frame rates.

Note that while the imx335 driver now supports dynamic resolution
changes, some downstream components may not. The binning mode is enabled
automatically if the correct format is selected.

Signed-off-by: Anton Puppe <anton-noel-flynn.puppe@zeiss.com>
2026-01-11 13:05:34 +01:00
Tim Pambor
d40c003513 net: http_server: Add transaction complete status
When the response has been sent completely to the client, the server
reports the new `HTTP_SERVER_TRANSACTION_COMPLETE` status. Together with
the existing `HTTP_SERVER_TRANSACTION_ABORTED` status, the application
can now also for successful completions of requests clean up any
resources allocated for handling the request.

This especially allows to dynamically allocate the response buffer
passed to the server in the request callback and free it when the
request is done.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-01-11 13:04:52 +01:00
Tim Pambor
43d3387634 net: http_server: clarify naming of HTTP server callback status enum
Rename enum http_data_status to enum http_transaction_status
to better reflect its purpose, which is to indicate the status of the
overall HTTP transaction, not just data transfer.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-01-11 13:04:52 +01:00
Aleksandr Senin
b788fbd964 tests: uart: add GD32 build-only scenario
Add a build-only scenario that enables UART runtime configure and
builds on selected GD32 boards to ensure the driver compiles.

Signed-off-by: Aleksandr Senin <al@meshium.net>
2026-01-11 13:04:25 +01:00
Aleksandr Senin
5dc2385914 drivers: serial: gd32: add UART runtime configure support
Add uart_configure()/uart_config_get() support to usart_gd32.
Store runtime config in driver data and init it from DT defaults.

Signed-off-by: Aleksandr Senin <al@meshium.net>
2026-01-11 13:04:25 +01:00
Jonas Berg
2e6955100e samples: servo-motor: Add overlay for Cytron Maker Pi RP2040
Enable servo port GP12. Add commented-out entries for the other ports,
as is done for the other overlay files.

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-11 13:04:03 +01:00
Jonas Berg
29c95ff3fd boards: Add support for Cytron Maker Pi RP2040
Tested with the commands mentioned in index.rst

Product photo from
https://www.cytron.io/p-maker-pi-rp2040-simplifying-robotics-with-raspberry-pi-rp2040

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-11 13:04:03 +01:00
Gang He
19a592fa10 samples: drivers: audio: Add codec loopback sample.
Add audio loop back sample

Signed-off-by: Gang He <ganghe@sifli.com>
2026-01-11 13:03:33 +01:00
Gang He
a623bf1078 board: sifli: sf32lb62_devkit_lcd: Add audio codec
Add audio codec in board device tree, including PA control pin.

Signed-off-by: Gang He <ganghe@sifli.com>
2026-01-11 13:03:33 +01:00
Gang He
817d1b7118 drivers: audio: sf32lb52x: Add audio codec driver
audio playback and capure, extend API in codec.h

Signed-off-by: Gang He <ganghe@sifli.com>
2026-01-11 13:03:33 +01:00
Gang He
cbe9396b50 include: zephyr: audio: Update audio codec interface
Support audio device that has both input and output function.

Signed-off-by: Gang He <ganghe@sifli.com>
2026-01-11 13:03:33 +01:00
Gang He
a9fed9aa66 dts: Add audio codec device tree info for sf32lb52x
Add audio codec device tree information for sf32lb52x.dtsi

Signed-off-by: Gang He <ganghe@sifli.com>
2026-01-11 13:03:33 +01:00
Gang He
e724188a6f drivers: dma: Add half complete callback for SF32LB chipset
Add callback of half complete in DMA processing, Fix DMA size bug.

Signed-off-by: Gang He <ganghe@sifli.com>
2026-01-11 13:03:33 +01:00
Gang He
4d2af2647e west.yml: hal_sifli: Update to latest revision
- Add support to compile with no LCPU patch as CI do not fetch blobs.

Signed-off-by: Gang He <ganghe@sifli.com>
2026-01-11 13:03:33 +01:00
Benjamin Cabé
a989118dba MAINTAINERS: update Zephyr 4.4 release engineers
Make Zephyr 4.4 release engineers maintainers of release notes and
migration guide for the time being.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-09 17:13:11 -06:00
McAtee Maxwell
88a3b35fcc tests: update pwm test overlay for kit_pse84_eval device
- Change the pwm periods for kit_pse84_eval in the pwm_gpio_loopback

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2026-01-09 17:12:57 -06:00
Sam Friedman
6383a7222b tests: net: coap_client: allow native_sim/native/64
Fix build failures when compiling for 64-bit native_sim,
and add native_sim/native/64 to the platform allow list for
the coap client tests.

Signed-off-by: Sam Friedman <sam@golioth.io>
2026-01-09 17:12:31 -06:00
Pete Johanson
9dc8161870 drivers: sensor: Add missing get_size_info to ADXL362 decoder
Properly report size info for the ADXL362 decoder for streaming data
properly from that sensor.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-01-09 17:12:08 -06:00
Ben Levinsky
353bd994c2 doc: release-notes/4.4: Add release note for IPM
Add release notes for IPM driver noting ipm_mbox driver issue

Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
2026-01-09 17:11:44 -06:00
Ben Levinsky
a206401647 drivers: ipm: ipm_mbox: handle mailbox notifications without payload
Some mailbox backends may deliver notifications without an associated
data payload. This can occur when the mailbox is used as a signal-only
mechanism, where struct mbox_msg is NULL, data is NULL, or size is zero.

The IPM mailbox callback currently assumes a valid data payload and
unconditionally dereferences data->data, which can lead to a NULL
pointer dereference for such mailbox implementations.

Update the IPM mailbox callback to tolerate empty mailbox messages and
invoke the IPM callback with a NULL payload pointer when no data is
present. This preserves notification semantics while preventing
runtime faults.

Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
2026-01-09 17:11:44 -06:00
Elmo Lan
cb82c96dbb drivers: i2c_dw: recovery i2c bus after when user abort
When the transfer timeout and driver set user abort,
we need go recovery flow to make sure bus recovery and reg recovery.

Signed-off-by: Elmo Lan <elmo_lan@realtek.com>
2026-01-09 17:10:38 -06:00
Afonso Oliveira
d7ccfc929d arch: riscv: guard CSR access macros and helpers from asm
The csr_*() macros and Smcsrind indirect CSR access helpers in csr.h
are C-only constructs using GNU C statement expressions, but csr.h is
also included from assembly sources when building with -D_ASMLANGUAGE.

Guard all C-only macros and functions so they are not seen by the
assembler, leaving only the numeric CSR definitions in the common
(ASM+C) section.

Signed-off-by: Afonso Oliveira <afonsoo@synopsys.com>
2026-01-09 17:10:08 -06:00
Ederson de Souza
e76a584fc9 samples: tfm_integration: tfm_secure_partition: Add test for SFN backend
With SFN support in the sample back, let's test it.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2026-01-09 17:08:56 -06:00
Ederson de Souza
e53da36164 samples: tfm_integration: tfm_secure_partition: Support SFN backend
When support for old "Library model" was removed, support for the new
Secure Function (SFN) model - the FF-M 1.1 spec that succeded the "Library
model" - wasn't implemented. This patch adds it.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2026-01-09 17:08:56 -06:00
Lauren Murphy
ce558ecdc3 boards: intel_adsp: add ram tags
Adds RAM tags to select Intel ADSP platforms with the
primary goal of getting LLEXT subsys tests to run.

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2026-01-09 17:08:24 -06:00
Lauren Murphy
e593b9f03a tests: subsys: llext: intel_adsp runtime fixes
Add a Kconfig option for the test to put extensions in .text.
This is useful for platforms for which the linker places .data
in memory unsuitable for instruction execution, such as
Intel ADSP's uncached memory.

The theoretical alternative to support Intel ADSP is to add a
platform-specific INSTR_FETCHABLE macro and platform-specific
heap definition (placing the heap into .rodata) into llext so
that the llext loader can copy text into an executable heap, but
per a comment at llext_link's llext_link_plt, Xtensa llext's PLT
linking is not valid when not performed inline in the ELF buffer.
This is because it uses offsets from the text in the ELF buffer
and assumes the text section's position relative to the other
sections has not changed during loading. If one or more sections,
particularly text, are loaded onto the heap, the relocation
addresses calculated by the linker will not land in the correct
memory region.

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2026-01-09 17:08:24 -06:00
Lauren Murphy
d01a2bc5a5 tests: subsys: llext: intel_adsp build fixes
Adds board overlays for Intel ADSP platforms to use
CONFIG_LLEXT_TYPE_ELF_RELOCATABLE instead of SHAREDLIB
as xt-clang cannot link shared libs for Xtensa, exports
symbols used by Intel ADSP with Xtensa toolchain, and
adds XTENSA MPU / MMU to "no memory protection" config file.

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2026-01-09 17:08:24 -06:00
Pisit Sawangvonganan
b6f28127bd drivers: can: mcan: consolidate filter_id bounds checking
Consolidate lower and upper bounds checking of `filter_id`
at `can_mcan_remove_rx_filter` function entry to avoid checking
upper bounds while holding the mutex.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2026-01-09 14:29:10 -06:00
Pisit Sawangvonganan
4f71ba0918 drivers: dma: stm32u5: consolidate callback in dma_stm32_irq_handler
Refactor IRQ handler to set status variable in each branch and invoke
the callback once at the end, reducing code duplication.

Add null check for `dma_callback` in dma_stm32u5.c to match with
dma_stm32.c pattern.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2026-01-09 14:28:41 -06:00
Pisit Sawangvonganan
fad7535db9 drivers: dma: stm32: consolidate callback in dma_stm32_irq_handler
Refactor IRQ handler to set status variable in each branch and invoke
the callback once at the end, reducing code duplication.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2026-01-09 14:28:41 -06:00
Håkon Amundsen
84120f91f0 soc: nordic: disable cache for event report
The data is updated by both local domains (cpuapp/cpuapp) and
IronSide SE (cpusec), so disable caching to avoid coherency issues.

Signed-off-by: Håkon Amundsen <haakon.amundsen@nordicsemi.no>
2026-01-09 14:28:10 -06:00
Mathieu Choplain
ce582dbf9e boards: st: stm32n6-based: enable TRNG
The TRNG needs to be enabled at boards level by default for tests. It will
not actually be used unless the ENTROPY_GENERATOR subsystem is enabled.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-09 14:27:38 -06:00
Mathieu Choplain
a78fc02c51 tests: drivers: entropy_api: remove STM32WB0 overlays that aren't needed
"/chosen/zephyr,entropy" is already set at root DTSI level, and the RNG is
already enabled at board DTS level.

Remove the now unneeded overlays for these boards.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-09 14:27:38 -06:00
Mathieu Choplain
68fd8b930e boards: st: nucleo_wb0*: don't set /chosen/zephyr,entropy
This chosen is now set inside the series' root DTSI file.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-09 14:27:38 -06:00
Mathieu Choplain
59ca598bf8 dts: arm: st: set zephyr,entropy in root DTSI for all series
All series set the "zephyr,entropy" chosen to the internal TRNG by default
inside their root DTSI except STM32N6 and STM32WB0.

Align these two series with others by declaring "/chosen/zephyr,entropy" in
their root DTSI as well.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-09 14:27:38 -06:00
Vincent Tardy
8bb85a6cbd drivers: bluetooth: hci: support driver close feature
Update stm32wbax ble hci driver to support driver close

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-01-09 14:27:00 -06:00
Vincent Tardy
e2e780aae0 soc: stm32: add link layer disable isr function
Add new function link_layer_disable_isr() to disable
radio ISR

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-01-09 14:27:00 -06:00
Gaétan Froissard
9dbc6450b4 soc: st: stm32: h7rsxx: Add MPU region on OTP area
This configure MPU region over OTP area like ID region.
OTP can be directly read and need to use flash HAL API for writing.

Signed-off-by: Gaétan Froissard <gaetan.froissard@marshmallow.kids>
2026-01-09 14:26:07 -06:00
Vijay Sharma
83f1b8ba49 kernel: timer: Add timer observer hooks for extensibility
Introduce lifecycle observer callbacks (init, start, stop, expiry)
for k_timer using Zephyr's iterable sections pattern. This enables
external modules to extend timer functionality without modifying
kernel internals.

Signed-off-by: Vijay Sharma <vijshar@qti.qualcomm.com>
2026-01-09 14:25:31 -06:00
Jamie McCrae
d94ed7b316 lib: os: Fix ZVFS leaking without being enabled
Fixes this define leaking into all application source files when
the feature is not even enabled

Co-authored-by: Chris Friedt <cfriedt@tenstorrent.com>
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-09 14:23:25 -06:00
Lauren Murphy
69ce125083 twister, west: test extra_conf_files arg to EXTRA_CONF_FILE
The extra_conf_files arg in testcase.yaml was being improperly
assigned to the CONF_FILE CMake arg, which caused
configuration_files.cmake to ignore soc and board Kconfig overlays.

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2026-01-09 14:22:41 -06:00
Tomasz Leman
32df237145 tests: intel_adsp: update smoke IPC tests for new backend
This patch updates the intel_adsp smoke tests to use the new host IPC
backend data model and APIs.

The host IPC smoke test now treats messages as a fixed two-word uint32_t
payload instead of using struct intel_adsp_ipc_msg and the
INTEL_ADSP_IPC_CB_* message types. The receive callback validates the
payload length and pointer, checks the header/payload values against the
expected RETURN_MSG_* constants, and sets msg_flag on receipt. The
test-specific intel_adsp_ipc_send_message() and
intel_adsp_ipc_send_message_sync() helpers are rewritten to send a
two-word payload via ipc_service_send(), and the synchronous helper
waits on the backend semaphore only when the send succeeds. A dedicated
done callback is registered via intel_adsp_ipc_set_done_handler() to
drive done_flag, and intel_adsp_ipc_complete() now completes RX by
calling ipc_service_release_rx_buffer() and asserting on failure.
Completion polling is aligned with the backend by using
ipc_service_get_tx_buffer_size().

The clock calibration smoke test is adapted in the same way. It now
includes the ipc_service and intel_adsp host IPC backend headers when
using the new interface, interprets incoming data as a two-word uint32_t
payload, validates the length and pointer, and stores the returned
timestamp from the extended payload word into the endpoint private data.
The rest of the test flow, including endpoint registration, timestamp
requests and clock rate checks, remains unchanged but runs on top of the
new IPC backend representation.

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
2026-01-09 14:21:41 -06:00
Tomasz Leman
5fae86c69c intel_adsp: document host IPC backend data model and send hook
This patch refreshes the documentation in the Intel Audio DSP host IPC
service backend to match the current data model and backend API
contracts.

The updated comments clarify that ipc_ept_cfg::priv must point to
intel_adsp_ipc_ept_priv_data so that the backend can carry state between
the ISR and the application callbacks. They also describe that both the
send and receive paths operate on a fixed two-word uint32_t IPC payload
(header and extended payload) rather than a generic byte buffer, and
that len must always be sizeof(uint32_t) * 2.

The documentation for intel_adsp_ipc_send() is rewritten to explain the
expected payload format, the length and NULL checks performed by the
backend, and how the function programs the IPC registers while relying
on ipc_send_message() for BUSY and TX acknowledgment handling. The
parameter semantics and error returns are aligned with the generic
ipc_service send() hook contract to make the backend behaviour easier to
understand and reuse.

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
2026-01-09 14:21:41 -06:00
Tomasz Leman
15fa6a374e ipc: intel_adsp: simplify host IPC service backend
Rework the Intel Audio DSP host IPC service backend to use the generic
ipc_service data/len conventions and the new critical send and buffer
management APIs.

Replace the backend-specific intel_adsp_ipc_msg and related enums with a
simple two-word payload passed through the standard ipc_service_send()
and ipc_service_send_critical() interfaces, and adapt the ISR and
receive callback to operate on this representation.

Use ipc_service_get_tx_buffer_size() as a readiness check for the host
channel and provide hold_rx_buffer() / release_rx_buffer()
implementations so ipc_service_release_rx_buffer() can be used to signal
when the channel becomes available again.

Wire the emergency send path through send_critical() to route urgent
messages via the backend's emergency fast path while keeping the normal
IPC flow unchanged.

Move the synchronous IPC wait logic out of the Intel Audio DSP host IPC
backend and into the common intel_adsp_ipc helper used by tests.

Update intel_adsp_ipc_send_message_sync() to both send the IPC message
through ipc_service_send() and wait on the backend semaphore, and remove
the now redundant ipc_send_message_sync() helper from the host IPC
backend.

Document that intel_adsp_ipc_send_message_sync() is a test-only helper,
not used by SOF firmware, and that it is a candidate for future removal
or for replacement by an explicit synchronous send primitive in the
generic IPC service API or in application code.

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
2026-01-09 14:21:41 -06:00
Tomasz Leman
4cf753bfb2 ipc_service: Add ipc_service_send_critical function
Add ipc_service_send_critical() as a dedicated API for sending critical
high-priority messages over an IPC endpoint.

Introduce an optional send_critical() callback in struct
ipc_service_backend so backends can implement a special fast path that
bypasses normal state and busy checks for critical notifications such as
crash reports or fatal errors.

The ipc_service_send_critical() wrapper mirrors ipc_service_send() on
the service side and delegates the actual behavior to the
backend-specific send_critical() implementation.

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
2026-01-09 14:21:41 -06:00
Realer Mason
358258c799 dtsi: espressif: add esp32s3_wroom_n32r16.dtsi
Add esp32s3_wroom_n32r16.dtsi for some espressif board

Signed-off-by: Realer Mason <stone-mason@dr.com>
2026-01-09 14:17:59 -06:00
Thomas Decker
6efbec10fb drivers: serial: uart_stm32: make ptr to clock device const
The pointer to the clock device can be const, as it does never change at
runtime. This moves the const struct device *clock from data to config
struct and initializes it inside the init macro. The __uart_stm32_get_clock
function is no longer needed and removed.

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2026-01-09 07:57:04 -06:00
Benjamin Cabé
901d21e454 scripts: schemas: make full_name a required property for boards
When initially introduced, the property was kept optional in an attempt
to not risk disrupting downstream users by introducing a required property
they wouldn't necessarily care about. In practice, this is causing
boards contributed upstream to sometimes miss this propery which is
important for boards to show up nicely in the boards catalog, and it is
therefore being made required.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-09 07:56:40 -06:00
Benjamin Cabé
9822ca54ec boards: unit_testing: add full_name to unit_testing board
add full_name to unit_testing in board.yml

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-09 07:56:40 -06:00
Benjamin Cabé
55883e4b59 boards: realtek: add missing full_name to realtek boards
add full_name for realtek boards in board.yml

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-09 07:56:40 -06:00
Benjamin Cabé
872e66be26 boards: openhwgroup: add missing full_name to openhwgroup boards
add full_name for openhwgroup boards in board.yml

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-09 07:56:40 -06:00
Benjamin Cabé
da229a08e0 boards: mediatek: add missing full_name to mediatek boards
add full_name for mediatek boards in board.yml

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-09 07:56:40 -06:00
Benjamin Cabé
1523c5913c boards: intel: add full_name to intel_wcl_crb
add full_name for this board in board.yml

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-09 07:56:40 -06:00
Jiafei Pan
db0a748a7a drivers: counter: gpt: remove unused variable
"clock_name_t clock_source" is not used by the driver, so remove it.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-01-09 07:55:58 -06:00
Sandro Scherer
7c97becb3e drivers: ethernet: lan865x: fix seed for random backoff
To activate changes in mac address registers
the top register has to be written

Signed-off-by: Sandro Scherer <sandro.scherer@siemens.com>
2026-01-09 07:55:37 -06:00
Fin Maaß
6915d2f591 soc: litex: deprecate 8 bit CSR data width
5 years ago LiteX switched to 32 bit csr data width,
while the option is still available in litex, it doesn't really
work there, even if it can be build, the bios f.e. won't boot.
already described in https://github.com/enjoy-digital/litex/issues/1062

So it is currently only here for designs, that are older than
5 years and for fpgas, where also the fpga bitstream can be updated
it is time to remove the support and require the users, when they wan't
to update zephyr, that they also have to update their fpga bitstream.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-09 07:55:12 -06:00
Fabrice DJIATSA
a289e607d4 tests: drivers: disk: disk_access: relax out-of-bounds erase assertion
The sector erase tests previously asserted for a specific -EINVAL return
code when attempting to erase past the end of the disk. This is too strict
for drivers that report a generic I/O error (-EIO) in such situations,
e.g. the STM32 SDMMC driver, which maps HAL failures to -EIO without
inspecting the precise root cause.

We can also note that the same logic was used in test_sector_write() and
test_sector_read().

This change avoids spurious test failures with targets that legitimately
return non-zero errors other than -EINVAL.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-09 13:09:47 +01:00
Krzysztof Chruściński
48978f876e samples: boards: nordic: coresight_stm: Add RTT configuration
Add sample configuration that uses RTT backend for STM logging.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-01-09 13:09:04 +01:00
Krzysztof Chruściński
3adbf25dff drivers: debug: nrf_etr: Add support for RTT backend
Add option to output STM logging on RTT.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-01-09 13:09:04 +01:00
Krzysztof Chruściński
98749eb58a soc: nordic: nrf54h: Enable use of RTT on cpuapp
RTT need to use RAM which is not cacheable as RTT does not support
data cache. Using cpuapp TCM RAM memory section for RTT.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-01-09 13:09:04 +01:00
Yunjie Ye
cfb6e15040 drivers: video: ov2640: Fixing the issue of the reset pin for OV2640.
The dt binding file requires the reset pin to be configured
as `GPIO_ACTIVE_LOW`, but the driver uses the
logic of `GPIO_ACTIVE_HIGH`.
Therefore, modify the logic in the driver and add a
migration guide.

Signed-off-by: Yunjie Ye <yun_small@163.com>
2026-01-09 13:08:48 +01:00
Yunjie Ye
7b93c32bd1 drivers: video: ov2640: Running clang-format on ov2640.c file
Using clangd to format ov2640.c file, which is not compatible with
existing .clang-format file.

Signed-off-by: Yunjie Ye <yun_small@163.com>
2026-01-09 13:08:48 +01:00
Yunjie Ye
9a5d96e4e0 drivers: video: ov2640: Add pwdn pin support on ov2640.
Add handling for the power-down (pwdn) pin of the OV2640 sensor.

Signed-off-by: Yunjie Ye <yun_small@163.com>
2026-01-09 13:08:48 +01:00
Fabin V Martin
1c2af3a0d6 tests: drivers: uart: Add conf files
Added config files for selecting DMA for the tests.

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2026-01-09 10:41:23 +01:00
Fabin V Martin
67ddf8db30 drivers: uart: microchip: sercom g1: DMA selection for async mode
Allow user to select DMA in the application.

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2026-01-09 10:41:23 +01:00
Muhammad Waleed Badar
4e52bad129 boards: rpi_4b: remove empty file from raspberry pi 4 board
Remove empty files from the Raspberry Pi 4 Model B board
directory. These files does not contain any configuration
or build logic.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-01-09 10:40:36 +01:00
Muhammad Waleed Badar
0574f75fc4 boards: rpi_4b: update compatible in root node to use bcm2711
The BCM2711 is the SoC used on the Raspberry Pi 4 boards.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-01-09 10:40:36 +01:00
Gaetan Perrot
f80975d025 drivers: audio: dmic_nrfx_pdm: fix error propagation
The error code returned when nrfx_pdm_start() fails is supposed to
be propagated to the caller.

This was broken by commit 16b9f60, which overwrote the original
error with the result of release_clock(), potentially returning
success even though the PDM start failed.

Restore the correct error propagation.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-09 10:39:57 +01:00
Jisheng Zhang
23dfe86f4a arch: arm64: remove ARM64_EXCEPTION_STACK_TRACE
After commit 02770ad963 ("debug: EXCEPTION_STACK_TRACE should depend
on arch Kconfigs"), the ARM64_EXCEPTION_STACK_TRACE isn't used any more,
remove it.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
2026-01-09 10:39:41 +01:00
Derek Snell
1d4be6f702 boards: shields: lcd_par_s035: fix touchscreen orientation
Fixes orientation after d4ec3fef5e update

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2026-01-09 10:39:28 +01:00
Zafer SEN
a959429ff2 doc: hl78xx: add auto-baudrate detection and switching docs
Add detailed documentation for the HL78xx auto-baudrate feature,
including:

- auto_baudrate_detailed_readme.md: full description, use cases,
  configuration options, and troubleshooting
- auto_baudrate_quick_reference.md: concise reference for presets, Kconfig
  options, and supported baud rates

Covers:
- Feature overview and implementation details
- Supported baud rates and Kconfig options
- State machine integration
- Troubleshooting guidance
- Performance and optimization tips
- Integration examples

This improves usability and provides a quick reference for developers
working with the HL78xx modem in Zephyr projects.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-01-09 10:38:39 +01:00
Zafer SEN
22d4c66676 samples: modem: hello_hl78xx: add auto-baud support and log current baud
Enable HL78XX modem auto-baudrate detection and switching in the sample
application. Set 921600 bps as the target baudrate with fallback options
(9600, 115200, 57600, 38400, 19200). Also read and log the current baudrate
from the modem during startup.

This helps verify and debug communication speed mismatches between the
modem and the device UART.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-01-09 10:38:39 +01:00
Zafer SEN
c64ae3b936 samples: modem: hello_hl78xx: select RSSI or RSRP based on RAT mode
The sample previously always queried RSRP, which is not valid when the
HL78xx operates in GSM mode. Use RSSI when GSM RAT is active and RSRP
for other RATs. Update the log output and rename the variable for
clarity.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-01-09 10:38:39 +01:00
Zafer SEN
5ed6ed5215 samples: modem: hello_hl78xx: demonstrate AirVantage FOTA API
Add support for handling AirVantage WDSI indications in the sample
application. FOTA update progress, download requests, and completion
events are processed and coordinated using a new semaphore. The sample
can restart its connection workflow after a successful firmware update.

Additional updates include:
- add serial number retrieval and logging
- add fota_complete_rerun semaphore and status tracking
- simplify debug logging in event listener and OK handler
- reorganize main loop to support FOTA-triggered reruns

This aligns the sample with the modem driver's expanded AirVantage and
WDSI support.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-01-09 10:38:39 +01:00
Zafer SEN
f26880b213 samples: modem: hello_hl78xx: remove POSIX API dependency
The sample no longer requires the POSIX API layer, so the
CONFIG_POSIX_API option is removed from prj.conf. The code is updated to
use the native zsock_* APIs instead of the POSIX getaddrinfo(),
inet_ntop(), and freeaddrinfo() variants.

This aligns the sample with Zephyr’s preferred socket API and avoids
pulling in unnecessary POSIX compatibility layers.

No functional behavior is changed.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-01-09 10:38:39 +01:00
Zafer SEN
0ffe90c233 samples: modem: hello_hl78xx: restructure prj.conf and verbose overlay
Reorganize the sample configuration files for clarity and easier
maintenance. This introduces grouped sections with descriptive comments
and improves consistency between prj.conf and the verbose-logging
overlay.

Main updates:
* Add structured headers for system, UART, networking, modem, RAT,
  AirVantage, shell, and logging settings
* Expand verbose overlay with clearer purpose, build notes, and grouped
  modem logging options
* Improve readability by aligning comments and collecting related
  options
* No functional behavior is changed; this is a documentation and
  structure improvement

These changes make the sample configuration easier to understand and
simplify future maintenance.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-01-09 10:38:39 +01:00
Zafer SEN
9e2bdfb09c drivers: modem: hl78xx: add optional auto-baudrate detection and switching
This adds an optional auto-baudrate mechanism that improves robustness
when the modem boots with an unknown or changed UART speed.

Key additions:
* New Kconfig option MODEM_HL78XX_AUTO_BAUDRATE and related settings:
  - selectable target baud rate
  - detection baudrate list
  - detection timeout and retry count
  - option to persist AT+IPR updates
  - option to start diagnostics or boot directly with auto-baud logic
* UART status tracking added to hl78xx_data, including current and target
  baud rates
* New HL78XX_MODEM_INFO_CURRENT_BAUD_RATE info field
* New MODEM_HL78XX_STATE_SET_BAUDRATE state with detection and switching
  logic
* Chat, init, and diagnostic handlers updated to route failures into the
  auto-baudrate logic when enabled
* New helpers: hl78xx_get_uart_config(), hl78xx_try_baudrate(),
  hl78xx_detect_current_baudrate(), hl78xx_switch_baudrate()
* Startup delay increased when auto-baudrate-at-boot is enabled

These changes allow the driver to recover from unexpected modem UART rate
changes and keep the UART configuration synchronized with the modem.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-01-09 10:38:39 +01:00
Zafer SEN
6a402b8659 drivers: modem: hl78xx: add AT command timeout event and handlers
Add MODEM_HL78XX_EVENT_AT_CMD_TIMEOUT event to distinguish chat scripts
timeouts from other script failures. The chat callback now maps
MODEM_CHAT_SCRIPT_RESULT_TIMEOUT to this new event.

Update state handlers so AT command timeouts trigger the init fail
diagnostic script during startup, and fall back to the power-on pulse in
the init-fail state, similar to existing timeout handling.

This improves error classification and enables more accurate recovery
logic for long-running or stalled AT command exchanges.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-01-09 10:38:39 +01:00
Zafer SEN
53f3e0c5a0 drivers: modem: hl78xx: support per-command timeout in send API
Extend modem_dynamic_cmd_send() with a response_timeout parameter to allow
callers to specify the overall script timeout per command. The previously
hardcoded 1000 ms timeout is removed (set to 0 in params) and the script
timeout is now driven by the passed-in value.

Update all internal call sites to provide MDM_CMD_TIMEOUT (in seconds) and
increase the default command timeout from 10 s to 40 s. Several chat
scripts and configuration paths are updated accordingly.

This improves reliability for long-running HL78xx operations and ensures
consistent timeout handling across sockets, RAT/band configuration, APN
setup, PDP activation, AirVantage DM session control, and TLS/TCP/UDP
socket management.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-01-09 10:38:39 +01:00
Zafer SEN
1179ed63d5 drivers: modem: hl78xx: add ERROR handling and unify OK match usage
Extend socket-related chat match tables to handle generic "ERROR" responses
for both CONNECT and +KUDP_IND URCs, improving detection of failed socket
creation and connection attempts.

While updating match handling, unify all modem commands to use the standard
OK match set by adding hl78xx_get_ok_match_size(). All remaining users of
the former sockets-specific OK match are switched to the unified helpers.

Additionally, all dynamic command send paths now provide an explicit match
count and use MDM_CMD_TIMEOUT instead of the previous hard-coded `1` for
script timeout, improving consistency and reliability across:
* RAT configuration
* band configuration
* APN setup
* GSM PDP activation
* AirVantage DM session control
* socket send and TLS configuration paths

This brings all command execution onto the same match/timeout model and
ensures ERROR responses are handled correctly during socket operations.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-01-09 10:38:39 +01:00
Woobin Song
028abf54ba drivers: gpio: tca6424a: fix race condition in port_get_raw()
Avoid overwriting cached input state while ISR-deferred work is pending.
Previously, port_get_raw() updated pins_state.input via
update_input_regs(), which could corrupt previous_state used for
transition detection.
Fix by reading input registers directly without updating the global cache.

Signed-off-by: Woobin Song <woobin.song@assaabloy.com>
2026-01-09 10:37:29 +01:00
Benjamin Klaric
c9e934cfdd boards: st: stm32h7s78_dk: add Ethernet support
Add Ethernet configuration for mac and mdio nodes in
stm32h78_dk-common.dtsi.

Disable mac node in .overlay files for tests/drivers/memc/ram
since ethernet drivers that get enabled by it consume sram1
node and thus fail the test.

Update the .yaml files to include Ethernet tag and
update documentation to explain Ethernet usage.

Signed-off-by: Benjamin Klaric <benjamin.klaric01@gmail.com>
2026-01-09 10:37:13 +01:00
Benedek Kupper
cdb7debfb7 drivers: dma: stm32: fix data sizes in memory to peripheral direction
This problem didn't surface earlier, as different sizes weren't permitted.

Signed-off-by: Benedek Kupper <kupper.benedek@gmail.com>
2026-01-08 17:35:24 -06:00
Tim Pambor
0c3027718b drivers: mdio: gpio: add clause 45 support
Add support for clause 45 MDIO transactions to the GPIO MDIO driver.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-01-08 17:34:45 -06:00
Peter Mitsis
669a8d0704 kernel: O(1) search for threads among CPUs
Instead of performing a linear search to determine if a given
thread is running on another CPU, or if it is marked as being
preempted by a metaIRQ on any CPU do this in O(1) time.

On SMP systems, Zephyr already tracks the CPU on which a thread
executes (or lasted executed). This information is leveraged to
do the search in O(1) time.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2026-01-08 17:34:14 -06:00
Emanuele Di Santo
a23cfc3f68 kernel: nothread: use k_timer to sleep instead of busy waiting
The current implementation of k_sleep(), when multi-threading
is disabled, busy waits using k_busy_wait() until the sleep timeout
has expired.

This patch aims to improve power efficiency of k_sleep() for
single-threaded applications by starting a timer (k_timer) and idling
the CPU until the timer interrupt wakes it up, thus avoiding
busy-looping.

Signed-off-by: Emanuele Di Santo <emdi@nordicsemi.no>
2026-01-08 17:33:28 -06:00
Bjarki Arge Andreasen
6e4ef44847 kernel: poll: patch recursive lock in z_vrfy_k_poll
In z_vrfy_k_poll, there is a memory access check
K_SYSCALL_MEMORY_WRITE which is wrapped in a spinlock, the same
spinlock used in z_handle_obj_poll_events which is called from
k_sem_give() for example.

The K_SYSCALL_MEMORY_WRITE() macro conditionally calls LOG_ERR()
which may call the UART console, which may call an API like
k_sem_give(). This will cause a deadlock since the locked spinlock
will be relocked, and a recursive lock if SPINLOCK_VALIDATE and
ASSERTS are enabled as the validation will fail, causing a LOG_ERR,
causing a k_sem_give() causing a relock... until stack overflows.

To solve the issue, only protect the copy of events to events_copy
with the spinlock, the content of events is not actually checked, and
bound is not shared, so there is no need to do this validation in a
critical section. The contents of events is shared so that must be
copied in atomically.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-01-08 17:32:35 -06:00
Ian Morris
ce526f2e16 boards: shields: Renamed Renesas us159 da14531evz board photograph
Reneamed photograph of Renesas US159 DA14531EVZ board to match
convention documented in the Board Porting Guide (resolving issue
with old image not appearing in list of supported boards on Zephyr
website).

Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
2026-01-08 17:31:48 -06:00
Henrik Brix Andersen
b6f601a2b4 boards: nxp: frdm_mcxn947: list usbd as supported feature
List USB device controller as a supported feature in order to increase test
coverage.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-01-08 21:18:53 +01:00
Amneesh Singh
70ca335986 drivers: intc: vim: disable all interrupts at init
Disable all interrupts when the VIM interrupt controller is initialized so
that it doesn't encounter any stray interrupts that were not enabled on
Zephyr.

Signed-off-by: Amneesh Singh <amneesh@ti.com>
2026-01-08 21:18:38 +01:00
Amneesh Singh
8b310cf824 drivers: intc: vim: fix header macros
BIT_MASK(32) cannot do (1 << 32) - 1 without causing integer overflow.
Hence, for these macros BIT64_MASK(32) is required.

Additionally, remove the unnecessary (and presently unused) macros for the
register space. All of these can be reliably derived from the present
register masks.

Signed-off-by: Amneesh Singh <amneesh@ti.com>
2026-01-08 21:18:38 +01:00
Khai Cao
2d5b720b62 drivers: can: Fix macro typo in CAN_RENESAS_RA_INIT
Fix macro parameter typo (##inst → ##index) in CAN_RENESAS_RA_INIT
to ensure unique IRQ configure function names per instance.

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-01-08 19:17:55 +01:00
Wilfried Chauveau
27fdf98638 cmake: package_helper: Remove an empty elseif
Cmake complains about this.

Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
2026-01-08 19:16:40 +01:00
Zhaoxiang Jin
732adf7865 soc: nxp: mcxn: Add OSTIMER support and refine system timer selection
Add MCUX_OS_TIMER configuration with CPU_FREQ-based default selection.
Update CORTEX_M_SYSTICK to be disabled when either LPTMR or OSTIMER
is selected as the system timer, ensuring only one timer is active.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-08 19:16:25 +01:00
Zhaoxiang Jin
790598e642 soc: nxp: mcxn: Remove redundant code
MCUX_LPTMR_TIMER is default to n, no need to set it again.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-08 19:16:25 +01:00
Zhaoxiang Jin
552004f3d1 boards: nxp: frdm_mcxn236: enable ostimer in dts
The MCXN236 can use ostimer as the kernel timer.
We enable it in the dts, and which specific timer
to use as the system timer can be controlled through
Kconfig option based on application requirements.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-08 19:16:25 +01:00
Muhammad Waleed Badar
fc2b697a77 boards: xunlong: add orangepi zero initial support
Add initial board support for the Xunlong Orange Pi Zero,
single-board computer based on the Allwinner H2+/H3 SoC.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-01-08 19:16:01 +01:00
Muhammad Waleed Badar
15a90b7783 soc: allwinner: add sun8i h3 soc support
Add initial support for the Allwinner H3 SoC, commonly
found in development boards like the Orange Pi series.

This commit introduces the intial SoC support files:
 - Basic Kconfig configuration and SoC definition
 - MMU region setup for memory management
 - SoC-specific headers and device tree source include

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-01-08 19:16:01 +01:00
Henrik Brix Andersen
0983eb3862 drivers: can: nxp: mcan: enable external timestamp counter support
Enable support for configuring and enabling the external timestamp counter
of the NXP LPC MCAN.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-01-08 19:15:29 +01:00
Henrik Brix Andersen
392e816ef0 drivers: can: mcan: add support for configuring internal timestamp counter
Add support for configuring and enabling the internal timestamp counter of
the Bosch M_CAN IP core.

Frontend drivers can overwrite this configuration for using a SoC-specific,
external timestamp counter.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-01-08 19:15:29 +01:00
Simon Maurer
50cfa1a5dd drivers: i2c: cdns: Clear hold flag on last data interrupt
Clear the hold flag during the final data interrupt; otherwise the
Transfer Complete interrupt is never asserted.

Signed-off-by: Simon Maurer <mail@maurer.systems>
2026-01-08 19:15:12 +01:00
Simon Maurer
39bfa1126a drivers: i2c: cdns: switch over to DEVICE_MMIO API
Switch the Cadence I2C device driver over to the use of the
DEVICE_MMIO_... macros instead of just using the physical base
address from the device tree.

Signed-off-by: Simon Maurer <mail@maurer.systems>
2026-01-08 19:15:12 +01:00
Simon Maurer
ed1520016b drivers: i2c: cdns: run clang-format
Run clang-format on drivers/i2c/i2c_cdns.c.

Signed-off-by: Simon Maurer <mail@maurer.systems>
2026-01-08 19:15:12 +01:00
Jonas Berg
9334cedb3d boards: Add support for Cytron Maker Nano RP2040
Tested with the commands in index.rst

Product photo from
https://github.com/CytronTechnologies/MAKER-NANO-RP2040/
blob/main/MAKER-NANO-RP2040-Image.PNG

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-08 08:33:32 -05:00
Marek Slowinski
1db1e69250 mpfs_icicle: Add renode overlay to cmsis_rtos_v1.philosopher tests
Tune quantum parameter for selected kernel tests
targeting mpfs_icicle platform.

Those tests require higher fidelity of the virtual
time flow which is achievable on multi-core platforms
in Renode by reducing the quantum.

Increase time resolution to 10us (default is 100us).
It is a maximum drift of the virtual time between
simulated processors in SMP configuration.

Signed-off-by: Marek Slowinski <mslowinski@antmicro.com>
2026-01-08 08:33:23 -05:00
Marek Slowinski
710ad5c4d8 boards: mpfs_icicle: add renode simulation support
Add Renode simulation support for `mpfs_icicle`.

Signed-off-by: Marek Slowinski <mslowinski@antmicro.com>
2026-01-08 08:33:23 -05:00
Juliusz Sosinowicz
3f04069069 drivers: entropy: virtio: use bounce buffer for virtio entropy driver
The device is not able to place the entropy into stack or heap allocated
buffers. This uses a bounce buffer to be able to use any buffer with
virtio entropy.

Signed-off-by: Juliusz Sosinowicz <juliusz@wolfssl.com>
2026-01-08 08:33:05 -05:00
Daniel Leung
d334130d5d soc: intel_adsp/ace: skip building arch reset vector
This disables the kconfigs to build the reset vector and crt1
startup code from the architecture layer as ACE has its own
rom_entry() as entry point.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2026-01-08 08:32:24 -05:00
Marco Casaroli
efc344bef0 test: eventfd: add test for close while read
When an eventfd is closed, while we are blocked in a read() call, the
close() call should succeed and read should return error.

Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-01-08 08:31:56 -05:00
Marco Casaroli
a78db0f8a9 posix: eventfd: ignore k_condvar_broadcast result
k_condvar_broadcast does not error. It returns the number of
woken threads on success. We should not assert any value.

Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-01-08 08:31:56 -05:00
Marco Casaroli
aa607f9b0a posix: eventfd: fix deadlock with POSIX API
When eventfd is used through read(2) and write(2), the mutex is
already locked from the fdtable implementation. So we remove the
usage of the mutex from the zvfs_eventfd_*_op functions, as it is
already managed by fdtable.

However, when zvfs_eventfd_{read,write} are used, no fdtable layer
is used and we shuld call the _op function with the mutex locked
(the same behavior as with fdtable), so these functions should
manage the mutex. We add it there.

Fixes #99234

Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-01-08 08:31:56 -05:00
Marco Casaroli
48ab80061b tests: eventfd: posix read interface
The eventfd API should work with the standard POSIX read/write
functions with the same behavior as the non-standard
eventfd_read/write API.

We add the tests for these interfaces.

Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-01-08 08:31:56 -05:00
Luca Burelli
060dd3b486 boards: arduino: fix long startup time with WIFI enabled
The default SDHC 'power-delay-ms' is 500 ms, which is unnecessarily long
and causes the boot time to increase by over 5 seconds on H7 boards with
the Murata Wi-Fi card (GIGA R1, Nicla Vision, Portenta H7).

Shortening this delay to 50 ms greatly improves boot time while keeping
compatibility with the controller spec.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2026-01-08 12:01:08 +00:00
Hau Ho
c4c919e6cd tests: drivers: adc: Add overlay file for FPB-RX261 board
Add overlay file for FPB-RX261 board

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-08 12:00:49 +00:00
Hau Ho
41079453fc tests: drivers: adc: Add overlay file for EK-RX261 board
Add overlay file for EK-RX261 board

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-08 12:00:49 +00:00
Hau Ho
9f0aa01333 boards: renesas: Add ADC support for FPB-RX261 board
Add ADC support for FPB-RX261 board

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-08 12:00:49 +00:00
Hau Ho
de115f5242 boards: renesas: Add ADC support for EK-RX261 board
Add ADC support for EK-RX261 board

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-08 12:00:49 +00:00
Hau Ho
d2f0799246 dts: renesas: rx: Add dts property node for ADC support on RX261
Add dts property node for ADC support on RX261

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-08 12:00:49 +00:00
Thinh Le Cong
36c5d6646d testsuite: include: zephyr: Add missing mappings for pragmas and recursion
Add missing TOOLCHAIN_WARNING_* definitions for the IAR toolchain:
- subsys/testsuite/include/zephyr/test_toolchain.h
- subsys/testsuite/include/zephyr/test_toolchain/iar.h

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2026-01-08 12:00:29 +00:00
Thinh Le Cong
15cdf90bee include: zephyr: toolchain: suppress Go004 warning for inline functions
IAR compiler may emit Error[Go004]: Could not inline function
when handling functions marked as always_inline or inline=forced,
especially in complex kernel code

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2026-01-08 12:00:29 +00:00
Thinh Le Cong
b170738d9f testsuite: include: zephyr: add stub for timestamp inline on IAR builds
Add a minimal implementation of test_asm_inline_other.h to support
non-GNUC toolchains (e.g. IAR) during kernel benchmark tests

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2026-01-08 12:00:29 +00:00
Thinh Le Cong
b90df06299 cmake: compiler: iar: skip GCC-specific lib detection
Avoid calling flag print-liggcc-file-name when using IAR

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2026-01-08 12:00:29 +00:00
Thinh Le Cong
ffc8575e8a debug: fix IAR build due to alias type mismatch in thread_info.c
Fix IAR compiler error Pe1153 caused by mismatched alias type between
_kernel_openocd_offsets and _kernel_thread_info_offsets.

The alias now uses [] to match the array type. No functional change.

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2026-01-08 12:00:29 +00:00
Fabrice DJIATSA
955f376078 drivers: flash: stm32 ospi: use OPI erase opcode in correct mode
The commit c42c8a4da4 (do not invalidate bet at end of loop")
correctly restored the best erase type (bet) selection logic
based on SFDP/JESD216 erase types.
However, this caused a regression
in Octal OPI mode: when bet != NULL, the driver started using bet->cmd
(a standard SPI 1-byte opcode) directly, which is not valid in OPI mode
where the controller expects OPI opcodes (2-byte OCMD).

When bet != NULL:
- In OPI mode, ignore bet->cmd and use the OPI sector erase
opcode SPI_NOR_OCMD_SE.
- In SPI/QPI modes, keep using bet->cmd as intended.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-08 11:59:49 +00:00
Nikhil Namjoshi
9151a32713 net: http: server: Enable HTTP1.0 request compatibility
Per RFC9112 (REF #1), HTTP/1.1 server is expected to be backward
compatible with HTTP1.0 request. Mainly HTTP/1.0 does
not support
1) Transfer Encoding : chunked
2) KeepAlives

So, this change will identify the HTTP protocol
version in the request and respond accordingly.

REF#
1) https://httpwg.org/specs/rfc9112.html

Tested:
1) Verified that HTTP/1.1 requests are served as usual
i.e. with chunked transfer encoding and the connection
is a Keep Alive connection

Query exits after 10s, indicating that the client connection to
the HTTP server is a Keep Alive.

```
time printf "GET /telem HTTP/1.1\r\nHost: 192.0.3.11\r\n\r\n" |
    nc 192.0.3.11 80

real    0m10.185s  <- Indicates connection was kept active for 10s
user    0m0.023s
sys     0m0.023s
```

`Transfer Encoding :  chunked` header and chunked encoding
metadata (chunk size hex bytes, crlf, termination byte 0)
are present in the response.

```
HTTP/1.1 200 OK
Transfer-Encoding: chunked <- Chunked encoding header
Content-Type: text/html

3e8 <- Chunk size hex bytes

:
/health/secondsdevice_ae:9a:22:48:0f:70"seconds0
+
/health/locatedevice_ae:9a:22:48:0f:70"0
/
/network/mac-addressdevice_ae:9a:22:48:0f:70"
.
.
.

3e8 <- Chunk size hex byte
_PLUS_rawdevice_ae:9a:22:48:0f:70"0
6
/dev/ISHARE_CBU_MINUS_rawdevice_ae:9a:22:48:0f:70"0
.
.
.
/dev/part_iddevice_ae:9a:22:48:0f:70"0���������
,
/dev/part_typedevice_ae:9a:22:48:0f:70"0
7
/dev/part_telemetry_disabledevice_ae:9a:22:48:0f:70"0
0 <- Termination Byte 0
```

2) Verfied that HTTP/1.0 requests are served with
response without chunked transfer encoding and the
connection is closed immediately.

Query exits immediately indicating the connection is closed immediately

```
time printf "GET /telem HTTP/1.0\r\nHost: 192.0.3.11\r\n\r\n" |
    nc 192.0.3.11 80

real    0m0.186s <- Indicates connection was terminated immediately.
user    0m0.018s
sys     0m0.030s

```

`Transfer Encoding : chunked` header and chunked encoding
metadata (chunk size hex bytes, crlf) not present in the
response

```
HTTP/1.1 200 OK
Content-Type: text/html

:
/health/uptimedevice_ae:9a:22:48:0f:70"seconds0
+
/health/locatedevice_ae:9a:22:48:0f:70"0
/
/network/mac-addressdevice_ae:9a:22:48:0f:70"
.
.
.
3

/dev/part_iddevice_ae:9a:22:48:0f:70"0���������
,
/dev/part_typedevice_ae:9a:22:48:0f:70"0
7
/dev/can_telemetry_disabledevice_ae:9a:22:48:0f:70"0
```

Signed-off-by: Nikhil Namjoshi <nikhilnamjoshi@google.com>
2026-01-08 11:59:43 +00:00
Jonas Berg
26b56d71ba boards: Add support for Adafruit Feather RP2040 Scorpio
Tested with the commands mentioned in index.rst

Product photo from https://learn.adafruit.com/assets/117239
with the license CC BY-SA 3.0

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-08 11:59:33 +00:00
Aleksandr Khromykh
fccf76a857 bluetooth: mesh: add mesh api prefix to app key structure
Commit adds `bt_mesh_` prefix to `struct app_key`
to make it compatible with other internal API.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2026-01-08 11:58:09 +00:00
Aleksandr Khromykh
58667568ed bluetooth: mesh: move key primitives from mesh to keys header
Commit moves enumeration and definition related to keys
from mesh.h to keys.h

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2026-01-08 11:58:09 +00:00
Aleksandr Khromykh
ceec1fd047 doc: release-notes-4.4: add option for mesh key sync
Commit adds option description to keep keys in sync
between mesh core and cdb implementations.
Option changes default behavior so it should be added to
the release notes.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2026-01-08 11:58:09 +00:00
Aleksandr Khromykh
e6bb053efe samples: bluetooth: mesh: disable key sync for mesh provisioner
Commit disables key synchronization for mesh provisioner sample
to not refactor it according to key synchronization implementation.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2026-01-08 11:58:09 +00:00
Aleksandr Khromykh
9e7d75a59d tests: bluetooth: mesh: bsim tests to check key sync between core and cdb
Commit adds bsim tests those check key synchronization
between core implementation and cdb. Tests check both
network and application key synchronization.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2026-01-08 11:58:09 +00:00
Aleksandr Khromykh
0e2f88f31c tests: bluetooth: mesh: optimize persistent tests
bsim persistent test does not require cdb subnetwork update
for not primary network keys anymore.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2026-01-08 11:58:09 +00:00
Aleksandr Khromykh
afdf571b3b bluetooth: mesh: improve cdb debug logging
Commit improves cdb debug logging adding settings path
for subnetwork and removing unnecessary words.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2026-01-08 11:58:09 +00:00
Aleksandr Khromykh
1d50cd111d bluetooth: mesh: add key sync between core and cdb
Commit adds functionality that synchronizes network and
application keys between mesh core and cdb.
Additionally, subnetwork bridge bsim tests were fixed since
cdb cannot allocate subnetwork if it exists.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2026-01-08 11:58:09 +00:00
Aleksandr Khromykh
19bc2214f3 bluetooth: mesh: refactore app key event
Event about application key changes has been refactored.
Event provides access to the corresponding applicarion key
structure instead just key indexes.
The related code has been moved from mesh.h to app_keys.h.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2026-01-08 11:58:09 +00:00
Gaetan Perrot
3c7d6ece5a drivers: wifi: eswifi: eswifi_offload: fix DHCP enable error handling
eswifi_off_enable_dhcp() ignored the return value of eswifi_at_cmd()
and always reported success, making the error check at the call site
always false.

Return the command result to properly propagate failures.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-08 11:56:32 +00:00
Jamie McCrae
a12fa17303 boards: deprecated: Remove old deprecated boards
Removes boards that were deprecated in Zephyr 4.0

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-08 11:56:06 +00:00
Guillaume Gautier
a207354ddc doc: releases: migration-guide-4.4: new st,adc-resolutions property
Add migration guide documentation about the impact of the new
st,adc-resolutions property.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-08 11:55:35 +00:00
Guillaume Gautier
c81e2f70fe drivers: adc: stm32: clean up concat macros
Some internal _CONCAT* macros were used throughout the file. Replace them
with the simple CONCAT macro.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-08 11:55:35 +00:00
Guillaume Gautier
d81dee74c9 include: dt-bindings: adc: remove all stm32*_adc.h
Now that the STM32 ADC resolution property do not use special macros
anymore, these include files can be removed.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-08 11:55:35 +00:00
Guillaume Gautier
e141cdfa41 dts: arm: st: remove old resolutions property from adc nodes
Remove old resolutions property from the st,stm32-adc binding and from all
ADC nodes of all STM32 dtsi since it is no longer used.
Also remove some now unnecessary includes from the dtsi.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-08 11:55:35 +00:00
Guillaume Gautier
717d7e8ee0 drivers: adc: stm32: resolution rework
Rework the way to set the STM32 ADC resolution.
Instead of using special macros in device tree, supported resolutions are
now simply listed as an array.

From this array, the driver defines two tables. The first contains the same
values as the array, the second contains the LL macros for each resolution.
When setting the resolution, the driver checks the value with the first
table, then sets it with the second table.

The two tables are defined for each enabled ADC instance so there are no
conflicts if different ADC have different resolutions.

For STM32H7, this changes the internal values used for 14 and 12-bit
resolutions, from 0b101/110 to 0b001/010 respectively, i.e. it uses the
so-called "legacy" resolutions instead of the "power-optimized" ones.
Note that AN5354 indicates: "The optimized modes have better power
consumption figures. The standard modes have better parameters, but
power consumption is not optimized and is comparable to 16-bit mode."

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-08 11:55:35 +00:00
Guillaume Gautier
e7fab2739c dts: arm: st: add new st,adc-resolutions property to dtsi
Add the new st,adc-resolutions property for all ADC of all STM32 series.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-08 11:55:35 +00:00
Guillaume Gautier
056878676e dts: bindings: adc: stm32: add new st,adc-resolutions property
Add a new st,adc-resolutions property for STM32 ADC. This property takes
a simple array of the supported resolutions. Goal is to replace to previous
resolutions property.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-08 11:55:35 +00:00
Gaetan Perrot
5768f30f0d drivers: wifi: esp_at: esp_offload: drop unused dev variable in esp_bind
The esp_data pointer is no longer used after removing the premature
_sock_connect() call. Drop the unused variable.

_sock_connect() call was removed by c368c33.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-08 11:55:25 +00:00
Gaetan Perrot
795836c5cb dts: bindings: nrfs-swext: fix typos in bindings
Fix typos in property descriptions in the NRFS SWEXT power domain
binding.

No functional change.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-08 11:55:09 +00:00
Douglas Holtsinger
6c410584dd modules: hal_st: Fix Kconfig USE_STDC_LSM6DS3TR
Align Kconfig USE_STDC_LSM6DS3TR with hal_st
Fixes zephyrproject-rtos/zephyr#53546
See also hal_st PR #22

Signed-off-by: Douglas Holtsinger <doug.holtsinger@gmail.com>
2026-01-08 09:51:45 +01:00
Lane Westlund
97f4a67187 doc: fix additional instances of build/built typos
In some cases, "is build" was written instead of "is built"

Signed-off-by: Lane Westlund <lane@westlund.net>
2026-01-08 09:51:08 +01:00
Jamie McCrae
1bbbb286b3 cmake: Remove old deprecated code
Removes code that was deprecated in Zephyr 4.0

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-08 09:50:19 +01:00
Jamie McCrae
c02c6add10 cmake: modules: boards: Remove deprecated HWMv1 extension handling
This code was deprecated and removed from the documentation many
releases ago, remove the feature from the code

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-08 09:49:56 +01:00
Ruibin Chang
0671dc7925 drivers/wdt/it8xxx2: support setting time interval of warning msg
Add the config to support that warning message time
interval can be set.

We also find that printing all the warning messages
takes about 50ms on Chromebook. Therefore, we increase
the default time to 100ms to leave some time for EC to run
non-print instructions.

Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
2026-01-08 09:49:28 +01:00
Qingsong Gou
44b8f1c025 tests: drivers: uart: uart_async_api: add sf32lb52_devkit_lcd support
Add sf32lb52_devkit_lcd support

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-08 09:47:49 +01:00
Gaetan Perrot
560ecb2949 drivers: wifi: eswifi: eswifi_socket: fix listen backlog error handling
__eswifi_listen() ignored errors from eswifi_at_cmd() and always
reported success, leaving the local error variable unused.

Return an error when setting the listen backlog fails and avoid
marking the socket as a server in that case.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-08 09:47:17 +01:00
Henrik Brix Andersen
9186d6864a boards: native: add support for static linking
Add support for static linking of the final native simulator runner.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-01-08 09:45:55 +01:00
Tom Burdick
c11ae6b6b2 mctp: I3C bindings and samples
Adds bindings for communicating with the MCTP protocol over I3C with IBI
for signaling.

Notably I3C currently requires devices on the bus be struct device's the
way the Nuvoton driver is written and the API is written. So we create a
little glue driver (mctp_i3c_endpoint) to allow us to later bind a aptly
named mctp_i3c_controller MCTP binding.

On the target side the only usable driver for target mode is Nuvoton's.
Nuvoton's driver only implements the optional buffer read/write
callbacks rather than the read/write byte at a time callbacks. This is
actually probably for the better but it does mean this binding requires
those optional target mode functions.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2026-01-08 09:35:25 +01:00
Terry Geng
1840356341 drivers: led_strip: ws2812_rpi_pico_pio: Add DMA support
so that time-consuming I/O takes place in the background. This is
especially important when writing to multiple long LED strips.

This commit mostly mirrors what was done in the pl022 driver and the
rpi_pico_pio_spi driver, including the needed DT configuration. DMA will be
used if `CONFIG_DMA` is enabled and proper `tx` channel is defined in the
DT.

The DT overlay I used when testing:
```
&pio0 {
	status = "okay";

	pio-ws2812 {
		compatible = "worldsemi,ws2812-rpi_pico-pio";
		status = "okay";
		pinctrl-0 = <&ws2812_pio0_default>;
		pinctrl-names = "default";
		bit-waveform = <3>, <3>, <4>;

                /* This device has no tx channel configured so DMA will NOT
                 * be used. */
		ws2812_1: ws2812_1 {
			status = "okay";
			gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>;
			chain-length = <1>;
			color-mapping = <LED_COLOR_ID_GREEN
                                         LED_COLOR_ID_RED
                                         LED_COLOR_ID_BLUE>;
			reset-delay = <280>;
			frequency = <800000>;
		};

                /* This device has proper tx channel configured so DMA will
                 * be used. */
		ws2812_2: ws2812_2 {
			status = "okay";
			gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
			chain-length = <64>;
			color-mapping = <LED_COLOR_ID_RED
                                         LED_COLOR_ID_GREEN
                                         LED_COLOR_ID_BLUE>;
			reset-delay = <280>;
			frequency = <800000>;

			dmas = <&dma 1 0 0>;
                        /* DMA slot will be
                         * determined by the driver so what's in here
                         * doesn't matter. */
			dma-names = "tx";
		};
	};
};

&dma {
	status = "okay";
};
```

Signed-off-by: Terry Geng <terry@terriex.com>
2026-01-08 09:33:51 +01:00
Terry Geng
7081a5ff4b drivers: led_strip: ws2812_rpi_pico_pio: Use reset timer instead of sleep
to guarantee two updates to ws2812 happen not faster than the required
reset time of ws2812. Using `k_usleep` forces a context switching, which
might be unnecessary if two time between update calls are not as frequent
as the reset time (which should be the most of the case anyways).

Signed-off-by: Terry Geng <terry@terriex.com>
2026-01-08 09:33:51 +01:00
Tu Nguyen Van
1428bc537a boards: nxp: s32k5xxcvb: add support i2c
Add support I2C (LPI2C) for S32K5XXCVB

Signed-off-by: Tu Nguyen Van <tu.nguyenvan@nxp.com>
Co-authored-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-08 09:32:05 +01:00
Dat Nguyen Duy
b1da557ae8 tests: drivers: i2c_target_api: enable test for s32k5xxcvb
Enable i2c_target_api for s32k5xxcvb

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-08 09:32:05 +01:00
Dat Nguyen Duy
e090988bcc Dts: nxp: add lpi2c devicetree nodes for s32k566
Add LPI2C devicetree nodes for S32K566

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-08 09:32:05 +01:00
Tim Pambor
84d5c3bd2d tests: drivers: build_all: ethernet: test dwmac driver for MMU platforms
Add a board overlay for the qemu_cortex_a9 board to build the
Synopsys DesignWare MAC driver for MMU platforms.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-01-08 09:29:34 +01:00
Tim Pambor
e70fd60d9d tests: drivers: build_all: ethernet: test dwmac driver for STM32H7
Add a test case to build the Synopsys DesignWare MAC driver for STM32H7
series SoCs. This drivers is an alternative to the existing ETH_STM32_HAL
driver. As such both drivers cannot be enabled at the same time.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-01-08 09:29:34 +01:00
Tim Pambor
2e9ba24515 drivers: ethernet: dwmac: Fix Kconfig for stm32h7
DWMAC driver was no longer selectable for stm32h7
series because of CONFIG_ETH_DWMAC dependency on
DT_HAS_SNPS_DESIGNWARE_ETHERNET_MMU_ENABLED, which
is only used for MMU based platforms.

Restructure Kconfig to have user-selectable options
for the platform-specific DWMAC drivers and select
the common DWMAC driver accordingly. This way
platform-specific dependencies can be tracked on
these options, simplifying the logic.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-01-08 09:29:34 +01:00
Nicholas Braaten
d426f153ae doc: clarified description of k_uptime_delta
Description added in docs.
Header updated to clarify that the function modifies the argument.

Signed-off-by: Nicholas Braaten <git@nicbra.no>
2026-01-08 09:28:20 +01:00
Manojkumar Konisetty
547f1bbb11 drivers: gpio: Add Infineon PSoC4 GPIO driver
Introduces a GPIO driver that provides generic interfaces
for both interrupt-driven inputs and controllable outputs.

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-08 09:27:24 +01:00
Manojkumar Konisetty
e589deb665 boards: cy8cproto_041tp: Add dts for button and led
- Add LED0 and SW0 support to CY8CPROTO-041TP board
- This enables applications to use led0 and sw0 through
  standard Zephyr subsystems without additional board-specific
  configuration.

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-08 09:27:24 +01:00
Dharun krithik k
1f5bd18bb0 boards: cy8cproto_041tp: refactor dts and enable UART
Refactor the CY8CPROTO-041TP board definition by extracting common
configurations into \`cy8cproto_041tp_common.dtsi\`. This improves
reusability and structure.

Additionally, refactored the nodes accordingly and configure necessary
system clocks:
- Configure 16-bit peripheral dividers.
- Enable clock paths.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-08 09:27:24 +01:00
Dharun krithik k
e5e92f6c8f drivers: clock_control: update infineon clock drivers
Update the Infineon clock control drivers to support PSoC4 and
enhance error handling.

- Add support for ILO, WCO, and EXT clocks in fixed clock driver.
- Update fixed factor clock driver to handle PSoC4 specific HF
  clock source setting and add error checking.
- Update peripheral clock driver to support fractional dividers
- Improve error handling across all updated drivers.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-08 09:27:24 +01:00
Dharun krithik k
a3ed433659 dts: infineon: update PSoC4100TP system clock nodes
Update the system clock device tree definitions for the Infineon
PSoC4100TP series.

Refactor the peripheral divider nodes in `system_clocks.dtsi` to
align with the hardware specifications. This includes renaming nodes
and updating group associations for correct clock configuration.
Update `infineon,peri-div.yaml` binding to support the changes.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-08 09:27:24 +01:00
Dharun krithik k
85d3a7b708 dts: infineon: update PSoC4100TP SoC nodes
Update all Infineon PSoC4100TP device tree nodes to use current
binding naming convention by removing the 'cat1-' prefix

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-08 09:27:24 +01:00
Dharun krithik k
7f644b104f dt-bindings: clock: add Infineon PSoC4 clock source bindings
Add clock source definitions for the Infineon PSoC4 series.
This introduces the \`ifx_clock_source_psoc4xx.h\` header with
HFCLK divider macros and integrates it into the board clock
source selection.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-08 09:27:24 +01:00
Haoran Jiang
e7cfa7ae02 MAINTAINERS: add HalfSweet as SF32LB collaborator
Add myself as SF32LB collaborator

Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2026-01-08 09:25:08 +01:00
Henrik Brix Andersen
f931c5a44f drivers: can: mcan: reintroduce assert in can_mcan_send()
Reintroduce the assert on put_idx being within the limit in can_mcan_send()
but move it to just after the value was determined and add a comment on its
purpose.

With the current code, this will never get triggered due to the tx_sem
being acquired before (meaning a free TX slot was acquired).

Avoid assigning a signed initial literal to an unassigned type.

Fixes: 8dc4dea112

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-01-07 14:53:30 -06:00
Rob Barnes
24ab32c1dd soc: ite: Add idle exit tracing
The idle enter was being traced but idle exit was not.
This change adds the missing call to sys_trace_idle_exit()
to the idle exit path for the it51xxx and it8xxx2 SoCs.

Signed-off-by: Rob Barnes <robbarnes@google.com>
2026-01-07 14:52:59 -06:00
Julien Vermillard
ff6d163ff7 boards: holyiot: support holyiot 25008
Add support fot the holyiot 25008 board.
Bluetooth 6.0 module based on NRF54L15.

Signed-off-by: Julien Vermillard <julien@clunkymachines.com>
2026-01-07 14:52:38 -06:00
Muhammad Waleed Badar
f31516d461 drivers: uart: pl011: fix poll_in function
RSR handling is already implemented in pl011_err_check(), which is the
appropriate place to detect, and report receive error conditions.

This also aligns poll_in() behavior with pl011_fifo_read(), which reads
and delivers characters without returning RSR status to the caller.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-01-07 14:52:10 -06:00
Yves Wang
88e7b3b451 scripts: build: Accept python object in Domain's constructor
Make Domain's class constructor accept python object to avoid redundant
YAML serialize and unserialize which may introduce potential yaml type
errors.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-01-07 14:51:44 -06:00
Jayvik Desai
8c207308a4 drivers: gpio: emul: validate pins in single-pin APIs and mask in port APIs
Add input validation to single-pin GPIO APIs (e.g., gpio_pin_configure)
and emulator-specific helpers to return -EINVAL for invalid pins. This
ensures tests correctly fail when targeting non-existent pins.

For standard port-wide APIs (e.g., gpio_port_set_bits_raw), align behavior
with hardware drivers by masking out invalid pins instead of returning an
error. This mimics hardware behavior where writing to unimplemented bits
is ignored, and ensures compatibility with generic tests that use full
32-bit masks (e.g., 0xFFFFFFFF).

Signed-off-by: Jayvik Desai <jayvik@google.com>
2026-01-07 14:50:43 -06:00
Pieter De Gendt
b85fa7b256 doc: contribute: guidelines: Document KeepSorted and options
Add a documentation section about the KeepSorted compliance check and
which options it provides.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-07 14:50:10 -06:00
Pieter De Gendt
28953da368 doc: contribute: guidelines: Use zephyr_file for compliance script
Use the directive to create an actual link to the check_compliance.py file.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-07 14:50:10 -06:00
Abderrahmane JARMOUNI
9f1eec508e dts: bindings: replace '.yml' file extension with '.yaml'
Replace the '.yml' extension of the few binding files that has it,
with '.yaml'.

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2026-01-07 19:41:03 +01:00
Robert Perkel
fb353a41c0 samples: sensor: mtch9010 Fixed generation arg
Fixed error in west command
Updated console output to match

Signed-off-by: Robert Perkel <robert.perkel@microchip.com>
2026-01-07 19:40:41 +01:00
Tahsin Mutlugun
87ce02b011 drivers: i3c: Move i3c_bus_mode() to common layer
i3c_bus_mode() is duplicated across several drivers. Move it into
i3c_common.c to eliminate that.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2026-01-07 19:40:18 +01:00
Mathieu Choplain
36170c4530 arch: *: remove check for CONFIG_SOC_PER_CORE_INIT_HOOK
soc_per_core_init_hook() is usually called from arch_kernel_init() and
arch_secondary_cpu_init() which are C functions. As such, there is no need
to check for CONFIG_SOC_PER_CORE_INIT_HOOK since platform/hooks.h provides
a no-op function-like macro implementation if the Kconfig option is not
enabled.

Remove the Kconfig option check from all files.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-07 19:39:53 +01:00
Muhammad Waleed Badar
5286ce2565 samples: wifi: apsta_mode: use WIFI_USAGE_MODE_STA_AP as common Kconfig
- Replace CONFIG_ESP32_WIFI_AP_STA_MODE with CONFIG_WIFI_USAGE_MODE_STA_AP
- Move AP-STA mode enable/disable control to prj.conf
- Update documentation to reflect new configuration option
- Remove redundant Wi-Fi NM and SoftAP options from RW612 board configs

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-01-07 19:39:28 +01:00
Chaitanya Tata
b873286d54 net: l2: wifi: Fix channel and band validation
The validation is appliable independent of the implementation.

Partial fix for #101728.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-07 19:38:55 +01:00
Etienne Carriere
72e96e35dd drivers: clock_control: stm32h7: fix PLL rate with fractional PLL
Take PLL fractional part into account when computing PLL output rate
for stm32h7xx and stm32h7rs based targets.

Co-authored-by: Tim Pambor <tim.pambor@codewrights.de>
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-01-07 19:38:37 +01:00
Benjamin Klaric
25aed0abbe dts: arm: st: h7rs: add memory-regions property to mac node
Add the memory-regions property to mac in stm32h7rs.dtsi,
same as in stm32h7.dtsi, and set sram2 as default. Also add
the #memory-region-cells to sram2 and sram1 nodes.

Override the sram2 as default with sram1 in stm32h7s3.dtsi and
stm32h7s3.dtsi since sram2 is disabled per default.

Add the same checks as for h7 series to mpu_regions.c and sections.c.

Signed-off-by: Benjamin Klaric <benjamin.klaric01@gmail.com>
2026-01-07 19:38:11 +01:00
Benjamin Klaric
b0b306ca24 dts: arm: st: h7: add memory-regions property to mac node
Use the memory-regions property in stm32h7.dtsi to explicitly locate
ethernet buffer and descriptor to an sram region. Set sram2 as default
and override with sram3 when available, in soc level .dtsi files.

Add #memory-region-cells to sram2 and sram3 nodes in specific .dtsi
files in dts/arm/st/h7, since it is needed by the memory-regions
property.

Add a check for memory-regions before the check and definition of the
sram_eth_node in mpu_regions.c and sections.ld.

Signed-off-by: Benjamin Klaric <benjamin.klaric01@gmail.com>
2026-01-07 19:38:11 +01:00
Benjamin Klaric
7244af5bef dts: bindings: ethernet: add st,stm32h5-ethernet compatible
Add the compatible for h5 series for ethernet. The h5 series needs
it own because the memory-regions property isn't currently supported
by the implementation.

Add the h5 compatible to stm32h563.dtsi, in mac node.

Adjust the description in h7 compatible to remove the mention of h5
series, as now h5 series has it's own.

Signed-off-by: Benjamin Klaric <benjamin.klaric01@gmail.com>
2026-01-07 19:38:11 +01:00
Lukasz Fundakowski
2e36f57e8d scripts: Improve handling exceptions in compliance check script
When output from ruff check subprocess is not in JSON format
compliance script raises an exception without any useful information
about the error. This commit improves that by printing output from
subprocess in case of error.

Signed-off-by: Lukasz Fundakowski <lukasz.fundakowski@nordicsemi.no>
2026-01-07 19:37:26 +01:00
Lucien Zhao
b6f6586dea test: drivers: can: support can cases on frdm-mcxe31b
- Support can test case: api/shell/timing
- Tese passed for three cases on my local

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-01-07 17:31:24 +01:00
Lucien Zhao
1f28dddf68 boards: nxp: frdm_mcxe31b: add flexcan0 support
- config flexcan0 pinmux
- enable flexcan0 instance

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-01-07 17:31:24 +01:00
Lucien Zhao
d5872f227d drivers: clock_control_nxp_mc_cgm.c: initialize flexcan clock source
-  initialize corresponding flexcan clock source when corresponding
   flexcan instance enabled

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-01-07 17:31:24 +01:00
Fabio Baltieri
5ddde71d2c regulator: shell: fix device completion for adget/adset
Add the dsub_device_name reference to adset/adget so it completes the
device name.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-07 17:30:51 +01:00
Fin Maaß
27068ed58e drivers: sensor: i2c: replace use of i2c_burst_write
i2c_burst_write is not portable,
as it is not supported by some drivers,
replace its use with i2c_write.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-07 17:30:32 +01:00
Fin Maaß
97a7b8f1cf drivers: rtc: i2c: replace use of i2c_burst_write
i2c_burst_write is not portable,
as it is not supported by some drivers,
replace its use with i2c_write.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-07 17:30:32 +01:00
Fin Maaß
d49a55265e drivers: led: i2c: replace use of i2c_burst_write
i2c_burst_write is not portable,
as it is not supported by some drivers,
replace its use with i2c_write.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-07 17:30:32 +01:00
Fin Maaß
3d6000e070 drivers: gpio: i2c: replace use of i2c_burst_write
i2c_burst_write is not portable,
as it is not supported by some drivers,
replace its use with i2c_write.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-07 17:30:32 +01:00
Fin Maaß
0957115fc9 drivers: fuel_gauge: i2c: replace use of i2c_burst_write
i2c_burst_write is not portable,
as it is not supported by some drivers,
replace its use with i2c_write.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-07 17:30:32 +01:00
Fin Maaß
1a88ea527f drivers: display: i2c: replace use of i2c_burst_write
i2c_burst_write is not portable,
as it is not supported by some drivers,
replace its use with i2c_write.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-07 17:30:32 +01:00
Fin Maaß
e182730f7a drivers: charger: i2c: replace use of i2c_burst_write
i2c_burst_write is not portable,
as it is not supported by some drivers,
replace its use with i2c_write.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-07 17:30:32 +01:00
Fin Maaß
f6558d5cdf drivers: audio: i2c: replace use of i2c_burst_write
i2c_burst_write is not portable,
as it is not supported by some drivers,
replace its use with i2c_write.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-01-07 17:30:32 +01:00
TOKITA Hiroshi
e0c706a7f5 soc: raspberrypi: rpi_pico: Defaultly turn off BINARY_INFO feature
The binary-info feature that introduced in #54290 causing trouble
with some rp2xxx variant boards.
Turning off this feature defaultly to solve these problems.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-07 14:56:56 +00:00
Arnaud Pouliquen
f7ce7d28e0 west.yml: Update libmetal and open-amp for v2025.10.0 release
Update to the last release of open-amp and libmetal libraries

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
2026-01-07 14:56:34 +00:00
Cristian Bulacu
f262a33a94 net: l2: openthread: Make use of Zephyr OTBR NAT64 translator flag
This commit aims to declare and call NAT64 functions used by Border
Router application only if corresponding flag is also set.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-01-07 14:56:06 +00:00
Cristian Bulacu
d07e655638 openthread: platform: Fix compile warnings related to NAT64 or IPV4
Make use of CONFIG_OPENTHREAD_ZEPHYR_BORDER_ROUTER_NAT64_TRANSLATOR flag in
platform code.
Fixed some compile warnings in `mdns_socket.c` when IPV4 is not enabled,
by moving some variables under `CONFIG_NET_IPV4` define

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-01-07 14:56:06 +00:00
Cristian Bulacu
ade5b4d637 openthread: Kconfig: Add config flag for NAT64 translator
This config flag sets all the requirements and dependencies for NAT64
translator enablement. By default, NAT64 translator is enabled in an
OpenThread Border Router application.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-01-07 14:56:06 +00:00
Valerio Setti
827ce8a74c modules: uoscore-uedhoc: remove Kconfigs for legacy Mbed TLS crypto
Those were needed when uoscore-uedhoc was using "mbedtls_pk_ec()" function
to uncompress EC points. The library has been updated since then and
this legacy function is no more required. As a consequence also legacy
Kconfigs can be removed as well.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-07 14:56:00 +00:00
Valerio Setti
d4fbd079de manifest: uoscore-uedhoc: include improvement for compressed EC key parsing
Remove dependency on legacy Mbed TLS legacy crypto functions which have
been removed in the latest Mbed TLS/TF-PSA-Crypto release.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-07 14:56:00 +00:00
Bjarki Arge Andreasen
356f455f3d tests: drivers: pwm: gpio_loopback: implement pm device runtime
Implement pm device runtime to resume PWM devices before they are
used, and put them after, for platforms which use and enable pm
device runtime.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-01-07 14:55:50 +00:00
Fabio Baltieri
2cf6167357 tests: net: socket: run igmp on the mcast tests
The ipv4 code now filters for multicast packets for non joined groups,
make sure the test join the group before trying to create traffic on
that address.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-07 14:55:36 +00:00
Fabio Baltieri
a09dbee852 net: ipv4: Drop ipv4 mcast packets for non joined groups
Add a check to drop ipv4 multicast packets that are not matching any
currently registered multicast group for the interface that received
them.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-07 14:55:36 +00:00
Ben Marsh
9476c62c80 cmake: Fix extensions module's implicit dependency on yaml module
The CMake extensions module depends on the yaml module, but extensions did
not explicitly include yaml.

When using find_package(Zephyr ...) with no components specified this
issue is not seen as zephyr_default is included which includes many other
modules, including yaml and extensions.
However, when find_package(Zephyr ... COMPONENTS ...) is used only the
components specified are included, which can result in a build error. For
example, using find_package(Zephyr ... COMPONENTS FindHostTools ...)
includes FindHostTools, which includes extensions, which depends on yaml
but doesn't include it.

This issue is fixed by including yaml in extensions.

Signed-off-by: Ben Marsh <ben.marsh@helvar.com>
2026-01-07 14:08:00 +01:00
Hubert Guan
0b57af0c94 lib: multi-heap: Add shared_multi_heap_realloc
Add the function shared_multi_heap_realloc to reallocate memory blocks
in shared multi-heaps.

Signed-off-by: Hubert Guan <hubertyguan@gmail.com>
2026-01-07 14:07:52 +01:00
Appana Durga Kedareswara rao
b0f1e47b05 boards: amd: versalnet_rpu: add TCM memory node
Add Tightly Coupled Memory (TCM) device tree node:
- Base address: 0x0
- Size: 64KB (0x10000)
- Compatible: mmio-sram

TCM provides low-latency memory access for R52 cores
and is essential for real-time applications.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2026-01-07 14:07:43 +01:00
Appana Durga Kedareswara rao
afd48302d1 boards: amd: Correct sram node to fix DMA failures
The existing sram node wiring is incorrect as it starts from 0x0, where the
TCM is mapped. The TCM size is 128 KB (with TCM A having 64 KB, TCM B 32
KB, and TCM C 32 KB). While TCM and DDR are mapped contiguously, to avoid
having TCM addresses in sram region to prevent potential DMA failures. The
address view of TCM for the RPU differs from that of other DMA masters,
which can cause DMA failures if DMA buffers are allocated in the TCM
region. Therefore, start sram region from 0x30000 (192 KB) to prevent DMA
buffer allocation within the TCM region.

Note: Although the TCM size is 128 KB, the SRAM region base address set to
192 KB to align with the QEMU models, where additional 64 KB memories are
mapped beyond the TCM.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2026-01-07 14:07:43 +01:00
Emanuele Di Santo
bc97315e0b kernel: timer: let k_timer_status_sync() idle the CPU when MT is off
This patch modifies k_timer_status_sync() to idle the CPU when MT
is disabled, instead of busy-looping. For this purpose, the spinlock
in the MULTITHREADING=n case has been reduced to a irq_lock(),
which works in pair with k_cpu_atomic_idle() to ensure the atomicity
of enabling the IRQs and idling the CPU.

Signed-off-by: Emanuele Di Santo <emdi@nordicsemi.no>
2026-01-07 14:07:33 +01:00
Daniel Schaefer
ed5bfabf2e framework_laptop16_keyboard: Add full_name
Add a full, pretty name for the docs page.

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-01-07 12:32:05 +01:00
Emil Gydesen
f90d497147 tests: Bluetooth: Tester: Various format fixes for the Readme
Since this file is not built with the documentation system,
some of the references didn't work. References to tools, boards,
etc. have been encapsulated by the appropriate ticks.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-07 12:31:52 +01:00
Qingsong Gou
47a525423a drivers: spi: sf32lb: fix parentheses error
Fix parentheses error

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-07 12:31:36 +01:00
Qingsong Gou
f0099a0d49 drivers: adc: sf32lb: fix adc sequence
Fix adc sequence for for sf32lb

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-07 12:31:36 +01:00
Qingsong Gou
639c5f01c7 tests: drivers: build_all: adc: add test for sf32lb
Add test for sf32lb platform

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-07 12:31:36 +01:00
Qingsong Gou
5acd482724 drivers: adc: sf32lb: fix adc_async build warnings
Fix adc_async build warnings

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-07 12:31:36 +01:00
Qingsong Gou
dac3f66622 drivers: adc: sf32lb: fix coding style
Fix coding style for sf32lb

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-07 12:31:36 +01:00
Qingsong Gou
2da9089ae4 drivers: adc: sf32lb: fix adc value not correct
Fix adc value not correct

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-07 12:31:36 +01:00
Henrik Brix Andersen
cc25a8ada4 drivers: can: mcan: fix race condition when adding CAN RX filters
Move the assignment of the callback function and user data within the mutex
lock when adding CAN RX filters to prevent race conditions.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-01-07 12:31:20 +01:00
Henrik Brix Andersen
0665c70d70 drivers: can: mcan: add missing mutex unlocks in error paths
Add missing calls to k_mutex_unlock() in error paths when failing to add
CAN RX filters.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-01-07 12:31:20 +01:00
Henrik Brix Andersen
8dc4dea112 drivers: can: mcan: remove useless asserts
Remove useless asserts. These indexes are determined via a for loop which
already uses the asserted value as its maximum.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-01-07 12:31:20 +01:00
Zhaoxiang Jin
f4d4d8210c drivers: timer: cortex_m_systick: add devicetree clock-source property
Add support for configuring the SysTick clock source via devicetree
using a new `clock-source` property. This allows selecting between
the external reference clock (0) and the processor clock (1).

Previously, the driver always set the CLKSOURCE bit, forcing the use
of the processor clock. This change introduces a helper function
`systick_ctrl_clksource_flag_from_dt()` that reads the devicetree
property and returns the appropriate CTRL register flag.

The CTRL register is now programmed deterministically using direct
assignment instead of `|=` to ensure the CLKSOURCE bit is properly
cleared when switching to external clock, preventing potential
interrupt storms when CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC reflects
the external clock rate.

If the property is absent, the driver defaults to legacy behavior
(processor clock).

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-07 10:23:47 +01:00
Ha Duong Quang
b0d44e10fc boards: nxp: s32k5xxcvb: add support for counter
Add support for Counter (PIT, STM)

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
Co-authored-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-07 10:22:49 +01:00
Dat Nguyen Duy
2cb723730b tests: counter_basic_api: enable counter for s32k5xxcvb
Enable counter tests for s32k5xxcvb

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-07 10:22:49 +01:00
Dat Nguyen Duy
028562cd74 samples: counter: alarm: enable the sample for s32k5xxcvb
Enable counter alarm sample for s32k5xxcvb

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-07 10:22:49 +01:00
Dat Nguyen Duy
5bb9498b3e dts: nxp: add stm, pit devicetree nodes for s32k566
Add STM, PIT devicetree nodes for s32k566

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-07 10:22:49 +01:00
Dat Nguyen Duy
212f8671b9 drivers: counter_nxp_pit: fix problem when multiple instances enabled
The current pit driver fails to build if multiple instances
enabled with per channel interrupt

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-07 10:22:49 +01:00
Chris Friedt
de62eb23eb net: compat: remove conflicting declaration of ARPHRD_ETHER
Without removing this line, I would get a warning (promoted to error) that
the symbol was being redefined in either `net_ip.h` or
`posix/net/if_arp.h`. Actually, `posix/net/if_arp.h` probably should not
exist, but that is part of a separate PR.

Signed-off-by: Chris Friedt <chris@fr4.co>
2026-01-07 10:22:34 +01:00
Chris Friedt
31e54732f5 tests: net: use zsock APIs instead of POSIX APIs
Use zsock APIs rather than POSIX APIs in net subsys tests.

The primary last remaining API call was `fcntl()` and related
constants, strings, etc.

It's convention to use native zephyr APIs in the testsuites and
POSIX APIs in samples.

Signed-off-by: Chris Friedt <chris@fr4.co>
2026-01-07 10:22:34 +01:00
Yangbo Lu
58116ac9b5 samples: net: mdns_responder: support mimxrt1180_evk_mimxrt1189_cm33 board
Added mimxrt1180_evk_mimxrt1189_cm33 board support for mdns_responder.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-01-07 10:22:02 +01:00
Yangbo Lu
0773074474 net: dsa_port: disable IPv4/IPv6 for CPU port
DSA CPU port is only used for DSA management. Let's
disable IPv4/IPv6 for it.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-01-07 10:22:02 +01:00
Yangbo Lu
e7c8ab3324 net: mdns_responder: avoid running for IP not enabled iface
For iface which doesn't support IPv4/IPv6, mdns_responder should not be
run.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-01-07 10:22:02 +01:00
Yangbo Lu
11dbf5ae7a net: mdns_responder: do not add IPv4 multicast address to iface repeatly
After iface was link up, the IPv4 multicast address was added to iface
repeatly. This patch is to fix this.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-01-07 10:22:02 +01:00
Fabio Baltieri
dadcad5495 regulator: tps55287: implement current limit support
Implement current limit get/set support, this requires setting the shunt
resitor value.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-07 10:21:41 +01:00
Fabio Baltieri
40efe8af92 regulator: tps55287: add cdc setting support
Add a property for setting the CDC register.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-07 10:21:41 +01:00
Fabio Baltieri
5d72677eb6 regulator: tps55287: add output-discharge support
Implement the output discharge control regulator API.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-07 10:21:41 +01:00
Fabio Baltieri
070ff7b9ac regulator: tps55287: add enable pin handling
Add support for handling a gpio connectd to the device enable pin, this
has to be driven high to enable the device, and can be pulsed low to
reset the registers to the default configuration.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-07 10:21:41 +01:00
Fabio Baltieri
99b5ac1c58 regulator: tps55287: drop redundant initializers
Drop a couple of redundant initializers, these arrays are fully set/get
in the code.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-07 10:21:41 +01:00
Josuah Demangeon
bdc71fc0f7 tests: drivers: build_all: add tests for bflb,irx
Add build test for Bouffalo Lab IR receiver input driver.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2026-01-07 10:21:20 +01:00
Camille BAUD
1936dc6cc4 drivers: input: Introduce bflb IR RX driver
Introduces a driver for the IR receiver on BFLB socs

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-07 10:21:20 +01:00
Camille BAUD
53c7c4b959 drivers: clock_control: Add IRX clock elements
Enable the gates for IRX

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-07 10:21:20 +01:00
Camille BAUD
52f87abea8 west.yml: Update hal_bouffalab version
Update HAL version to latests for IRX regs

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-07 10:21:20 +01:00
Camille BAUD
bfd180e484 dts: bflb: Add IR RX nodes
Add binding and nodes for bflb,irx

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-07 10:21:20 +01:00
Chen Xingyu
3bf53bde02 doc: migration-guide-4.4: Update ESP32-S3 LCD_CAM restructuring notes
Add migration guidance for the ESP32-S3 LCD_CAM changes.

Signed-off-by: Chen Xingyu <hi@xingrz.me>

# Conflicts:
#	doc/releases/migration-guide-4.4.rst
2026-01-07 10:20:54 +01:00
Chen Xingyu
5a2cd978a1 boards: alientek: dnesp32s3b: Enable LCD support
This enables LCD support on the DNESP32S3B board using the ESP32 MIPI-DBI
driver in I8080 mode.

Signed-off-by: Chen Xingyu <hi@xingrz.me>
2026-01-07 10:20:54 +01:00
Chen Xingyu
cc3f7f2f45 drivers: mipi_dbi: Add ESP32 LCD_CAM backend
The LCD_CAM peripheral is a parallel I/O controller integrated in the ESP32
series. It consists of an LCD output module and a DVP camera input module.
The camera side is already supported in Zephyr as a video driver.

This commit adds support for the LCD module by implementing it as a
MIPI-DBI backend. The LCD_CAM supports multiple output formats, and the
initial implementation provides I8080 mode.

Signed-off-by: Chen Xingyu <hi@xingrz.me>
2026-01-07 10:20:54 +01:00
Chen Xingyu
e30dc74588 boards: seeed: xiao_esp32s3: Update for LCD_CAM restructuring
The former `&lcd_cam` node has been split into an `&lcd_cam` controller
and an `&lcd_cam_dvp` subdevice. Update the board DTS accordingly.

Signed-off-by: Chen Xingyu <hi@xingrz.me>
2026-01-07 10:20:54 +01:00
Chen Xingyu
b0ac2a376b boards: espressif: esp32s3_eye: Update for LCD_CAM restructuring
The former `&lcd_cam` node has been split into an `&lcd_cam` controller
and an `&lcd_cam_dvp` subdevice. Update the board DTS accordingly.

Signed-off-by: Chen Xingyu <hi@xingrz.me>
2026-01-07 10:20:54 +01:00
Chen Xingyu
bd9d8ba000 soc: espressif: Introduce common LCD_CAM support
Move the shared pinctrl and clock initialization for the LCD_CAM peripheral
from the ESP32 DVP driver into a new SoC-level implementation.

Update the ESP32-S3 DTS to reflect the new structure by introducing an
`lcd_cam_dvp` child node under the common `lcd_cam` parent node.

Signed-off-by: Chen Xingyu <hi@xingrz.me>
2026-01-07 10:20:54 +01:00
Chen Xingyu
21eac8f32b drivers: video: esp32: Rename to lcd-cam-dvp
Rename the ESP32 LCD_CAM DVP driver and its DT binding from
`espressif,esp32-lcd-cam` to `espressif,esp32-lcd-cam-dvp` to clearly
identify it as the DVP (camera) input block of the LCD_CAM peripheral.

Signed-off-by: Chen Xingyu <hi@xingrz.me>
2026-01-07 10:20:54 +01:00
Hau Ho
99710e418b tests: drivers: i2c: Add overlay and config file for FPB-RX261 board
Add overlay and config file for FPB-RX261 board

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-07 10:20:41 +01:00
Hau Ho
42dd3bae3a tests: drivers: i2c: Add overlay and config file for EK-RX261 board
Add overlay and config file for EK-RX261 board

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-07 10:20:41 +01:00
Hau Ho
0d4f1db3d4 boards: renesas: Add I2C support for FPB-RX261 board
Add I2C support for FPB-RX261 board

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-07 10:20:41 +01:00
Hau Ho
5e0c5e80a9 boards: renesas: Add I2C support for EK-RX261 board
Add I2C support for EK-RX261 board

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-07 10:20:41 +01:00
Hau Ho
73520eab9b dts: renesas: rx: Add dts property node for I2C support on RX261
Add dts property node for I2C support on RX261

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-07 10:20:41 +01:00
Quy Tran
f98465eaed manifest: hal_renesas: Update commit revision to support i2c on RX261
Update commit revision of hal_renesas for I2C supporting on RX261

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2026-01-07 10:20:41 +01:00
Samuel Coleman
3332a97295 lib: cbprintf: perform length calculation dry-run.
C99 § 7.19.6.5 defines `snprintf`. According to ¶ 2:

> If `n` is zero, nothing is written, and `s` may be a null pointer.

And according to § 7.19.6.12 ¶ 2:

> The `vsnprintf` function is equivalent to `snprintf` (...)

However, prior to this change, `vsnprintfcb` (and indirectly, `snprintfcb`)
unconditionally null-terminates the output buffer.

This fixes #48394, which was auto-closed without actually being fixed.

Co-authored-by: Adrien Lessard <adrien.lessard@rbr-global.com>
Signed-off-by: Samuel Coleman <samuel.coleman@rbr-global.com>
2026-01-07 10:20:22 +01:00
Scott Worley
c86c748ff0 soc: microchip: mec: Remove MECH172x the HAL based version of MEC172x
The goal is to slowly convert all Microchip MEC to in-tree drivers
and support code (no HAL). We had partial HAL support for MEC172x
as the mech172x folder. We are removing HAL based mech172x since HAL
will be deprecated in the future and it has no board support.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2026-01-07 07:51:22 +01:00
Scott Worley
ea3d277e4e tests: drivers: pinctrl: microchip: Add MEC parts to test
In-progress add Microchip MEC to PINCTRL test.
Note: This test only checks the pinmux value created by
device tree.  It does not check the pin configuration.
We enhanced the tests by checking GPIO control register field(s)
match the device tree properities.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2026-01-07 07:50:18 +01:00
Scott Worley
dc8b4d911b boards: microchip: mec_assy6941: Use new, in-tree PINCTRL files
We modified board level DTS to include new PINCTRL files from the
SoC DTS layer.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2026-01-07 07:50:18 +01:00
Scott Worley
4e017a7929 dts: arm: microchip: mec: Add PINCTRL DTSI files for MEC5 parts
As part of the long term HAL deprecation goal, we add PINCTRL
files for MEC174x, MEC175x, and MEC1653B.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2026-01-07 07:50:18 +01:00
Scott Worley
99ce899c22 drivers: pinctrl: microchip: mec: One PINCTRL driver for all MEC parts
GPIO hardware in Microchip MEC parts is the same except for the MUX
field (number of alternate functions). We modify the old XEC PINCTRL
driver to work on all MEC parts and also be independent of HAL and
CMSIS register structures. During development we found a DT issue
with DT_ENUM_IDX_OR always inserting the default value. Worked around
by converting slew rate and drive strength to YAML integer type and
created defines for the values in the dt-bindings header.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2026-01-07 07:50:18 +01:00
Zhaoxiang Jin
7ed9c743c0 tests: adc_api: enable adc_api test for frdm_mcxe31b
enable adc_api test for frdm_mcxe31b

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-07 07:49:49 +01:00
Zhaoxiang Jin
8e92b5b851 drivers: adc: nxp_sar_adc: implement async read function
Enabled async read function for NXP SAR ADC driver by implementing
nxp_sar_adc_read_async() and modifying nxp_sar_adc_read() to call it
with a NULL signal for synchronous operation.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-07 07:49:49 +01:00
Zhaoxiang Jin
2013e049f2 tests: drivers: enable adc dma test scenario for frdm_mcxa156
improve test coverage for nxp lpadc driver by adding dma test
scenario.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-07 07:49:16 +01:00
Zhaoxiang Jin
8de2b82e85 samples: adc: enable adc_sequence test for frdm_mcxa156
1. enable adc_sequence test for frdm_mcxa156
2. use DMA to transfer ADC conversion data in this sample

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-07 07:49:16 +01:00
Zhaoxiang Jin
52b8243fab dts: nxp: Add dma properties for nxp mcxa156 lpadc node
Add dmas properties for lpadc node in nxp_mcxa156.dtsi

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-07 07:49:16 +01:00
Zhaoxiang Jin
096dbbf8d2 drivers: adc: Adding DMA transfer capability to LPADC
Adding DMA transfer capability to LPADC

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-07 07:49:16 +01:00
Holt Sun
639f9bbab2 drivers: counter: mcux_lptmr: fire alarm immediately when ticks=0
Allow alarm_cfg->ticks to be 0 for immediate callback execution.
When ticks equals 0, set the interrupt pending instead of returning
-EINVAL, causing the ISR to fire immediately.

Implementation:
- Add irq_set_pending()/irq_is_pending() helpers for NVIC and GIC
- Store IRQ number in device config for pending operations
- Refactor timer state handling to eliminate duplication
- Update get_pending_int() to check both HW flags and NVIC/GIC state

This supports idle timer use cases where sleep duration may be zero
and eliminates the need for special-case handling in application code.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-07 07:47:56 +01:00
Holt Sun
385f343e5d drivers: counter: mcux_lptmr: add device tree support for freerunning mode
Add device tree property to configure LPTMR free-running mode instead
of hardcoding it to disabled.

The freerunning property controls counter reset behavior:
- If false (default): Counter resets after compare match
- If true: Counter resets only on overflow, continues after compare

This allows per-instance configuration of the LPTMR timer mode based
on application requirements without code changes.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-07 07:47:56 +01:00
Ian Morris
36e8ffb75c boards: renesas: ek_ra4l1: added mikrobus node labels
Added mikrobus_serial and mikrobus_header node labels to EK-RA4L1
device tree board definition, allowing compatible shield boards to
be used.

Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
2026-01-07 07:46:27 +01:00
Fabian Blatz
66f1f75880 boards: teensy41: Add sdhc0 alias
Add a sdhc0 alias to the board so tests/subsys/sd/sdmmc can be build.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2026-01-07 07:46:09 +01:00
Jonas Berg
199aa44fc0 boards: shields: Add support for Adafruit INA3221 shield
Product photo from https://learn.adafruit.com/assets/133208
with the license CC BY-SA 3.0

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-07 07:45:51 +01:00
Jordan Yates
06cfd76dd2 net: lib: dhcpv4: disable IF_UP handling for HostAP
Disable the automatic handling of the `NET_EVENT_IF_UP` event when the
WPA supplicant is enabled, as the supplicant already explicitly calls
`net_dhcpv4_restart` when the interface is ready for use. This fixes
the DHCP binding process being restarted before the interface is ready
(after `NET_EVENT_IF_UP`, before authorization), which always fails.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2026-01-07 07:45:32 +01:00
Gaetan Perrot
4bec0387c8 drivers: adc: adc_stm32: make set_sequencer void
set_sequencer() never reports errors and always returns 0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-07 07:45:01 +01:00
Guðni Már Gilbert
465150d796 twister: avoid scanning subcases for unselected test suites
Optimize testsuite discovery by skipping subcase scans for filtered suites

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
2026-01-07 07:44:44 +01:00
Afonso Oliveira
81e28ca12f arch: riscv: avoid GNU statement-expr CSR write macros
csr_write(), csr_set(), and csr_clear() use GNU C statement expressions,
which triggers SonarQube/clang warnings like:

  use of GNU statement expression extension from macro expansion

Rewrite these write-only macros as do { ... } while (0) statement macros.
No functional change expected.

Signed-off-by: Afonso Oliveira <afonsoo@synopsys.com>
2026-01-07 07:44:13 +01:00
Holt Sun
d90169ab0a MAINTAINERS: Add Holt Sun as Counter driver collaborator
Add Holt Sun as a collaborator for "Drivers: Counter".

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-07 07:43:54 +01:00
Benjamin Cabé
1c7ce910a8 doc: kernel: threads: fix mistake in "What Cannot be Expected to Work"
Correct the description in the "What Cannot be Expected to Work" section
to state that the listed functionality fails when CONFIG_MULTITHREADING
is **disabled**, as the previous wording implied the opposite.

Fixes zephyrproject-rtos/zephyr#101718

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-06 16:10:04 -06:00
Lane Westlund
abd7a17424 doc: ztest fix verb tense
Fixes a small typo with verb tense and sentence structure in the ztest doc

Signed-off-by: Lane Westlund <lane@westlund.net>
2026-01-06 16:09:16 -06:00
Gaetan Perrot
4da063bad0 drivers: cache: fix typos in comments
Fix typos in comments in cache_andes and cache_aspeed.

No functional change.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-06 16:08:40 -06:00
Jamie McCrae
024d49d55f doc: hardware: porting: board_porting: Fix typo
Fixes a small typo in the example which, if copied, would result
in a error in the python file

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-06 16:08:18 -06:00
Gaetan Perrot
d7ff9afbfd drivers: display: co5300: fix missing GPIO error check
gpio_pin_set_dt() return value was not assigned when pulling the
reset GPIO high, making the subsequent error check always false.

Store the return value to properly detect and report failures.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-06 16:07:56 -06:00
Sebastian Panceac
9af59a6e23 doc: Fix reference to generated event when calling uart_tx_abort()
This commit replaces in the documentation of uart_tx_abort()
function, the generated event type `UART_TX_DONE` with the
correct one: `UART_TX_ABORTED`.

Signed-off-by: Sebastian Panceac <spanceac@gmail.com>
2026-01-06 16:07:26 -06:00
Zhaoxiang Jin
04e9d4a5e6 tests: power_mgmt_soc: enable test for frdm_mcxaxx6 boards
frdm_mcxaxx6: frdm_mcxa266, frdm_mcxa346, frdm_mcxa366

1. enable power_mgmt_soc test for NXP frdm_mcxaxx6 board.
2. enable systick and disable ostimer, this enabled systick
as system timer.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
fae1642248 soc: nxp/mcxa: Add power management support for MCXAxx6
MCXAxx6: MCXA266, MCXA346, MCXA366

Add power management support for MCXA/MCXAxx6.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
7a3df0ed4e dts: arm: nxp: mcxa: Add power state nodes for mcxaxx6
mcxaxx6: mcxa266, mcxa346, mcxa366.

1. Add power state nodes for mcxaxx6, including
sleep, deepsleep and powerdown.

2. Add power management related peripheral nodes
for mcxaxx6, including spc, cmc, vbat and wuu.

3. Add 'zephyr,cortex-m-idle-timer' node in frdm_mcxaxx6.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
a1184d66fb dts: arm: nxp: mcxa344: Add power-states for mcxa344
1. Add power-states for mcxa344
2. Add PM related-nodes for mcxa344.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
0d763f928c tests: power_mgmt_soc: enable test for frdm_mcxa153
1. enable power_mgmt_soc test for NXP frdm_mcxa153 board.
2. enable systick and disable ostimer, this enabled systick
as system timer.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
af13581dcc soc: nxp/mcxa: Add power management support for MCXA153
Add power management support for MCXA/MCXA153.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
f8a94fbc6a dts: arm: nxp: mcxa: Add power state nodes for mcxa153
1. Add power state nodes for mcxa153, including
sleep, deepsleep and powerdown.

2. Add power management related peripheral nodes
for mcxa153, including spc, cmc, vbat and wuu.

3. Add 'zephyr,cortex-m-idle-timer' node in frdm_mcxa153.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
a364dd66c4 tests: power_mgmt_soc: enable test for frdm_mcxa156
1. enable power_mgmt_soc test for NXP frdm_mcxa156 board.
2. enable systick and disable ostimer, this enabled systick
as system timer.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
0bfc30a2cf soc: nxp/mcxa: Add power management support for MCXA156
Add power management support for MCXA/MCXA156.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Zhaoxiang Jin
5056de4af6 dts: arm: nxp: mcxa: Add power state nodes for mcxa156
1. Add power state nodes for mcxa156, including
sleep, deepsleep and powerdown.

2. Add power management related peripheral nodes
for mcxa156, including spc, cmc, vbat and wuu.

3. Add 'zephyr,cortex-m-idle-timer' node in frdm_mcxa156.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 16:06:53 -06:00
Yasushi SHOJI
3866fb8ce7 boards: scobc_v1: Use DT_FREQ_M() macro from freq.h
Use the convenient DT_FREQ_M() macro from freq.h to improve readability.

Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
2026-01-06 16:06:05 -06:00
Yasushi SHOJI
02ac74d97c boards: scobc_v1: Remove uart0
UART0 is not currently used by Zephyr running on RPU. Remove it.

Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
2026-01-06 16:06:05 -06:00
Andrej Butok
26eaab1019 dts: nxp: move nxp,imx-gpt.yaml to the counter folder
- Moves nxp,imx-gpt.yaml from the timer to the counter folder,
  as this is the binding for the counter driver
  drivers/counter/counter_mcux_gpt.c
- Fixes: #100947

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2026-01-06 16:05:40 -06:00
Sara Touqan
5321cf1c81 samples: mspi_flash: add support for some boards
this commit enables building and running the sample on
stm32h573i_dk board,stm32h735g_disco board, arduino_giga_r1
board, and  b_u585i_iot02a board by providing the required overlay
and configuration updates.

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
Signed-off-by: Sarah Younis <zephyr@exalt.ps>
Signed-off-by: Mohammad Odeh <zephyr@exalt.ps>
2026-01-06 16:05:03 -06:00
Sara Touqan
304625e040 drivers: mspi: Support MSPI driver for STM32
This commit introduces support for the mspi and ospi drivers on STM32,
enabling functionality APIs for MSPI/OSPI/QSPI host controllers..

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
Signed-off-by: Sarah Younis <zephyr@exalt.ps>
Signed-off-by: Mohammad Odeh <zephyr@exalt.ps>
2026-01-06 16:05:03 -06:00
Sara Touqan
48165b661c dts: bindings: mspi: Add MSPI configuration for STM32
This commit adds the main DTS configurations required
to enable MSPI/OSPI/QSPI support on STM32.

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
Signed-off-by: Sarah Younis <zephyr@exalt.ps>
Signed-off-by: Mohammad Odeh <zephyr@exalt.ps>
2026-01-06 16:05:03 -06:00
Fabio Baltieri
b3c1e115ec boards: motion_2350_pro: split the pwm_default pin list
Raspberry pi based boards are now using binary info by default
(96b9b0f2df), and that limits pinctrl groups to 4 or 6 nodes. Split
this node in multiple groups.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-06 19:31:42 +00:00
Martin Hoff
ba48c587cf samples: drivers: i2s: add overlay for rb4342 board
This patch enables the output sample for the board siwx917_rb4342a
by adding an overlay.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2026-01-06 19:16:36 +00:00
Gaetan Perrot
61dcab72a5 drivers: sensor: bosh: bmp581: fix redundant NULL check
set_iir_config() dereferences the device pointer before checking it
against NULL, making the defensive check ineffective.

Remove the redundant check.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-06 19:16:27 +00:00
Jonas Berg
c9fc4f65be samples: servo-motor: Add support for Adafruit Prop-Maker RP2040 Feather
Add corresponding overlay file

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-06 19:15:31 +00:00
Jonas Berg
fdfb4a339a boards: Add support for Adafruit Prop-Maker RP2040 Feather
Product photo from https://learn.adafruit.com/assets/121788,
with the license CC BY-SA 3.0

Tested with the commands mentioned in index.rst

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-06 19:15:31 +00:00
Fabian Blatz
324b75928a tests: drivers: adc: adc_api: Enable adc node for Adafruit trinket m0
Enable the adc node to prevent undefined node reference error in adc_api
test.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2026-01-06 19:15:20 +00:00
Martin Hoff
5c064caf32 samples: drivers: memc: add support for siwx917 soc
This patch adds support for the QSPI memory controller (for the
SiWG917 SoC) in order to enable PSRAM testing. It also adds board
overlays for this family that include PSRAM.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2026-01-06 19:14:56 +00:00
Chris Friedt
3c855aeddd zvfs: eventfd: count eventfd file descriptors for fdtable size
Previously, eventfd file descriptors were not being counted against the
required size for the global file descriptor table, which would result
in the function `eventfd()` (and `zvfs_eventfd()`) failing due to
insufficient resources.

Signed-off-by: Chris Friedt <chris@fr4.co>
2026-01-06 19:14:47 +00:00
Tanguy Raufflet
23596814d0 drivers: i3c: stm32: include math.h to fix build warnings
This driver uses math functions that require the math.h header. If not
included a lot of implicit declaration warnings are generated during
build.

Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
2c1d36ae09 boards: st: stm32mp257fxx_*: add I3C node to the device tree
This commit adds the i3c4 node to the device tree for the
STM32MP257F-EV1 and the STM32MP257F-DK boards. This node corresponds to
the i3c exposed by the GPIO expansion connector [1], [2] and not used by
the cortex A35.

According to the STM32MP257F-EV1 and STM32MP257F-DK schematics, the I3C4
are connected to the same pins as the I2C8. Therefore, both nodes cannot
be enabled together.

[1]: https://wiki.st.com/stm32mpu/wiki/STM32MP257x-EV1_-_hardware_description

[1]: https://www.st.com/resource/en/user_manual/um3385-discovery-kit-with-stm32mp257f-mpu-stmicroelectronics.pdf
    Table 24. GPIO connector pinout

Co-authored-by: Charles Wenger <charles.wenger@savoirfairelinux.com>
Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
6ce3fd4ffa boards: st: stm32mp257f_dk_stm32mp257fxx_m33.dts: add I2C node
This commit adds the i2c8 node to the device tree for the
STM32MP257F-DK board. This node corresponds to the i2c exposed by the
GPIO expansion connector [1] and not used by the cortex A35.

[1]: https://www.st.com/resource/en/user_manual/um3385-discovery-kit-with-stm32mp257f-mpu-stmicroelectronics.pdf
    Table 24. GPIO connector pinout

Co-authored-by: Charles Wenger <charles.wenger@savoirfairelinux.com>
Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
ee7314b568 boards: st: stm32mp257fxx_m33.yaml: add missing supported features
The I2C and SPI features have been added to the supported features for
the stm32mp257f_ev1 but were missing from the stm32mp257f_dk board file.

Co-authored-by: Charles Wenger <charles.wenger@savoirfairelinux.com>
Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
dffa529bf1 boards: st: stm32mp257f_*: add I3C to the supported features
The I3C is now supported on the STM32MP257F-DK and STM32MP257F-EV1
boards.

Co-authored-by: Charles Wenger <charles.wenger@savoirfairelinux.com>
Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
2c5b8dc5cf dts: arm: st: stm32mp2_m33.dtsi: add I3C node
Add the node I3C4 in non-secure context to dtsi. Others I3C nodes cannot
be added as they rely on EXTI1 interrupt lines that is not supported yet
for the STM32MP2.

Co-authored-by: Charles Wenger <charles.wenger@savoirfairelinux.com>
Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
96a6b8ca72 drivers: clock_control: stm32: add MP2xx clocks for I3C peripherals
Add I3C clocks rate reading to the STM32MP2 clock driver.

Co-authored-by: Charles Wenger <charles.wenger@savoirfairelinux.com>
Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
b1a35c1df9 dt-bindings: reset: stm32mp2: add reset for I3C peripherals
Add reset bindings for I3C peripherals for the STM32MP2 series.

Co-authored-by: Charles Wenger <charles.wenger@savoirfairelinux.com>
Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
f88f3637ff dt-bindings: clock: stm32mp2: add clocks for I3C peripherals
Add clock bindings for I3C peripherals for the STM32MP2 series.

Co-authored-by: Charles Wenger <charles.wenger@savoirfairelinux.com>
Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Tanguy Raufflet
b54cef898a drivers: i3c: stm32: add support for combined interrupt
Since the STM32MP2 I3C controller uses a combined interrupt line for I3C
events and errors, add the support for handling this type of interrupt
in the I3C driver.

Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
2026-01-06 19:14:41 +00:00
Ludvig Jordet
8b7eccb1c5 Bluetooth: Mesh: Test that vendor models can receive SIG opcodes
This adds a test case to the access BSIM tests to check that vendor
models can specify a handler for and receive messages using a
SIG-defined 1-byte opcode.

Signed-off-by: Ludvig Jordet <ludvig.jordet@nordicsemi.no>
2026-01-06 19:14:31 +00:00
Ludvig Jordet
9eb3a6ee81 Bluetooth: Mesh: Let vendor models receive messages with SIG opcodes
This fixes a limitation where the stack assumed that vendor models could
not specify handlers for SIG-defined (1- or 2-byte) opcodes. This
assumption does not exist in the specification. In fact, the
specification expects this very use-case to be possible, in MeshPRT 1.1,
section 3.8.3:

> To exchange messages with a Bluetooth SIG adopted model, a Vendor Model
> shall use the Access message defined for the Bluetooth SIG model.

Signed-off-by: Ludvig Jordet <ludvig.jordet@nordicsemi.no>
2026-01-06 19:14:31 +00:00
Ludvig Jordet
80b92850e3 Bluetooth: Mesh: Deprecate VND_MSG_CID_FORCE option
This deprecates CONFIG_BT_MESH_MODEL_VND_MSG_CID_FORCE. This option was
added to allow an optimization that a) only can apply in edge case
networks that use multiple vendor models with different CIDs, b) doesn't
really have much potential gains even in this case unless there is a
large number of opcodes in these vendor models, and c) makes it
impractical to implement support for vendor models handling SIG opcodes.

Signed-off-by: Ludvig Jordet <ludvig.jordet@nordicsemi.no>
2026-01-06 19:14:31 +00:00
Ludvig Jordet
23d8ec360b Bluetooth: Mesh: Fix compile warning when CID check is disabled
Since the entire cid checking function is conditionally included based
on KConfig, the usage site also needs to use #if instead of IS_ENABLED,
otherwise you get the following warning during compilation when the
option is disabled:

`error: implicit declaration of function
‘bt_mesh_vnd_mod_msg_cid_check’`

Signed-off-by: Ludvig Jordet <ludvig.jordet@nordicsemi.no>
2026-01-06 19:14:31 +00:00
Emil Gydesen
6345dab3de Bluetooth: Audio: Use BT_CONN_ROLE over BT_HCI_ROLE
Use the host defined roles, rather than the HCI defined ones.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-06 19:14:19 +00:00
Peter Korsgaard
845c3bb9be samples: drivers: target_eeprom: add a changed callback
And show the usages of the new _get_size() / _read_data() functions.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-01-06 19:14:03 +00:00
Peter Korsgaard
54e586b75b samples: drivers: target_eeprom: drop unregistration
It is not very handy that the EEPROM stops responding after 1 second, so
drop that.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-01-06 19:14:03 +00:00
Peter Korsgaard
54eda2761a i2c: target: target_eeprom: make legacy functions wrappers
Implement eeprom_target_program() using eeprom_target_write_data() and
eeprom_target_read() using eeprom_target_read_data() to limit redundant
code.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-01-06 19:14:03 +00:00
Peter Korsgaard
5aaa013351 i2c: target: target_eeprom: mark eeprom_target_program as deprecated
It does not provide an offset argument, so suggest
eeprom_target_write_data() instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-01-06 19:14:03 +00:00
Peter Korsgaard
4f45225a59 tests: drivers: i2c: i2c_target_api: switch to eeprom_target_write_data()
eeprom_target_program() is about to become deprecated as it does not take
an offset argument, so switch to eeprom_target_write_data() instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-01-06 19:14:03 +00:00
Peter Korsgaard
7362cd6f45 i2c: target: eeprom_target: add {read,write}_data()
The current functions to access the EEPROM data are not ideal, E.G.:

- eeprom_target_program() is hard coded to write to the beginning of the
  EEPROM data

- eeprom_target_read() reads a single byte, so large overhead to read all
  data

So as an alternative, add an interface similar to what is provided by
zephyr/drivers/eeprom.h, E.G.  functions taking an offset and and length.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-01-06 19:14:03 +00:00
Peter Korsgaard
71f25d88a9 i2c: target: eeprom_target: add _get_size()
For some use cases it can be interesting to know how big the EEPROM is, so
add a getter for it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-01-06 19:14:03 +00:00
Peter Korsgaard
0e24da356a i2c: target: eeprom_target: add changed callback
For some use cases it can be interesting to know when the eeprom has been
written to by the I2C host (E.G.  once a stop has been received after a
write transaction), so add a "changed" callback.

Multiple EEPROM instances are supported, so pass the device and user data
as arguments to the callback.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2026-01-06 19:14:03 +00:00
Niu Zhihong
64e22a62e9 soc: rockchip: replace MT_NS with MT_DEFAULT_SECURE_STATE for rk3588
Updated the MMU region entries for the GIC device to use
MT_DEFAULT_SECURE_STATE instead of MT_NS,
aligning the security attribute with the default secure sate macro.

Signed-off-by: Niu Zhihong <zhihong@nzhnb.com>
2026-01-06 19:13:42 +00:00
Niu Zhihong
51f1161329 soc: rockchip: update rk3588 NUM_IRQS
Update NUM_IRQS value according to datasheet

Signed-off-by: Niu Zhihong <zhihong@nzhnb.com>
2026-01-06 19:13:42 +00:00
Mike Szczys
06d5728d07 twister: fix --keep-artifacts
use the allow-list generated by --keep-artifacts whenever
cleanup_artifacts() is called. This resolves an issue where this allow-list
was not being honored when using the --prep-artifacts-for-testing flag.

Signed-off-by: Mike Szczys <mike@golioth.io>
2026-01-06 11:18:11 -05:00
Guðni Már Gilbert
28fe8d5c87 scripts: tests: twister: mock listed serial port
Reduce the test time by ~300 seconds by mocking the listed serial port

Result from running:
pytest --durations=0 ./scripts/tests/twister/test_handlers.py

Before:
60.12s test_devicehandler_handle[valid pty]
60.12s test_devicehandler_handle[communicate timeout]
60.06s test_devicehandler_handle[popen called process error]
60.05s test_devicehandler_handle[valid dev]
60.03s test_devicehandler_handle[nonzero returncode]
0.01s  test_devicehandler_handle[create serial failure]

After:
0.01s test_devicehandler_handle[valid dev]
0.01s test_devicehandler_handle[valid pty]
0.01s test_devicehandler_handle[nonzero returncode]
0.01s test_devicehandler_handle[create serial failure]
0.01s test_devicehandler_handle[communicate timeout]
0.01s test_devicehandler_handle[popen called process error]

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
2026-01-06 16:07:24 +00:00
TOKITA Hiroshi
96b9b0f2df soc: raspberrypi: rpi_pico: Add support RpiPico binary info feature
Binary Info embeds program meta information in flash,
which can be viewed with RaspberryPi Pico's `picotool`.

Metadata is automatically collected from pinctrl.

It can be override by the Kconfig configurations, such as

```
CONFIG_RPI_PICO_BINARY_INFO_OVERRIDE_PROGRAM_NAME="my program name"
```

When this feature is enabled, pinctrl groups are restricted to
consisting of pins with a single rpi_pico function.
In other words, SPI's MISO and MOSI can be in the same group,
but I2C's SDA cannot be included in this group.
This is rarely an issue in normal use,
and can be resolved by dividing them into separate groups.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-06 16:07:16 +00:00
TOKITA Hiroshi
e8a35bc567 modules: hal_rpi_pico: Make PICO_NO_BINARY_INFO configurable
Use the definition of PICO_NO_BINARY_INFO if it already exists,
set it as 1 if not so.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-06 16:07:16 +00:00
TOKITA Hiroshi
1e6fe9ffda modules: hal_rpi_pico: add includes that referenced by binary info
The binary info feature references `boot_stage2` and `pico_binary_info`.
Add these to include dirs.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-06 16:07:16 +00:00
Robyn Milas
ebfd777b2c drivers: spi: stm32 fix bug on empty tx
When transceive is called on a chip without CONFIG_SPI_STM32_INTERRUPT,
spi_stm32_shift_frames was called even if there was no transfer ongoing.
This lead to an unwanted SPI transfer shifting the whole connection,
causing drivers to malfunction.
Fix it by replacing the do-while loop with a while loop.

Signed-off-by: Robyn Milas <robyn.milas@valotec.com>
2026-01-06 16:06:41 +00:00
Jamie McCrae
914ac2dc05 west.yml: MCUboot synchronization from upstream
Update Zephyr fork of MCUboot to revision:
  9ac72969f281491d677e669d053281fc2d538ed4

Brings following Zephyr relevant fixes:

  - 9ac72969 boot: bootutil: loader: Fix bootstrap copying in
    swap move mode
  - 3f69203f bootutil: ed25519 psa: Merge bootutil_verify_sig and
    bootutil_verify
  - 7f354916 bootutil: Remove bootutil_verify_img
  - 7cec4af1 bootutil: Replace bootutil_verify_img with
    bootutil_verify_sig
  - 4a57d03d boot: zephyr: socs: stm32h7s3xx: Add support for
    ext_flash_app variant
  - a21fd276 bootutil: Small logging improvements
  - 0acc9806 bootutil: boot_read_enc_key now returns boolean
  - 553be8b0 readme: Update for next dev release
  - eecc3f7d Release v2.3.0

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-06 16:06:22 +00:00
Daniel Schaefer
efcb2f081d boards: framework: Add framework_laptop16_keyboard
The following examples build and work as expected.

Blink backlight using PWM on white backlight keyboard or numpad:
> west build -p -b framework_laptop16_keyboard samples/basic/blinky_pwm

Blink capslock on keyboard (not numpad or macropad):
> west build -p -b framework_laptop16_keyboard samples/basic/blinky_pwm

> west build -p -b framework_laptop16_keyboard samples/subsys/usb/console
> west build -p -b framework_laptop16_keyboard samples/subsys/usb/cdc_acm
> west build -p -b framework_laptop16_keyboard samples/drivers/adc/adc_dt

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-01-06 16:06:14 +00:00
Daniel Schaefer
33d671b205 dts: bindings: vendor-prefixes: Add Framework Computer, Inc.
Add Framework Computer Inc

Signed-off-by: Daniel Schaefer <dhs@frame.work>
2026-01-06 16:06:14 +00:00
Jonas Berg
82b25849e4 samples: servo-motor: Add overlay for Cytron Motion 2350 Pro
Enabled servo port GP0. Added commented-out entries for the other ports,
as is done for the other overlay files.

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-06 16:05:55 +00:00
Jonas Berg
eeff32644d boards: Add support for Cytron Motion 2350 Pro
Tested with the commands mentioned in index.rst

Product photo from https://www.cytron.io/p-motion-2350-pro

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-06 16:05:55 +00:00
Thamaraimanalan M
450096dc77 scripts: check_compliance: fix broken URL in ruff compliance error
Add a trailing space to the Ruff error message string in the compliance
checking script. Previously, the error message concatenated the URL and
the description with a colon (e.g., ".../unsorted-imports:Import").
This caused the terminal to interpret the description as part of the URL,
resulting in a 404 error when clicked.

Signed-off-by: Thamaraimanalan M <devthamaraimanalan.m@gmail.com>
2026-01-06 16:04:24 +00:00
Michele Sardo
1ce6a26f70 debug: stack: include kernel.h for k_thread API usage
The debug/stack.h header uses k_thread types and APIs such as
struct k_thread, k_thread_stack_space_get(), and k_thread_name_get(),
but does not include <zephyr/kernel.h>.

This makes the header rely on transitive includes, which can lead to
build failures depending on include order.

Add an explicit include of <zephyr/kernel.h> to make the header
self-contained.

Signed-off-by: Michele Sardo <msmttchr@gmail.com>
2026-01-06 16:04:15 +00:00
Alberto Escolar Piedras
60285318c9 soc: native: Remove old note from kconfig option
Since e150ffb92c, Zephyr only really
supports native_simulator based targets when building native/posix
arch based targets.
So this comment is not relevant anymore. Let's remove it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-01-06 16:04:03 +00:00
Daniel Fladerer
a4f75ba4bd drivers: serial: uart_mcux_iuart: Adjust FIFO fill behavior for TX
Until now transmission FIFO was not used.
With this chamge the FIFO will be filled up, until it is full.

Signed-off-by: Daniel Fladerer <d.fladerer@gmx.de>
2026-01-06 13:37:54 +00:00
Peter Mitsis
6b00cf20d9 doc: Note that SMP and UP thread ordering differs
Adds a short section explaining how thread ordering between UP and
SMP systems differ.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2026-01-06 13:37:46 +00:00
Peter Mitsis
56821d75a6 doc: Update time slicing image
Updates the time slicing image in the associated documentation to ...

1. Show the resetting of a time slice after scheduling a new thread
2. Indicate that it is specific for UP scheduler

It also adds a note to the documentation describing how the ordering
of the threads would change with the SMP scheduler.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2026-01-06 13:37:46 +00:00
Benedek Kupper
4305403fd2 drivers: dma: stm32: the source and destination sizes must only match in v1
Commit e7f222a fixed the bug where a data size mismatch produces unexpected
behavior with the DMA on V1 devices. However, this limitation is only valid
for the STM32 series with V1 DMA, V2 doesn't have this. The STM32CubeMX
configuration tool correctly implements this limitation in the UI,
it is a good way to cross-check.

Signed-off-by: Benedek Kupper <kupper.benedek@gmail.com>
2026-01-06 13:37:31 +00:00
Ha Duong Quang
e170033a63 tests: drivers: pwm: enable pwm test for s32k5
Enable api and looback test for S32K5 PWM(eMIOS)

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
2026-01-06 13:37:15 +00:00
Ha Duong Quang
81de86f9e7 dts: arm: nxp: add emios devicetree nodes for s32k5
Add devicetree node of emios instances for s32k566.

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
2026-01-06 13:37:15 +00:00
Ha Duong Quang
3db533ae91 drivers: pwm: add support pwm(emios) for s32k5
Add support PWM(eMIOS) for S32K5

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
2026-01-06 13:37:15 +00:00
Ha Duong Quang
31a0ffda03 drivers: misc: add global timebase reference property
Add property to enable eMIOS instances to reference a global timebase
provider, either from itself or another eMIOS instance, enabling
synchronized timing operations across multiple instances.

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
2026-01-06 13:37:15 +00:00
Stefan Gloor
872f20ab21 doc: develop: add 'which' to Arch Linux dependencies
The setup.sh script of the Zephyr SDK runs "which cmake"
to find out whether CMake and wget are installed:
71df6c27da/scripts/template_setup_posix (L43)

"which" is not installed by default on Arch Linux,
so the check will fail and the script will yield:

Zephyr SDK setup requires 'cmake' to be installed
and available in the PATH.
Please install 'cmake and run this script again.

Although CMake is already installed.
Fix this by adding "which" to the list of dependencies.

Signed-off-by: Stefan Gloor <code@stefan-gloor.ch>
2026-01-06 13:36:56 +00:00
Mathieu Choplain
219cdf756a boards: arm: use zephyr:board-supported-hw
Replace legacy hand-mantained tables with the new directive that generates
a table automatically based on platform device tree.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2026-01-06 13:36:30 +00:00
TOKITA Hiroshi
a0184867c4 boards: raspberrypi: rpi_5: Use normalized name
Rename the file to rpi_5_bcm2712... based on the normalized name.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-06 13:36:03 +00:00
Pavel Vasilyev
2b4bbb9a2f doc: releases: migration-guide: 4.4: remove extra backtick
This fixes compliance check by removing extra backtick.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2026-01-06 13:35:51 +00:00
Florian Depraz
7963b69fa4 dts: stm32u073: Add LPUART3 configuration
See rm0503-stm32u0 manual:
- Bit 12 LPUART3RST: LPUART3 reset
- Bit 12 LPUART3EN: LPUART3 clock enable
- Bit 1 LPUART3 (SYSCFG_ITLINE30)

Signed-off-by: Florian Depraz <florian.depraz@alumni.epfl.ch>
2026-01-06 10:43:04 +01:00
Xudong Zheng
9d9a8efab2 entropy: rpi_pico: implement entropy driver for RP2350
Use get_rand_64() from Pico SDK for entropy.

Signed-off-by: Xudong Zheng <7pkvm5aw@slicealias.com>
2026-01-06 10:39:38 +01:00
Lyle Zhu
0c3239f0c9 bluetooth: Classic: hfp_hf: make at_get_string() return const char *
Change at_get_string() return type to 'const char *'. Correspondingly,
change string parameters in HFP HF callbacks and related functions
from 'char *' to 'const char *' to reflect that these strings are
read-only data returned from AT command parsing.

- Update bt_hfp_hf_cb callback signatures for clip, operator,
  call_waiting, and textual_representation
- Update at_get_string() return type to 'const char *'
- Update local variables in hfp_hf.c handlers to use 'const char *'
- Update shell callback implementations to match new signatures
- Change NULL check style from '!text' to 'text == NULL' for consistency
- Remove unnecessary initialization of 'number' variable in clcc_handle

This improves const-correctness and prevents accidental modification
of AT command response strings.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-06 10:35:28 +01:00
Zhaoxiang Jin
edd9242050 tests: power_mgmt_soc: enable test for mcx_n5xx_evk_mcxn547_cpu0
enable power_mgmt_soc test for NXP mcx_n5xx_evk_mcxn547_cpu0 board.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 10:34:18 +01:00
Zhaoxiang Jin
048b3d8fd0 soc: nxp/mcxn: Add power management support for MCXN547
Add power management support for MCXN/MCXN547.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 10:34:18 +01:00
Zhaoxiang Jin
0403154324 dts: arm: nxp: mcxn: Add power state nodes for mcxnx4x
1. Add power state nodes for mcxnx4x soc dtsi, including
sleep, deepsleep and powerdown.

2. Add power management related peripheral nodes
for mcxnx4x soc dtsi, including spc, cmc, vbat and wuu.

3. Add 'zephyr,cortex-m-idle-timer' node in mcx_nx4x_evk_cpu0.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 10:34:18 +01:00
Zhaoxiang Jin
abc6b61914 boards/nxp: mcxn: Enable LPUART pin internal pullup resistor
This commit enables mcx_nx4x_evk LPUART pin internal pullup resistor.
For MCXN547, during LPUAR initialization, the RX pin is pulled down
internally and STAT[RAF] is set to one. In this state, attempting to
enter low power mode will trigger LPACK reset and therefore cannot
truly enter low power mode. The correct setting should be to enable
LPUART pin internal pullup resistor.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-06 10:34:18 +01:00
Kyle Bonnici
9f7e4bfafa Tests: Rename DTC_OVERLAY_FILE files to .overlay
This PR renames DTC_OVERLAY_FILE from .dts to .overlay

Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
2026-01-06 10:34:08 +01:00
Kyle Bonnici
5cc1179bcd Boards: Rename non .dts file to .dtsi
Include files should be named .dtsi and not .dts

This PR renames the .dts files that are:
- Not board files
- Included by other dts/dtsi files
- Aligns the #include to use the .dtsi

This PR also deletes `boards/mediatek/mt8186/afe-mt8186.dts` as this is
not included by any file and is clearly not a board file.

Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
2026-01-06 10:34:08 +01:00
Michał Stasiak
9640c41936 Revert "drivers: i2s: nrf_tdm: fix application of buffer size workaround"
This reverts commit e37b89f0b4.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-01-06 10:32:52 +01:00
Merin George
515948a9a2 Kconfig: fix the define to disable SysTick when LP timer is enabled
Fix the Kconfig dependency for CYW20829 so that enabling the
low-power system timer automatically disables the Cortext-M SysTick

Signed-off-by: Merin George <merin.george@infineon.com>
2026-01-06 10:32:40 +01:00
Merin George
88a40ab6df drivers: flash: cyw920829 configuration moved from driver to boards
- Flash configuration was previously done in the driver selected by
   Kconfig. Instead move flash configuration to the board removing
   the need for ifdefs in the driver. This will allow boards to
   configure specifics related to the on board (not part of the SoC)
   flash.

Signed-off-by: Merin George <merin.george@infineon.com>
2026-01-06 10:32:40 +01:00
Victor Brzeski
20d130f2c2 drivers: i2s: nrf_tdm: resolve race between drop/start commands
The current "drop" command stops i2s asynchronously as the peripheral
produces/consumes up to MAXCNT. When complete, the IRQ STOPPED event
will free memory and disable the peripheral. However, when triggering
a "start" command before this completes, the internal state variables
are cleared and we leak application memory.

Signed-off-by: Victor Brzeski <vbrzeski@gmail.com>
2026-01-06 10:30:46 +01:00
Victor Brzeski
bdf9ec48d2 drivers: i2s: delete dead code in IRQ handler
The nRF TDM Driver has a bitfield containing the TDM events it has
already processed. This variable is unused, delete it.

Signed-off-by: Victor Brzeski <vbrzeski@gmail.com>
2026-01-06 10:30:46 +01:00
Pieter De Gendt
e81bacd361 scripts: west_commands: Extend ruff config in pyproject.toml
Now that the west_commands directory has a pyproject.toml configuration
file, it should consider local packages for first party imports.

Make sure the top-level ruff config is extended, and fix some import
sorting.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-06 10:30:32 +01:00
Victor Brzeski
5a5f0a6e8b drivers: clock_control: nrf2: improve audiopll clock calculations
Improve the Audio PLL clock frequency calculations to provide a more
accurate clock frequency.

Signed-off-by: Victor Brzeski <vbrzeski@gmail.com>
2026-01-06 10:30:15 +01:00
Emil Gydesen
1de27b1f2c tests: Bluetooth: BAP: Test bt_bap_ep_get_conn in BSIM
Add steps in the BAP tests to verify the correctness of
bt_bap_ep_get_conn.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-06 10:29:40 +01:00
Emil Gydesen
bf37ec10cb doc: releases: Add entry for bt_bap_ep_get_conn
Add entry for the new function bt_bap_ep_get_conn.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-06 10:29:40 +01:00
Emil Gydesen
59a1c6e0de Bluetooth: BAP: Add bt_bap_ep_get_conn
Add a new function, bt_bap_ep_get_conn, which returns
the ACL connection for the endpoint. This works because
endpoints are specific to an ACL in BAP. The function
returns a pointer with a new reference similar to the
lookup functions from conn.h

The conn pointer was not added to the bt_bap_ep_info
struct, as doing so would be more likely to cause
reference leaks if the caller did not care about the
conn pointer when using bt_bap_ep_get_info. It can be
added later if that is requested.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-06 10:29:40 +01:00
Emil Gydesen
e9f8d73049 tests: Bluetooth: BAP: BA: Update conn params for PAST
When using PAST, it is best not to use an ACL that is a multiple
of the PA or ISO interval to avoid overlaps.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-06 10:29:22 +01:00
Emil Gydesen
be9ea4625e tests: Bluetooth: BAP: BSIM: SD/BA: Fix/add some print statements
Modify and add some printk statements for the tests, as some were
missing the newline.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-06 10:29:22 +01:00
Emil Gydesen
85b8852980 samples: Bluetooth: BA: Read receive states on connection
Once the BASS has been discovered, the sample will now attempt
to read all the receive states on the remote device.

The receive states will only be logged, and the sample will
not (yet) perform any logic on them (to e.g. determiner whether
it needs to perform a remove source operation before the add
source, or perform a modify source). That behavior is postponed
to a future commit, as the purpose of this is to showcase
reading the receive states.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-06 10:29:22 +01:00
Emil Gydesen
f4e14dfb24 Bluetooth: BAP: BA: Refactor discover to not do read
Refactor the bt_bap_broadcast_assistant_discover function
to not read receives at the end of discovery.
This makes the function more true to what it is supposed to
do, and significantly reduces the complexity of the
procedure and the read callback.

Users will be required to, if wanted, to read the
receive state themselves with the existing
bt_bap_broadcast_assistant_read_recv_state.

The start_offset had to be modified to avoid issues with
PA sync.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-06 10:29:22 +01:00
Emil Gydesen
f3b63a1bd6 Bluetooth: CCP: Server: Add support for get UCI
Add support for getting the UCI.
For now the UCI will be duplicated by the TBS
implementation, but will be optimizied in the future
so only one copy of the UCI exists.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-06 10:28:23 +01:00
Nick Brook
24dc151e5d doc: Correct grammar in board revision documentation
Correct grammar in board revision documentation

Signed-off-by: Nick Brook <nrbrook@gmail.com>
2026-01-05 23:39:46 +01:00
Nick Brook
b95b778530 doc: Add concrete board revision usage with qualifiers
The existing documentation was not explicit on how qualifiers should be
combined with board revisions. This commit makes it explicit and adds a
concrete example.

Signed-off-by: Nick Brook <nrbrook@gmail.com>
2026-01-05 23:39:46 +01:00
Khoa Nguyen
f8d40c2545 boards: renesas: Migrate to use ext-ram instead of sdram.ld
- Update dts to ext-ram since section allocation is updated
in the display driver
- Move the Display, LVGL config definitions from board layer
to shield layer
- Update the LVGL config value to match the new SDRAM allocation
- Remove sdram.ld in the board layer for all Renesas boards
- Update .conf overlay for Renesas devices in display_read_write

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-01-05 23:39:13 +01:00
Khoa Nguyen
b3136da487 boards: shields: rtkmipilcdb00000be: Update default LVGL config
Update default value for LVGL config

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-01-05 23:39:13 +01:00
Khoa Nguyen
1a047270da drivers: display: Migrate to use generic linker sections for Renesas
Migrate to use generic linker sections for Renesas display driver

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-01-05 23:39:13 +01:00
Liam Ogletree
7b9e270831 tests: build_all: Add CS40L5x haptics driver to haptics build test
Adds CS40L5x haptics driver to haptics build test. Adds dummy GPIO,
which is required for CS40L5x's reset-gpio property.

Signed-off-by: Liam Ogletree <liam.ogletree@cirrus.com>
2026-01-05 23:38:24 +01:00
Liam Ogletree
1b61011e44 samples: cs40l5x: Add sample application for CS40L5x haptics driver
Adds a sample application for the CS40L5x haptics driver. This PR
provides a custom shell interface to expose most of the CS40L5x-specific
API functions; basic demonstrations of other functions are provided.

Signed-off-by: Liam Ogletree <liam.ogletree@cirrus.com>
2026-01-05 23:38:24 +01:00
Liam Ogletree
bb8381d2bf drivers: haptics: Add support for CS40L5x haptic driver
CS40L5x is a family (CS40L50/51/52/53) of haptics drivers designed
for trackpads, tablets, and automotive applications.

This PR provides basic functionality for ROM features and serves
as a starting point for the upstream driver. Notably, RAM firmware,
SPI,  and certain CS40L51/52 features (e.g., diagnostics,
closed-loop algorithms) are excluded from this PR.

Tested with internal/external boost configurations. Tested I2C.
Tested all ROM features with each device variant (50/51/52/53),
including ROM playback, "buzz" playback and configuration, custom
haptics playback and configuration, trigger playback and configuration,
runtime haptics logging, and gain configuration.

Signed-off-by: Liam Ogletree <liam.ogletree@cirrus.com>
2026-01-05 23:38:24 +01:00
Bill Waters
5b6ec7a6ee soc: infineon: add pse84 power management
Add power management support for the Infineon PSE84 device

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2026-01-05 23:37:50 +01:00
Thamaraimanalan M
17b583f83c boards: rpi_5: update doc to include 1GB, 2GB, and 16GB variants
The Raspberry Pi 5 product line has expanded since launch. The current
documentation only lists the original 4GB and 8GB models. This commit
updates the board documentation to include the missing variants.

Signed-off-by: Thamaraimanalan M <devthamaraimanalan.m@gmail.com>
2026-01-05 21:42:57 +01:00
Cezar Burlacu
8af187eeff dts: arm: st: fix stm32h523/33Xe sram2/3 addresses
stm32h523/33Xe devices have different addresses than stm32h562/72/73xx
(RM0481 fig. 21).

Tested on a custom board with stm32h523cet6 where the board crashed when
accessing sram3.

Signed-off-by: Cezar Burlacu <cezar@embeddedp.ro>
2026-01-05 21:42:26 +01:00
Tom Burdick
e9fc413688 boards: kit_pse84_eval: Documentation fixes
A few fixes to the PSOC Edge 84 Eval kit documentation by re-using
Zephyr sphinx commands.

Adds a very critical note that a switch hidden under and LCD needs to
be flipped before you can successfully program the board.

Signed-off-by: Tom Burdick <thomas.burdick@infineon.com>
2026-01-05 21:41:58 +01:00
Henrik Brix Andersen
141e6f1a27 doc: update copyright notice in the documentation
Update copyright notice to reflect current year.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-01-05 17:17:34 +00:00
Fabio Baltieri
99d5823956 samples: net: bridge: check for eth_bridge_iface_add errors
Check for errors on eth_bridge_iface_add, these can add if, for example,
an interface does not support promisc mode.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-05 17:17:12 +00:00
Fabrice DJIATSA
4588f22892 tests: drivers: pwm: pwm_api: add support for nucleo_wb09ke
Assign the pwm2 node to the require pwm-test alias.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 17:17:01 +00:00
Fabrice DJIATSA
e29521087a tests: drivers: counter_basic_api: add support for nucleo_wb09ke
Enable all timer and counter nodes.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 17:17:01 +00:00
Fabrice DJIATSA
4727415b25 dts: arm: st: wb0: add support for timer kernel clock
PR #93198 introduced the support for the timer kernel
clock for most STM32 series.

it was missing for STM32WB0 serie.

These changes are required for the related timer tests/samples
to pass.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 17:17:01 +00:00
Fabrice DJIATSA
4d6eaa6f63 drivers: flash: wb0x: update function to get flash size
For STM32WB0x series, LL_GetFlashSize returns the flash size in words,
not bytes. The previous implementation incorrectly interpreted this
value, leading to a large discrepancy between the expected size (512 KB)
and the computed size (64 MB) in the test_get_size ztest.

This change updates the logic to correctly compute the flash size in
bytes, ensuring accurate results in size-related operations.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 17:17:01 +00:00
Fabrice DJIATSA
d4d3c0f998 tests: drivers: rtc: rtc_api: add support for nucleo_wb09ke
add node alias for RTC and enable RTC alarm and calibration.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 17:17:01 +00:00
Fabrice DJIATSA
dfff4162ae tests: boot: add support for nucleo_wb09ke
- update board dts flash0 node to match the layout required
  for the SWAP USING OFFSET algorithm.
- Update related test/sample yaml files to enable CI testing

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 17:17:01 +00:00
Fabrice DJIATSA
f7262a5656 tests: drivers: spi: spi_loopback: add support for nucleo_wb09ke
Enable DMA in the overlay file and set the appropriate transfer
duration in the conf file

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 17:17:01 +00:00
Camille BAUD
78f6b8dcb7 drivers: display: clean up ssd1306
clean up and improve ssd1306 driver code

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-05 17:16:45 +00:00
Camille BAUD
b350791855 drivers: display: Improve SSD1306 error handling and reporting
returning -1 doesn't constitute proper error reporting.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-05 17:16:45 +00:00
Ibrahim Abdalkader
ca6aed203c drivers: sdhc: stm32: skip semaphore wait on HAL error
When HAL_SDIO_WriteExtended_DMA or HAL_SDIO_ReadExtended_DMA returns
an error, interrupts are not enabled so the semaphore would never be
given, and it will always timeout.

Some drivers expect certain functions to fail during normal operation.
For example, WHD calls whd_kso_enable during sleep/wakeup cycles which
can fail. This would waste 200ms (CONFIG_SD_CMD_TIMEOUT default) on
every such failure.

Signed-off-by: Ibrahim Abdalkader <i.abdalkader@gmail.com>
2026-01-05 17:16:36 +00:00
CHEN Xing
35f03c3415 boards: microchip: sam: sama7g54_ek: enable hwinfo support
Enable hwinfo support for sama7g54_ek board

Signed-off-by: CHEN Xing <xing.chen@microchip.com>
2026-01-05 17:16:25 +00:00
CHEN Xing
b2581a29bb dts: arm: microchip: sam: add otpc device to sama7g5
Add otpc device, used by hwinfo driver

Signed-off-by: CHEN Xing <xing.chen@microchip.com>
2026-01-05 17:16:25 +00:00
CHEN Xing
4fa82d086e soc: microchip: sam: sama7g5: update mmu for otpc
Update mmu region for otpc

Signed-off-by: CHEN Xing <xing.chen@microchip.com>
2026-01-05 17:16:25 +00:00
Martin Meyer
95b0c72bf2 drivers: sensor: ti: opt300x: extend support to otp3004 sensors
The ti,opt3004 ambient light sensor is having same I2C interface
as ti,opt3001.

Signed-off-by: Martin Meyer <meyer.m90@gmail.com>
2026-01-05 17:16:13 +00:00
Christoffer Gjedsted Brask
f8dba1baee doc: zbus: clarify observer priority, fixed spelling and grammar
Changed the parameter description for _observers in ZBUS_CHAN_DEFINE and
ZBUS_CHAN_DEFINE_WITH_ID. The original description was hard to interpret
and appeared to be split by "@see struct zbus_channel".

Fixed several spelling and grammar issues.

Signed-off-by: Christoffer Gjedsted Brask <cgb@develco.dk>
2026-01-05 16:07:31 +01:00
Gaetan Perrot
92607b3bf8 drivers: modem: hl78xx: hl78xx_cfg: fix APN NULL check
hl78xx_set_apn_internal() was calling strlen(apn) before checking
the APN pointer against NULL, making the defensive check
ineffective.

Reorder the code so the NULL check is performed before dereferencing
the APN pointer.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-05 16:07:15 +01:00
Zhaoxiang Jin
4ddcd4bf3c doc: releases: update LPCMP deprecation notes for 4.4
Simplified the LPCMP driver migration notes by removing outdated
information about the devicetree compatible renaming. The compatible
nxp,lpcmp is now shared between both the sensor API-based and
comparator API-based LPCMP drivers, so the previous note about
renaming to nxp,sensor-lpcmp is no longer accurate.

Moved the comparator API-based LPCMP driver information to the
'New Drivers' directory.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-05 16:06:37 +01:00
Zhaoxiang Jin
510253d12a drivers: sensor: mcux_lpcmp: Removed redundant help information
Removed redundant help information

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-05 16:06:37 +01:00
Zhaoxiang Jin
af536abe7d dts: drivers: remove nxp,sensor-lpcmp.yaml
1. Removed nxp,sensor-lpcmp.yaml and merged its
properties into nxp,lpcmp.yaml. Now a single
dt-binding (compatible: nxp,lpcmp) is shared
by two drivers: the sensor API-based LPCMP
driver and the comparator API-based LPCMP driver.

2. Updated the driver and samples accordingly.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-05 16:06:37 +01:00
Andy Lin
8558b935b1 coredump: arm: Callee registers for armv6-m and v8-m baseline
Ensure callee registers included in coredump.
Push callee registers onto stack for
CONFIG_ARMV6_M_ARMV8_M_BASELINE as well
when CONFIG_EXTRA_EXCEPTION_INFO enabled.

Effectively a complement to df6b8c3 by mholden.

Signed-off-by: Andy Lin <andylinpersonal@gmail.com>
2026-01-05 16:06:19 +01:00
Florian Mahon
8893c3f964 boards: rpi_pico2: doc: Add Wi-Fi firmware blob setup instructions
Add missing documentation for the required Wi-Fi firmware blob download
step when building for the Pico 2W variant (rpi_pico2/rp2350a/m33/w).

The Infineon CYW43439 Wi-Fi chip requires proprietary firmware files
that must be fetched before building. Without this step, users
encounter CMake errors about missing firmware files.

Added a new section explaining:
 - The requirement to run 'west blobs fetch hal_infineon'
 - What files are downloaded (43439A0.bin and 43439A0.clm_blob)
 - That this only needs to be done once per workspace

 This resolves a common issue where new users following the
 documentation cannot build Wi-Fi applications successfully.

Signed-off-by: Florian Mahon <florian.mahon@gmail.com>
2026-01-05 13:55:32 +01:00
Fabrice DJIATSA
a5bbbeea9a tests: boot: update testcase.yaml files
Add the stm32l562e_dk board as an allowed platform to
execute tests in CI.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 11:39:55 +01:00
Fabrice DJIATSA
58b6187510 boards: st: stm32l562e_dk: update flash0 node
Swap using offset requires that slot1 has one extra sector
size compared to slot0.

These changes are necessary to execute MCUboot tests and fix
issues detected in common flash test drivers.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-05 11:39:55 +01:00
Benjamin Cabé
f9fdd9fc50 include: dac: add doxygen docs for dac161s997 extended API
Adds doxygen documentation for the extended API of the TI DAC161S997
driver.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-05 11:38:41 +01:00
Benjamin Cabé
213c0cd98c include: dac: add doxygen group for device-specific DAC API extensions
Similar to how it's done for other driver classes, create a new doxygen
group to put all device-specific DAC API extensions under.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-05 11:38:41 +01:00
Jan Behrens
01fc126473 drivers: counter: stepper: test: Added RPI Pico PIT to existing tests
Added the RPI Pico PIT driver to the counter_basic_api test suite.

Signed-off-by: Jan Behrens <jan.behrens@navimatix.de>
2026-01-05 11:38:13 +01:00
Jan Behrens
47b988c8dc drivers: counter: test: Added RPI Pico PIT tests
Added a test suite for the RPI Pico PIT driver that tests both
functionality and erroneus inputs.

Signed-off-by: Jan Behrens <jan.behrens@navimatix.de>
2026-01-05 11:38:13 +01:00
Jan Behrens
2f654b6e14 drivers: counter: Added RPI Pico PIT counter driver
Added a counter driver for the RPI Pico/RP2040 that implements
programmable interval timer (PIT) functionality using the PWM HAL.

Signed-off-by: Jan Behrens <jan.behrens@navimatix.de>
2026-01-05 11:38:13 +01:00
Thomas Stranger
7eb623c035 github: dependabot: configure cooldown time for updates
This will delay non security dependabot updates to packages,
giving automated tools and researchers more time to catch updates
with malicious intent, thus reducing the supply chain security risks.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2026-01-05 09:21:03 +01:00
Holt Sun
f18be66783 boards: lpcxpresso55s28: add CRC peripheral support
Add CRC hardware peripheral support to NXP LPC55S2X SoC family and
enable it on the lpcxpresso55s28 board

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-05 09:20:40 +01:00
Holt Sun
ed2fc81d4b drivers: crc: add NXP LPC CRC driver
Add CRC driver implementation for NXP LPC microcontrollers.

The driver supports:
- CRC-CCITT, CRC-16, and CRC-32 IEEE polynomials
- Configurable input/output bit reversal
- Seed value configuration
- Thread-safe operation with semaphore locking
- Streaming CRC calculation via begin/update/finish API

Hardware limitations:
- Processes data in 8-bit chunks internally
- 32-bit writes require 4 cycles (8-bit × 4)
- Supports back-to-back writes of 8/16/32-bit width

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-05 09:20:40 +01:00
Holt Sun
0b897874bb dts: bindings: crc: add NXP LPC CRC binding
Add devicetree binding for the NXP LPC CRC controller
(compatible "nxp,lpc-crc") with required reg property.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-05 09:20:40 +01:00
Holt Sun
bce0b1a72c modules: hal_nxp: mcux: enable LPC CRC driver component
Enable lpc crc driver for zephyr crc driver.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-05 09:20:40 +01:00
Johnny Chuang
0e051f7c2b board: add '32f967_dv' development board (minimal build support)
Minimal board definition for the Elan em32f967 SOC:
- Includes DTS, YAML, and Kconfig files
- Provides board.cmake with misc-flasher for CI/build
- Actual flashing is not included in this PR

Signed-off-by: Johnny Chuang <johnny.chuang@emc.com.tw>
2026-01-05 09:18:40 +01:00
Johnny Chuang
7e45f351c5 soc: add Elan em32f967 minimal SoC support
Add initial support for the Elan em32f967 SoC based on ARM Cortex-M4.
Minimal SoC definition for upstream:
- soc.h, Kconfig, and CMakeLists.txt provided for completeness
- This PR does not implement drivers or UART functionality

Signed-off-by: Johnny Chuang <johnny.chuang@emc.com.tw>
2026-01-05 09:18:40 +01:00
Johnny Chuang
6f0e2acf1e dt-bindings: elan em32f967 – clock, gpio, pinctrl, pwm
Add minimal DT binding headers and matching YAML files for the
Elan em32f967 SoC. The new definitions are required to build the
sample board and follow the upstream style.

Signed-off-by: Johnny Chuang <johnny.chuang@emc.com.tw>
2026-01-05 09:18:40 +01:00
Thinh Le Cong
23892b038f drivers: serial: fix IAR warning Pe1072 about declaration after a label
Fix Pe1072 warning (declaration after case label) by wrapping with braces

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2026-01-04 14:11:51 +01:00
Ayush Singh
9d9529f0db doc: develop: manifest: external: Add greybus
Add documentation for Greybus Zephyr implementation. The RFC [0] goes into
more detail regarding Greybus and it's current status.

[0]: https://github.com/zephyrproject-rtos/zephyr/issues/98259

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2026-01-03 13:09:36 +01:00
Alberto Escolar Piedras
e90135eb0c arch: posix: cmake: Minor clarifications
Minor improvements in this cmake:
Add a comment to clarify why we set one option, and move an if
into an else with a comment of what is doing.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-01-03 10:20:34 +01:00
Alberto Escolar Piedras
6f427044dd arch: posix: cmake: Remove unnecessary line
This variable is not set to anything.
This line has always been just bogus.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-01-03 10:20:34 +01:00
Gaetan Perrot
dab667f51c drivers: clock_control: renesas_ra_cgc: fix API name typo
Fix a typo in the Renesas RA clock control API symbol name.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-03 10:20:24 +01:00
Gaetan Perrot
15eb2ee314 drivers: clock_control: renesas_ra_cgc: fix NULL subsys handling
Fix unsafe handling of the clock control subsystem pointer.

The subsystem argument was cast before being validated, which could
lead to invalid memory access when NULL is passed.

Rework the on/off callbacks to validate the subsystem pointer before
casting it, drop unnecessary device checks, and mark the device
argument as unused.

Also simplify get_rate() validation by checking only the rate
pointer.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-03 10:20:24 +01:00
Gaetan Perrot
0f59ae35d4 drivers: ethernet: eth_virtio_net: remove invalid NULL check
Remove a NULL check on the device pointer that occurs after the
pointer has already been dereferenced.

This check can never be true and is therefore misleading.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-03 10:19:52 +01:00
Alberto Escolar Piedras
a2f45762f1 arch posix: cleanup NATIVE_APPLICATION support remnants
NO_POSIX_CHEATS was a macro used to avoid including the content of a
header (`posix_cheats.h`) which allowed building applications in the
POSIX architecture without the native simulator, avoiding collisions
between some embedded symbols and those from the host C library.

Support for this way of building, and this header and macro were
removed in e150ffb92c, but these users
were forgotten. This was harmless, but let's just clean it up now.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-01-03 10:19:34 +01:00
Daniel Leung
b82e352f58 boards: intel_adsp: ignore newlib tests in twister
Add newlib to ignore_tags so twister will no longer run newlib
tests. These platforms have memory mappings that are not quite
what newlib is expecting so malloc may sometimes fail or even
returns invalid addresses. Fixing it is not worth the effort
because:

() Zephyr SDK provides picolibc now and not newlib, and malloc
   works fine with picolibc.

() Downstream projects uses xcc/xt-clang as toolchains where
   their provided newlib are not multi-thread safe, and cannot
   be safely used under SMP environment.

So simply ignore any newlib tests as they are not really
providing any values on these platforms.

Fixes #100895

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2026-01-03 10:19:13 +01:00
Peter Mitsis
3affd0385e kernel: Fix race condition in z_time_slice()
Instead of directly calling the current thread-specific time slice
handler in z_time_slice(), we must call a saved copy of the handler
that was made when _sched_spinlock was still held. Otherwise there
is a small window of time where another CPU could change the handler
to NULL just before we call it.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2026-01-03 10:18:53 +01:00
Peter Mitsis
c4e2db088f kernel: Add check to k_sched_time_slice_set()
When k_sched_time_slice_set() is called, the current time slice
should not be reset if the current thread is using thread-grained
time slicing. This is to maintain consistency with the already
established idea that thread-grained time slicing takes precedence
over the system-wide time slice size `slice_ticks`.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2026-01-03 10:18:53 +01:00
Peter Mitsis
3a0784fe22 kernel: Update thread_is_sliceable()
This fixes several minor items related to the priority or importance
of checks in determining whether the thread can be time sliced.

A thread that is prevented from running can not be time sliced
regardless of whether it was configured for thread-grained
time slicing or not. Nor can the idle thread be time sliced.

If the thread is configured for thread-grained time slicing, then
do not bother with the preemptible or priority threshhold checks.
This maintains the same behavior, and just optimizes the checks.

If the thread is sliceable, we may as well return the size of the
tick slice since we are checking that information anyway. Thus, a
return value of zero (0) means that the thread is not sliceable,
and a value greater than zero (0) means that it is sliceable.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2026-01-03 10:18:53 +01:00
Peter Mitsis
d05d9454bf kernel: Remove superfluous thread_is_sliceable() call
Within z_sched_ipi() there is no need for the thread_is_sliceable()
test as z_time_slice() performs that check. Since as a result of this
thread_is_sliceable() is now only used within timeslicing.c, the
'static' keyword is applied to it.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2026-01-03 10:18:53 +01:00
Abderrahmane JARMOUNI
fe039cb07b drivers: flash: silabs: replace 'depends on DMA' with 'select'
When a driver requires the usage of a low level driver subsystem
(like SPI, I2C, DMA...), it shall enable it instead of depending on it.
Also, make DMA usage depend on its DT properties being defined.

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2026-01-02 16:01:31 +00:00
Abderrahmane JARMOUNI
6d9ded6651 drivers: adc: silabs IADC: replace 'depends on DMA' with 'select'
When a driver requires the usage of a low level driver subsystem
(like SPI, I2C, DMA...), it shall enable it instead of depending on it.
Also, make DMA usage depend on its DT properties being defined.

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2026-01-02 16:01:31 +00:00
Vinayak Kariappa Chettimada
321ffb786b tests: bsim: Bluetooth: Do not use the BT_ prefix
Do not use the BT_ prefix for definitions not provided by
the Bluetooth subsystem.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-02 16:01:26 +00:00
Vinayak Kariappa Chettimada
e78fe1dcdc samples: Bluetooth: Move harness and tags to common section
Move harness and tags to common section for observer and
broadcaster_multiple samples.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-02 16:01:26 +00:00
Vinayak Kariappa Chettimada
50b6842ee3 samples: Bluetooth: observer: Move Zephyr Controller Kconfigs
Move Zephyr Controller Kconfigs to overlay file.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-02 16:01:26 +00:00
Vinayak Kariappa Chettimada
a9b6024585 samples: Bluetooth: Broadcast multiple legacy and extended advertising
Update broadcaster_multiple sample to start multiple
advertising sets of type legacy and extended advertising.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-02 16:01:26 +00:00
Vinayak Kariappa Chettimada
eb109a274d Bluetooth: Controller: Fix missing chain pdu time reservation
Fix missing auxiliary chain pdu time reservation.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-02 16:01:26 +00:00
Vinayak Kariappa Chettimada
3baf507b97 Bluetooth: Controller: Tune aux offset calculation overhead assertion
Tune the aux offset calculation overhead assertion to use
EVENT_OVERHEAD_START_US; this is the correct maximum
overhead causing ISR latency for start of a radio event that
occurs thereafter.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-02 16:01:26 +00:00
Vinayak Kariappa Chettimada
bb5f3ff87d tests: bsim: Bluetooth: Enable similar Controller Kconfig features
Enable similar Controller Kconfig features between nRF52 and
nRF5340 BabbleSIM LE Audio testing.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2026-01-02 16:01:26 +00:00
Fabian Blatz
ad391c3447 boards: infineon: Correct uart compatible name
Correct the non-existing infineon,cat1-uart compatible string and pinctrl
for it.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2026-01-02 13:15:17 +00:00
Jamie McCrae
14fb2c0691 samples: mgmt: mcumgr: smp_svr: Fix shell-mgmt Kconfig conflict
Disables the shell serial backend in this Kconfig fragment to
prevent conflicting with the serial one

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-02 09:58:06 +00:00
Gaetan Perrot
aaa321569f drivers: gpio: infineon: remove redundant NULL check in ISR
Remove a redundant NULL check on the device pointer in the GPIO
interrupt handler.

The device pointer is dereferenced unconditionally before the check
and cannot be NULL in this context.

No functional change intended.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-02 09:57:43 +00:00
TOKITA Hiroshi
aa6ef16ec1 dts: bindings: serial: pl011: interrupts are not always required.
There are cases where the device can operate by polling
without using interrupts, so `interrupts` are not mark as required.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-02 09:57:31 +00:00
Farsin NASAR V A
6186673e15 tests: drivers: counter: Add sam_e54 test support files
- Adds sam_e54_xpro.overlay files for tcc.
- Adds sam_e54_xpro platform allow in testcase.yaml.

Signed-off-by: Farsin NASAR V A <Farsin.NASARVA@microchip.com>
2026-01-02 09:57:06 +00:00
Muhammed Asif
f3fe67e153 boards: microchip: sam_e54_xpro: Add conuter tag in sam_e54_xpro.yaml
- Add counter tag in the board yaml file seciton to allow CI run TCC
  G1 counter tests on this board

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-02 09:57:06 +00:00
Muhammed Asif
f58e1a3098 drivers: counter: microchip: Add TCC G1 driver
- Adds support for g1 counter driver with tcc peripheral

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-02 09:57:06 +00:00
Muhammed Asif
326ad5033d dts: bindings: counter: microchip: Add TCC G1 compatible
Adds the binding yaml for tcc peripheral for g1 counter driver

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-02 09:57:06 +00:00
Hau Ho
ed58ceefe6 tests: drivers: flash: Add config file for flash common test
Add config TEST_DRIVER_FLASH_SIZE for EK-RX261 and
FPB-RX261 board

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-02 09:56:54 +00:00
Hau Ho
ae1c5a9a06 drivers: flash: Add flash driver support for RX261
Add config RX_FLASH_TYPE1 support for RX261

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-02 09:56:54 +00:00
Hau Ho
48cf8c46dd boards: renesas: Add support for flash driver on FPB-RX261 board
Add flash driver support on FPB-RX261 board

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-02 09:56:54 +00:00
Hau Ho
0963b33be7 boards: renesas: Add support for flash driver on EK-RX261 board
Add flash driver support on EK-RX261 board

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-02 09:56:54 +00:00
Hau Ho
6b50eb5569 dts: rx: Add dts property for flash on RX261 MCU
Add dts for flash controller includes code and data flash region
for RX261 MCU

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-01-02 09:56:54 +00:00
Keith Short
4d81bdb667 posix: c_lib_ext: fnmatch: fix llvm warning
The tolower() function takes an int parameter. LLVM compilers generate a
warning if a char is passed instead.

Signed-off-by: Keith Short <keithshort@google.com>
2026-01-02 09:56:45 +00:00
Lyle Zhu
587e8b8df0 bluetooth: at: add explicit cast to char pointer in return statements
Add explicit casts from 'uint8_t *' to 'char *' in at_get_string()
and at_get_raw_string() return statements to resolve implicit cast
warnings. The data.start field is uint8_t *, but the functions
return char *.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-01 21:30:01 +01:00
Abderrahmane JARMOUNI
32f15464fc dts: bindings: fix compatible strings missing quotes
Add quotes to compatible strings missing them.

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2026-01-01 21:29:34 +01:00
Muhammad Waleed Badar
c36b201e8d dts: bindings: add cpu bindings for cortex-a7 and cortex-a9
Add devicetree binding definitions for ARM Cortex-A7 and
Cortex-A9 CPUs.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-01-01 21:29:09 +01:00
Ha Duong Quang
4a3e4dc321 tests: drivers: enable adc test for s32k5
Enable ADC api test for S32K5

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
2026-01-01 21:28:46 +01:00
Ha Duong Quang
9194a1ac7d samples: drivers: enable adc samples for s32k5
Enable adc_dt and adc_sequence samples for S32K5 ADC

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
2026-01-01 21:28:46 +01:00
Ha Duong Quang
84c76c2b0e boards: nxp: s32k5xxcvb: enable support for adc
Enable support ADC for S32K5

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
2026-01-01 21:28:46 +01:00
Ha Duong Quang
a1230d9efa dts: arm: nxp: add adc devicetree nodes for s32k5
Add devicetree of adc instances for s32k566.

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
2026-01-01 21:28:46 +01:00
Ha Duong Quang
0056966479 soc: nxp: s32: k5: add adc base address mappings
Add macro definitions to map generic ADC instance names to hardware
specific SARADC base addresses, enabling driver portability.

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
2026-01-01 21:28:46 +01:00
Ha Duong Quang
63c052c4cf drivers: adc: add support for s32k5
Add two new definitions, ADC_SAR_IP_HW_REG_SIZE and
ADC_SAR_IP_CHAN_2_BIT, to eliminate the inclusion of
Adc_Sar_Ip_HwAccess.h, since this header file does not
exist for the S32K5 platform.

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2026-01-01 21:28:46 +01:00
Nick Brook
c6ba1a067c modules: nanopb: fix race condition in zephyr_nanopb_sources
When one generated .pb.h file includes another generated .pb.h file,
the build can fail because compilation may start before all headers
are generated.

The nanopb_generated_headers target collects all proto generation
targets as dependencies, but the calling target was not depending on
it. This can cause a race condition where the compiler fails with
"No such file or directory" for included headers.

Make the calling target depend on nanopb_generated_headers to ensure
all protobuf headers are generated before source compilation begins.

Signed-off-by: Nick Brook <nrbrook@gmail.com>
2026-01-01 21:28:33 +01:00
Ivan Iushkov
0436b8abd8 drivers: sensor: fix possible unaligned access icm45686
icm45686_encoded_fifo_payload is defined as packed struct,
while the nested structures are not. It causes an issue of
potential unaligned access to accel and gyro members.
The issue was detected by clang compiling with
-Wunaligned-access flag:

```
icm45686.h:52:6: error: field accel within 'struct icm45686.h:46:3)'
is less aligned than 'struct icm45686.h:48:4)' and is usually due
to 'struct icm45686.h:46:3)' being packed,
which can lead to unaligned accesses [-Werror,-Wunaligned-access]

icm45686.h:57:6: error: field gyro within 'struct icm45686.h:46:3)'
is less aligned than 'struct icm45686.h:53:4)' and is usually due
to 'struct icm45686.h:46:3)' being packed,
which can lead to unaligned accesses [-Werror,-Wunaligned-access]
```

Small C code snippet to demonstrate the reported issue:
```
struct icm45686_encoded_fifo_payload icm45686;
// prints 1:
printf("%lu\n", __alignof__(icm45686));
// prints 1:
printf("%lu\n", __alignof__(icm45686.accel));
// prints 2:
printf("%lu\n", __alignof__(typeof(icm45686.accel)));
```

This commit resolves the following Zephyr issue:
https://github.com/zephyrproject-rtos/zephyr/issues/101142
by adding `packed` attribute to accel and gyro members.

Signed-off-by: Ivan Iushkov <ivan.iushkov@nordicsemi.no>
2026-01-01 21:28:12 +01:00
Ivan Iushkov
bd6a228911 drivers: sensor: fix possible unaligned access bmi08x
bmi08x_accel_frame is defined as packed struct,
while the nested structures are not. It causes an issue of
potential unaligned access to accel member.
The issue was detected by clang compiling with
-Wunaligned-access flag:

```
bmi08x.h:605:2: error: field  within 'struct bmi08x_accel_frame'
is less aligned than 'union bmi08x.h:605:2)' and is usually due
to 'struct bmi08x_accel_frame' being packed,
which can lead to unaligned accesses [-Werror,-Wunaligned-access]
```

This commit resolves the following Zephyr issue:
https://github.com/zephyrproject-rtos/zephyr/issues/101142
by adding `packed` attribute to accel member.

Signed-off-by: Ivan Iushkov <ivan.iushkov@nordicsemi.no>
2026-01-01 21:28:12 +01:00
Jaagup Averin
f430cdef60 subsys/mgmt: Declare PROCESSOR_NAME for native_sim
In case of native build, the CONFIG_architecture
cannot currently be resolved with Kconfig, so we
must fall back to resolving it during compilation
using compiler definitions.

Signed-off-by: Jaagup Averin <jaagup.averin@gmail.com>
2026-01-01 21:27:23 +01:00
Muhammad Waleed Badar
9d0a229461 drivers: sensor: add adxl345 range attribute setter
Add adxl345_attr_set_range() to allow runtime config.
of the accelerometer's measurement range via the
SENSOR_ATTR_FULL_SCALE attribute.

The function maps the requested range to the nearest supported
ADXL345 range (±2g, ±4g, ±8g, or ±16g) and updates the device
configuration accordingly.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-01-01 21:26:42 +01:00
Sreeram Tatapudi
64e789fd80 samples: infineon: add missing copyright headers to overlay files
Add SPDX-License-Identifier and copyright headers to Infineon
board overlay files in flash_shell, uart async_api, and
nvs samples for cy8cproto_062_4343w and cy8cproto_063_ble boards.

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2026-01-01 21:26:23 +01:00
TOKITA Hiroshi
545c2870e9 tests: crypto: crypto_hash: Add rpi_pico2 to test target
Add rpi_pico2 to the crypto_hash test target.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-12-31 11:00:21 +00:00
TOKITA Hiroshi
515793cf5b boards: raspberrypi: rpi_pico2: Add sha256 accelerator
Added sha256 accelerator to rpi_pico.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-12-31 11:00:21 +00:00
TOKITA Hiroshi
41a86eb1fe drivers: crypto: Add initial support for rpi_pico sha256 accelerator
Add basic support for RaspberryPi Pico's SHA256 hardware accelerator.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-12-31 11:00:21 +00:00
TOKITA Hiroshi
f0632f5155 modules: hal_rpi_pico: Add hardware_sha256 to include directories
Add `hardware_sha256/include` to `zephyr_include_directories`.
Use the header only.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-12-31 11:00:21 +00:00
Qingsong Gou
bd48944b7e samples: drivers: uart: async_api: enable sf32lb52_devkit_lcd
Enable test on sf32lb52_devkit_lcd

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-12-31 11:00:08 +00:00
Qingsong Gou
d2b64ae909 drivers: dma: sf32lb: fix get_status
Fix get status interface

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-12-31 11:00:08 +00:00
Qingsong Gou
98742f1b07 drivers: serial: sf32lb: add uart async API support
add uart async API support for sf32lb

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-12-31 11:00:08 +00:00
Zhida Zhang
548589c8e0 boards: seeed: xiao_nrf54l15: update DTS
Designate the flash controller as rram_controller.
Enable IEEE 802.15.4 wireless communication support.

Signed-off-by: Zhida Zhang <2759897880@qq.com>
2025-12-31 10:59:56 +00:00
Camille BAUD
bb54981614 samples: drivers: display: Fix nonsense alignment default
A alignment of 1 is also called 'unaligned'.
This default causes exceptions on CPUs that use different paths
for unaligned and aligned access.
Use a sane default that doesnt guarantee a store/access exception.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-12-31 10:59:44 +00:00
Hui Bai
3ea4ddc917 samples: net: wifi: Update hostap cleanup intervals for NXP wifi chips
Update hostap cleanup intervals to 120 seconds for NXP wifi chips.
CONFIG_WIFI_NM_WPA_SUPPLICANT_CLEANUP_INTERVAL for wpa_supplicant.
CONFIG_WIFI_NM_HOSTAPD_CLEANUP_INTERVAL for hostapd.

Signed-off-by: Hui Bai <hui.bai@nxp.com>
2025-12-31 10:58:59 +00:00
Hui Bai
826872d179 modules: hostap: Add new configs in Kconfig for hostap cleanup interval
Both wpa_supplicant and hostapd register cleanup interval to eloop and
the intervals are all 10 seconds by default and this can cause device to
be woken up twice from sleep every 10 seconds. In order to reduce power
consumption, add below new items in Kconfig so that users can update the
cleanup intervals based on their requirements.
CONFIG_WIFI_NM_WPA_SUPPLICANT_CLEANUP_INTERVAL
CONFIG_WIFI_NM_HOSTAPD_CLEANUP_INTERVAL

Signed-off-by: Hui Bai <hui.bai@nxp.com>
2025-12-31 10:58:59 +00:00
Zhaoxiang Jin
178acc0007 samples: sensor: enable die_temp_polling for frdm_mcxe31b
enable die_temp_polling for frdm_mcxe31b board

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-31 10:58:50 +00:00
Zhaoxiang Jin
84010a1da4 dts: nxp_mcxe31x: add properties to the tempsense node
add properties to the tempsense node for nxp_mcxe31x

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-31 10:58:50 +00:00
Zhaoxiang Jin
f110ef9c0a drivers: clock_control: nxp_mc_cgm: enable tempsense clock
Enable clock for tempsense module in NXP MC CGM driver to
support temperature sensing functionality.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-31 10:58:50 +00:00
Zhaoxiang Jin
ab23a9f012 drivers: sensor: nxp: Add NXP tempsense driver
Add a new driver for the NXP TempSense temperature
sensor found in various NXP MCUs, such as the MCX
family. The driver reads temperature data from the
TempSense peripheral and provides it via the Zephyr
sensor API.

The TempSense peripheral details can be found in the
NXP MCXE31x reference manual chapter 78.
reference manual can be found at:
https://www.nxp.com/webapp/Download?colCode=MCXE31XRM

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-31 10:58:50 +00:00
Zhaoxiang Jin
e7d24c8088 drivers: adc: add clock frequency selection for SAR ADC
This commit enhances the SAR ADC driver by adding
support for clock frequency selection. The clock
frequency can now be configured via the devicetree,
allowing for better optimization of ADC performance
based on application requirements.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-31 10:58:50 +00:00
TOKITA Hiroshi
4d04eb0998 drivers: spi: spi_rpi_pico_pio: Fix pio_program variable constness
Since RPI_PICO_PIO_GET_PROGRAM returns const variable, so changed
`pio_program_t *` variables in data to `const pio_program_t *`.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-12-31 10:57:55 +00:00
Kyle Bonnici
45f6c6b4cb Boards: combine duplicate nodes
This PR combines node content in the same file spread over multiple
node definitions.

This PR has not funtional changes to the boards

Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
2025-12-31 10:57:37 +00:00
Zhaoxiang Jin
c2cec5108b samples: adc_dt: Fix adc_dt run issue on NXP MCXN boards
Fix adc_dt run issue on NXP MCXN boards, the default
mode of vref is standby mode, the BUF21 is not enabled,
so the LPADC can not work normally. Need to set the vref
mode to 'NXP_VREF_MODE_LOW_POWER' or 'NXP_VREF_MODE_HIGH_POWER'
to enable the BUF21.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-31 10:57:20 +00:00
Gaetan Perrot
0c8f4741b8 drivers: espi: espi_taf_npcx: reorder NULL checks
Move the NULL checks for the protection configuration parameters
before dereferencing them to avoid potential NULL pointer
dereferences.

The device pointer is assumed to be valid.

No functional change intended.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2025-12-31 10:56:02 +00:00
Alberto Escolar Piedras
30bfb73e27 test: benchmarks: Fix format specifier
uint64_t is not in general unsigned long long int, and therefore
its format specifier is not llu in general.
The macro PRIu64 resolves to whatever it is.

For 64bit targets, uint64_t is relatively normal to just be
unsigned long.
Providing the wrong format specifier results in the build warning
```
format %llu expects argument of type long long unsigned int, but
argument <x> has type long [unsigned] int
```

The issue can be reproduced by building this test with
native_sim/native/64.
Issue introduced in da6cd1a474

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-31 10:55:56 +00:00
Igor Knippenberg
4a3c5ed1f6 tracing: systemview: fix assertion fail on first thread switch
Segger Systemview calls k_current_get() in sys_trace_k_thread_switched_in.
During early boot, this hook is triggered while k_is_pre_kernel() is true.

This triggers an assertion failure when CONFIG_ASSERT is enabled.

Add a guard to ignore the thread switch event if it is called pre-kernel.

Signed-off-by: Igor Knippenberg <knippenberg@filics.eu>
2025-12-30 17:40:05 +01:00
Abderrahmane JARMOUNI
7eb4928b04 MAINTAINERS: fix devicetree bindings area label
Use "Devicetree Binding" label instead of "Devicetree Bindings"

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-12-30 09:10:32 -06:00
Abderrahmane JARMOUNI
9b8d85da55 MAINTAINERS: add JarmouniA as collaborator to DT Bindings area
Add JarmouniA as collaborator to the Devicetree Bindings area.

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-12-30 09:10:32 -06:00
Bjarki Arge Andreasen
a493141dd4 drivers: clock_control: nrfs_audiopll: disable clock on init
The nrfs audiopll is automatically started if freq fraction or
prescaler is requested. The initial state of the clock should be
off, so send a disable request after setting initial freq fraction
and prescaler.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-12-30 09:10:18 -06:00
Bjarki Arge Andreasen
1124070207 drivers: clock_control: nrf_fll16m: ensure main power domain is on
Ensure the MAIN power domain is on before triggering
NRF_LRCCONF_TASK_CLKSTART_0 task.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-12-30 09:09:37 -06:00
Carlo Caione
6501bdfc99 boards: shields: Add support for Semtech SX1261MB2BAS LoRa shield
Add board shield definition for the Semtech SX1261MB2BAS LoRa module. This
is mostly copied over from semtech_sx1262mb2das.

Signed-off-by: Carlo Caione <carlo.caione@gmail.com>
2025-12-30 09:09:08 -06:00
Krzysztof Chruściński
79a44ed06b samples: boards: nordic: nrf_sys_event: Extend sample
Add part which is using event register and unregister functionality.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-12-30 09:07:32 -06:00
Krzysztof Chruściński
4cff3bd1d9 drivers: timer: nrf_grtc: Use nrf_sys_event registration
Use API for registering synchronous interrupts. It reduced interrupt
latency due to NVM memory wake up.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-12-30 09:07:32 -06:00
Krzysztof Chruściński
13b45e2d99 soc: nordic: common: nrf_sys_event: Add API for registering an event
Add API for indicating that a deterministic interrupt will occur at
certain point in time in the future. Implementation is ensuring that
there will be no latency due to NVM memory waking up. There are 2
ways of ensuring that:
- setting low latency power mode in RRAMC (higher power consumption
  in idle (not available in non-secure build)
- using PPI and GRTC to trigger the RRAMC wake up task right before
  an expected interrupt

Module has a pool of GRTC channels and dynamically allocates and
frees those channels when events are registered and unregistered.

If GRTC channel is not available then algorithm falls back to power
mode setting (in secure build).

API offers registering an event using relative and absolute timing.

API can be used from Zero Latency interrupts.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-12-30 09:07:32 -06:00
Krzysztof Chruściński
ced5d2f730 soc: nordic: common: Add HAS_HW_NRF_RRAMC
Add HAS_HW_NRF_RRAMC Kconfig to indicate presence of the RRAMC
controller.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-12-30 09:07:32 -06:00
Ajay Neeli
669b4cf46c samples: mbox: Add support for Versal Gen2 RPU
Add support for testing AMD-Xilinx Inter-Processor-Interrupt(IPI) on
Versal Gen2 RPU.

Add an overlay configuration to enable IPI-1 as the default
inter-processor interrupt for RPU0 in Versal Gen2. While IPI-1 is the
preset, it can be adjusted based on design requirements.

rpu0_rpu0_mailbox is set up in loopback mode for testing.

Signed-off-by: Ajay Neeli <ajay.neeli@amd.com>
2025-12-30 09:06:20 -06:00
Ajay Neeli
f76e532a0d samples: mbox: Add support for Versal-NET RPU
Add support for testing AMD-Xilinx Inter-Processor-Interrupt(IPI) on
Versal-NET RPU.

Add an overlay configuration to assign IPI-5 as the default
inter-processor interrupt for RPU0 in Versal-NET. While IPI-5 is preset,
it can be adjusted based on design requirements.

rpu0_rpu0_mailbox is set up in loopback mode for testing.

Signed-off-by: Ajay Neeli <ajay.neeli@amd.com>
2025-12-30 09:06:20 -06:00
Ajay Neeli
18a6b6c35c dts: amd: versal2: Add DT support for IPI
Add the inter-processor interrupt (IPI) nodes to the device tree for the
Versal Gen2 platform, as per Versal Gen2 Technical Ref Manual (AM026)

Signed-off-by: Ajay Neeli <ajay.neeli@amd.com>
2025-12-30 09:06:20 -06:00
Ajay Neeli
f3ce62b088 dts: amd: versalnet: Add DT support for IPI
Add the inter-processor interrupt (IPI) nodes to the device tree for the
Versal-NET platform, as per Versal-NET Technical Reference Manual (TRM).

Signed-off-by: Ajay Neeli <ajay.neeli@amd.com>
2025-12-30 09:06:20 -06:00
Ajay Neeli
8c202d2b93 drivers: mbox: Add AMD-Xilinx IPI Mailbox
Add a new MBOX driver for the AMD-Xilinx IPI Mailbox, providing support
for the Versal-NET and Versal Gen 2 platforms

Signed-off-by: Ajay Neeli <ajay.neeli@amd.com>
2025-12-30 09:06:20 -06:00
Ajay Neeli
14bb1820d6 dts: bindings: mbox: Add AMD-Xilinx IPI mailbox
Add device tree bindings for the AMD-Xilinx Inter Processor Interrupts
(IPI) mailbox.

The IPI architecture allows the passing of messages across the system
without the complications of autonomous read-write transactions and
polling inefficiency. The notification of the interrupt is also
possible without message buffers on some platforms. Some IPI channels
are hard-wired to particular core while others can be configured to
assign to any core on AMD-Xilinx heterogenous multiprocessor platform.

Signed-off-by: Ajay Neeli <ajay.neeli@amd.com>
2025-12-30 09:06:20 -06:00
Holt Sun
8e5c223b54 samples: drivers: crc: fix twister regex and run in CI
1. Update the CRC sample’s Twister console regex to match the current
log output.
2. Add an integration_platforms entry (ek_ra8m1) so the sample runs
in PR CI.
3. Make CRC verification unconditional so the expected
“verification succeeded” log is always emitted and mismatches fail
the test.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-12-30 08:47:07 +01:00
Dat Nguyen Duy
62ad1b5828 boards: s32k5xxcvb: add flexcan support
Add flexcan support for s32k5xxcvb~

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2025-12-30 08:40:40 +01:00
Dat Nguyen Duy
79d37f8fd5 dts: nxp: add flexcan devicetree nodes for s32k566
Add Flexcan devicetree nodes for s32k566

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2025-12-30 08:40:40 +01:00
zhenwei fang
66cbc55e6f Bluetooth: Classic: Fix net_buf leak
Release the buffer with net_buf_unref(rsp) once the reading default link
policy settings response has been parsed.

Signed-off-by: zhenwei fang <fangzhenwei@bytedance.com>
2025-12-30 08:39:00 +01:00
Jonas Berg
107124e4b3 samples: pressure polling: Add Cytron Maker Uno RP2040 overlay
Enable GP14 for this sample. Use commented-out entries for the
other servo outputs, as is done in the other overlay files.

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2025-12-30 08:38:10 +01:00
Jonas Berg
0e3be83c71 boards: Add Cytron Maker Uno RP2040 board
Product photo from https://www.cytron.io/p-maker-uno-rp2040

Tested with the commands in index.rst

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2025-12-30 08:38:10 +01:00
Jonas Berg
bac97f310f dts: bindings: vendor-prefixes: Add cytron
Add vendor prefix for Cytron Technologies

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2025-12-30 08:38:10 +01:00
William Tang
0601335d85 boards: nxp: mcx: update FlexCAN clock configuration
Update FlexCAN clock configuration across NXP MCXN family boards to use
PLL0 as clock source with a divider of 3 instead of FRO_HF with divider
of 1.
The new configuration provides FlexCAN peripherals by using the PLL0
output (150MHz) divided by 3 to achieve 50MHz, replace previous 48MHz
FRO_HF.

Signed-off-by: William Tang <william.tang@nxp.com>
2025-12-29 16:04:17 +01:00
William Tang
0a4f52e52c dts: arm: nxp: add CAN FD support for MCXN SOC family
Add CAN FD support for MCXN SOC family, including mcxn23x, mcxn94x
and mcxn54x.

Tested with tests/drivers/can.

Fixes #91138

Signed-off-by: William Tang <william.tang@nxp.com>
2025-12-29 16:04:17 +01:00
Derek Snell
fb18d5ca94 doc: boards: nxp: update VS Code links in common footer
MCUXpresso for VS Code documentation was migrated to new site.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2025-12-29 16:03:43 +01:00
Mikołaj Rosowski
aa1d070f37 boards: dfrobot: Add DFRobot Beetle ESP32-C3 board
Add support for the DFRobot Beetle ESP32-C3 board. This is a small IoT
development board based on the Espressif ESP32-C3 RISC-V SoC.

Board features:
- ESP32-C3 (32-bit RISC-V at 160MHz)
- 400KB SRAM, 4MB Flash
- 2.4GHz WiFi and BLE
- 13x IO ports
- Integrated lithium battery charging management

The board has been tested with the following Zephyr samples:
- samples/basic/blinky
- samples/hello_world
- samples/net/wifi/shell

Signed-off-by: Mikołaj Rosowski <m.rosowski1@wp.pl>
2025-12-29 16:03:18 +01:00
Henrik Brix Andersen
b62b24248b doc: releases: migration-guide: 4.4: update FlexCAN migration guide entry
Update the NXP FlexCAN migration guide entry to take the latest Kconfig to
devicetree change into account.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2025-12-29 16:02:58 +01:00
Henrik Brix Andersen
964d09fda0 MAINTAINERS: rename the Aesc Silicon platform label
Rename the Aesc Silicon platform label used on GitHub to match the rest of
the platform labels.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2025-12-29 16:02:39 +01:00
Hake Huang
589a657a0c boards: nxp: add adc support to boards
add adc supports to boards

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2025-12-29 13:06:02 +01:00
Qingsong Gou
355c2f42e8 drivers: serial: sf32lb: add config_get and configure
Add config_get and configure APIs support

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-12-29 13:05:41 +01:00
Zhaoxiang Jin
4b57c88344 dts: nxp,sar-adc.yaml: remove 'type: array' from interrupts property
'type: array' is unnecessary for the interrupts property in
nxp,sar-adc.yaml.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-29 09:28:27 +01:00
Holt Sun
517cc13f1c doc: migration-guide-4.4: add NXP LPTMR counter updates
Document breaking changes in prescale-glitch-filter configuration
and the new prescale-glitch-filter-bypass property. Provide migration
example for out-of-tree device trees.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-12-29 09:27:54 +01:00
Holt Sun
bc9a0a726b counter: mcux_lptmr: fix prescaler/glitch filter configuration
Fix incorrect LPTMR prescaler/glitch filter mapping that led to wrong
frequency calculation and wrong hardware configuration.

- Calculate effective counter frequency correctly:
  * Time Counter mode: divide by 2^(value + 1)
  * Pulse Counter mode: divide by 2^value
- Map prescale-glitch-filter directly to the HAL enum (no offset math)
- Add prescale-glitch-filter-bypass DT boolean (default false)
- Restrict prescale-glitch-filter to 0..15 and update bindings/DTS users
- Add build-time validation for Pulse mode (value 0 requires bypass)

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-12-29 09:27:54 +01:00
Quang Le
22ba6d0007 soc: renesas: rzv: Fix pin function bitfield
Adjust the pin function bitfield to 4 bits to fit all RZ/V SoCs
(RZ/V2L, V2H, V2N). PFC bitfield of RZ/VH, V2N have 4 bits, so
the current 3-bit width does not fit them.

Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-12-29 09:25:33 +01:00
Nhut Nguyen
6138ba7aef soc: renesas: rzv: Retrieve itcm, dtcm from dtsi for mpu settings
Retrieve itcm and dtcm size and base address from dtsi for mpu settings
instead of hardcode.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-12-29 09:25:17 +01:00
Zhaoxiang Jin
1f977a9220 include: hwspinlock.h: Optimize hw_spin_trylock function
If api->trylock(dev, id) fails (typically because a cross-core
HW lock is held by another core and returns -EBUSY, or returns
-EINVAL, etc.), the function will immediately return the error
code, but the local ctx->lock is not released, and interrupts
also remain in the locked state from the trylock. This may cause
IRQ lock state leakage. If there's no opportunity in the call path
to reach k_spin_unlock(), the system may exhibit unpredictable
"freeze-like" behavior.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-28 18:13:37 +00:00
Benjamin Cabé
540edab373 include: tracing: fix FIFO slist tracing hook naming mismatch
The macro names sys_port_trace_k_fifo_put_slist_enter/exit in
tracing.h were incorrectly named and did not match the corresponding
definitions in backend implementations.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-28 18:13:26 +00:00
William Tang
cf42e1a779 boards: nxp: mr_canhubk3: update CAN configuration documentation
Remove the CONFIG_CAN_MCUX_FLEXCAN_MAX_MB configuration option from
the documentation notes, as the message buffer count information has
been moved to the devicetree and no longer needs to be described in
Kconfig.

Update the constraint for CONFIG_CAN_MCUX_FLEXCAN_MAX_FILTERS to
reflect that it must be less than the maximum number of message
buffers supported by the FlexCAN instance, as shown in the table
below the note. This keeps same behavior as driver.

Signed-off-by: William Tang <william.tang@nxp.com>
2025-12-28 10:11:51 +01:00
William Tang
18e5e29749 drivers: can: mcux: flexcan: move to per-instance MB configuration
This change refactors the FlexCAN driver to use per-instance message
buffer configuration instead of global Kconfig options. The driver now
calculates message buffer allocation at compile time based on device
tree properties for each FlexCAN instance.

Key changes:
- Remove global CAN_MAX_MB Kconfig option and associated range constraint
- Add number_of_mb, rx_mb, and tx_mb fields to mcux_flexcan_config
  structure
- Move callback arrays and atomic allocation bitmaps from static global
  arrays to per-instance static arrays generated by macros
- Update data structure to use pointers to per-instance arrays instead
  of fixed-size embedded arrays
- Add compile-time validation to ensure sufficient message buffers are
  available for required RX filters and RX filters greater than 0

This approach allows different FlexCAN instances to have different
message buffer configurations based on their hardware capabilities
and device tree settings, improving memory efficiency and flexibility.
The change maintains backward compatibility while enabling better
resource utilization across different SoC variants.

Fixes #92798

Signed-off-by: William Tang <william.tang@nxp.com>
2025-12-28 10:11:51 +01:00
William Tang
1e9bd76278 dts: can: mcux: flexcan: Add number-of-mb property to FlexCAN nodes
Add the `number-of-mb` and `number-of-mb-fd` device tree property to
all the NXP FlexCAN controller nodes across various SoC families to
specify the maximum number of 8-byte and 64-byte payload message
buffers supported by each FlexCAN instance.

This change updates device tree source files for multiple NXP SoC
families including Kinetis K6x, RT10xx, RT11xx, RT118x, MCX, S32K,
S32Z, and i.MX8MP/i.MX93 series. The property values are set based
on hardware specifications for each specific FlexCAN instance.

This property addition ensures proper resource allocation and
prevents buffer overflow issues in FlexCAN driver implementations.

Signed-off-by: William Tang <william.tang@nxp.com>
2025-12-28 10:11:51 +01:00
William Tang
8b8d5ca05a dts: arm: nxp: update copyright headers
Update copyright header in nxp_k6x.dtsi.

Signed-off-by: William Tang <william.tang@nxp.com>
2025-12-28 10:11:51 +01:00
Marek Matej
4cf8071494 boards: espressif: remove esp32s3_devkitm
Removing the esp32s3_devkitm as deprecated and redundant.
The esp32s3_devkitc has essentially the same functionality.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-12-27 21:02:28 +00:00
Marek Matej
ecdd8ee5b4 boards: Espressif deprecated board
Removing board esp32s3_devkitm as it is almost identical as
esp32s3_devkitc.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-12-27 21:02:28 +00:00
Fabin V Martin
3b67cbf654 tests: drivers: i2c: add test support
add overlay and update yaml files for i2c async test

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-12-27 21:01:25 +00:00
Fabin V Martin
2a94517e58 boards: microchip: pic32cx_sg61_cult: update sercom node for i2c
update board dts for sercom i2c node

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-12-27 21:01:25 +00:00
Fabin V Martin
b0919aec14 boards: microchip: pic32cx_sg41_cult: update sercom node for i2c
update board dts for sercom i2c node

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-12-27 21:01:25 +00:00
Fabin V Martin
f34df74147 west.yml: Update the portd for pic32cxsg
Update west.yml for adding the portd in the pincontrol
parsing file.

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-12-27 21:01:25 +00:00
Tim Lin
f36e8b1d60 drivers/i2c: it8xxx2: Add I2C_CODE_IN_RAM for critical functions
Introduce the I2C_CODE_IN_RAM option to place selected critical
functions into the RAM code section.

This allows latency-sensitive I2C paths to execute from RAM when
required, while keeping the default behavior unchanged.

NOTE1: Enable I2C_CODE_IN_RAM on it81202bx: RAM size +2272B.
NOTE2: With kernel in RAM, enabling I2C_CODE_IN_RAM saves ~558ms
       over 1,000 transfers (W/R/W2R), tested on it81202bx.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2025-12-27 21:01:12 +00:00
Holt Sun
521a1af002 boards: mimxrt700_evk: configure ITRC for WWDT reset handling.
Fix WWDT warning interrupt by configuring ITRC to not intercept WWDT
timeout events.

ROM may configure ITRC OUT3_SEL0/OUT4_SEL0 to route WWDT0-2 to ITRC,
causing ITRC to reset the system faster than WWDT, preventing the
warning interrupt from functioning. Reconfigure these registers to
0xAAAAAA0A to allow RSTCTL to properly handle WWDT reset events.

Also enable WWDT warning interrupt in the board configuration to ensure
proper watchdog interrupt handling during tests.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-12-27 21:00:57 +00:00
Holt Sun
8cb5b7dd58 drivers: watchdog: wdt_mcux_wwdt: reject callback without warning IRQ
The WWDT callback is only invoked from the warning interrupt path.
If CONFIG_WDT_MCUX_WWDT_WARNING_INTERRUPT_CFG is 0, the warning
interrupt is effectively disabled, so a configured callback would
never fire.
Return -ENOTSUP and log an error when a callback is provided
without enabling the warning interrupt, to avoid a silent no-op.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-12-27 21:00:57 +00:00
Holt Sun
8b365a3e2c drivers: watchdog: wdt_mcux_wwdt: fix window calculation.
Correct the WWDT window value calculation and add proper
range validation.

The window value was incorrectly set to the minimum timeout value.
Per hardware specification, it should be calculated as:
  windowValue = timeoutValue - min_window_ticks

Also add:
- MAX_TIMEOUT boundary checks
- Validation before value assignment

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-12-27 21:00:57 +00:00
Holt Sun
2021106536 tests: watchdog: use write-through for mimxrt700 board.
Add CONFIG_ARM_MPU_SRAM_WRITE_THROUGH=y to
make sure data will be flushed into SRAM timely.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-12-27 21:00:57 +00:00
Andreas Ålgård
98746a172c net: lib: dhcpv4_server: Add client hardware ID to client_id
This is useful if you specifically need the hardware address
 and not the client_id option.

Signed-off-by: Andreas Ålgård <aal@ixys.no>
2025-12-27 21:00:32 +00:00
Sylvio Alves
e855856a5d drivers: spi: esp32: move pinctrl to init
Move pinctrl_apply_state() from configure to init to ensure pinctrl
is applied once at boot rather than on every transaction.

When cs-gpios is defined, spi_context_cs_configure_all() runs after
pinctrl and reconfigures the CS pin as GPIO, properly overriding
any CS routing set by pinctrl.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-12-26 10:18:16 -06:00
Riadh Ghaddab
7b7521ee5d MAINTAINERS: add ZMS Settings backend collaborators
Add a file-group for ZMS backend for Settings and add myself as a
collaborator.

Signed-off-by: Riadh Ghaddab <riadh.ghaddab@nordicsemi.no>
2025-12-26 10:17:56 -06:00
Manuel Argüelles
ddef63bffd maintainers: remove congnguyenhuu from NXP areas
The collaborator is no longer active in NXP-maintained areas.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2025-12-26 10:17:46 -06:00
Tim Pambor
f35189eeef drivers: eth: phy: adin2111: support C45 register access
Implement read_c45 and write_c45 functions to support clause 45
register access. This enhancement allows to access C45 registers
even when the MDIO controller does not natively support clause 45.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2025-12-26 10:17:32 -06:00
Tim Pambor
c9f8e8c856 drivers: eth: phy: adin2111: Use C45 access by default
Use clause 45 MDIO access by default and only fallback to the phy
internal clause 45 bridge if the MDIO controller does not support
clause 45 transactions.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2025-12-26 10:17:32 -06:00
Maochen Wang
70a9a54658 boards: shields: nxp_m2_wifi_bt: set default IMX_USDHC_DAT3_DETECT_RETRY
DAT3-based card detection may fail for the first attempt on RT1060evkc
+ NXP_IW610x_v1 card, caused by transient signal states during
initialization. Set IMX_USDHC_DAT3_DETECT_RETRY as 10 can fix this issue.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2025-12-26 10:17:10 -06:00
Maochen Wang
a8137baf65 drivers: sdhc: imx_usdhc: add retry for DAT3 card detection
DAT3-based card detection can return a false negative on the first read
due to transient signal states after enabling detection. Add a bounded
retry loop (limited by IMX_USDHC_DAT3_DETECT_RETRY) with a short delay
between attempts to improve robustness.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2025-12-26 10:17:10 -06:00
Riadh Ghaddab
b41f510fe2 tests: boards: nrf: rename flash.throttling test
Change the generic name to boards.nrf.rram_throtttling as this test is
bound to nrf boards.

Signed-off-by: Riadh Ghaddab <riadh.ghaddab@nordicsemi.no>
2025-12-26 10:16:37 -06:00
Yassine El Aissaoui
29673afd01 soc: nxp: mcxw23: Integrate low power with ble
Adding support for deep sleep/ power down on BLE apps.

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
2025-12-26 10:16:07 -06:00
Dong Wang
49f1f6fce0 dts: intel_ish: Remove unnecessary #interrupt-cells from /soc node
The /soc node is a simple-bus node and not an interrupt provider. Leaving
the #interrupt-cells property produces misleading Device Tree build
warnings:
  Warning (interrupt_provider): /soc: '#interrupt-cells' found, but node is
  not an interrupt provider <stdout>:  Warning (interrupt_map): Failed
  prerequisite 'interrupt_provider'.

Signed-off-by: Dong Wang <dong.d.wang@intel.com>
2025-12-26 10:15:36 -06:00
Tim Lin
a214a05b8c soc/ite: it8xxx2: Add SOC_IT8XXX2_RAM_CODE_NOINLINE option
Add the SOC_IT8XXX2_RAM_CODE_NOINLINE Kconfig option to prevent
functions marked with __soc_ram_code from being inlined when LTO
is enabled.

This ensures RAM code functions remain in the RAM section instead of
being merged into callers by the compiler.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2025-12-26 10:15:07 -06:00
Benjamin Cabé
62edae7d75 include: led_strip: tlc5971:: add doxygen docs for tlc5971 extended API
Adds doxygen documentation for the extended API of the Texas Instruments
TLC5971 LED strip controller driver.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-26 10:14:42 -06:00
Benjamin Cabé
d686aa732f include: led_strip: add doxygen group for LED strip API extensions
Similar to how it's done for other driver classes, create a new doxygen
group to put all device-specific LED strip API extensions under.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-26 10:14:42 -06:00
Fabin V Martin
580732d5f9 tests: drivers: uart: Add test support
Add overlay and yaml files for uart async tests.

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-12-26 10:14:22 -06:00
Fabin V Martin
61be40f98f boards: microchip: sam_e54_xpro: Update uart nodes for DMA support
Add DMA properties in sercom uart node.

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-12-26 10:14:22 -06:00
Fabin V Martin
cf8d97ab39 drivers: uart: microchip: sercom g1: Add DMA support
The current driver implementation only support pooling and
synchronous operations. By adding DMA support the driver will
be able to operate in asynchronous mode which helps to improve
CPU usage and save power.

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-12-26 10:14:22 -06:00
Fabin V Martin
08ba580618 dts: bindings: serial: Introduce DMA properties
Introduce DMA properties for sercom uart g1 driver.

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-12-26 10:14:22 -06:00
Farsin Nasar V A
a620ee12a6 boards: microchip: pic32cx_sg61_cult: add RESET to supported list
Update pic32cx_sg61_cult.yaml to include RESET in the supported
modules list.

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2025-12-26 10:13:53 -06:00
Farsin Nasar V A
39edc96945 dts: arm: microchip: add RSTC node
Add the device tree node for microchip RSTC G1 IP.

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2025-12-26 10:13:53 -06:00
Arunprasath P
75d41570cf tests: adc: microchip: Add sam_e54_xpro overlay for tests
Add board overlay file for sam_e54_xpro to enable adc
test cases to run on this board

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2025-12-26 10:13:30 -06:00
Arunprasath P
a4d266616a samples: adc: Add sam_e54_xpro overlay for adc_sequence
Add a devicetree overlay to run the adc_sequence sample on
SAM E54 Xplained Pro.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2025-12-26 10:13:30 -06:00
Arunprasath P
247c045ba2 boards: microchip: sam_e54_xpro: Add ADC pinctrl and feature support
Add ADC0 and ADC1 pinctrl definitions and update the board metadata
to list ADC as a supported feature on the SAM E54 Xplained Pro board.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2025-12-26 10:13:30 -06:00
Arunprasath P
e767aa498a drivers: adc: microchip: Introduce G1 ADC Driver
Add a Zephyr ADC driver for the Microchip G1 ADC peripheral
with support for differential mode, multi-channel sequencing,
oversampling, and NVM-based factory calibration.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2025-12-26 10:13:30 -06:00
Arunprasath P
1cdde74b35 dts: arm: microchip: Introduce ADC G1 dts binding
Add the device tree node and the binding file for
microchip adc G1 Peripheral.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2025-12-26 10:13:30 -06:00
Biwen Li
23354f3cad tests: drivers: uart_async_api: enable it for m33 of imx943_evk
This commit enables tests/driver/uart/async_api demo
for m33 in NETCMIX of imx943_evk.
- build command as follows,
  west build -p always -b imx943_evk/mimx94398/m33
  tests/drivers/uart/uart_async_api

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-24 12:51:21 -05:00
Biwen Li
9bfda71a9a dts: arm: nxp: imx95: m7: add disp_irqsteer node
Add disp_irqsteer node(this is another irqsteer instance).

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-24 12:51:21 -05:00
Biwen Li
df9180305d dts: arm: nxp: imx95: m7: add more masters
Add more irqsteer masters.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-24 12:51:21 -05:00
Biwen Li
7b8d94c2be boards: nxp: imx943_evk: m33: enable edma2
Enable edma2 defaultly.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-24 12:51:21 -05:00
Biwen Li
23b764ffc2 dts: arm: nxp: imx94x: add edma2 node
Add edma2 node for lpuart3.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-24 12:51:21 -05:00
Biwen Li
b93bffd271 dts: arm: nxp: imx943: m7_1: add irqsteer node
Add irqsteer node for m7_1.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-24 12:51:21 -05:00
Biwen Li
d7142bd597 dts: arm: nxp: imx943: m7_0: add irqsteer node
Add irqsteer node for m7_0.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-24 12:51:21 -05:00
Biwen Li
9dcf76c670 tests: arch: arm_custom_interrupt: exclude imx943
Exclude imx943,
  - multi level interrupts feature is enabled defaultly,
    so irqsteer1 driver is enabled, then the test case
    report the build issue:
    multiple definition of z_soc_irq_enable,
    tests/arch/arm/arm_custom_interrupt/src/arm_custom_interrupt.c:47
    first defined here.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-24 12:51:21 -05:00
Biwen Li
66bfea6aef samples: drivers: uart_aysnc_api: imx943_evk: m33: add config
Add config for imx943_evk_mimx94398_m33
- Use the sample to test the irqsteer driver

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-24 12:51:21 -05:00
Biwen Li
4a3df69c09 boards: nxp: imx943_evk: m33: enable edma4
Enable edma4 by default for lpuart8 of m33(in NETCMIX)
of imx943_evk

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-24 12:51:21 -05:00
Biwen Li
cc183934a4 soc: nxp: imx943: m33: enable multi level interrupts
This commit enables multi level interrupts:
- Enable multi level interrupts
  imx943 is a two level interrupts system and
  some interrupts(eg. edma interrupts) depend on irqsteer.
- Increase irq number from 405 to 790
  Actually there are 407(IRQ 0 ~ IRQ 406) interrupts
  from nvic(first level interrupts),
  The second level interrupts are extended by irqsteer,
  it extends 32 x 12 = 384 interrupts,
  So first level interrupts + second level interrupts
  = 407 + 384 = 791(IRQ 0 ~ IRQ 790) interrupts

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-24 12:51:21 -05:00
Biwen Li
ce50e46a90 drivers: intc: irqsteer: Drop calling into NXP HAL
Supporting irqsteer using NXP HAL becomes increasingly harder with new
SoCs.

For example now there are two incompatible HAL drivers for IRQ steer
(mcux-sdk-ng/drivers/irqsteer and mcux-sdk-ng/drivers/irqsteer_1).

In order to avoid overcomplicating code and better scaling code for
newer SoCs just drop using the NXP HAL and implement an IRQ Steer native
Zephyr driver

Use irqsteer node of imx943 as example.

New features:
- Support multiple irqsteer instances.
- Indroduce new properties(nxp,irq-offset, nxp,num-irqs).

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-24 12:51:21 -05:00
Biwen Li
8822d8f8a9 irqsteer-master: Introduce priority attribute
This adds priority attribute to irqsteer in order to
support multi level interrupts.

We need to make this change atomic so that we don't break
the build.

So, we introduce a new property named 'priority' to
`interrupt-cells` and we increase the number of cells.
Then we update all instances of interrupts
using irqsteer (for imx95, imx8m, imx8qm, imx8qxp and also
update the overlay(imx8mp_evk_mimx8ml8_adsp) for tests.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-24 12:51:21 -05:00
Chris Friedt
de2d0c9563 posix: c_lib_ext: fnmatch: fix character class support
A couple of tests were inconsistent with glibc and picolibc.

Significant rework done to the `fnmatch()` implementation which included
refreshing that and the `rangematch()` implementations from commit

0a3b2e376d150258c8294c12a85bec99546ab84b

in https://github.com/lattera/freebsd

Removed `match_posix_class()` and implemented that functionality as
`rangematch_cc()`, which uses 64-bit integer comparison for matching
`[:alnum:]` et al instead of string comparison. That likely only works
for the "C" locale.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
Signed-off-by: Harun Spago <harun.spago.code@gmail.com>
2025-12-24 12:50:31 -05:00
Chris Friedt
637080e7ec posix: c_lib_ext: fnmatch: fix escape-oriented regression
A regression in 936d0278bd introduced a
subtle bug in the way that escaped expressions were handled.

The regression originated with the assumption that test data (originally
adapted from a 3rd-party testsuite) was correct when it was in fact
flawed.

Specifically, `fnmatch("[[?*\\]", "\\", 0)` should fail (`FNM_NOMATCH`),
since the "\\" sequence (a single backslash after compilation) escapes
the following ']' character, thus leaving the bracket expression
incomplete.

As @keith-packard  has pointed out,
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/\
V3_chap02.html#tag_18_13_01 says that a bracket expression is only
interpreted as a bracket expression, when a proper bracket expression
is formed.

Therefore, the pattern is interpreted as the sequence
`'['`, `'['`, `'?'`, `*` (wildcard), `']'` and the call should return
`FNM_NOMATCH` to indicate failure rather than 0 to indicate success.

Added new test cases from #98827 and some commentary for subsequent
reviewers.

This change does not completely fix #55186 but is related to it.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-12-24 12:50:31 -05:00
Pieter De Gendt
526fa714a4 samples: drivers: jesd216: Print dw19 octal enable requirement
If supported, parse dw19 and print out the octal enable requirement.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-12-24 12:49:47 -05:00
Pieter De Gendt
7d6a9ab552 drivers: flash: mcux-flexspi-nor: Support octal mode
Add support for JEDEC octal mode.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-12-24 12:49:47 -05:00
Pieter De Gendt
206cad3b21 drivers: flash: jesd216: Add BFP DW19 decode helpers
Add struct and decode function for dw19 with octal enable requirement.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-12-24 12:49:47 -05:00
Qingsong Gou
89bc874404 tests: drivers: spi: add spi test support for sf32lb52_devkit_lcd
Add spi test support for sf32lb52_devkit_lcd

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-12-24 12:48:55 -05:00
Qingsong Gou
ff20bccfd9 drivers: spi: sf32lb: fix transceive_async
Fix transceive_async coding style and compile warnings

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-12-24 12:48:55 -05:00
Qingsong Gou
0bfba8b6f4 drivers: spi: sf32lb: refactor transceive
Refactor transceive to pass spi test

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-12-24 12:48:55 -05:00
Qingsong Gou
65ca5b588b drivers: spi: sf32lb: some minor fixs
Fix some options not supported
code optimization

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-12-24 12:48:55 -05:00
Zhaoxiang Jin
ce55d6f36c doc: migration-guide-4.4: Add SAR ADC driver migration notes
Add migration guide documentation for NXP SAR ADC driver.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-24 12:48:46 -05:00
Zhaoxiang Jin
8050fbe242 samples: adc: Enable ADC samples for frdm_mcxe31b board
Enable adc_sequence and adc_dt samples on frdm_mcxe31b board

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-24 12:48:46 -05:00
Zhaoxiang Jin
727293473b boards: nxp: frdm_mcxe31b: Enable SAR ADC support
1. Enable SAR ADC support for nxp mcxe31x platform.
2. Enable SAR ADC support for nxp frdm_mcxe31b board.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-24 12:48:46 -05:00
Zhaoxiang Jin
7558361c1a drivers: clock_control: enable ADC clock control
Enable MCXE31X platform ADC clock control through
the mc_cgm clock control driver.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-24 12:48:46 -05:00
Zhaoxiang Jin
ea8e8b7d53 drivers: adc: refactor mcux_sar_adc to nxp_sar_adc
Zephyr's current ADC API only supports 32 logical channels,
which is inadequate for SAR ADCs on certain SoCs. For instance,
the ADC on the MCXE31B has 64 hardware channels. The previous
implementation used a one-to-one mapping between logical and
hardware channels. In the new SAR ADC driver version, we bind
hardware channels to logical channels via the zephyr,input-positive
property, enabling us to access any channel.

Currently, only imx93 uses this ADC. To maintain the bisectability
of Zephyr commits, in this commit we will also modify the imx93-related
files, inlcuding:
1. Update the clock_control_mcux_ccm_rev2.c to use the new Kconfig
option 'CONFIG_ADC_NXP_SAR_ADC'.
2. Add properties to the imx93_evk_mimx9352_m33.overlay of the adc_api
testcase.

Now the sar adc is native driver, so, remove
CONFIG_MCUX_COMPONENT_driver.sar_adc from the glue cmake.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-24 12:48:46 -05:00
Zhaoxiang Jin
af72661b1a doc: releases: document NXP board compile definition scope changes
Add migration guide entry for compile definitions 'XIP_EXTERNAL_FLASH',
'USE_HYPERRAM' and 'XIP_BOOT_HEADER_XMCD_ENABLE' that were changed from
global to local scope in NXP board CMakeLists.txt files.

Applications that depended on these definitions being globally available
may need to be updated.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-24 12:48:35 -05:00
Zhaoxiang Jin
e8e4889895 boards: nxp: change definitions to local scope
1.'XIP_EXTERNAL_FLASH' and 'USE_HYPERRAM' are only used in
zephyr/boards/nxp/mimxrt1180_evk/xip/evkmimxrt1180_flexspi_nor_config.c,
so just change them to local scope.

2.'XIP_BOOT_HEADER_XMCD_ENABLE' is only used in
zephyr/boards/nxp/mimxrt1170_evk/xmcd/xmcd.c,
so just change it to local scope.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-24 12:48:35 -05:00
Benjamin Cabé
aa0e3f79d1 driver: auxdisplay: Update validation to use K_SYSCALL_DRIVER_AUXDISPLAY
Replace K_SYSCALL_OBJ() with K_SYSCALL_DRIVER_AUXDISPLAY() in syscall
handlers to validate that the requested driver operation is actually
implemented before invoking it.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-24 12:48:22 -05:00
Benjamin Cabé
3a9d5b4991 drivers: auxdisplay: add missing syscall memory checks
Add missing K_SYSCALL_MEMORY_WRITE and K_SYSCALL_MEMORY_READ
verifications in syscall handlers for pointer parameters.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-24 12:48:22 -05:00
Derek Snell
5b014704da doc: boards: nxp: add shields used to test features
Lists supported shields for driver/feature tests.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2025-12-24 12:47:47 -05:00
Merin George
a8838f7cfd driver: rtc: compilation error fixed
Infineon RTC driver compilation error fixed

Signed-off-by: Merin George <merin.george@infineon.com>
2025-12-24 12:47:18 -05:00
Merin George
1ed26473bb driver: timer: cyw20829 clock announce outside of spinlock context
Fixed the sys_clock_announce to be outside of spinlock context to
resolve the issues related to invalid spinlock when CONFIG_PM is
enabled

Signed-off-by: Merin George <merin.george@infineon.com>
2025-12-24 12:47:18 -05:00
Camille BAUD
30fa6fb3d6 tests: build_all: display: Update test cases to behave as intended
move depends on to only apply to default case, remove 'example' case,
remove unnecessary display tag on ai_m62_12f_kit

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-12-24 12:47:08 -05:00
Martin Hoff
8e2326e43f boards: silabs: siwx91x: add ADC configuration for siwx917 boards
Add the adc exemple configuration in boards dtsi an pinctrl.
Additionally, the SiWx917_rb4338a overlay file has been removed as
its contents have been integrated into the main device tree files.
Also, only siwg917_rb4342a is now tested in CI for adc_dt and
adc_sequence (even thought other boards can run the sample).

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-12-24 12:46:48 -05:00
Martin Hoff
f2741038aa boards: silabs: siwx91x: pinctrl.dtsi files for rb4338a and rb4342a
This patch moves the definition of the pinctrl for both siwg917_rb4338a
and siwg917_rb4342a boards from the board dtsi to a dedicated file.
It allows better maintenance and consistency with other boards.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-12-24 12:46:48 -05:00
Martin Hoff
e357c96d4a dt-bindings: adc: add new header file for Silabs SIWX91X ADC bindings
This patch introduces a new header file regarding ADC binding with
SiWx91x SoC. It allows a more friendly definition of ADC channel input.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-12-24 12:46:48 -05:00
Chun-Chieh Li
55e38dd937 drivers: can: numaker: refine format
Refine the format using clang-format and make no logic changes

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-12-24 12:46:35 -05:00
Hong Nguyen
e93279e773 drivers: stepper: include enable and microstep pins in common config
- Include the enable, m0, and m1 microstep to the common init config.
- Refactor drivers that manually init these pins to use the pins
from the common config.

Signed-off-by: Hong Nguyen <hong.nguyen.k54@gmail.com>
2025-12-23 19:50:25 +00:00
Robert Lubos
346e4d041e tests: net: lib: lwm2m: interop: Add missing PSA configs
Some PSA configs were missing for DTLS to work in LwM2M interop tests.

CONFIG_MBEDTLS_SSL_DTLS_CONNECTION_ID was defined twice, so remove
redundant entry.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-12-23 19:50:17 +00:00
Alberto Escolar Piedras
4ad6857e66 tests/subsys/modem/backends/tty: Ensure it is built with proper C lib
This test itself (not the code under test) needs to be build with the
host C library as it calls into its open/close/read/write APIs.
So let's ensure we build it with it, independently of what the
default C library may be.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-23 19:49:50 +00:00
Alberto Escolar Piedras
6ef08d1221 modem: backend: tty: Support building with any C library
Ensure we call into the host C library open/close/read/write
independently of which embedded C library the code is built with.

We do this by:
a) Using the native simulator nsi_host* trampolines when we just want
   to call straight into the host libC.
b) Building in the native_simulator runner context (and therefore with
   the host C library) two functions which we call from the embedded
   side.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-23 19:49:50 +00:00
Robert Perkel
98233a966f samples: sensor: mtch9010 Added MTCH9010 Sample Code
Added sample code for the MTCH9010 device

Signed-off-by: Robert Perkel <robert.perkel@microchip.com>
2025-12-23 19:49:27 +00:00
Neil Chen
59d02942fa board: frdmmcxc444: Enable on-die temperature sensor
Enable and verify samples/sensor/die_temp_polling for frdmmcxc444

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-12-23 19:49:10 +00:00
Alain Volmat
cc7a12b3ff video: remove CONFIG_VIDEO_BUFFER_POOL_NUM_MAX=2 from conf files
VIDEO_BUFFER_POOL_NUM_MAX default value is 2 so remove it from
samples conf files setting it to that default value.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-12-23 19:49:00 +00:00
Alain Volmat
c4b7b7978b video: removal of VIDEO_BUFFER_POOL_SZ_MAX from Kconfig
Now that VIDEO_BUFFER_POOL_HEAP_SIZE is available is used
in all projects, VIDEO_BUFFER_POOL_SZ_MAX can be removed.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-12-23 19:49:00 +00:00
Alain Volmat
0b230c50d7 video: remove CONFIG_VIDEO_BUFFER_POOL_SZ_MAX in conf files
Remove all CONFIG_VIDEO_BUFFER_POOL_SZ_MAX settings in
config files.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-12-23 19:49:00 +00:00
Alain Volmat
3ff323b0ee video: replace CONFIG_VIDEO_BUFFER_POOL_SZ_MAX with POOL_HEAP_SIZE
Update video common code and applications to rely on the
CONFIG_VIDEO_BUFFER_POOL_HEAP_SIZE instead of
CONFIG_VIDEO_BUFFER_POOL_SZ_MAX.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-12-23 19:49:00 +00:00
Alain Volmat
59a223d028 video: add CONFIG_VIDEO_BUFFER_POOL_HEAP_SIZE in configs
In preparation to the renaming of CONFIG_VIDEO_BUFFER_POOL_SZ_MAX
into CONFIG_VIDEO_BUFFER_POOL_HEAP_SIZE, add the new CONFIG
in all conf files equal to POOL_SZ_MAX multiply by POOL_NUM_MAX.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-12-23 19:49:00 +00:00
Alain Volmat
7319cd00d5 video: add CONFIG_VIDEO_BUFFER_POOL_HEAP_SIZE description
Clarify the size of the video buffer pool by having a
dedicated CONFIG for it.  Until now the size of the
video buffer pool was equal to VIDEO_BUFFER_POOL_SZ_MAX
multiply by VIDEO_BUFFER_POOL_NUM_MAX.

This commit only add the description, the config doesn't
have yet any effect. Change will be added after all configs
are updated to define it in order to avoid breaking
platforms between 2 commits.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-12-23 19:49:00 +00:00
Alain Volmat
bd9202e70c boards: stm32h7s78_dk: use ext-sdram instead of SMH for display
Switch to usage of ext-sdram property (ZEPHYR_REGION) for display
buffers instead of usage via the Shared-Multi-Heap API.
The ZEPHYR_REGION mechanism offer more flexibility than the
shared-multi-heap which is allocated on the whole PSRAM.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-12-23 19:49:00 +00:00
Alain Volmat
184a656e68 boards: stm32n6570_dk: use ZEPHYR_REGION instead of SMH
Switch to usage of ZEPHYR_REGION for display and video
buffers instead of usage via the Shared-Multi-Heap API.
The ZEPHYR_REGION mechanism offer more flexibility than
the shared-multi-heap which is allocated on the whole
PSRAM.
If enabled, add allocation of the VENC internal buffers
from the PSRAM via the HEAP allocator.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-12-23 19:49:00 +00:00
Alain Volmat
c795dc5ed7 samples: video: tcpserversink: fix stm32 venc max buffer size
The CONFIG_VIDEO_BUFFER_POOL_SZ_MAX represent the size of the
biggest buffer in the pool size and not the whole pool size.
For the stm32-venc this should be 1-000-000 and not 10-000-000.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-12-23 19:49:00 +00:00
Alain Volmat
a299826287 video: stm32-venc: allow selection of venc internal memory pool
Allow usage of either Shared-Multi-Heap based internal memory pool
allocation or allocation from a HEAP located optional in a
Zephyr region.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-12-23 19:49:00 +00:00
Alain Volmat
47e031ec85 video: fix VIDEO_BUFFER_USE_SHARED_MULTI_HEAP definition
Avoid default n since this is the default for a bool config

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-12-23 19:49:00 +00:00
Alain Volmat
9788cedcfb video: allow placement of video buffer pool in a Zephyr region
Addition of two options in order to select the Zephyr region
into which the video buffer pool should be placed.
CONFIG_VIDEO_BUFFER_POOL_ZEPHYR_REGION allows to indicate that the
video video pool should be placed in a specific ZEPHYR region which
name is CONFIG_VIDEO_BUFFER_POOL_ZEPHYR_REGION_NAME

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-12-23 19:49:00 +00:00
Simone Orru
f00d633d03 MAINTAINERS: Add UUID maintainers
Add UUID library maintainers

Signed-off-by: Simone Orru <simone.orru@secomind.com>
2025-12-23 19:47:38 +00:00
Dat Nguyen Duy
fde41e8792 boards: shields: introduce a shield for s32k5xx mother board
There is no USB port or headers for lpuart on the cvb board,
thus introducing a shield for the mother board in order to
visualize serial output and expand I/O connectivity:

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2025-12-23 15:18:17 +01:00
Ha Duong Quang
b617b92028 boards: nxp: add support for NXP S32K5XXCVB board
Add support for NXP S32K5XXCVB boards which features
S32K566 SoC.

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
Co-authored-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2025-12-23 15:18:17 +01:00
Dat Nguyen Duy
377922dfcf drivers: add initial support for NXP S32K566
Initial support for NXP S32K566 M7 & R52: Clock,
Pin control, GPIO and Uart

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2025-12-23 15:18:17 +01:00
Ha Duong Quang
72fb81eb9f soc: arm: introduce support for NXP S32K566 SoC
S32K566 is a member of the S32K5 family which expands
s32k3 series to higher performance and larger memory.

Zephyr port for S32K5 will support cortex-M7 and cortex-R52

After reset, swt_startup is enabled and starts running,
disable it using the watchdog hook.

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
Co-authored-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2025-12-23 15:18:17 +01:00
Chun-Chieh Li
50409c7385 drivers: clock_control: numaker: support get_rate/set_rate
This adds support for clock_control_get_rate/clock_control_set_rate
API, so that module clock rate can fetch or modify via them in Hz.
Note only CANFD support is added as an reference example and other
module support will be added as-needed.

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-12-23 15:15:13 +01:00
Thinh Le Cong
76e8d2b8fc linker: ld: correct GNU linker generator output for block linking
Fix the issue that occurs when building with GNU and
CONFIG_LINKER_GENERATOR=y.

Currently, the GROUP {region} directive does not function properly
with GNU. The input section cannot link to the memory group
defined by "zephyr,memory-region" in the final output linker
script.

This commit updates the GNU section name parser script, allowing
it to look up both group and region for output block generation
in the final output linker script.

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-12-23 15:14:16 +01:00
Haoran Jiang
e5ce6869ff dt-bindings: pinctrl: sf32lb52: Generate pinctrl header file for sf32lb
Previously, the pinctrl macro definitions on the sf32lb platform relied on
manual maintenance, which led to some errors.
We will now use scripts to
generate the metadata, ensuring accuracy

Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2025-12-23 15:13:56 +01:00
Evgenii Kosenko
5006ca5610 tests: Bluetooth: Tester: Enable Encrypted Advertising Data
Btp got support of EAD in f04d0196de, enabling config flag will enable
GAP/SCN/BV-01-C and GAP/ADV/BV-20-C to be executed

Signed-off-by: Evgenii Kosenko <Evgenii.Kosenko@silabs.com>
2025-12-23 15:12:50 +01:00
Benjamin Cabé
4f2ee86cd4 include: adc: add doxygen docs for lmp90xxx extended API
Adds doxygen documentation for the extended API of the LMP90xxx ADC
driver.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-23 09:33:06 +01:00
Benjamin Cabé
cecfb5b9a3 include: adc: add doxygen docs for current_sense_amplifier extended API
Adds doxygen documentation for the extended API of the current sense
amplifier driver.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-23 09:33:06 +01:00
Benjamin Cabé
3aec059e0a include: adc: add doxygen docs for current_sense_shunt extended API
Adds doxygen documentation for the extended API of the current sense
shunt driver.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-23 09:33:06 +01:00
Benjamin Cabé
327969d5ae include: adc: add doxygen docs for voltage_divider extended API
Adds doxygen documentation for the extended API of the voltage divider ADC
driver.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-23 09:33:06 +01:00
Benjamin Cabé
fb62a29b58 include: adc: add doxygen docs for ads131m02 extended API
Adds doxygen documentation for the extended API of the ADS131M02 ADC
driver.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-23 09:33:06 +01:00
Benjamin Cabé
3aa2651680 include: adc: add doxygen docs for ads1x4s0x extended API
Adds doxygen documentation for the extended API of the ADS1x4s0x ADC
driver.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-23 09:33:06 +01:00
Benjamin Cabé
781d35c4f1 include: adc: add doxygen group for device-specific ADC API extensions
Similar to how it's done for other driver classes, create a new doxygen
group to put all device-specific ADC API extensions under.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-23 09:33:06 +01:00
Zhaoxiang Jin
2f56bbc6e4 doc: release-notes-4.4: Record mcux_lpcmp driver change
Update the release-notes-4.4 to document:

1. The mcux_lpcmp driver will be deprecated.
2. The compatible 'nxp,lpcmp' for mcux_lpcmp
has now been changed to 'nxp,sensor-lpcmp'.
3. A new lpcmp driver based on the comparator
driver API has been created, and the 'nxp,lpcmp'
compatible is used for it.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-23 09:32:53 +01:00
Zhaoxiang Jin
62be60aa0f tests: comparator: enable gpio_loopback for nxp boards
enable gpio_loopback for nxp boards, including:
- frdm_mcxa153
- frdm_mcxa156
- frdm_mcxa266
- frdm_mcxa346
- frdm_mcxa366
- frdm_mcxe31b
- frdm_mcxn236
- frdm_mcxn947/mcxn947/cpu0/qspi
- frdm_mcxn947/mcxn947/cpu0
- mcx_n9xx_evk/mcxn947/cpu0/qspi
- mcx_n9xx_evk/mcxn947/cpu0

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-23 09:32:53 +01:00
Zhaoxiang Jin
0f9dcd8a3c samples: sensor: mcux_lpcmp: Update board overlays for lpcmp
Update the board overlay files for mcux_lpcmp sample to use
the sensor-lpcmp driver:

1. Delete the 'compatible' and 'clocks' properties from
   the SoC-level lpcmp nodes.
2. Set the compatible to "nxp,sensor-lpcmp" to use the
   sensor-based lpcmp driver.
3. Add '#io-channel-cells = <2>' property for sensor API.
4. Add pinctrl configuration for lpcmp0.
5. Ensure status is set to "okay".

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-23 09:32:53 +01:00
Zhaoxiang Jin
fdfed339bc boards: nxp: remove the lpcmp nodes from the board level dts
We shall enable lpcmp in application level. Enabling lpcmp
at the board level doesn't make any sense, since the lpcmp
input is determined by the application.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-23 09:32:53 +01:00
Zhaoxiang Jin
f70d57a607 dts: nxp: Update lpcmp nodes for some SoCs
1. We shall set the proper clock source for lpcmp.
2. The property '#io-channel-cells' is currently
not needed for LPCMP.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-23 09:32:53 +01:00
Zhaoxiang Jin
3cf811e302 drivers: clock_control: Enable clock control for lpcmp
1. Enable MCXA/MCXN platforms' LPCMP clock control through
the clock driver (syscon).
2. Enable MCXE platform's LPCMP clock control through the
clock driver (mc_cgm).

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-23 09:32:53 +01:00
Zhaoxiang Jin
f6f8c42b67 drivers: comparator: enable nxp lpcmp driver
enable nxp lpcmp driver based on the comparator driver API

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-23 09:32:53 +01:00
Zhaoxiang Jin
f85158fea5 drivers: sensor: mark mcux_lpcmp as deprecated
We are planning to implement a new lpcmp driver based on the
comparator API and deprecate the current sensor-based driver.
We now mark the mcux_lpcmp as deprecated.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-23 09:32:53 +01:00
Zhaoxiang Jin
7371e94ec7 dts: bindings: rename nxp,lpcmp.yaml to nxp,sensor-lpcmp.yaml
We are planning to implement a new LPCMP driver based on the
comparator API and deprecate the current sensor-based driver.
We would like to use the nxp,lpcmp binding for the new
comparator-based driver implementation. To avoid naming conflicts,
we are renaming the current sensor binding to nxp,sensor-lpcmp.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-23 09:32:53 +01:00
Carlo Caione
54d4cdc897 drivers: lora: lbm: Defer radio initialization until first config
Split device initialization into two phases across all LBM drivers:

1. Boot-time init: Minimal device initialization
2. First config: Radio hardware initialization

This deferred initialization approach provides full control over the
radio hardware, allowing applications to perform any necessary setup
before the radio is initialized. The radio init is automatically
triggered on the first call to lora_config().

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2025-12-23 09:32:34 +01:00
Carlo Caione
c6b369e1a3 drivers: lora: lbm: Add DIO1 GPIO callback API
Add functions to register and unregister user GPIO callbacks for DIO1
interrupts on LBM lora radio devices. This allows external code (e.g., the
LoRa Basics Modem HAL) to receive notifications when DIO1 fires.

The driver configures the pin mask automatically based on the DIO1 pin
from devicetree.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2025-12-23 09:32:34 +01:00
Zhaoxiang Jin
965e921aea scripts: check_compliance: read text files as UTF-8 on Windows
KeepSorted can fail on Windows when the active code page is
not UTF-8 (e.g. GBK), because text files in the Zephyr tree
are UTF-8. Detect file type via libmagic and only process
text/* files, avoiding attempts to decode binary content.
Open text files via GIT_TOP / <path> with encoding="utf-8"
(and errors="surrogateescape") to prevent UnicodeDecodeError
during local compliance runs without changing the KeepSorted
sorting rules.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-23 07:54:10 +01:00
Farsin Nasar V A
c99b9ab3cb drivers: hwinfo: microchip: Update g1 hwinfo driver
replace reset cause masks with RSTC G1 bit names.

Signed-off-by: Farsin Nasar V A <farsin.nasarva@microchip.com>
2025-12-23 07:53:42 +01:00
Hake Huang
1001d9aad7 boards: frdm_mcxn947: add net:ether support
add support for ethernet for integration and testing

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2025-12-23 07:53:25 +01:00
Braeden Lane
1bc9b2d05a drivers: counter: infineon_tcpwm: refactor to use TCPWM block base
Refactor the Infineon TCPWM counter driver to use the TCPWM block base
address instead of the counter instance base address. This change aligns
with the standard Infineon PDL API which requires the TCPWM block base
and counter index as separate parameters.

This modification maintains functional compatibility while providing
better alignment with the underlying hardware abstraction layer.
This also aligns with PR feedback to move the ifx_tcpwm.h header file
from the include folder (public APIs) to the drivers folder. Instead,
this refactoring prepares to remove that header file entirely.

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2025-12-23 07:53:09 +01:00
Kyle Bonnici
4468fbfae0 Boards: align ranges to DTS spec
Spec - Section 2.3.8

> If the property is defined with an <empty> value, it specifies that
the parent and child address space is identical, and no address
translation is required.

Spec - Table 2.3

> <empty>: Value is empty. Used for conveying true-false information,
when the presence or absence of the property itself is sufficiently
descriptive.

`ranges = <>;` should be interpreted as `<prop-encoded-array>` with
empty array, when processing the child the ranges should be used and
given it is and empty array we will fail to map and behaviour
is undefined by the dts spec!

Hence IMO `ranges;` is the correct syntax here. This leaves no space
for uncertainty and undefined behaviour by tools and
user interpretation.

Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
2025-12-23 07:52:54 +01:00
Benjamin Cabé
0a3bc8fa70 include: disk: add doxygen docs for stm32_sdmmc extended API
Adds doxygen documentation for the extended API of the STM32 SDMMC
driver.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-23 07:52:45 +01:00
Benjamin Cabé
7778a15d1e include: disk: add doxygen group for device-specific Disk Access extensions
Similar to how it's done for other driver classes, create a new doxygen
group to put all device-specific Disk Access extensions under.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-23 07:52:45 +01:00
Andrzej Głąbek
c728da88d8 drivers: mspi_dw: Fix conditionally defined masks
This is a follow-up to commit 59d8fbc0a9.

Add missing brackets in mask definitions that use `COND_CODE_1()`.
Without those, the call to `__DEBRACKET()` that is done inside
`COND_CODE_1()` removes the outer brackets provided by `GENMASK()`,
what causes problems when the mask is directly used with another
operator like `~`.
Remove also no longer needed brackets added in `start_next_packet()`
by the commit mentioned above as a workaround for this problem,
the root cause of which was not identified at that time.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2025-12-23 07:52:32 +01:00
Fengming Ye
a957c6311d wifi: nxp: support nxp wifi with custom host platform
Add CONFIG_NXP_WIFI_CUSTOM_HOST to build with custom
host platform.

Signed-off-by: Fengming Ye <frank.ye@nxp.com>
2025-12-23 05:08:39 +01:00
Fengming Ye
17c2a3f8fc manifest: update hal_nxp revision to support custom host platform for WiFi
Add CONFIG_NXP_WIFI_CUSTOM_HOST to customize host platform for
NXP Wi-Fi card.

Signed-off-by: Fengming Ye <frank.ye@nxp.com>
2025-12-23 05:08:39 +01:00
Peter Wang
7199c4081f boards: frdm_mcxaxx6,frdm_mcxa577: enable reset driver
1. enable reset driver for frdm mcxa boards below:
    - frdm_mcxa266
    - frdm_mcxa346
    - frdm_mcxa366
    - frdm_mcxa577

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-12-23 05:08:14 +01:00
Kate Wang
68988108ee drivers: mipi_dbi: add support for DBI color coding
Add new configuration item color_coding in the structure
mipi_dbi_config and in mipi-dbi-device binding property.
The color coding is defined by MIPI Alliance Standard for
Display Bus Interface v2.0, which is required by some display
controllers and device.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2025-12-23 05:07:28 +01:00
Kate Wang
5671a4357b drivers: mipi_dbi: Fix typo for color coding
Fix typo for color coding

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2025-12-23 05:07:28 +01:00
Nicolas Moreno
9b6c862121 dt-bindings: mipi_dbi: fixing pulse diagrams
Some diagrams on the file dt-bindings/mipi_dbi/mpi_dbi.h
doesn't deploy the correponsing pulse signal, many of them
the rising flag looks moved some spaces before or after
the rising/falling time. This is fixed by replacing
tasb with spaces

Signed-off-by: Nicolas Moreno <niko722795@gmail.com>
2025-12-23 05:05:52 +01:00
Chen Xingyu
595a8e8c11 doc: migration-guide-4.4: Document M5Stack Fire pinctrl changes
Add a migration entry describing the pinctrl changes on the M5Stack Fire
board.

Signed-off-by: Chen Xingyu <hi@xingrz.me>
2025-12-23 05:04:48 +01:00
Chen Xingyu
d7f6275d1c boards: m5stack: fire: Add node label for PORT.A
Add a `zephyr_i2c` node label pointing to `i2c0`, which is the bus used by
Units connected through Grove PORT.A. This follows the convention already
used on the Core2 and CoreS3 boards.

Signed-off-by: Chen Xingyu <hi@xingrz.me>
2025-12-23 05:04:48 +01:00
Chen Xingyu
3c295aa883 boards: m5stack: fire: Fix Grove PORT.C UART pinctrl
According to the M5Stack Fire v2.7 documentation, the HY2.0-4P Grove PORT.C
is wired to GPIO16 and GPIO17.

Update the DTS pinctrl configuration to route the PORT.C UART to these pins
so that the Grove connector matches the official hardware documentation.

Signed-off-by: Chen Xingyu <hi@xingrz.me>
2025-12-23 05:04:48 +01:00
Yangbo Lu
c3a3c2bd99 drivers: sdhc: imx_usdhc: support scatter gather DMA transfer
Supported scatter gather DMA transfer.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-12-23 05:04:25 +01:00
Yangbo Lu
e212f3e8f4 sd: sd_ops: initialize sdhc_data variables
Initialize sdhc_data variables.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-12-23 05:04:25 +01:00
Yangbo Lu
f45e1d528b drivers: sdhc: introduce scatter gather transfer support
Introduced scatter gather transfer support.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-12-23 05:04:25 +01:00
Greter Raffael
fdd6cb4469 drivers: display: ssd1306: Allow rotation at run-time
Implement set_orientation api

Inverting segment_remap and com_invdir at the same time, rotates the
screen by 180 degrees.

Signed-off-by: Greter Raffael <rgreter@baumer.com>
2025-12-23 05:03:01 +01:00
Jordan Yates
d2cd86800c tests: disk: disk_access: test disk_access_erase
Test the disk erase functionality.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-23 05:02:05 +01:00
Jordan Yates
8d51481128 tests: disk: disk_access: align sector and erase sizes
Ensure that `sector-size` and `erase-size` match for the test.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-23 05:02:05 +01:00
Jordan Yates
b11c0f1b60 disk: sdmmc_stm32: implement disk_access_erase
Add support for erasing blocks to the STM32 SDMMC driver.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-23 05:02:05 +01:00
Jordan Yates
f52fa40b04 disk: loopback: implement disk_access_erase
Implement `disk_access_erase`, which requires a sector sized buffer
of 0's to provide to `fs_write`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-23 05:02:05 +01:00
Jordan Yates
16d0daec8a disk: flashdisk: implement disk_access_erase
Implement `disk_access_erase` for flash disks.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-23 05:02:05 +01:00
Jordan Yates
e02b85a378 disk: ramdisk: implement disk_access_erase
Implement `disk_access_erase` by setting all bytes to 0x00, with the
same bounds checking as `disk_access_write`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-23 05:02:05 +01:00
Jordan Yates
36a926f932 disk: sdmmc: implement disk_access_erase
Implement the `disk_access_erase` function by calling out to the lower
layer SD card drivers.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-23 05:02:05 +01:00
Jordan Yates
3050daaecc storage: disk_access: add disk_access_erase
Add the `disk_access_erase` command to complement the read and write
commands.

As a backwards compatible new feature, this increments the API version
from `1.0.0` to `1.1.0`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-23 05:02:05 +01:00
Jordan Yates
2f47985a9e sd: sd_ops: add block_erase implementation
Add a function for erasing a chunk of blocks.

The SD Card Association Pt1 Simplified Physical Layer Specification
recommends to erase many blocks simultaneously in order to enhance data
throughput (4.3.5.1).

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-23 05:02:05 +01:00
Derek Snell
348ae31ccc doc: nxp: add link to Board Support Status
Adds to common footer for all board doc pages.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2025-12-22 22:40:21 +01:00
Camille BAUD
ae9f04b556 drivers: i2c: bflb: Fix I2C again
Take nuclear option to handling compiler failing at compiling

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-12-22 22:33:56 +01:00
Benjamin Cabé
81ac3f9a7f include: Bluetooth: Host: add doxygen docs for GAP timer macros
This adds proper doxygen documentation for the GAP timers macros.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-22 22:33:39 +01:00
Peter Mitsis
3a8c9797ca kernel: Re-instate metaIRQ z_is_thread_ready() check
Re-instate a z_is_thread_ready() check on the preempted metaIRQ
thread before selecting it as the preferred next thread to
schedule. This code exists because of a corner case where it is
possible for the thread that was recorded as being pre-empted
by a meta-IRQ thread can be marked as not 'ready to run' when
the meta-IRQ thread(s) complete.

Such a scenario may occur if an interrupt ...
  1. suspends the interrupted thread, then
  2. readies a meta-IRQ thread, then
  3. exits
The resulting reschedule can result in the suspended interrupted
thread being recorded as being interrupted by a meta-IRQ thread.
There may be other scenarios too.

Fixes #101296

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-12-22 22:33:18 +01:00
Grzegorz Swiderski
83d3092d30 samples: fs: zms: Update to showcase 64 bit ID support
ZMS IDs are not necessarily 32 bit anymore, so the sample ought to
reflect that.

When the sample is built with CONFIG_ZMS_ID_64BIT=y, the KEY_VALUE_ID
will use a 64 bit value, chosen so that it would conflict with CNT_ID
only if 64 bit IDs were not handled properly.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2025-12-22 22:32:53 +01:00
Grzegorz Swiderski
298798a4b8 tests: fs: zms: Refine test_zms_id_64bit
By request, add another loop to fill an extra sector with small data
entries only (4 bytes per entry in the 64 bit ID case).

This should cover ZMS' special case handling of different data sizes.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2025-12-22 22:32:53 +01:00
Grzegorz Swiderski
0ebf13c3b7 tests: fs: zms: Add tests for free space calculation functions
Previously, there was no proper test coverage of `zms_calc_free_space()`
or `zms_active_sector_free_space()`, so they had some undiscovered bugs.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2025-12-22 22:32:53 +01:00
Grzegorz Swiderski
a39b2779ee fs: zms: Reformulate zms_calc_free_space
The initial implementation had a couple of flaws, including:

  * Generally overcounting the free space by ATE_SIZE bytes per sector.

  * Counting multiple ATEs of the same ID if placed in the same sector.
    The correct behavior is to only count the most recent entry.

  * When a sector was mostly or completely filled with small data sizes,
    there was a correction term applied in the wrong location.

  * The same correction term would be mistakenly applied when a sector
    was filled with only delete ATEs, which resulted in undercounting
    the free space in that sector.

This is addressed by rewriting the API according to a simple principle:
the total free space in a filesystem should equal the sum of free space
in every GC'd sector (minus 1 sector reserved for GC itself).

This should work because during garbage collection, ATEs are not moved
between sectors arbitrarily. Only one sector gets GC'd at a time and
every entry in sector N gets either removed or copied to sector N-1.
This means that any two valid entries that occupy a single sector would
still occupy a (different) single sector before and after the operation.

This property lets us simplify the total free space calculation by
considering one sector at a time and reapplying the calculation which
was just introduced for `zms_active_sector_free_space()`.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2025-12-22 22:32:53 +01:00
Grzegorz Swiderski
491a86ca53 fs: zms: Reformulate zms_active_sector_free_space
The initial implementation had a flaw in it: when an active sector was
almost full, the naïve calculation could easily underflow and return a
negative value, which would be misinterpreted as an errno.

Rewrite this API to satisfy the following, reasonable expectations:

  * Always return a non-negative value, provided ZMS is initialized.

  * Always return 0 if no more data can be written into the sector
    without triggering garbage collection.

  * Never return a value less than the actual number of bytes that can
    still be written into the sector.

This requires awareness of a few special cases in ZMS. These are now
captured in a helper function, which will be reused later.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2025-12-22 22:32:53 +01:00
Ayush Singh
63ff14e3d8 net: dns: resolve: Combine AR and AN handling
Use the same function to parse all records. The main difference is that
answer record handling matches the answer with the initial query, i.e.
AAAA query will have AAAA answer record. Additional records do not have
any matching with the original query.

Also just warns if an additional record parsing fails. But answer record
parsing is an error.

Tested on BeagleConnect Freedom

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-12-22 20:42:08 +01:00
Ayush Singh
31bc3b016b net: dns: resolve: Add additional record support for PTR query
As described in Section 12 of RFC 6763 [0], DNS-SD responses can contain
SRV, TXT and A/AAAA under additional records. This is done even in the
zephyr DNS service advertisement. So these additional records should be
passed to the user for handling.

Most of the code for additional records is taken from normal dns answer
unpacking. However, I have split the handling into a separate function
since I have only added additional records handling for DNS-SD. The same
code should be usable for answer record as well if required. The main
thing missing from additional record code is that we do not need to
match the query type to the response type.

Tested on BeagleConnect Freedom.

[0]: https://datatracker.ietf.org/doc/html/rfc6763.html#section-12

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-12-22 20:42:08 +01:00
Mathieu Choplain
2c004260b8 drivers: entropy: stm32: fix build breakage on STM32WB06/07
These SoCs don't have LL_PKA_IsEnabled() due to the PKA IP being different.
Since PKA can operate without RNG clock on entire STM32WB0 series, skip
the check on the entire series which avoids the call to non-existent
function on STM32WB06/07 and fixes build.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-12-22 20:41:35 +01:00
Lukasz Majewski
5fdffd8e1e boards: doc: Update information regarding memory sizes for stm32g474re MCU
According to STM's website:
https://www.st.com/en/microcontrollers-microprocessors/stm32g474re.html

the stm32g474re has larger FLASH and SRAM sizes than stated in the
Zephyr's documentation.

Signed-off-by: Lukasz Majewski <lukma@nabladev.com>
2025-12-22 20:41:22 +01:00
Benjamin Cabé
2954eff7f1 include: display: ssd16xx:: add doxygen docs for ssd16xx extended API
Adds doxygen documentation for the extended API of the Solomon SSD16XX
EPD display controller driver.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-22 20:40:57 +01:00
Benjamin Cabé
29c7d7a3f0 include: display: add doxygen group for Display API extensions
Similar to how it's done for other driver classes, create a new doxygen
group to put all device-specific Display API extensions under.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-22 20:40:57 +01:00
Benjamin Cabé
348ec106d3 include: display: mipi_display: add missing doxygen comments
Ensure that all enumerators have proper doxygen comments.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-22 20:40:36 +01:00
Mathieu Choplain
1aebea1490 soc: st: stm32: handle debug power mode in common code for WBA series
Perform call to LL_DBGMCU_{Dis,En}ableDBGStandbyMode() for STM32WBA series
in the common code, as done with other series. While at it, also add
missing call to LL_DBGMCU_{Dis,En}ableDBGStopMode().

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-12-22 20:39:53 +01:00
Seppo Takalo
c57042e3ca net: lib: shell: dns: Don't hard code the timeout to 2s
The hard coded 2s timeout might be too small for LTE and Nb-IoT
networks.

Instead use already existing CONFIG_NET_SOCKETS_DNS_TIMEOUT

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2025-12-22 20:39:21 +01:00
Seppo Takalo
07eec81f93 modem: cmux: Change default timeouts to match 3GPP TS 27.010
3GPP TS 27.010 defines default timeouts as follows:
* Acknowledgment Timer (T1), min 10ms, max 2.5s default 100ms
* Response Timer for multiplexer control channel (T2),
  min 20ms, max 2.5s, default 300ms
* Add Kconfig for both T1 and T2 timers

The Response Timer for wake-up procedure(T3) is already a Kconfig
and its default match the specification.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2025-12-22 20:39:01 +01:00
Qingsong Gou
7774970ccc drivers: i2c: sf32lb: add i2c interrupt-driven support for sf32lb
Add i2c interrupt-driven support for sf32lb platform

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-12-22 20:38:27 +01:00
Seppo Takalo
f833ff533d modem: cmux: Add retry counter for SABM, CLD and DISC control messages
Add retry counter for opening and closing CMUX as well as
opening and closing the DLCI channel.

Use same retry counter for both DLCI control messages as well as CMUX
control messages as there is very minimal room for race condition.
DLCI messages are only send when CMUX control channel is open.

Where relevant, use disconnect(cmux) for all closing calls.
So we have one entry point for cleaning.

Similarly refactor modem_cmux_on_dlci_frame_dm() to dlci_close() as
this is the single function to close and clean up a channel.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2025-12-22 20:38:15 +01:00
Seppo Takalo
64459fbb50 modem: cmux: Drop invalid response frames
Drop invalid response frames when in connected state.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2025-12-22 20:38:15 +01:00
Jamie McCrae
014ccd3c40 boards: nordic: Add default Kconfig for (Q)SPI NOR page size
Changes the default page size to 4096 (4KiB) for SPI/QSPI NOR flash
devices if MCUboot is enabled to allow for swap updates to work by
default

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-12-22 20:37:38 +01:00
Tahsin Mutlugun
58cf208b8f drivers: timer: cortex_m_systick: Restore SysTick config after reset
Restore the clock source and exception bits in the CTRL register after
waking from low-power modes that reset SysTick. Also reconfigure the
interrupt priority.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2025-12-22 20:37:27 +01:00
Grzegorz Chwierut
29e8a95004 tests: Aligned with changes in pytest-twister-harness plugin
Aligned with changes in pytest plugin, where added support
of multiple connections from one device.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2025-12-22 20:36:34 +01:00
Grzegorz Chwierut
fca50869b8 samples: icmsg: Updated to verify output from both cores
Changed 'harness: console' to 'harness: pytest' to verify output
from both application and network cores using the new multiple
UART connection support. The pytest test reads from connection_index=0
(application core) and connection_index=1 (network/remote core) to
validate IPC communication on both sides.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2025-12-22 20:36:34 +01:00
Grzegorz Chwierut
2d80ffafb4 samples: sysbuild: hello_world: Simplify dual UART test with new API
Replace manual serial port handling with the new multiple UART
connection support from pytest-twister-harness. The test now uses
connection_index=1 to read from the second core UART instead of
managing a separate serial connection fixture.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2025-12-22 20:36:34 +01:00
Grzegorz Chwierut
10533cedbe doc: twister: Add multi-core testing support documentation
Document the new multiple UART connection support in pytest-twister-harness
plugin. Hardware devices can now access multiple connections using the
connection_index parameter (0=main UART, 1=second core UART).
Also update readlines_until() examples to use explicit regex= parameter
for improved API clarity.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2025-12-22 20:36:34 +01:00
Grzegorz Chwierut
4b6ad9db3c tests: twister: Update unit tests to support miltiple ports
Updated unit tests from pytest-twister-harness
with wupport of multiple connextions.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2025-12-22 20:36:34 +01:00
Grzegorz Chwierut
1b7810f0cb scripts: twister: Support multiple ports in pytest-twister-harness
Add support for multiple connections (e.g. UART) from one device,
enabling communication with second core UARTs. Feature implemented
by extracting connection logic from DeviceAdapter to new
DeviceConnection class with specialized implementations:
- SerialConnection for hardware UART ports
- ProcessConnection for native simulation
- FifoConnection for QEMU communication
Each connection maintains separate log files (handler.log,
handler_1.log, etc.) and can be accessed via connection_index
parameter in device methods like readline() and write().
This enables testing multi-core applications where different
cores communicate through separate UART interfaces.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2025-12-22 20:36:34 +01:00
UMA PRASEEDA
0d448cc2c1 doc: Add info about supported boards for nRF52840 debug
Add info about supported boards for nRF52840 debug
in the nRF52840 DK page

Signed-off-by: UMA PRASEEDA <uma.praseeda@nordicsemi.no>
2025-12-22 17:34:05 +01:00
Benjamin Cabé
af171d4d3b drivers: uart: fix incorrect handler check in uart_configure syscall
The z_vrfy_uart_configure function was incorrectly checking for the
existence of the 'config_get' handler instead of 'configure'.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-22 14:50:23 +01:00
Camille BAUD
020d0fe5d8 soc: bflb: Increase default main stack size
Set it to something more appropriate

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-12-22 14:49:15 +01:00
Kai Vehmanen
6efe5cb687 soc: intel_adsp: tools: add Intel WCL support to cavstool.py
Add PCI DID for Intel Wildcat Lake to cavstool.py.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2025-12-22 14:49:08 +01:00
Kai Vehmanen
afbdea8995 soc: intel_adsp: tools: add Intel NVL support to cavstool.py
Add support for intel_adsp/ace40/nvl platforms into cavstool.py.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2025-12-22 14:49:08 +01:00
Robert Lubos
cf04a04680 net: mqtt: Allow to force native TLS on MQTT socket
Add a parameter to MQTT TLS configuration that allows to force native
TLS on a socket if offload dispatcher is used. This allows for MQTT to
use native TLS implementation with an offloaded TCP socket.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-12-22 14:48:56 +01:00
Håvard Reierstad
ae21970a79 Bluetooth: Host: Add L2CAP chan send warning
Adds a warning to `bt_l2cap_chan_send` that the user must not pass
buffers to this function whose pool has implemented a destroy callback
(net_buf_pool::destroy) that uses synchronization primitives. This is
due to the HCI driver interface not having defined rules for where a
buffer may be freed, leading to the possibility of the callback
being called from the ISR. This warning can be removed at a later point
if the HCI driver interface is redesigned to not pass the net_bufs
directly.

Signed-off-by: Håvard Reierstad <haavard.reierstad@nordicsemi.no>
2025-12-22 14:48:48 +01:00
Vincent Liao
8fbdc4bc69 drivers: misc: pio_rpi_pico: fix linker error with -O0
The pio_rpi_pico_get_pio function was defined as 'inline' in the
header file. This caused 'undefined reference' linker errors when
building with CONFIG_NO_OPTIMIZATIONS=y (-O0), as the compiler
doesn't inline the function and no external symbol is provided.

This patch changes the definition to 'static inline' to ensure a
local copy is generated in each translation unit when not inlined,
consistent with other helper functions in Zephyr and the Linux kernel.

Fixes #101155

Signed-off-by: Vincent Liao <vincent932693@gmail.com>
2025-12-22 14:48:30 +01:00
Mark Wang
37b22586f6 samples: bluetooth: a2dp: implement a2dp sink sample
implement the a2dp sink sample, only mimxrt1170_evk@B board's codec is
supported now.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-12-22 14:45:48 +01:00
Mark Wang
a72acbc807 samples: bluetooth: a2dp: implement a2dp source sample
implement the a2dp source sample.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-12-22 14:45:48 +01:00
Mark Wang
9b4501977b bluetooth: a2dp: implement remaining a2dp SBC codec API functions
Add implementations for the following SBC codec parameter getter functions:
bt_a2dp_sbc_get_channel_mode(): returns the channel mode (mono, dual,
stereo, joint stereo); bt_a2dp_sbc_get_subband_num(): returns the number of
subbands (4 or 8); bt_a2dp_sbc_get_block_length(): returns the block length
(4, 8, 12, or 16); bt_a2dp_sbc_get_allocation_method(): returns the
allocation method (SNR or loudness).

These functions parse the SBC codec configuration parameters and return
the corresponding values, completing the API defined in a2dp_codec_sbc.h.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-12-22 14:45:48 +01:00
zjian zhang
d70318f825 boards: add rtl872xd_evb board
add initial version of rtl872xd_evb board

Signed-off-by: zjian zhang <zjian_zhang@realsil.com.cn>
2025-12-22 14:45:39 +01:00
zjian zhang
97d266e777 drivers: gpio: fixed compile warning
fixed gpio driver compile warning

Signed-off-by: zjian zhang <zjian_zhang@realsil.com.cn>
2025-12-22 14:45:39 +01:00
zjian zhang
14e396a3b1 drivers: serial: add amebad loguart support
loguart driver support for amebad

Signed-off-by: zjian zhang <zjian_zhang@realsil.com.cn>
2025-12-22 14:45:39 +01:00
zjian zhang
6ad245a554 soc: add realtek amebad SOC integration
Add initial version of Amebad Soc integration

Signed-off-by: zjian zhang <zjian_zhang@realsil.com.cn>
2025-12-22 14:45:39 +01:00
zjian zhang
acb831f5c0 dts: arm: introduce amebad SOC Devicetree
add initial version of devicetree for amebad SOC.
amebad devicetree file is main platform dtsi file, which should
be included from board dts (e.g rtl872xd_evb.dts)

Signed-off-by: zjian zhang <zjian_zhang@realsil.com.cn>
2025-12-22 14:45:39 +01:00
zjian zhang
6a2bb8b0e2 west.yml: add support for amebad
add low level support for amebad

Signed-off-by: zjian zhang <zjian_zhang@realsil.com.cn>
2025-12-22 14:45:39 +01:00
Martí Bolívar
c960d0ed0f devicetree: clean up some code inconsistencies
The documentation is generally using 'inst' consistently to refer to
instance numbers, but a few helper macros have gone their own way.
Clean this up to restore consistency.

This addresses changes introduced somewhere around the following
commits:

- 4c8ed7dd9a ("devicetree.h: Rework
  DT_ANY_INST_HAS_PROP_STATUS_OKAY")

- ca6645d508 ("devicetree: shorten DT_ANY_INST_HAS_*_STATUS_OKAY")

- 75ab4d5507 ("devicetree: add DT_ALL_INST_HAS_PROP_STATUS_OKAY()
  macro")

- 35a8e37ac2 ("devicetree: add DT_ALL_INST_HAS_BOOL_STATUS_OKAY()
  macro")

Signed-off-by: Martí Bolívar <mbolivar@amperecomputing.com>
2025-12-21 11:06:52 +01:00
Duy Nguyen
419a094499 dts: renesas: ra: Fix adc compatible for ra6-cm4
The `renesas,ra-adc` compatible was replaced by `renesas,ra-adc12`,
at #95710 but one ADC devicetree node was not updated accordingly.

This commit updates the missing node to use the correct
`renesas,ra-adc12` compatible.

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2025-12-21 11:06:41 +01:00
Alberto Escolar Piedras
5a58989dad samples/subsys/shell/shell_module: Remove unnecessary header
To use the shell one does not need anymore to pull unistd.h,
if one uses sys_getopt, we need to include sys/sys_getopt.h

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-20 15:04:49 +01:00
Alberto Escolar Piedras
71457bd491 samples/shields/npm6001_ek: Remove unnecessary header
To use the shell one does not need anymore to pull unistd.h,
if one uses sys_getopt, we need to include sys/sys_getopt.h

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-20 15:04:49 +01:00
Alberto Escolar Piedras
f02e15acc2 samples/drivers/ipm/ipm_esp32: Remove unnecessary headers
None of these headers are needed by this file for anything.
Let's just remove them.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-20 15:04:49 +01:00
Daniel Leung
51adafd3f3 kernel: mem_domain: remove extra newline character for logging
There is no need for the newline characters when using logging
macros. So remove them.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-12-20 15:04:39 +01:00
Alberto Escolar Piedras
242b69e1ac tests: net: dns_resolver: Increase heap size
The test fails on 64bit targets running out of heap.
Let's just increase it.

Circumstantially it started failing after
d5982f0f89

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-20 15:04:29 +01:00
Lucien Zhao
72360f821a dts: arm: nxp: rt118x: correct ocram1_available address
correct ocram1_available reg address to fix warning log

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-12-20 09:20:20 +01:00
Adrien Lessard
9929ac33f4 drivers: rtc: stm32: fix rtc subsecond register read
According to the reference manual, 'When the BYPSHAD control bit is set
in the RTC_CR register [...] the value of one of the registers may be
incorrect if an RTCCLK edge occurs during the read operation'. We need
to read te subseconds register until two successive reads are equal.

Signed-off-by: Adrien Lessard <adrien.lessard.42@gmail.com>
2025-12-20 09:20:11 +01:00
Adrien Lessard
2cc9d794dc drivers: counter: stm32: fix rtc subsecond register read
According to the reference manual, 'When the BYPSHAD control bit is set
in the RTC_CR register [...] the value of one of the registers may be
incorrect if an RTCCLK edge occurs during the read operation'. We need
to read te subseconds register until two successive reads are equal.

Signed-off-by: Adrien Lessard <adrien.lessard.42@gmail.com>
2025-12-20 09:20:11 +01:00
Holt Sun
0756973f92 MAINTAINERS: Add Holt Sun as RTC driver collaborator
Add Holt Sun as a collaborator for "Drivers: RTC".

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-12-20 09:19:46 +01:00
Aiden Hu
5116dcc3cd boards: nxp: rw612_bga: enable USB host support
Add USB host support for rw612_bga board:
- Update board YAML to include usb_host
- Add zephyr_uhc0 node in device tree with status "okay"

Signed-off-by: Aiden Hu <weiwei.hu@nxp.com>
2025-12-20 09:19:41 +01:00
Hou Zhiqiang
03699e24fc drivers: serial: mcux_lpuart: add clock enablement
Add the clock emablement in the LPUART driver to avoid
depending on the default enablement settings.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
2025-12-20 09:19:19 +01:00
Mohamed Moawad
454c2fae98 tests: crypto: mbedtls_psa: enable malloc arena for Mbed TLS
The PSA Crypto implementation in Mbed TLS requires some heap
to operate.
Provide a small malloc arena to ensure this test remains
compatible with MINIMAL_LIBC configurations
where the arena is disabled by default.

Signed-off-by: Mohamed Moawad <moawad@synopsys.com>
2025-12-20 09:19:06 +01:00
Neil Chen
58f59c13a5 soc: nxp: mcxa156: add new parts for MCXA156
Add new parts MCXA156VFT and MCXA156VLH support

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-12-20 09:17:02 +01:00
Kevin Chan
c17e057dfd soc: infinoen: edge: pse84: system clock
Update system clock related variables
otherwise Cy_SysLib_Delay or Cy_SysLib_DelayUs are incorrect

Signed-off-by: Kevin Chan <kevin.chan3@infineon.com>
2025-12-20 09:16:51 +01:00
Nikhil Namjoshi
c8f8fab1ed drivers: memc: Fix copyright and add example DTS config
Example DTS config comment is meant to help users of the
driver, with the PSRAM device tree configuration.

Signed-off-by: Nikhil Namjoshi <nikhilnamjoshi@google.com>
2025-12-20 09:16:38 +01:00
Nikhil Namjoshi
1a31990457 drivers: memc: Add imx-flexspi-is66wvs8m8 driver
Tested:
Verified that reading and writing data to the PSRAM
with MCU's FlexSPI controller in Quad Mode, works as
expected.

Signed-off-by: Nikhil Namjoshi <nikhilnamjoshi@google.com>
2025-12-20 09:16:38 +01:00
Pieter De Gendt
98ef5b1c44 REUSE.toml: Default annotate json files
It's not possible to add comments to a json file, so there's no option to
add license or copyright text.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-12-20 09:16:24 +01:00
Jason Yu
5194dfa380 boards: nxp: mcxw23: Add power management MCXW23 board
Add mcxw23_evk and frdm_mcxw23 platforms to the power management
test suite to validate power management functionality on MCXW23
hardware.

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-20 09:15:40 +01:00
Jason Yu
dad7f6ae95 soc: nxp: mcxw2xx: Add poweroff support
Add poweroff MCXW2xx SoCs, support btn_wk pin wakeup.

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-20 09:15:40 +01:00
Jason Yu
da1df411a5 soc: nxp: mcxw2xx: Enable the power management
Enabled modes:
  idle: SLEEP
  suspend: DEEP-SLEEP
  standby: POWER-DOWN with CPU retention

OS Time Base: OSTIMER with 32K clock source

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-20 09:15:40 +01:00
McAtee Maxwell
ce51e58819 drivers: enable lp_timer default for kit_psc3m5_evk
- Enable lp_timer for kit_psc3m5_evk
- Modify configuration, enabling lp_timer as default before systick

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2025-12-20 09:15:22 +01:00
Bill Waters
66cf8c502b drivers: timer: infineon pdl lp_timer
Add PDL-based low-power timer for the E84 board

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2025-12-20 09:15:22 +01:00
Appana Durga Kedareswara rao
d98f7ffa38 boards: amd: versalnet_rpu: Document PDI requirements for targets
Clarify the different requirements for QEMU emulation versus real
hardware deployment in the versalnet_rpu board documentation.

For QEMU target:
- XSDB (Xilinx System Debugger) is not used
- PDI (Programmable Device Image) is not required
- QEMU provides direct emulation without hardware initialization files

For real hardware target:
- XSDB and PDI file are required
- PDI contains the hardware initialization and boot configuration
  needed for the physical device

This documentation update helps users understand why PDI is optional
for QEMU testing but mandatory for physical board deployment.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2025-12-19 13:55:41 -05:00
Vit Stanicek
d98fb0b2e5 Revert "samples: i2s_codec: Modify DMIC channel mapping"
This reverts commit d11474ce64.

Follows the reversal of 1f69b91e90, as
this commit reflects changes made in there.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-12-19 13:55:21 -05:00
Vit Stanicek
5df75500d5 Revert "drivers: audio: dmic_mcux: remove arbitrary mapping of pdm to dmic channel"
This reverts commit 1f69b91e90.

Chose to revert it because its changes constitute a deviation from
the dmic API, resulting in failing tests on affected platforms
(mimxrt685s and mimxrt595s mainly).

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-12-19 13:55:21 -05:00
Pieter De Gendt
7f97d3dd0a scripts: west: packages: Print warning on windows or run new command
On non-Windows systems execute a new program, replacing the west packages
call, when trying to install packages using pip.
For Windows, update the documented way of installing python packages,
or using 'west packages pip --install' print a warning.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-12-19 13:55:11 -05:00
Vincent Tardy
6497aa45b8 west.yml: update hal_stm32 revision for lib selection thanks to KConfig
Update hal_stm32 revision to support ble and link layer
libraries selection thanks to KConfig
BT_STM32WBA_LIB_CONFIG

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2025-12-19 13:54:59 -05:00
Vincent Tardy
05e5bbeb9b bluetooth: stm32wbax: add BT_STM32WBA_LIB_CONFIG KConfig
Add new KConfig BT_STM32WBA_LIB_CONFIG specifying the configuration
of the stm32wba ble library (full or basic) depending to bluetooth
features.

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2025-12-19 13:54:59 -05:00
Sylvio Alves
84ac9af572 drivers: bluetooth: hci: esp32: enable coded PHY support
Select BT_CTLR_PHY_CODED_SUPPORT for ESP32 variants that support
Bluetooth 5.0 coded PHY (long range). The original ESP32 series
is excluded as it only supports Bluetooth 4.2.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-12-19 13:54:51 -05:00
Jukka Rissanen
3824b87c19 doc: net: Update the overview.rst document
The document was missing recent updates, also some entries
were missing RFC links.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-12-19 13:54:42 -05:00
Lucien Zhao
aecb78a358 boards: nxp: frdm_mcxe247: add lpspi feature
support lpspi feature by enabling spi_loopback case

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-12-19 13:54:27 -05:00
Lucien Zhao
3756fa3c1a boards: nxp: frdm_mcxe247: add i2c feature
- support accel feature using lpi2c0 and enable accel cases:
  accel_trig/accel_polling
- enable i2c_target_api case using lpi2c0 and lpi2c1

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-12-19 13:54:27 -05:00
Zhaoxiang Jin
6ef3de03fa MAINTAINERS: add ZhaoxiangJin collaborator for Drivers: ADC
Add ZhaoxiangJin as a collaborator for "Drivers: ADC".

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-19 13:54:13 -05:00
Fabrice DJIATSA
31437d571d tests: boot: with_mcumgr: exclude wba6 platforms
These platforms were mistakenly not excluded during PR #100385

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-12-19 13:54:04 -05:00
Tom Burdick
7b7966c440 modules: hal_infineon: Fix whd includes
Updates hal_infineon to remove stray includes of cyhal  that broke the
build for folks using our wireless parts with non-Infineon
microcontrollers when building with Zephyr.

Wrap #include's of cyhal such that they are not included when building.

Signed-off-by: Tom Burdick <thomas.burdick@infineon.com>
2025-12-19 13:53:52 -05:00
Alberto Escolar Piedras
074cda5a93 net: websocket: Remove unnecessary includes
Since d45cd6716b this code does not use
types defined in the POSIX_API and therefore we do not need to work
around header include issues.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-19 13:53:14 -05:00
Mathieu Choplain
458e6f8ae3 doc: migration-guide: 4.4: ignore case for order in drivers section
The drivers section of migration guides has always been kept ordered using
a zephyr-keep-sorted block. However, due to the default sorting order, the
list elements are not always in alphabetical order: for example, 'STM32'
comes before 'Shell' because of the uppercase 'T'.

Turn on case-insensitive sorting to ensure the list is sorted in
alphabetical order and adjust the existing contents accordingly.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-12-19 07:54:03 -06:00
Tomi Fontanilles
9fd0737c7f manifest: add missing group to tf-m-tests
Add tf-m-tests to the tee group for consistency.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2025-12-19 07:53:19 -06:00
Guennadi Liakhovetski
8c200c0f2f xtensa: mmu: (cosmetic) clean up pointer types
Use void * cleanly: avoid needless type-casts and use void * for
generic pointers instead of uint8_t *.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2025-12-19 07:53:07 -06:00
Alberto Escolar Piedras
d74ccc1bdb cmake: Do not warn on deprecated symbols w CONFIG_WARN_DEPRECATED=n
CONFIG_WARN_DEPRECATED is 'y' by default.
When a user actively disables CONFIG_WARN_DEPRECATED, one would expect
that they would stop getting all deprecation warnings, not just the
ones from kconfig.
Otherwise users continue getting tons of these warnings when building
deprecated functionality.

So let's indeed disable them also for symbols and macros.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-19 07:52:31 -06:00
Grzegorz Chwierut
96985a32e8 twister: pytest: fix duplicate log lines from pytest
The combination of pytest's `-s` (--capture=no) option and
`--log-cli-level=DEBUG` was causing duplicate log output.
Fixed by replacing `--log-cli-level=DEBUG` with `--log-level=DEBUG`.
`--log-cli-format` removed as is not used.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2025-12-19 07:51:49 -06:00
Grzegorz Chwierut
8827ea2643 twister: prevent infinite loop in required app resolution
When using --only-failed with required applications, twister could enter
an infinite loop during application dependency resolution.

Fixes #100808

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2025-12-19 07:51:23 -06:00
Jérôme Pouiller
564c6c1101 manifest: silabs: Include last fixes
hal_silabs has been updated with a few fixes related to WiFi.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-12-19 07:50:54 -06:00
Radosław Koppel
9c69cf1710 tests/flash_simulator: Test callbacks for erase and write operations
This test checks the functionality of the callbacks for erase and write
operations. The callbacks allows the modification of the simulated flash
behaviour during this operations.

Signed-off-by: Radosław Koppel <r.koppel@k-el.com>
2025-12-19 07:50:31 -06:00
Radosław Koppel
63c3c34f74 drivers/flash/flash_simulator: Add write and erase callbacks
Add the functionality that allows to register write and erase callbacks.
The callbacks can modify the behaviour of this operations.
It are meant to be used during testing of the situation when the memory
starts to generate errors or the data cannot be trusted anymore.
It expands the testing possibility, for a situation when the module
is tested that checks the data integrity and and we cannot just jump in
between its internal write and read operations to inject an error.

Signed-off-by: Radosław Koppel <r.koppel@k-el.com>
2025-12-19 07:50:31 -06:00
Michał Bainczyk
e68ae84e5b manifest: update hal_nordic to have fixes for examples
Update hal_nordic to have examples with SPIM+SPIS and
TWIM+TWIS examples fixed.

Signed-off-by: Michał Bainczyk <michal.bainczyk@nordicsemi.no>
2025-12-19 07:49:54 -06:00
Nikodem Kastelik
64be8d84b1 drivers: pwm: nrf: fix nrfx instance being zeroed on suspend
PWM driver clears its runtime state on each suspend event.
However, since nrfx 4.0 integration nrfx driver instance is part
of the runtime state structure, so clear action must be limited.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2025-12-19 07:49:28 -06:00
Ivan Iushkov
c3190d34aa Bluetooth: mesh: suppress clang warning in net.c
struct net_val is a packed struct containing
`struct bt_mesh_key dev_key` member which contains uint32_t
variable inside.
Compiling this code with llvm clang produces the following
warning:

`
error: field dev_key within 'struct net_val' is less aligned
than 'struct bt_mesh_key' and is usually due to 'struct net_val'
being packed, which can lead to unaligned accesses
[-Werror,-Wunaligned-access]
`

However, the `struct bt_mesh_key dev_key` is handled in accordance
to its actual alignment. I.e., it is copied using memcpy() which
prevents any alignment issues.

This commit resolves the following Zephyr issue:
https://github.com/zephyrproject-rtos/zephyr/issues/101144
by suppressing -Wunaligned-access warning
on the `struct net_val` declaration.

Signed-off-by: Ivan Iushkov <ivan.iushkov@nordicsemi.no>
2025-12-19 10:39:11 +01:00
Ivan Iushkov
80b4cdb744 toolchain: llvm: add -Wunaligned-access suppression
TOOLCHAIN_WARNING_UNALIGNED_ACCESS can be used to
suppress false-positive warnings generated
by llvm clang compiler caused by -Wunaligned-access option

Signed-off-by: Ivan Iushkov <ivan.iushkov@nordicsemi.no>
2025-12-19 10:39:11 +01:00
Lucien Zhao
70f6966920 boards: nxp: frdm_mcxe247: support edma feature
Enable dma case for frdm_mcxe247:
- chan_blen_transfer
- chan_link_transfer
- loop_transfer
- scatter_gather

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-12-19 10:38:13 +01:00
Lucien Zhao
995d289452 drivers: Kconfig.mcux_edma: add slot value for mcxe24x
set DMA_MCUX_TEST_SLOT_START value as 62 for mcxe24x

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-12-19 10:38:13 +01:00
Thomas Decker
1cb59d8e08 drivers: power_domain: Fix Kconfig endif comments
Fix the endif comments so they match to the corresponding if

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2025-12-19 10:37:29 +01:00
Lyle Zhu
fa8681f57f Samples: Bluetooth: HFP_HF: Enable codec negotiation and codec mSBC
Add callback `codec_negotiate` if the `CONFIG_BT_HFP_HF_CODEC_NEG` is
set.

Calling the function `bt_hfp_hf_select_codec()` if the codec ID is
valid in the callback `codec_negotiate`.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-19 10:23:35 +02:00
Lyle Zhu
fae78f60c4 sample: Bluetooth: HFP: Support voice transmission and playback
Capture the voice from PCM and play voice through Codec if the SCO
connection has been established.

Capture the voice from Codec and send out through PCM if the SCO
connection has been established.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-19 10:23:35 +02:00
Lyle Zhu
5ead2dde41 modules: hal_nxp: mcux: Send VS commands to configure controller
Send VS commands to configure the PCM pins before establishing SCO
connection.

Send VS commands to start the voice transferring when SCO connection
has been established.

Send VS commands to stop the voice transferring when SCO connection
has been broken.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-19 10:23:35 +02:00
Lyle Zhu
c848b05126 Bluetooth: Classic: Monitor setup_sco and accept_sco_req HCI commands
For some controllers, such as NXP IW612 Chipset, the PCM pins of
controller needs to be configured before the SCO connection is
established. And it requires to get the `air_coding_format` to
configure the PCM pins of controller.

So, it requires to known when the SCO connection will be established
and what the `air_coding_format` of the SCO connection.

Add the function `bt_sco_hci_cb_register()` to monitor the HCI
commands `setup_sco` and `accept_sco_req`.

Add the function `bt_sco_hci_cb_unregister()` to remove the monitor.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-19 10:23:35 +02:00
Zhaoxiang Jin
3ee9ac3898 doc: releases: Fix heading underline in migration guide 4.4
Fix the Video section heading underline to use the correct number
of equal signs to match the heading length.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-19 10:22:48 +02:00
Wouter Horré
799d189a28 rtio: executor: release mempool buffer before resetting it
`rtio_executor_handle_multishot` releases the RX buffer in case of
cancellation or error. However, in case of an sqe that uses a mempool,
it reset the buffer before that, making the release a NOOP.  Fix that by
moving the reset of the buffer to right before pushing the sqe back onto
the queue.

Signed-off-by: Wouter Horré <wouter@versasense.com>
2025-12-19 10:22:38 +02:00
Ayush Singh
b0229771d5 net: dns: resolve: Enable discovery of all service instances
The DNS-based Service Discovery has the following abstract:

   This document specifies how DNS resource records are named and
   structured to facilitate service discovery.  Given a type of service
   that a client is looking for, and a domain in which the client is
   looking for that service, this mechanism allows clients to discover
   a list of named instances of that desired service, using standard
   DNS queries.  This mechanism is referred to as DNS-based Service
   Discovery, or DNS-SD.

As is stated here, DNS-based service discovery is designed to find all
instances implementing a service, not just the first one.

Currently, zephyr `dns_resolve_service` will call the callback for only
the first client instance found. It still does receive the responses
from other instances, but those are dropped since the query is already
marked as finished. The seems incorrect behavior.

With that said, the changes in this commit are API breaking, since even
the docs already state that only the first response is currently used.
So I am fine with creating a new function for discovering all instances
if that is more acceptable.

Since DNS-SD queries expect multiple responses, timeout or manual
cancellation are the only methods to stop an in-flight request. When a
timeout happens, the callback is called with one of the following
responses:
- `DNS_EAI_ALLDONE`: If at least one successful response was received.
- `DNS_EAI_CANCELED`: If no successful response was received.

Tested with 3 BeagleConnect Freedoms (2 running mdns_responder and 1
running dns_resolve sample).

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-12-19 10:22:24 +02:00
Jeremy Truttmann
26a08c86f6 net: ethernet: Allow to disable the auto-start of ethernet interfaces
Adds CONFIG_ETH_NET_IF_NO_AUTO_START to allow
pre-configuration of Ethernet interfaces (e.g., filters, mac)
before they become operational. When enabled, net_if_up() must be
explicitly called by the application.

Signed-off-by: Jeremy Truttmann <jetstreeam.code@outlook.com>
2025-12-19 10:22:14 +02:00
Michał Stasiak
e37b89f0b4 drivers: i2s: nrf_tdm: fix application of buffer size workaround
The workaround should be applied only when needed, based
on errata symbols.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-12-19 10:22:03 +02:00
Biwen Li
c2d201d24e firmware: scmi: fix build issue
arch reboot is not included in PM flow, so drop
the option CONFIG_PM_LOG_LEVEL to
fix build issue:
- error: CONFIG_PM_LOG_LEVEL undeclared here (not in a function)

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-19 10:21:25 +02:00
Jason Yu
010991d049 soc: nxp: imxrt118x: Change to use __rom_region_start symbol
The boot container was using a non-standard symbol name
`__rom_start_address` for the ROM start address. This symbol
is not defined when build with `-DCONFIG_CMAKE_LINKER_GENERATOR=y`.

This commit use the symbol `__rom_region_start` which is
available for both cases.

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-19 10:21:16 +02:00
The Nguyen
a713f52fe4 manifest: update hal_renesas rev to latest
Update the hal_renesas rev to fix the USB device not sending ZLP
at the end of the DCP data stage

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-12-19 10:21:07 +02:00
Thinh Le Cong
c66c4fceaa soc: renesas: ra: add rom_padding workaround for IAR ROM placement
The arbitrary ordering of ILINK may cause the .last_section
to be placed between the gaps of consecutive sections in the ROMABLE
region.

This commit adds a workaround for Renesas RA devices, which have OFS
registers placed in FLASH. Adding a small .rom_padding section at
the beginning of the ROM_REGION stabilizes the placement order and
ensures that all ROM sections remain within the expected region.

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-12-19 10:20:35 +02:00
Thinh Le Cong
2a9df8d23b soc: renesas: ra: Resolve issue when using GNU and cmake linker
Switch OFS-related linker sections from GROUP FLASH to GROUP ROM_REGION
to avoid overlapiping placement with .text when build with GNU and
CONFIG_CMAKE_LINKER_GENERATOR=y of RA boards that have OFS in FLASH

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2025-12-19 10:20:35 +02:00
Thinh Le Cong
661536331f soc: renesas: ra: Add condition check for special cases
Add condition check for dts node and multi-image build

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2025-12-19 10:20:35 +02:00
Thinh Le Cong
2baeae776d soc: renesas: ra: Initial support for IAR build tool on Renesas RA
Support IAR build tool on Renesas RA devices

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2025-12-19 10:20:35 +02:00
Yasushi SHOJI
53af11f763 drivers: timer: Remove unused CONFIG_XLNX_PSTTC_TIMER_INDEX
CONFIG_XLNX_PSTTC_TIMER_INDEX has been unused since commit 57784fb9d5
(v2.3 era), which switched to using the `DT_INST_` macro and defaulted to
the first instance via `DT_INST_REG_ADDR(0)`.

Remove the obsolete and broken CONFIG_XLNX_PSTTC_TIMER_INDEX.

Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
2025-12-19 10:20:25 +02:00
Dima Kushchevskyi
e157c16fab tests: bluetooth: ascs: make callback expectation checks more generic
The existing ASCS test callback verification functions scale poorly and are
not easily reusable across different cases.

This change introduces a more generic approach to expectation checks by
adding `expect_bt_bap_unicast_server_cb_release_called(_expected_count,
_streams)` and similar functions, improving readability and maintainability
of ASCS unit tests.

Fixes #58034

Signed-off-by: Dima Kushchevskyi <d.kushchevskyi@sirinsoftware.com>
2025-12-19 10:20:14 +02:00
Jamie McCrae
ecd8a4bc7c cmake: modules: hwm_v2: Skip writing output on no change
Skips updating files if the output already matches the file
contents, this prevents a random occurance whereby sysbuild
reconfigures itself after a reconfiguration for no known
discernable reason

Signed-off-by: Jamie McCrae <spam@helper3000.net>
2025-12-18 23:38:25 +01:00
Bill Waters
acbad46c1b modules: hal_infineon: CMakeLists.txt
- Only compile the mtb-hal-cat1 module's source when
CONFIG_USE_INFINEON_LEGACY_HAL is set.
- The serial-flash sub-module relies on the legacy hal.
It was getting added to all builds, including ones that
don't use the legacy hal.

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2025-12-18 23:38:09 +01:00
Benjamin Cabé
fa352c3030 doc: twister: keep definition lists uninterrupted
Move reference labels within definitions so that they do not break the
flow of definition lists.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-18 23:37:50 +01:00
Benjamin Cabé
18c1a63891 doc: fix bad indentation causing elements to render as definition lists
Fixes documents where blocks where indented to the right of their parent
causing them to render as definition lists.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-18 23:37:50 +01:00
Benjamin Cabé
5224283ea9 doc: css: re-style definition lists
Definition lists are key for explaining terminology, and making them
visually cohesive can help the reader better scan information.

This change introduces a distinct visual hierarchy by:

- Adding a vertical border to group the list items.
- Highlighting terms (dt) with a background color and rounded corners.
- Adding decorative indicators (bullets) to separate entries clearly.

The new style is also intentionally more visually distinct so that
_incorrect_ usage of definition lists (usually due to bad
indentation) can be more easily detected as it won't look good
when not used for things meant to be "definition lists" :)

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-18 23:37:50 +01:00
Benjamin Cabé
a0096984dc doc: index.html: fix aria-hiddentypo
fix typo in attribute; add a missing one.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-18 23:37:50 +01:00
Benjamin Cabé
aa9f3f069a doc: update dark-mode-toggle to 0.18.0
Updates the minified JS resources corresponding to latest
dark-mode-toggle (0.18.0) release as it fixes an issue
with accessibility
See GoogleChromeLabs/dark-mode-toggle#99

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-18 23:37:50 +01:00
Benjamin Cabé
e872f2eff1 doc: index.rst: improve wording for version selector usage
Minor wording change to clarify what is meant by "use the version
selector".

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-18 23:37:50 +01:00
Benjamin Cabé
cef4fa9fb5 doc: index.html: css: improve contrast
Some tweaks to the CSS to have better contrast of the cards on the
homepage, and a few other places.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-18 23:37:50 +01:00
Benjamin Cabé
bdd8a67a6f doc: index.html: drop red border on hover for contribute card
This isn't really needed / is incosistent with how other cards react
on hover.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-18 23:37:50 +01:00
Benjamin Cabé
cb2a3aafe4 doc: css: add padding to search form gear icon
"Touch targets with sufficient size and spacing help users who may have
difficulty targeting small controls to activate the targets", so move
the gear icon a bit to give it more air.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-18 23:37:50 +01:00
Jason Yu
24f8ed75cb drivers: dma: dma_mcux_lpc: Add register backup and restore
Add for the case that the registers are not kept in some
low power modes.

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-18 23:37:39 +01:00
Jason Yu
ed2af53f59 drivers: dma: dma_mcux_lpc: Support power device constraint
Call pm_policy_device_power_lock_put/pm_policy_device_power_lock_get
to coordinate with system level power modes.

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-18 23:37:39 +01:00
Alex Hogen
a73e3df510 drivers: regulator/fixed: Add voltage getter to fix device never ready
When regulator-min-microvolt and regulator-max-microvolt properties are
provided in the devicetree node, a fixed regulator is never ready due to
failed initialization in regulator_common_init().

At at commit 9463d9a51d regulator_common.c
lines 68-71, if min or max voltages are set, then regulator_common_init()
attempts to get the regulator's current voltage setting so that it might
"Snap to closest interval value if out of range." However
regulator-fixed has not implemented the regulator_get_voltage() api, so
regulator_common_init() fails.

Adding an implementation for regulator_get_voltage() which returns
min voltage, just like regulator_fixed_list_voltage() does, resolves
this issue.

Fixes zephyrproject-rtos/zephyr#99339

Signed-off-by: Alex Hogen <alex@edt.com>
2025-12-18 23:37:30 +01:00
Alberto Escolar Piedras
9a0e8a4148 modules: nrf_wifi: Fix net API use
In d45cd6716b the mayority of the
Zephyr codebased was changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:53:10 +00:00
Alberto Escolar Piedras
0a8d5881d4 drivers: wifi: winc1500: Fix net API use
In 55c49cdb8f wifi
drivers were changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:53:10 +00:00
Alberto Escolar Piedras
1fcb102983 drivers: wifi: simplelink: Fix net API use
In 55c49cdb8f wifi
drivers were changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:53:10 +00:00
Alberto Escolar Piedras
9010e20e9f drivers: wifi: nxp: Fix net API use
In 55c49cdb8f wifi
drivers were changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:53:10 +00:00
Alberto Escolar Piedras
b7261fad59 drivers: wifi: eswifi: Fix net API use
In 55c49cdb8f wifi
drivers were changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:53:10 +00:00
Alberto Escolar Piedras
ecb5d3c898 drivers: wifi: esp_at: Fix net API use
In 55c49cdb8f wifi
drivers were changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:53:10 +00:00
Benjamin Cabé
e861b2681d drivers: dts: ti: fix typo in "Texas Instruments" company name
s/Texas Instrument/Texas Instruments/g

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-18 18:52:58 +00:00
Robert Lubos
46cf6e707e tests: net: socket: offload_dispatcher: Add extra test case for TLS
Socket dispatcher should create a native TLS socket with a native
underlying socket even if the socket is only bound to a native interface,
it shouldn't be needed to call ZSOCK_TLS_NATIVE specifically. This works
just fine, so add a test case for this scenario to make sure it remains
that way.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-12-18 18:52:44 +00:00
Fabio Baltieri
4cc278ffc9 drivers: spi: esp32: set dma tx/rx separately
Split the code for DMA setting to consider the tx and rx buffers
separately, this makes the driver work for use cases where tx only or rx
only is needed, such as when using this with the ws2812 driver.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-12-18 18:52:33 +00:00
Alberto Escolar Piedras
edcc44fb80 drivers: modem: hl78xx: Fix net API use
In b5588ed684, and after in
e19d78e607 the mayority of the
Zephyr modem drivers were changed to use the Zephyr native
net_ prefixed types, but a few were missing.

Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:52:23 +00:00
Alberto Escolar Piedras
d9b34059d9 drivers: modem: quectel-bg9x: Fix net API use
In b5588ed684, and after in
e19d78e607 the mayority of the
Zephyr modem drivers were changed to use the Zephyr native
net_ prefixed types, but a few were missing.

Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:52:23 +00:00
Alberto Escolar Piedras
fe41b6daf2 drivers: modem: sim7080: Fix net API use
In b5588ed684, and after in
e19d78e607 the mayority of the
Zephyr modem drivers were changed to use the Zephyr native
net_ prefixed types, but a few were missing.

Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:52:23 +00:00
Alberto Escolar Piedras
3e908843de drivers: modem: wncm14a2a: Fix net API use
In b5588ed684, and after in
e19d78e607 the mayority of the
Zephyr modem drivers were changed to use the Zephyr native
net_ prefixed types, but a few were missing.

Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:52:23 +00:00
Alberto Escolar Piedras
f64dc213fb drivers: ethernet: dsa_nxp_imx_netc: Fix net API use
In e6daacf3c9 the mayority of the
ethernet drivers code was changed to use the Zephyr native net_
prefixed symbols, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:52:13 +00:00
Alberto Escolar Piedras
fe1607844c mgmt: mcumgr: Fix remaining net API use
In d45cd6716b the mayority of the
Zephyr codebased was changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:52:06 +00:00
Alberto Escolar Piedras
bb00357557 net: lib: http: Fix net API use
In d45cd6716b the mayority of the
Zephyr codebased was changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:51:59 +00:00
Alberto Escolar Piedras
3b4cde8132 shell: backends: websocket: Fix net API use
In d45cd6716b the mayority of the
Zephyr codebased was changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:51:59 +00:00
Alberto Escolar Piedras
0be25778f7 net: sockets: objcore: Fix net API use
In d45cd6716b the mayority of the
Zephyr codebased was changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:51:59 +00:00
Alberto Escolar Piedras
88f1faec32 tests: net: all: Also build net shell disabled commands
It seems no other test (or sample) was building this.
So let's enable them in this test, so we at least build test them
somewhere.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:51:59 +00:00
Alberto Escolar Piedras
555887ec11 net: Fix net API use
In d45cd6716b the mayority of the
Zephyr codebased was changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:51:59 +00:00
Alberto Escolar Piedras
1912d88fc9 samples: net: promiscuous_mode: Fix remaining net API use
In d45cd6716b the mayority of the
Zephyr codebased was changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:51:59 +00:00
Fabrice DJIATSA
6687372293 tests: drivers: i2c: i2c_target_api: add support for stm32l562e_dk
- add an overlay file and enable i2c1 and i2c2 nodes.
- add stm32l562e_dk to testcase.yaml for CI testing.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-12-18 18:51:53 +00:00
Fabrice DJIATSA
e4d5f3ba0b tests: drivers: spi: spi_loopback: update stm32l562e_dk spi node
Move from SPI1 to SPI3 node (arduino header).

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-12-18 18:51:53 +00:00
Fabrice DJIATSA
95f6318b68 boards: st: stm32l562e_dk: enable sdmmc1 iDMA to fix sector write failures
The disk_access test failed during 8‑sector writes with:
- sd write error 16
- Failed to write to sector zero (assert in
tests/drivers/disk/disk_access)

Enabling idma on &sdmmc1 allows proper multi‑block transfers
and eliminates the write failure.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-12-18 18:51:53 +00:00
Fabrice DJIATSA
47e8e1fd68 boards: st: stm32l562e_dk: add arduino_gpio as supported periph
This is required to perform the
/tests/drivers/gpio/gpio_basic_api test.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-12-18 18:51:53 +00:00
Bill Waters
4926960746 samples: counter: add Infineon kit_pse84_eval
Add overlay files for the alarm sample

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2025-12-18 18:51:41 +00:00
Bill Waters
36abed5377 drivers: counter: add support for Infineon PSE84 device
- Update the driver to support the PSE84 device
 - Update to new peripheral clock allocation scheme

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2025-12-18 18:51:41 +00:00
Pieter De Gendt
56a84e8111 scripts: ci: Add ignorecase option to zephyr-keep-sorted
Allow making the zephyr-keep-sorted check ignore cases, for example:

// zephyr-keep-sorted-start ignorecase
....
// zephyr-keep-sorted-stop

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-12-18 18:50:54 +00:00
Alberto Escolar Piedras
64efa7dcb3 modem: ppp: Fix remaining net API use
In d45cd6716b the mayority of the
Zephyr codebased was changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 14:52:30 +00:00
Alberto Escolar Piedras
1a347f6f6c tests: net: all: Do not disable sys_getopt users
Since the shell (and its use of sys_getopt) does not have any dependency
on the POSIX_API anymore, we do not need to disable it when we disable
the POSIX_API compatibility layer.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 14:52:17 +00:00
Alberto Escolar Piedras
ddfdd8b389 tests: net: all: Also build zperf
Also build the zperf common and server code.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 14:52:17 +00:00
Alberto Escolar Piedras
f5959a898a samples: net: zperf: Do not enable the POSIX_API
This sample does not need it, and having it enabled masks uses of the
non native API by this code.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 14:52:17 +00:00
Alberto Escolar Piedras
455a0436e5 net: zperf: Fix net API use
In d45cd6716b the mayority of the
Zephyr codebased was changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 14:52:17 +00:00
Jaagup Averin
89c3443a4d dts: arm: st: f2: add adc2 and adc3
Add missing ADC2 and ADC3 nodes to stm32f2.dtsi.

Signed-off-by: Jaagup Averin <jaagup.averin@gmail.com>
2025-12-18 14:52:04 +00:00
Alberto Escolar Piedras
18bf241ec4 usb: host: usbip: Fix net API use
In c52c206e26 &
32059d7414 the USB code was changed to
use the Zephyr native net_ prefixed API, but some were forgotten
(nto[hn][ls]()). Let's change it now.

Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 14:51:52 +00:00
Alberto Escolar Piedras
b5709a3cf4 usb: next: Fix net API use
In 32059d7414 this code was changed to
use the Zephyr native net_ prefixed API, but some were forgotten
(ntohs()). Let's change it now.

Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 14:51:52 +00:00
Alberto Escolar Piedras
ba84bfea3c usb: legacy: Fix net API use
In c52c206e26 this code was changed to use
the Zephyr native net_ prefixed API, but some were forgotten
(ntohs()). Let's change it now.

Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 14:51:52 +00:00
Fabrice DJIATSA
6d17ab8058 test: app_development: vector_table_relocation: exclude stm32f4 serie
The vector_table_relocation.dtcm test assumes that the vector
table can be relocated to a DTCM region and executed from there.
However, on STM32F4 (Cortex-M4),this is not possible due to
architectural constraints.
The CCM RAM on STM32F4 series is connected via the D-bus,
not the ICode bus, and therefore cannot serve as an executable boot
space for the vector table.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-12-18 14:51:40 +00:00
Fabrice DJIATSA
e6226da734 boards: st: stm32_f3_disco: add zephyr dtcm chosen property
In the STM32F3 series, the CCM RAM can interface with
the Arm Cortex-M4 core via the I-BUS, which makes it
possible to run the vector table relocation test.

See Refman 0316 Page 50.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-12-18 14:51:40 +00:00
Benjamin Cabé
2bfd150128 cmake: hwmv2: optimize hardware list parsing with CMake lists
Replace inefficient string parsing loop with CMake list iteration for
processing list_hardware.py output. The previous implementation used
repeated string operations on the entire output string for each line,
which is increasingly slow as hardware list grows.

Local tests show hwmv2.cmake module loading in ~350 ms instead of
540 ms on my machine.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-18 14:51:29 +00:00
farsin NASAR V A
f6fccc57e1 tests: drivers: dma: Added sam_e54 test support files
Added sam_e54.overlay for dma test projects.

Signed-off-by: farsin NASAR V A <farsin.nasarva@microchip.com>
2025-12-18 14:51:14 +00:00
Vincent Tardy
7273479e43 soc: st: stm32wba: hci_if: allow forcing ISR registration
Add parameter to the link_layer_register_isr() to force
or not the link layer isr registration in case of multiple
function calls.
This change fixes the interrupt service when resuming
from a PM standby state.

Update Bluetooth hci_stm32wba.c driver and
IEEE 802.15.4 ieee802154_stm32wba.c driver accordingly.

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2025-12-18 14:50:58 +00:00
Robert Cheng
44dc69d323 boards: focaltech: ft9001_eval: add evaluation board
Add support for the FocalTech FT9001 evaluation board:
- Board dts/dtsi and pinmux
- defconfig and board.cmake
- Basic documentation

The board has been tested with the following Zephyr sample:
– samples/hello_world

Signed-off-by: Robert Cheng <robert.cheng@focaltech-electronics.com>
2025-12-18 12:13:19 +00:00
Robert Cheng
5e1d28b49c drivers: serial: focaltech: add ft9001 serial driver
Add the UART driver for the FocalTech FT9001 SoC.

Signed-off-by: Robert Cheng <robert.cheng@focaltech-electronics.com>
2025-12-18 12:13:19 +00:00
Robert Cheng
384be5329d drivers: reset: focaltech: add ft9001 reset controller driver
Add reset controller driver for the FocalTech FT9001 SoC.

Signed-off-by: Robert Cheng <robert.cheng@focaltech-electronics.com>
2025-12-18 12:13:19 +00:00
Robert Cheng
8dc2103074 drivers: clock_control: focaltech: add ft9001 clock control driver
Add clock control driver for the FocalTech FT9001 SoC.

Signed-off-by: Robert Cheng <robert.cheng@focaltech-electronics.com>
2025-12-18 12:13:19 +00:00
Robert Cheng
48760eea64 dts: arm: focaltech: add ft9001 SoC dtsi
Introduce the base devicetree description for the FT9001 SoC.

Signed-off-by: Robert Cheng <robert.cheng@focaltech-electronics.com>
2025-12-18 12:13:19 +00:00
Robert Cheng
c3d0a3703f soc: focaltech: ft9001: add SoC support
Add initial support for the FocalTech FT9001 ARM Cortex-M SoC including:
- SoC Kconfig and dtsi integration points
- Early init and core setup
- Pinctrl base definitions

This prepares the tree for the FT9001 board and drivers.

Signed-off-by: Robert Cheng <robert.cheng@focaltech-electronics.com>
2025-12-18 12:13:19 +00:00
Robert Cheng
79f972db89 dt-bindings: focaltech: ft9001: add clock, reset, uart
Add devicetree bindings for the FocalTech FT9001 SoC:
- Clock controller
- Reset controller
- UART

These bindings are required by the SoC and drivers added in subsequent
commits. Headers are placed under include/zephyr/dt-bindings/.

Signed-off-by: Robert Cheng <robert.cheng@focaltech-electronics.com>
2025-12-18 12:13:19 +00:00
Jun Lin
dfe251554b driver: eSPI: npcx: fix minor sonarqube issues
Fix the Quality Gate failed from sonaqube.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
2025-12-18 12:10:06 +00:00
Jun Lin
8d525c4f20 driver: eSPI: npcx: fix the missing closing brace
This commit fixed the missing closing brace of the switch statement to
resolve the compiler error.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
2025-12-18 12:10:06 +00:00
Chaitanya Tata
9ea5170f09 boards: nordic: nrf54h20dk: Fix CPURAD MPSL init failure
Allocate one GPIOTE channel for coex grant GPIO pin. This fixes a nrfx
assert during MPSL init in CPURAD.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-12-18 12:09:42 +00:00
Chaitanya Tata
d7a22685ec boards: shields: nrf7002eb: Add 54H coex shield
This shield is a standalone coex shield without relying on the base
Wi-Fi shield (edge_connector).

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-12-18 12:09:42 +00:00
Emil Hammarstrom
12986286de lib: hash: Ensure OA/LP hmap inserts don't return tombstones
According to the hashmap interface specification sys_hashmap_remove will
"Erase the entry associated with key `key`, if one exists"

If a rehash is performed OA/LP will return 1 and no old_value for
sys_hashmap_insert.

If a rehash is NOT performed OA/LP will return 0 and a stale old_value for
sys_hashmap_insert even though the user requested the entry for that key to
be removed.

This patch makes OA/LP not return the value of tombstoned entries.

Signed-off-by: Emil Hammarstrom <emil.hammarstrom1@assaabloy.com>
2025-12-18 12:09:36 +00:00
Emil Hammarstrom
48059d126b tests: lib: hash_map: Expect sys_hashmap_remove to erase entry
After removing an entry the user does not expect it back after
sys_hashmap_insert

Signed-off-by: Emil Hammarstrom <emil.hammarstrom1@assaabloy.com>
2025-12-18 12:09:36 +00:00
Qingsong Gou
aaf36d65b5 drivers: spi: sf32lb: add spi_sf32lb_transceive_async async API
Add spi async API support for sf32lb

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-12-18 12:07:46 +01:00
William Tang
510e4d1cee soc: nxp: rw: fix GAU clock configuration for ADC accuracy
Configure the GAU (General Analog Unit) clock from T3 PLL 256M with
a divider of 4 to achieve 64MHz, replacing the previous configuration
that used the main clock at 260MHz main clock with a divider of 1.

The GAU ADC has a maximum clock frequency limit of 64MHz. The previous
260MHz clock configuration caused incorrect conversion results when
operating at 12-bit and 14-bit resolutions. Using the T3 PLL 256M
source divided by 4 provides the correct 64MHz clock frequency.

This change also corrects a typo in the comment from "Attack clock"
to "Set 64M GAU clock from T3 PLL 256M and reset".

Signed-off-by: William Tang <william.tang@nxp.com>
2025-12-18 12:07:30 +01:00
Andrej Butok
da5755f893 MAINTAINERS: add butok collaborator for NXP drivers
Add butok (Andrej Butok) as a collaborator for "NXP Platform Drivers".

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-12-18 12:07:21 +01:00
Ederson de Souza
ace1b87e15 samples/subsys/pmci/mctp: Add npcx4m8f_evb overlays for I2C-GPIO
So that one can run the I2C-GPIO owner/endpoint samples on it.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 12:07:03 +01:00
Ederson de Souza
621a7aa686 samples/subsys/pmci/mctp: Keep board specific config on board file
So that users of other boards don't see meaningless warnings during
build.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 12:06:55 +01:00
Ederson de Souza
b9f10bec52 samples/subsys/pmci/mctp: More friendly I2C-GPIO samples messages
This is done by:
  - No more sending periodic messages from endpoint to owner - keep
    parity with UART sample: owner sends periodic ping to endpoint, that
    replies to those;
  - Waiting one second between each message sent by the owner, so people
    can actually see what's going on;
  - Wrapping the content of the messages (strings "ping" and "pong")
    in quotes, so it's clear what they are;
  - Toning down the logging to INF - no need for DBG.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 12:06:55 +01:00
Ederson de Souza
5f5e17e08c samples/subsys/pmci/mctp: Set allocation functions on I2C samples
Without those, allocation for MCTP packets can cause subtle - or not so
subtle - bugs.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 12:06:55 +01:00
Ederson de Souza
0cdf8694e0 subsys/pmci/mctp: I2C-GPIO controller interrupt fix
MCTP I2C-GPIO controller wasn't properly reenabling interrupt on the
GPIO line after disabling it during transfer.

This patch also uses `GPIO_INT_LEVEL_ACTIVE` instead of
`GPIO_INT_LEVEL_HIGH` to respect GPIO active state.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 12:06:55 +01:00
Ederson de Souza
8401bcfb7a subsys/pmci/mctp: Fix I2C-GPIO target reading
State machine handling RX data wasn't transitioning to "receive" mode.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 12:06:55 +01:00
Albort Xue
df3823b812 samples: drivers: spi_flash: Add supports of flexspi_nor
Added supports of nxp_imx_flexspi_nor flash.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2025-12-18 12:06:46 +01:00
Qingsong Gou
ccdc0c3007 drivers: adc: sf32lb: add adc read_async support
Add adc read_async support for sf32lb

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-12-18 12:06:33 +01:00
Fin Maaß
97a2d6bc47 drivers: ethernet: microchip_enc424j600: use timeout directly
use Kconfig timeout directly.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-12-18 12:06:25 +01:00
Fin Maaß
a7d48d94b4 drivers: ethernet: microchip_enc28j60: use timeout directly
use Kconfig timeout directly.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-12-18 12:06:25 +01:00
Fin Maaß
f017a99f07 drivers: ethernet: microchip_lan865x: use timeout directly
use Kconfig timeout directly.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-12-18 12:06:25 +01:00
Fin Maaß
2cf2f8c58a drivers: ethernet: microchip_lan9250: use timeout directly
use Kconfig timeout directly.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-12-18 12:06:25 +01:00
Biwen Li
b196917f6c tests: bluetooth: audio: ascs: fix build issues
Fix build issues,
- error: format %x expects argument of type
  unsigned int, but argument 7 has type ssize_t
  {aka long int} [-Werror=format=]
  zassert_false(ret < 0, "attr->read returned unexpected (err 0x%02x)"
  , BT_GATT_ERR(ret));

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-18 12:06:06 +01:00
Jordan Yates
235aa1aa7f flash: flash_simulator: static programmable unit buffer
Move the programmable unit buffer used to detect double writes out of
the function stack. This fixes stack overflows when simulating flash
devices with large programming units (SPI-NAND, 2-4 kB).

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-18 09:24:40 +01:00
Jordan Yates
9d88c8cfb0 tests: unit: timeutil: test CONFIG_TIMEUTIL_APPLY_SKEW=n
Test the `timeutil` libraries compile and behave the same way
(excluding the skew application) when `CONFIG_TIMEUTIL_APPLY_SKEW=n`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-18 09:24:34 +01:00
Jordan Yates
1d92d0b5ff utils: timeutil: option to disable clock skew
Accurately applying clock skew correction in
`timeutil_sync_ref_from_local` and `timeutil_sync_local_from_ref`
requires double-precision floating point operations. If this is the only
usage of double precision logic in the build, but clocks skews are not
used, this can be a significant ROM overhead. Disabling this option can
save ~2.4 kB of ROM.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-18 09:24:34 +01:00
Bartosz Miller
a2661d380a tests: drivers: uart: Extend UART120 testing for nrf54h20 cpuflpr
Run UART tests on 54h20 cpuflpr with uart120

Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
2025-12-18 09:19:57 +01:00
Mathieu Choplain
c8e73024da doc: migration: 4.4: place Video drivers section in sorted block
The Video drivers section was mistakenly placed below the end marker of the
zephyr-keep-sorted block.

Move it back inside the block for proper ordering.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-12-18 09:19:42 +01:00
Petr Buchta
53dfed0455 boards: nxp: frdm_mcxe247: Enable flash controller
This commit enables use of FTFC flash controller.
Together with DT changes it adds support for FTFC into soc_flash_mcux.c
driver.

Signed-off-by: Petr Buchta <petr.buchta@nxp.com>
2025-12-18 09:19:24 +01:00
Jason Yu
2fb46db59b drivers: hwinfo: mcux_rcm: Fix wrong comment
Correct mismatched #endif comment to reference the correct macro
FSL_FEATURE_RCM_HAS_SSRS

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-18 09:18:40 +01:00
Jason Yu
420c0f94ea drivers: hwinfo: rcm: Enable HWINFO RCM for MCXE24x and KE1xZ
Enables the MCUX Reset Control Module (RCM) to support hwinfo

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-18 09:18:40 +01:00
Jason Yu
b185fdea97 drivers: hwinfo: mcux_rcm: Improve get_supported_reset_cause
Remove the conditional compilation guard FSL_FEATURE_RCM_HAS_PARAM.
`hwinfo_mcux_rcm_xlate_reset_sources` has handled the
supported cause using `FSL_FEATURE_xxx` macros, passing `UINT32_MAX`
can get all supported reset cause.

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-18 09:18:40 +01:00
Thomas Decker
fef0958ca5 arch: arm: mpu: Add missing define REGION_FLASH_SIZE for 32k and 32M
Add missing REGION_FLASH_SIZE defines when CONFIG_FLASH_SIZE is 32k or 32M

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2025-12-18 09:18:07 +01:00
Ryan McClelland
f897a24e68 drivers: i3c: cdns: fix no ibi payload
There was a misunderstanding in the spec, where if the bcr says there
is no payload, there are NO data bytes that follow the ibi address.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2025-12-18 09:17:57 +01:00
Emil Gydesen
15eb9daa87 samples: Bluetooth: CAP: Initiator: Fix test count name
Renamed total_rx_iso_packet_count to
total_unicast_rx_iso_packet_count to make it consistent
with total_unicast_tx_iso_packet_count.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-12-18 09:17:48 +01:00
Emil Gydesen
f66f58833f samples: Bluetooth: CAP: Acceptor: Various fixes
The sample recently started supporting multiple sink ASEs,
but only support a single sink stream. Updated the number of
sink streams supported.

Modified how/when we reset the requested_bis_sync and
FLAG_BROADCAST_SYNC_REQUESTED in the broadcast implementation.

Removed a call to bt_bap_broadcast_sink_delete that would
always fail because it was already deleted.

Modified how/when the total_unicast_rx_iso_packet_count
and total_unicast_tx_iso_packet_count values were reset,
to support a future case of CAP handover.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-12-18 09:17:48 +01:00
Sylvio Alves
5d1e443bdf drivers: spi: esp32: fix CS handling when using GPIO chip select
The driver was unconditionally setting hal_dev->cs_pin_id to the target
number, which activates hardware CS lines even when GPIO-based chip
select (cs-gpios) is used. This caused issues when using hardware CS
via pinctrl with reg > 0.

Also update the binding documentation to clarify the interaction between
cs-gpios and hardware CS via pinctrl.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-12-18 05:36:14 +01:00
Lyle Zhu
9c710107da bluetooth: hfp_ag: Add Kconfig option for in-band ringtone
Add a new Kconfig option CONFIG_BT_HFP_AG_INBAND_RINGTONE to allow
enabling/disabling the in-band ringtone capability in HFP AG profile.

The in-band ringtone feature is now conditionally compiled based on
this configuration option. When disabled, the feature flags are set
to 0 and the bt_hfp_ag_inband_ringtone() API returns -ENOTSUP.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-18 05:35:53 +01:00
Sylvio Alves
007f4427f3 drivers: serial: esp32: add UHCI SLIP encoding control
Add devicetree properties to control UHCI SLIP encoding/decoding
when using UART with DMA (async API). Both properties default to
disabled to prevent unintended data corruption.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-12-18 05:35:40 +01:00
John Batch
5ca16a6696 boards: infineon: kit_psc3m5_evk: Adding dma to supported devices
Adds DMA to the supported devices list for the Infineon kit_psc3m5_evk
board.

Signed-off-by: John Batch <john.batch@infineon.com>
2025-12-18 05:35:15 +01:00
John Batch
30307e9fd1 tests: drivers: dma: Adding DMA test overlays for Infineon PSC3 board
Adding test overlays for Infineon kit_psc3m5_evk board.  Added tests:
 * tests/drivers/dma/chan_blen_transfer
 * tests/drivers/dma/loop_transfer

Signed-off-by: John Batch <john.batch@infineon.com>
2025-12-18 05:35:15 +01:00
Ederson de Souza
b13c7a2fe0 MAINTAINERS: Add edersondisouza as MCTP collaborator
Add edersondisouza as a collaborator to MCTP.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 05:35:04 +01:00
Kai Vehmanen
12a5bb2911 soc: intel_adsp: tools: cavstool.py: add I2S offload support
Program I2S link for DSP offload, allowing to run DSP tests using
the I2S/SSP interface. On ACE1.5 and older, no additional programming
is required, I2S link is available by default.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
2025-12-18 05:34:54 +01:00
Wu Yingxiang
6b46f60580 boards: others: add esp32c3_lckfb board support
Add board support for LCKFB ESP32-C3 Development Board.

This board is based on ESP32-C3 with 8MB SPI flash and includes:
- Wi-Fi and Bluetooth Low Energy support
- Complete pin configuration for UART, I2C, SPI2, I2S
- OpenOCD debugging support
- Board documentation with WebP image (optimized size)

Signed-off-by: Wu Yingxiang <wuyingxiang58@gmail.com>
2025-12-18 05:34:22 +01:00
Jason Yu
77225cb32e soc: nxp: mcxw2xx: Improve OS tick timer selection
When os_timer is enabled in dts, then os_timer will be used as
OS tick timer.

To make systick as the default OS tick timer, currently os_timer
is not enabled in dts. When users want to use os_timer as
OS tick timer, they need to override the dts.

Improve the method, enable the os_timer is dts, but not enable
in Kconfig by default. If need to use os_timer as OS tick, just pass
CONFIG_MCUX_OS_TIMER=y

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-18 05:34:07 +01:00
Lyle Zhu
ba2bd21156 tests: Bluetooth: Update at test suites
Remove the dedicated buffer from the test case.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-18 05:33:30 +01:00
Lyle Zhu
9016f96e01 Bluetooth: Classic: HFP_HF: Refactor at parser
In current implementation, the additional buffer is required by AT to
store the parsing AT response data temporarily. To store the parsed
AT response data completely, the buffer size is as high as the MTU of
the RFCOMM connection. And the buffer is dedicated for each HFP HF
connection. That means the RAM usage depends on the MAX HFP HF
connection count. Actually, the RFCOMM receiving buffer is valid when
processing the received AT response. The changes aim to remove the
additional buffer and leverage the receiving buffer to process the AT
response.

And there is an issue found that the type of the additional buffer
length is `uint8_t`, while the configured RFCOMM receiving data length
is 65535. When the additional buffer length exceeds 255, the AT cannot
process the received data normally.

Replace manual buffer management with net_buf_simple in the AT command
parser. This change eliminates the need for manual position tracking
and buffer length management by leveraging Zephyr's existing buffer
utilities. And leverage RFCOMM receiving buffer instead of allocating
dedicated buffer.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-18 05:33:30 +01:00
Muhammad Waleed Badar
854240d26e dts: arm: add dts bindings for ARMv7 timer
This ensures that correct timer node is selected for
ARMv7-based platforms.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2025-12-18 05:32:51 +01:00
Benjamin Cabé
29059ec3d6 scripts: ci: refresh requirements-actions.txt pinned versions and SHAs
Refresh pinned dependencies to pick filelock 3.20.1 version since 3.20.0
is subject to CVE-2025-68146.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-17 14:35:20 -08:00
Kate Wang
2b6283def7 samples: drivers: display: Enable new panel zc143ac72mipi for RT700
Add zc143ac72mipi panel configuration for RT700 platform in display
sample test configuration.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2025-12-17 13:59:06 -05:00
Kate Wang
acbd8e409a doc: boards: nxp: Add new supported panels for RT700
Add new supported panels RK055HDMIPI4MA0 and ZC143AC72MIPI
in board doc.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2025-12-17 13:59:06 -05:00
Kate Wang
0798beeb34 samples: drivers: display: Enable new panel rk055hdmipi4ma0 for RT700
Add heap size configuration and add new panel rk055hdmipi4ma0 for RT700.
It requires extra space for 720p panel.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2025-12-17 13:59:06 -05:00
Kate Wang
036220496b boards: shields: rk055hdmipi4ma0: Update RT700 configuration
Remove the external frame buffer configuration. It shall be set in
device tree instead now.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2025-12-17 13:59:06 -05:00
Kate Wang
1ffdbb4b5b boards: nxp: Add memory region definition in board dts for RT700
Add memory region definition for PSRAM space which is controlled
by XPSI2 in board dts for RT700. In this way user/developer
can place the data in the region in code more easily. This space
can be used by media domain masters like DCNano lcdif controller.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2025-12-17 13:59:06 -05:00
Kate Wang
cf7f3f672f boards: shields: rk055hdmipi4m: Update RT500 configuration
Remove the external frame buffer configuration. It shall be set in
device tree instead now.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2025-12-17 13:59:06 -05:00
Kate Wang
bf2a0f1911 boards: shields: rk055hdmipi4ma0: Update RT500 configuration
Remove the external frame buffer configuration. It shall be set in
device tree instead now.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2025-12-17 13:59:06 -05:00
Kate Wang
e55a5022f5 boards: nxp: move memory region definition to board dts for RT500
It is better to let the FLEXSPI2 memory region in the final
linker file be generated from dts, in this way user/developer
can place the data in the region in code more easily.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2025-12-17 13:59:06 -05:00
Kate Wang
1c5d236248 drivers: display: dcnano_lcdif: Update framebuffer placement and pitch
1. For the situation when the RAM space is limited and the driver's
frame buffer cannot be place in RAM, add a new property 'ext-ram' in the
binding, so if in device tree this property is assigned to a secondary
RAM space, place the frame buffer there. The old way is to define the
frame bufeer address in Kconfig, which may cause inconvenience if other
data also needs to be placed in the same RAM space.
2. Update the driver to support new requirement on RT700. The IP requires
a 64-byte alignment for the frame buffer stride.
3. Update the calculation of frame buffer size. If the pixel format is
updated, the frame buffer size shall be updated too.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2025-12-17 13:59:06 -05:00
Jason Yu
bba3582b8d drivers: interrupt: pint: Add API to get pin used IRQ slot
PINT connects GPIO pin to seperate IRQ slot. This info is
hidden in PINT driver, there is no way to know which IRQ
actually the GPIO pin is connected to.
Add new API to get which IRQ slot is connected to, based on
pin index.

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-12-17 13:58:56 -05:00
Muzaffar Ahmed
d7900d6d5b drivers: wifi: siwx91x: Disable automatic rejoin in NWP
Disable rejoin by setting max_retry_attempts to 1. This is done to keep
the NWP state in sync with Zephyr Host, given that Zephyr does not have
a "rejoin ongoing" state.

Signed-off-by: Muzaffar Ahmed <muzaffar.ahmed@silabs.com>
2025-12-17 13:58:40 -05:00
Sreeram Tatapudi
11243b1f8c doc: releases: migration: 4.4: Add infineon driver rename update
Adding details regarding the Infineon driver refactoring to drop
cat1 from the driver names and binding files.

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2025-12-17 13:58:09 -05:00
Sreeram Tatapudi
0a06f5b91a dts: bindings: Drop cat1 from the infineon binding files
Drop cat1 from the binding files to enable reuse by other
category devices as well.

Fixes #99174

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2025-12-17 13:58:09 -05:00
Charles Hardin
1a738a56c5 drivers: ethernet: w5500: update the driver to use mac config bindings
Since the w5500 is used in arduino shields it should use the current
code patterns since it will be examined as a reference for other
drivers. So, this is just trying to catch up to the changes that have
been made in the microchip, litex, and virtio drivers.

Use the net_eth_mac_load code pattern from those other drivers and
update a few things to the code guidelines as well.

Signed-off-by: Charles Hardin <ckhardin@gmail.com>
2025-12-17 13:57:52 -05:00
Charles Hardin
4c983d00f6 drivers: ethernet: lan9250: cleanup some un-needed code
From the prior change b38a46bade adding
in the mac configuration in the device tree it is appropriate to
remove the local mac address bindings. This is done in this commit.

There is no intended functional change

Signed-off-by: Charles Hardin <ckhardin@gmail.com>
2025-12-17 13:57:52 -05:00
Benjamin Cabé
66d6edaf5c include: firmware: scmi: add proper doxygen groups for SCMI
This adds proper doxygen groups for all public SCMI headers

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-17 13:57:45 -05:00
Benjamin Cabé
0081169359 doc: hardware: scmi: add System power management as supported protocol
There is an implementation of the System power management protocol in
the SCMI driver, so mention it.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-17 13:57:45 -05:00
Benjamin Cabé
b96c49d737 doc: hardware: scmi: fix formatting of SCMI docs
Fix incorrect indentation that caused some elements to render as
defintion lists.

Added proper nesting of the various headings as everything was top-level

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-17 13:57:45 -05:00
Sylvio Alves
f8d2e00a0e includes: remove duplicated entries in zephyr-tree
Remove duplicated #include directives within the same
preprocessor scope across the Zephyr tree.

Duplicates inside different #ifdef branches are preserved
as they may be intentional.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-12-17 13:57:38 -05:00
Sylvio Alves
6d5754978c drivers: flash: esp32: preserve volatile qualifier in IPM callback
Preserve the volatile qualifier when casting the shared memory pointer
in flash_cpu01_receive_cb() to avoid dropping volatile semantics during
inter-processor communication.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-12-17 13:57:38 -05:00
Thomas Hebb
58212cd70e drivers: wifi: airoc: Populate band in scan results
The driver gives us this information, so we just need to translate it to
Zephyr's type like we already do for security.

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
2025-12-17 13:56:10 -05:00
Ayush Singh
c64de6f1de samples: net: dns_resolve: Add 802154-subg support
- Tested on BeagleConnect Freedom along with mdns_responder sample.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-12-17 13:56:03 -05:00
Ayush Singh
12b2174e66 samples: net: mdns_responder: Add 802154-subg overlay
- Tested on BeagleConnect Freedom

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-12-17 13:56:03 -05:00
Sebastian Głąb
a5ca188d84 tests: boards: nrf: i2s: Remove test that checks I2S clock divider
Remove test from tests/boards/nrf/i2s/i2s_divider.
The i2s_divider test was relying on debug log from I2S driver.
With the recent NRFX updates log was removed.

Better test, that counts rising edges on I2S_LRCLK line was added
in downstream (https://github.com/nrfconnect/sdk-nrf/pull/26230).

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-12-17 13:55:54 -05:00
Michał Stasiak
a9d1932b23 dts: nordic: nrf54lm20a: remove clockpin from TDM
Not needed as nRF54LM20A does not support clockpin
feature in GPIO.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-12-17 13:55:43 -05:00
Guennadi Liakhovetski
c88758fdfb llext: make 2 arguments of llext_get_section_header() const
ext and loader aren't modified inside llext_get_section_header(),
they are just passed to llext_section_shndx(), where they're already
const. Make them const in this function too.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2025-12-17 13:55:34 -05:00
Benjamin Cabé
16164b35dc MAINTAINERS: add doc/index.html to Documentation area
add this file to make sure edits to it get proper
maintainers/collaborators pulled in

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-17 13:55:07 -05:00
Benjamin Cabé
0e041f9c59 doc: index.html: fix overflow bug on welcome admonition.
Fix a rare bug where some browsers seem to consider the welcome
admonition is overflowing.
This fixes zephyrproject-rtos/zephyr#101167.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-17 13:55:07 -05:00
Anas Nashif
516bca6e05 ci: assigner: fix condition for running script
Wrong logic in condition results in running the script with the wrong
arguments.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-12-17 13:54:59 -05:00
Alberto Escolar Piedras
c3229f04b5 manifest: Update nRF hw models to latest
Update the HW models module to:
0f0c43748111c65800c6920f1c0690676423a351

Including the following:
0f0c437 nrfx: Replace nrfx_gppi_domain_id_get() (requires new nrfx)
1bead00 nrf_ppi: Add support for NRF_PPI_ENDPOINT_IS_EVENT in simulation
9f11c2f NHW_misc: Add API to convert from/to simulated addr to real HW
        ones

Note: This requires an nrfx 4.0.x which is newer than 2025/12/03,
i.e. modules/hal/nordic 0dbbf4794156ca09dc2d4bad8c42dcdb54acd662 or
newer which is has been used in Zephyr main since Zephyr's
242bf65d1d

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-17 14:36:19 +02:00
Martin Lampacher
0267faf22c boards: st: update board.cmake and docs for nucleo_u0x
Added stlink_gdbserver as a runner for the nucleo_u0x boards.
Updated the boards' documentation to mention that JLink runners
do not work with the onboard debug probe and removed mention
of the unsupported openocd runner.

Signed-off-by: Martin Lampacher <martin.lampacher@gmail.com>
2025-12-17 14:36:10 +02:00
Jukka Rissanen
d51356fd07 samples: net: pkt_filter: Add example of how to handle UDP/TCP packets
Add support for LOCAL_IN rules that can be tracked UDP or TCP packets.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-12-17 14:36:01 +02:00
Jukka Rissanen
720408036e net: pkt_filter: Add API for catching UDP/TCP packets
Allow user to setup a hook function that is called for each
received UDP or TCP packet.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-12-17 14:36:01 +02:00
Lucien Zhao
9a1dd6ebab tests: arch: arm: add ARM MPU write-through test
Add test suite for ARM MPU write-through cache functionality including:
- Cache coherency validation with dma ways
- Cache coherency validation

Support case on mimxrt1180_evk cm33/cm7 cores

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-12-17 14:35:50 +02:00
Lucien Zhao
9e42f9fc34 arch: arm: mpu: Add Kconfig options for SRAM Write-Through cache policy
- CONFIG_ARM_MPU_SRAM_WRITE_THROUGH: enables Write-Through cache policy
  for SRAM regions instead of default Write-Back

Includes corresponding MPU attribute macros for ARMv7-M and ARMv8-M
architectures. Maintains backward compatibility with existing
configurations.

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-12-17 14:35:50 +02:00
Thinh Le Cong
5fdd2a67bc doc: releases: Update migration guilde for ADC driver
Update the migration guilde for ADC driver when support
16-bit resolution

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2025-12-17 14:35:27 +02:00
Thinh Le Cong
a218c92592 drivers: adc: Remove doxygen comment blocks
Remove all doxygen comment blocks on driver

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2025-12-17 14:35:27 +02:00
Thinh Le Cong
57361327d8 samples: drivers: adc: Add tests support for ADC driver on EK-RA2A1 board
Add Renesas EK-RA2A1 board support for sample:

- samples/drivers/adc/adc_dt

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2025-12-17 14:35:27 +02:00
Thinh Le Cong
231bf62f7f tests: drivers: adc: Add tests support for ADC driver on EK-RA2A1 board
Add Renesas EK-RA2A1 board support for these tests:

- tests/drivers/adc/adc_api
- tests/drivers/adc/adc_accuracy_test

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2025-12-17 14:35:27 +02:00
Thinh Le Cong
25fd4d2393 boards: renesas: Add ADC device node for EK-RA2A1 board
Add ADC device node on board layer to support ADC 16-bit on EK-RA2A1

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2025-12-17 14:35:27 +02:00
Thinh Le Cong
67284c5515 dts: arm: renesas: Add ADC device node for EK-RA2A1 and set unit prop
Add ADC device node to support ADC 16-bit on EK-RA2A1
Update other Renesas board nodes to include the "unit" property

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2025-12-17 14:35:27 +02:00
Thinh Le Cong
0ed8c6fa93 drivers: adc: Adding ADC 16-bit driver support for board EK-RA2A1
Adding ADC 16-bit driver compatible to support ADC16 on RA2A1

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2025-12-17 14:35:27 +02:00
Alberto Escolar Piedras
f0d78d572e boards renesas cpkcor_ra8d1b: Fix DTS typos
A few typos that prevent building for this target

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-17 14:35:17 +02:00
Lyle Zhu
bf802d0237 Bluetooth: Classic: HFP_AG: Auto-select support highest quality codec
In current implementation, if the codec is not selected, the codec
CVSD will be used to as default value to start audio connection
procedure.

Optimize the codec selection to select the supported highest quality
codec as the default value.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-17 11:29:21 +01:00
Lyle Zhu
466dec3b3e Bluetooth: HFP AG: Add feature support check for voice recognition
Add feature support validation in `bt_hfp_ag_voice_recognition()` to
verify that both HF and AG support voice recognition feature before
attempting to activate/deactivate it.

This prevents attempting voice recognition operations when the feature
is not supported by either the Hands-Free device or the Audio Gateway,
returning -ENOTSUP in such cases.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-17 11:28:55 +01:00
The Nguyen
e45df54ba1 dts: bindings: memc: correct spelling for renesas,ra-sdram
Fix typo for property name in renesas,ra-sdram.
Update property name used in code.

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-12-17 11:24:28 +01:00
The Nguyen
d1d99918e5 dt-binding: memc: renesas: fix macro name misspelling
Some macros defined for SDRAM timing configuration have typo.
This commit fixes the mistake and updates the macro used
in the code.

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-12-17 11:24:28 +01:00
The Nguyen
f3fed0bb8b manifest: update hal_renesas revision
Update hal_renesas revision to fix Renesas RA SDRAM macro typo

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-12-17 11:24:28 +01:00
James Smith
d38432761f drivers: i2c: silabs: Don't fail to init is clock is already enabled
Don't fail to initialize i2c if it was already initialized, for
example by mcuboot.

Signed-off-by: James Smith <james@loopj.com>
2025-12-17 11:23:46 +01:00
Peter Ujfalusi
7c67dea76a intel_adsp: common: gdbstub: Fix compilation DEBUG_SLOT_MANAGER=n
The GDB is not compiled by default and a recent change in the slot manager
series contained a typo in ifdef and missed by not compiling the GDB
support.

Fixes: ebb5625bee ("intel_adsp: Add debug slot manager")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
2025-12-17 10:59:00 +02:00
Jordan Yates
b362eca3b0 modules: nrf_wifi: bus: SPI keep ACTIVE
Add an option to keep the SPI bus in `ACTIVE` while the WiFi module is
powered up. Previous testing has shown transitioning the bus on every
SPI transaction to reduce UDP uplink throughput from 8 Mbps to 6 Mbps.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-17 10:58:49 +02:00
Jordan Yates
c13420333c wifi: nrf_wifi: respect SHELL_STACK_SIZE dependencies
`SHELL_STACK_SIZE` should not be redefined as a symbol with no
dependencies, it should be applying a new default to the existing
symbol.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-17 10:58:39 +02:00
Jordan Yates
cbd5687fc2 wifi: nrf_wifi: return errors when bringups fail
The combination of two different return variables (`status` and `ret`)
resulted in most failure paths through the bringup code still returning
success.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-17 10:58:39 +02:00
Holt Sun
97f497155b drivers: flash: mcux_flexspi: fix cache unused variable warning
Preserve original write length for DCACHE_InvalidateByRange()
Guard declaration of `size` with CONFIG_HAS_MCUX_CACHE to avoid
unused-variable warnings when cache is disabled
Add pointer validity checks before cache invalidation

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-12-17 10:58:30 +02:00
Sylvio Alves
443862ddff drivers: uart: esp32: fix async RX byte count from DMA descriptor
In async UART mode with DMA, the RX completion callback was incorrectly
relying on rx_counter which is never updated in DMA mode since data
bypasses the UART FIFO via UHCI+GDMA.

Fix by reading the actual transferred byte count from the DMA
descriptor's length field using gdma_ll_rx_get_success_eof_desc_addr().
Direct LL calls are used because this runs in ISR context where
dma_get_status() is not IRAM-safe.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-12-17 10:57:52 +02:00
Tobias Kässer
858acad5ac doc: fix CONFIG_PM_DEVICE_RUNTIME_ASYNC typo
Fixed typo CONFIOG_PM_DEVICE_RUNTIME_ASYNC to
CONFIG_PM_DEVICE_RUNTIME_ASYNC in device runtime PM documentation.

Signed-off-by: Tobias Kässer <t.kaesser@gmail.com>
2025-12-17 10:57:32 +02:00
Yerrajennugari Raj Kumar
9fe6302151 drivers: espi: npcx: Add config to disable auto-ack and use callback
Added configuration option to disable auto acknowledgment for
virtual wire WARN signals and added a callback to handle them.

This change introduces:

1. Support to disable automatic acknowledgment for VW WARN signals.
2. A callback mechanism to notify application firmware for explicit
handling.

Behavior:

1. If auto-ack is disabled, the callback notifies the application to
handle VW WARN signals.
2. If auto-ack is enabled, the driver acknowledges VW WARN signals
without notifying the application.

Signed-off-by: Yerrajennugari Raj Kumar <yerrajennugari.raj.kumar@intel.com>
2025-12-17 10:57:11 +02:00
Waqar Tahir
3e1f0bb5b8 manifest: tf-m: support for mcxn947
Updated the TF-M repo for support of mcxn947

Signed-off-by: Waqar Tahir <waqar.tahir@nxp.com>
2025-12-17 10:56:59 +02:00
Waqar Tahir
48fa32c76f samples: tfm: Add mcxn947 in TF-M samples yaml
Add mcxn947 non secure target for the tfm_ipc
and tfm_regression samples.

Signed-off-by: Waqar Tahir <waqar.tahir@nxp.com>
2025-12-17 10:56:59 +02:00
Guido Roncarolo
3dec364bd8 boards: disable trng in ns-dts and get it working with zephyr 4.3
25a71f3972 changes the behavior so that :
if "zephyr,entropy" is set in the DT then CONFIG_CSPRNG_AVAILABLE get
       enabled;
This breaks our implementation, disable the trng in ns world for now

Signed-off-by: Guido Roncarolo <guido.roncarolo@nxp.com>
2025-12-17 10:56:59 +02:00
Guido Roncarolo
6cf47cae57 modules: tf-m: add MCNX947 in cmake and kconfig
Added MCNX947 support in trusted-firmware-m
module Cmake and Kconfig. Cmake is cleaned,
removed unused variables.

Signed-off-by: Guido Roncarolo <guido.roncarolo@nxp.com>
2025-12-17 10:56:59 +02:00
Guido Roncarolo
120768833c boards: nxp: mcxn947: add ns board support
Add initial TF-M support for mcxn947 target
- added ns_decofnig and yml files
- added non secure dts for the MCXN974 SOC
- added checks with CPU0 enabelement in SOC
- added ns memory slot and configs

Signed-off-by: Guido Roncarolo <guido.roncarolo@nxp.com>
Signed-off-by: Waqar Tahir <waqar.tahir@nxp.com>
2025-12-17 10:56:59 +02:00
Guido Roncarolo
3f3e833745 soc: mcxn947: disable SystemInit when TFM is ON
Avoid initialization as this is already been taken care from TF-M
secure part

Signed-off-by: Guido Roncarolo <guido.roncarolo@nxp.com>
2025-12-17 10:56:59 +02:00
Sebastian Głąb
798652841a boards: nordic: nrf54h20dk: Add workaround for RISC-V debugging
Add workaround that enables `west debug` and `west attach`
on nrf54h20dk/nrf54h20/cpuppr and cpuflpr.

Remove "-if SW" as this generates warning
WARNING: runners.jlink: "f SW" does not match any known pattern

And breaks JLinkGDBServer command by setting option `-select` to
`usb=f SW`.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-12-17 10:56:35 +02:00
Robert Perkel
7f3567cf74 drivers: sensor: mtch9010 Fixed heartbeat bugs
Fixed the following bugs with the heartbeat monitor
- State did not update on CHAN_ALL
- Adjusted semaphore behavior
- Fixed interrupt setup
- Fixed time calculation bug
- Split heartbeat update into seperate function call

Signed-off-by: Robert Perkel <robert.perkel@microchip.com>
2025-12-17 10:56:19 +02:00
Liang Jiaxiang
aca5f0c021 drivers: sensor: bmi08x: fix temperature reading and scaling
The previous implementation had three issues regarding temperature
reading:
1. The unit scaling was incorrect. The datasheet specifies 0.125 C/LSB,
   but the code multiplied by 125 instead of 125000 for micro-degrees,
   resulting in values off by a factor of 1000.
2. The MSB and LSB registers were read in two separate transactions,
   which is not atomic.
3. The bitwise reconstruction of the 11-bit value was inefficient.

This commit fixes the scaling factor to 125000, implements a burst read
for both temperature registers to ensure atomicity, and optimizes the
bit manipulation logic.

Signed-off-by: Liang Jiaxiang <moonbite233@gmail.com>
2025-12-17 10:54:24 +02:00
Camille BAUD
e24574bb16 MAINTAINERS: bflb: Add M0S Dock to bflb area
Adds the board to area

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-12-17 10:54:15 +02:00
Camille BAUD
a67eee4bb6 boards: sipeed: Introduce Maix M0S Dock
Introduces BL616-based M0S Dock

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-12-17 10:54:15 +02:00
Fabin V Martin
082a9b349a tests: drivers: i2c: add i2c dma transfer eeprom test
add test project for i2c transfer with callback using dma

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-12-17 10:54:05 +02:00
Fabin V Martin
f177edfe7c boards: microchip: sam_e54_xpro: update i2c nodes for dma support
add dma properties in i2c node.

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-12-17 10:54:05 +02:00
Fabin V Martin
b16b2b2bcb drivers: i2c: microchip: add dma support
dma support added for i2c transfer

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-12-17 10:54:05 +02:00
Fabin V Martin
28bc19beab dts: bindings: i2c: add dma properties in i2c yaml
add properties for dma support in binding yaml for i2c

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-12-17 10:54:05 +02:00
Lyle Zhu
761fcc8d01 tests: Bluetooth: Classic: GAP_S: Fix case tc_gap_s_2 failure issue
In the case, when the connection is established on the local side, the
test script will require peer device to send ACL disconnection
request. But due to the timing issue, the connected event may be not
notified on the peer device side when the peer device received the ACL
disconnection requirement. The exception will happen. It causes the
case to fail.

Wait for the connected event of the peer device before sending the ACL
disconnection request.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-17 10:53:55 +02:00
Lyle Zhu
e660314ffe tests: Bluetooth: Classic: SDP_S: Reduce time consumption
The case `sdp_discover_with_range` will consume much time to
exhaustively enumerate all supported attribute id ranges. It will
consume much time.

Optimize the set of the supported attribute ID ranges to reduce
the time consumption.
Such as, the discovered attribute ID list is [1, 2, 3, 4, 7, 9, 256].
In the original implementation, the range count is 35511. While in
the optimized range count is 105.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-17 10:53:34 +02:00
Lyle Zhu
68ff83079e tests: Bluetooth: Classic: Fix sm_key_persist_004 failure issue
For the case sm_key_persist_004, the disconnected event may be
printed before the log `Pairings successfully cleared` since there
is no order between log `Pairings successfully cleared` and the
disconnected event. It causes the script discards the disconnected
event in this case and rise the assert issue.

For the case sm_key_persist_004, check the disconnected event in
the captured log. If it is not found, wait the disconnected event
until timeout.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-17 10:53:24 +02:00
Luis Ubieda
217f8e660b sensor: afbr_s50: Do not cut data-stream due to payload status
The payload status is evaluated when decoding, which may indicate sharp
distance transitions (from very long to close) and requiring a few more
cycles to stabilize. We don't want to stop the data-stream because of
these, otherwise the data-stream continuity is compromised.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-12-17 10:53:14 +02:00
Lyle Zhu
a9269f2012 Bluetooth: Classic: OBEX: Fix unchecked return value issue
Check the return value of the function `atomic_cas()`. If the new
value cannot be set for the OBEX server, return the error code
`BT_OBEX_RSP_CODE_INTER_ERROR`. If the new value cannot be set for
the OBEX client, return the error code `-EINVAL`.

Fix #100012
Fix #100018
Fix #100019
Fix #100021
Fix #100022
Fix #100023

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-17 10:53:04 +02:00
Lyle Zhu
6fdc675eae tests: Bluetooth: Classic: Fix sm_init_035 failure issue
For the case sm_init_035, the similar issue also be found. The
message `Enter 16 digits wide PIN code for` may be printed after
the shell prompt. The assert issue also be found in this case.

For the case sm_init_035, check the message `Enter 16 digits wide
PIN code for` in the captured log. If it is not found, wait the
message until timeout.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-17 10:52:53 +02:00
Bjarki Arge Andreasen
8292cc4eb8 drivers: clock_control nrf_lfclk: patch clock option order
The clock options used within the driver are supposed to be ordered
from lowest to highest power consumption, so the lowest/default
option is the most power efficient. The order was reversed to make
the init code of the lfclk a bit simpler, and this was accounted for
in the clock option lookup function. However, the common nrf clock
control request/release feature would request the lowest index, not
the lowest clock option, so the lfclk would default to its highest
power consumption mode.

The clock option init and lookup has been refactored to be sorted
from lowest to highest power consumption, and comments have been
adjusted accordingly.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-12-17 10:52:43 +02:00
Daniel Leung
9d181c561e serial: uart_bitbang: fix incorrect callback device
When doing the callback, it should pass it the UART device
pointer. So fix that.

Fixes #98229

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-12-17 10:52:33 +02:00
McAtee Maxwell
4d64e59f2c tests: pwm: update Infineon cyw920829m2evk_02 overlays
- Update overlay files for the pwm_api and pwm_gpio_loopback tests

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2025-12-17 10:52:22 +02:00
McAtee Maxwell
11472639f7 samples: pwm: update Infineon cyw920829m2evk_02 overlays
- Update overlay files for the blinky_pwm and fade_led samples

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2025-12-17 10:52:22 +02:00
McAtee Maxwell
a40956ffdf dts: Add peri-div clock definitions for cyw20829 soc series
- Add dts blocks for the peri-div clock instances on cyw20829

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2025-12-17 10:52:22 +02:00
McAtee Maxwell
3f916f3b96 tests: pwm: add Infineon kit_pse84_eval
- Add overlay files for the pwm_api and pwm_gpio_loopback tests
- Update platform_allow for pwm_gpio_loopback

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2025-12-17 10:52:22 +02:00
McAtee Maxwell
9f42dd0413 samples: pwm: add Infineon kit_pse84_eval
- Add overlay files for the blinky_pwm and fade_led samples

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2025-12-17 10:52:22 +02:00
McAtee Maxwell
6ad823ab8d drivers: pwm: add support for Infineon kit_pse84_eval
- Update the driver to support the kit_pse84_eval board
- Update to new peripheral clock allocation scheme

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2025-12-17 10:52:22 +02:00
Biwen Li
ba10774f91 soc: nxp: imx943: m33: fix build issue
Fix build issue from the below commit:
c520b3da1a
soc: nxp: imx943: m33: add and reuse api to initialize clocks

error: soc_clock_enable defined but not used.
Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-17 10:52:11 +02:00
Bartlomiej Buczek
e02a1b742a Revert "drivers: adc: nrfx: Temporary fix for SAADC power consumption"
New hal_nordic was merged some time ago, fix no longer needed.

This reverts commit fe0b6b3b55.

Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no>
2025-12-16 10:19:51 -06:00
Jaro Van Landschoot
853d33e8e3 soc: atmel: sam: common: add warm reboot to soc_power.c
If a warm reboot is issued (e.g., via mcumgr reset), the sam
controller just hangs because of loop in reboot.c. This can
be devastating if no watchdog is present to reboot the controller.

Signed-off-by: Jaro Van Landschoot <jaro.vanlandschoot@basalte.be>
2025-12-16 10:19:07 -06:00
Cristian Bulacu
c898f775d2 openthread: platform: mdns_socket: Avoid assert in high-traffic networks
This commit implements a rule that will silently discard incoming mDNS
messages if number of OT free message buffers after message conversion
will be under a user-predefined threshold.
mDNS is making use of OT message buffers, if an mDNS TX message can't be
allocated, it will trigger an assert.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-12-16 10:18:25 -06:00
Cristian Bulacu
f865e9d832 openthread: Kconfig: Add OTBR config for mDNS processing
This commit adds a new configuration flag which is used to compute a
threshold that determines if an incoming mDNS packet will be processed.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-12-16 10:18:25 -06:00
Martin Gysel
c42c8a4da4 drivers: flash: stm32 ospi: do not invalidate bet at end of loop
This modification prevents the bet pointer from being nulled at the end
of the loop, which would otherwise render the search for a suitable
erase type ineffective. It also optimize the loop as it omits
unnecessary operations.

Without this change, the erase size defaults to one sector. If the chip
defines fewer than JESD216_NUM_ERASE_TYPES (=4) erase types, this
behavior still works, as the resulting command will correspond to a
sector erase operation. However, if the chip defines all erase types,
the resulting command will be the one specified in the erase type. But
since bet is nulled, the erase size will incorrectly default to the
sector size.

Signed-off-by: Martin Gysel <me@bearsh.org>
2025-12-16 10:17:41 -06:00
Martin Gysel
157b0ddc15 drivers: stm32 spi: mark variable as maybe unused
depending on build configuration, spi_context_cs_configure_all() is a
no-opt, so mark the data variable as maybe unused.

Signed-off-by: Martin Gysel <me@bearsh.org>
2025-12-16 10:17:13 -06:00
Martin Gysel
c141b55635 drivers: stm32 spi: do not unlock context unconditionally in pm action
- call spi_stm32_pm_policy_state_lock_xxx functions wenn context is
locked
- do not call spi_stm32_pm_policy_state_lock_put() in internal helper
spi_stm32_complete() (which gets called from various places) but at the
end of a transfer where it belong

Signed-off-by: Martin Gysel <me@bearsh.org>
2025-12-16 10:17:13 -06:00
Hake Huang
64eba11ee7 scripts: west: runners: add option for debug batch mode
when in batch mode, we do not need manually 'go'.
with this, we can use `west debug` in twister run test
enable for jlink and linkserver which is tested

example:

west debug --runner jlink -- --batch

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2025-12-16 10:16:22 -06:00
Nicolas Moreno
e41faae09a samples: sensor: accel_polling: remove duplicated header
On main.c from sample sensor/accel_polling the header
<zephyr/drivers/sensor.h> is duplicated, as well in
sample sensor/stream_fifo. This is solved on this PR

Signed-off-by: Nicolas Moreno <niko722795@gmail.com>
2025-12-16 10:15:12 -06:00
Roberto Flores
80801d81bb dts: atmel: sam0: fix dac generic clock source
Changes generic clock source for DAC in SAMD5X MCU's.
Generic clock source 0 speed is above the maximum speed
permitted by the DAC.
The generic clock was changed to the same one the ADC uses (0x2).
Compared output of working microchip auto-generated code to the zephyr
implementation to find discrepencaies in register values.

Signed-off-by: Roberto Flores <Roberto.flores@daikincomfort.com>
2025-12-16 10:14:49 -06:00
Jonathan Nilsen
ef587e12f6 modules: hal_nordic: move IronSide SE supporting code to hal_nordic
Move most of the code that is used to interface with IronSide SE on the
nRF54H20/nRF9280 from the soc/nordic directory to the hal_nordic
repository. The interface code is now provided by the new IronSide
support package. Build system code and glue code that makes use of
Zephyr APIs is now located in the modules/hal_nordic directory.

Update the directory path for IronSide SE interface code in
MAINTAINERS.yml to match the move from soc/nordic/ironside to
modules/hal_nordic/ironside.

Also included are some refactoring changes and cleanup to match the new
supporting code.

C code and Kconfigs have been renamed to *ironside_se* / *IRONSIDE_SE*
to match the supporting code changes. Users of these APIs in zephyr
have been updated to match.

Individual configurations for different "IronSide services" have been
removed as the API serialization for all of these is now provided in
a single C file / header file (ironside/se/api.h).

The ironside_boot_report_get() API has been removed. The boot report
structure can be accessed through the IRONSIDE_SE_BOOT_REPORT macro.

Most configs relating to UICR / PERIPHCONF have been moved under the
"IronSide SE" menu to make it clear that these are part of the
IronSide SE interface.

The macros that in uicr.h that were used to add entries to the
PERIPHCONF section have been removed. The supporting code now provides
PERIPHCONF_XYZ() macros that can be used to initialize structures that
go into this section, and the zephyr part now only contains a macro
UICR_PERIPHCONF_ENTRY() that is used to place an arbitrary structure
into the section. The gen_periphconf_entries.py script used to generate
PERIPHCONF entries based on devicetree has been updated to use the new
macro system.

IronSide SE integration code/configs is now guarded by HAS_IRONSIDE_SE.

Note that the UICR build system integration that relies on Sysbuild
remains under the soc/nordic directory for now, but will be moved to
the modules/hal_nordic directory once it is clear how the integration
will look there.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2025-12-16 10:13:56 -06:00
Jonathan Nilsen
2c934f1dd8 manifest: update hal_nordic revision
Update hal_nordic revision to add IronSide support package.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2025-12-16 10:13:56 -06:00
Mark Wang
ac395b2d85 bluetooth: avdtp: Check buf tailroom and len before using it
check buf->len before pulling data from buf, check buf tailroom before
adding data to buf.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-12-16 10:12:12 -06:00
Mark Wang
402edcf81c bluetooth: avdtp: Fix coverity by adding assertion for MTU size validation
Add assertion to ensure MTU is at least the size of the start header
before calculating the remaining length for fragmentation. This prevents
potential underflow when subtracting the header size from MTU.
Fix coverity #551657

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-12-16 10:12:12 -06:00
Chen Xingyu
f809b159e6 boards: waveshare: Add ESP32-S3-GEEK
Add support for the Waveshare ESP32-S3-GEEK USB dongle. It features an
ESP32-S3R2 with 2 MB PSRAM, a 16 MB on-board Flash, a 1.14" LCD, and a
microSD slot.

Signed-off-by: Chen Xingyu <hi@xingrz.me>
2025-12-16 10:11:43 -06:00
Biwen Li
c520b3da1a soc: nxp: imx943: m33: add and reuse api to initialize clocks
Add and reuse apis to initialize clocks for netc and audio

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-16 10:09:55 -06:00
Erwan Gouriou
7de3e6acdd drivers: flash: flash_stm32_xspi: Allow flash driver init in ram load
Current driver protections prevent to initialize driver when run as from
an external application running from ext flash. Aim is to avoid performing
full driver initialization of the NOR flash controller the application
is read from.
But this problem is actually only valid when application is running in XIP
mode (read in memory mapped mode at run time).

In ram load mode, since there is no direct activity from the application
on the NOR device, nothing prevents the ext flash driver to be used fully.
Hence, we should allow the controller initialization to happen, with some
adjustments. Mostly, what we need is to:
- skip the hal init
- abort memory mapping afterwards to let the jedec reading happen.

Remove conditions around `stm32_xspi_is_memorymap()` and
`stm32_xspi_abort()` which can finally be useful in various cases.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-12-16 10:08:43 -06:00
Erwan Gouriou
1877410b2c boards: st: stm32n6570_dk: Instantiate ext flash controller
Instantiate a `soc-nv-flash` compatible node to allow using XSPI flash
driver as a real flash controller on NOR device.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-12-16 10:08:43 -06:00
Daniel Kampert
495bf16234 drivers: input: cst816s: Refactor errors and warnings
Add error code to error and warning log messages to
make debugging easier.

Signed-off-by: Daniel Kampert <DanielKampert@kampis-elektroecke.de>
2025-12-16 16:08:10 +00:00
Daniel Kampert
6a432cfb5e drivers: input: cst816s: Add motion interrupt
Add support for gesture / motion based interrupts
when INPUT_CST816S_EV_DEVICE is enabled.

Signed-off-by: Daniel Kampert <DanielKampert@kampis-elektroecke.de>
2025-12-16 16:08:10 +00:00
Daniel Kampert
11ff520ec7 drivers: input: cst816s: Add power management
Add power management support

Closes: #100300

Signed-off-by: Daniel Kampert <DanielKampert@kampis-elektroecke.de>
2025-12-16 16:08:10 +00:00
Fin Maaß
713ec75a54 litex: i2c: improve litei2c driver
improve litei2c driver

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-12-16 10:07:32 -06:00
Jeremy Bettis
f14ccdf462 drivers: Add const to rts5912_sha256_process() input
rts5913_sha256_update was changed in #94218, but this function passes
it's input into rts5912_sha256_process also.

Signed-off-by: Jeremy Bettis <jbettis@google.com>
2025-12-16 10:06:45 -06:00
YongWoo Kang
7193d72c9a boards: arm: doc: update wiki url
Update official wiki url.

Signed-off-by: YongWoo Kang <kyw0708@kumoh.ac.kr>
2025-12-16 10:05:54 -06:00
Chun-Chieh Li
3b635196ee drivers: usb: udc: numaker: support USBD/HSUSBD simultaneously
Re-organize to add support for USBD/HSUSBD which can be enabled
at the same time

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-12-16 10:05:19 -06:00
Chun-Chieh Li
d288a29979 drivers: usb: udc: numaker: support NuMaker M55M1X HSUSBD
Add support for Nuvoton NuMaker M55M1X high-speed USB 2.0 device
controller. Compared to M46X HSUSBD, M55M1X HSUSBD introduces some
differences:
- DMA must handle cache coherency because net_buf can be cache-able
- USB suspend interrupt becomes continuous. Aavoid being locked by
  this interrupt and forward this message just once
- New register bit HSUSBD_OPER_HISHSEN_Msk, which controls to enable
  USB handshake

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-12-16 10:05:19 -06:00
Chun-Chieh Li
c502ef5b51 drivers: usb: udc: numaker: support HSUSBD DMA
Add DMA support for Nuvoton NuMaker M46X high-speed USB 2.0 device
controller.

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-12-16 10:05:19 -06:00
Chun-Chieh Li
e64e113700 drivers: usb: udc: numaker: support NuMaker M46X HSUSBD
Add support for Nuvoton NuMaker M46X high-speed USB 2.0 device
controller.

The code is re-organized to implement both usbd and hsusbd in single
source file. Multiple instances of either usbd or hsusbd are supported,
but usbd and hsusbd cannot support simultaneously. This limitation is
for easy implementation with just single source file, assuming that real
application just needs one usb device type.

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-12-16 10:05:19 -06:00
Chun-Chieh Li
80df5b5ece drivers: usb: udc: numaker: recover from incomplete control transfer
Previous control transfer can be incomplete and then causes not only
net_buf leak but also logic error. This recycles dangling net_buf for
new clean control transfer.

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-12-16 10:05:19 -06:00
Chun-Chieh Li
a9338eb827 drivers: usb: udc: numaker: report instead of assert in control transfer
On Control Out failure, this changes to report error message instead of
assert failure because USB bus error is allowed to happen.

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-12-16 10:05:19 -06:00
Chun-Chieh Li
1ae35d3acf drivers: usb: udc: numaker: usbd: refine on ATTR undefined bits
Refine code on ATTR undefined bits:
- Add USBD_ATTR_PWRDN_Msk if it is not defined
- Following BSP USBD driver, add note on BIT(6) for hidden

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-12-16 10:05:19 -06:00
Chun-Chieh Li
3191254b6c drivers: usb: udc: numaker: usbd: refine MXPLD read
For USBD, this refines MXPLD read to avoid unwanted or reserved bits.

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-12-16 10:05:19 -06:00
Chun-Chieh Li
511e10ca7d drivers: usb: udc: numaker: usbd: enable usb wake-up early
Same as VBUS detect, this enables USB wake-up early so that device
can also be woken up by VBUS.

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-12-16 10:05:19 -06:00
Fin Maaß
c8c6379b86 ethernet: stm32: remove phy init and config from HAL_ETH_Init
the phy is already configured by the phy driver in zephyr
and we don't want to overwrite it in the HAL_ETH_Init
function in the stm32 HAL.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-12-16 10:04:23 -06:00
Bill Waters
e6fd157a93 boards: infineon: cy8cproto_041tp: board.cmake
The openocd --config paramter is not needed.
And it causes an error when used on a ci runner.
The path created by
scripts/west_commands/runners/openocd.py is wrong.

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2025-12-16 10:13:24 +01:00
Krisztian Szilvasi
91681f2221 boards: stm32: b_u585i_iot2a: update flash controller's node
- Refactor the flash controller's node
- Introduce flash device's node under the flash controller's
- Introduce `ranges` property with mem-mapped address

Signed-off-by: Krisztian Szilvasi <krisztian@atym.io>
2025-12-16 10:13:10 +01:00
Martin Hoff
be4723c213 soc: silabs: siwx91x: fix pm when bt is enabled
This patch is a workaround to a know issue when Bluetooth and pm
is activated.
We actually need to set the tx power to the Bluetooth controller
(network coprocessor) before sending power saving request to the
coprocessor.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-12-16 10:13:00 +01:00
Martin Hoff
e866da994f soc: silabs: siwx91x: remove power profile property
Power profile property doesn't need to be defined in device three.
It is a configuration value that is defined if we want pm with
Bluetooth and/or Wifi .

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-12-16 10:13:00 +01:00
Zhaoxiang Jin
cfa415e605 tests: dac: Enable dac_api test for frdm_mcxc444
1. Enable dac_api test for frdm_mcxc444.
2. Enable sample/dac for frdm_mcxc444

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-16 10:12:52 +01:00
Zhaoxiang Jin
3d8a570032 boards: frdm_mcxc444: Enable DAC for frdm_mcxc444
Enable DAC for frdm_mcxc444

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-16 10:12:52 +01:00
Mark Rages
37fc90cd1d drivers: sensor: adxl367: fix temperature scaling
The fractional part of the value was getting set incorrectly in
adxl_temp_convert().

Signed-off-by: Mark Rages <markrages@gmail.com>
2025-12-16 10:11:19 +01:00
Gaétan Froissard
9712a58129 drivers: entropy: stm32: Keep RNG clock running during PKA operation
If PKA is running, it needs the RNG clock to properly works.
Don't turn it off when RNG computation is over.

Signed-off-by: Gaétan Froissard <gaetan.froissard@marshmallow.kids>
2025-12-16 10:11:08 +01:00
Biwen Li
0830f9fd38 boards: nxp: imx943_evk: m33: use common dtsi
Use common dtsi imx943_evk_mimx94398_cm.dtsi

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-16 10:10:44 +01:00
Lin Yu-Cheng
dd5f8c483b drivers: spi: spi_rts5912_spi: Add clock-frequency setting from dtsi
The clock-frequency value in dtsi can be used to change
the bus frequency for rts5912 driver and
it support in the range between 15000 to 50000000.

Signed-off-by: Lin Yu-Cheng <lin_yu_cheng@realtek.com>
2025-12-16 10:10:35 +01:00
Flavio Ceolin
2a8343f0f7 doc: security: Disclose CVE-2025-12035
Disclose information about published CVE.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2025-12-16 10:10:22 +01:00
Flavio Ceolin
d06d49eb7c doc: security: Disclose CVE-2025-9558
Disclose information about published CVE.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2025-12-16 10:10:22 +01:00
Flavio Ceolin
5bdff095f5 doc: security: Disclose CVE-2025-9557
Disclose information about published CVE.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2025-12-16 10:10:22 +01:00
Make Shi
159b4a6d97 Bluetooth: AVRCP: Fix typo in callback name and opid/state
Correct typo and fix opid/state assignment.

Signed-off-by: Make Shi <make.shi@nxp.com>
2025-12-16 10:09:49 +01:00
Aiden Hu
f3e7cde40b drivers: uhc: set right value for pipe by xfer's mps
maxPacketSize and numberPerUframe of pipe should
be set considering additional transactions.

Signed-off-by: Aiden Hu <weiwei.hu@nxp.com>
2025-12-16 10:08:55 +01:00
Aiden Hu
53e3cf281f drivers: uhc: add mcux_eps_interval to save ep interval
mcux_eps_interval is added as the new member of
uhc_mcux_data. It is used to save endpoint's
original interval value and can be compared
with xfer->interval.

Signed-off-by: Aiden Hu <weiwei.hu@nxp.com>
2025-12-16 10:08:55 +01:00
Aiden Hu
b3a6b4d405 drivers: uhc: use correct endpoint type and interval
In the USB transfer allocation, set endpoint type and interval
from the appropriate endpoint descriptor.

Signed-off-by: Aiden Hu <weiwei.hu@nxp.com>
2025-12-16 10:08:55 +01:00
Yongxu Wang
0910ebf469 dts: arm: nxp: add scmi system node for i.MX95 M7
Added scmi system node for NXP i.MX95 M7

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2025-12-16 10:08:45 +01:00
Yongxu Wang
2223233e98 dts: arm: nxp: add scmi system node for i.MX943
Added scmi system node for NXP i.MX943 Mcore

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2025-12-16 10:08:45 +01:00
Emil Gydesen
df86199532 tests: Bluetooth: Tester: BAP broadcast BSIM test
Adds BSIM testing of the BAP broadcast features of the BT Tester.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-12-16 10:06:33 +01:00
Emil Gydesen
4f0f02df90 tests: Bluetooth: Tester: BAP unicast BSIM test
Adds BSIM testing of the BAP unicast features of the BT Tester.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-12-16 10:06:33 +01:00
5203 changed files with 167886 additions and 38474 deletions

View File

@@ -5,6 +5,8 @@ updates:
directory: "/"
schedule:
interval: "weekly"
cooldown:
default-days: 7
commit-message:
prefix: "ci: github: "
labels: []
@@ -17,6 +19,8 @@ updates:
directory: "/doc"
schedule:
interval: "weekly"
cooldown:
default-days: 7
commit-message:
prefix: "ci: doc: "
labels: []

View File

@@ -28,7 +28,7 @@ jobs:
steps:
- name: Check out source code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
persist-credentials: false
@@ -63,7 +63,7 @@ jobs:
FLAGS+=" -r ${{ github.event.repository.name }}"
FLAGS+=" -M MAINTAINERS.yml"
if [ "${{ github.event_name }}" = "pull_request_target" ]; then
if [ "${{ github.base_ref }}" != "main" ]; then
if [ "${{ github.base_ref }}" = "main" ]; then
FLAGS+=" -P ${{ github.event.pull_request.number }} --updated-manifest pr_west.yml --updated-maintainer-file pr_MAINTAINERS.yml"
else
FLAGS+=" -P ${{ github.event.pull_request.number }}"

View File

@@ -26,7 +26,7 @@ jobs:
steps:
- name: Check out source code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0

View File

@@ -19,12 +19,12 @@ jobs:
steps:
- name: Download artifacts
uses: dawidd6/action-download-artifact@ac66b43f0e6a346234dd65d4d0c8fbb31cb316e5 # v11
uses: dawidd6/action-download-artifact@0bd50d53a6d7fb5cb921e607957e9cc12b4ce392 # v12
with:
run_id: ${{ github.event.workflow_run.id }}
- name: Publish BabbleSim Test Results
uses: EnricoMi/publish-unit-test-result-action@34d7c956a59aed1bfebf31df77b8de55db9bbaaf # v2.21.0
uses: EnricoMi/publish-unit-test-result-action@27d65e188ec43221b20d26de30f4892fad91df2f # v2.22.0
with:
check_name: BabbleSim Test Results
comment_mode: off

View File

@@ -74,7 +74,7 @@ jobs:
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
@@ -102,7 +102,7 @@ jobs:
pip install -r scripts/requirements-actions.txt --require-hashes
- name: Check common triggering files
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
uses: tj-actions/changed-files@e0021407031f5be11a464abee9a0776171c79891 # v47.0.1
id: check-common-files
with:
files: |
@@ -121,7 +121,7 @@ jobs:
modules/hal_nordic/**
- name: Check if Bluethooth files changed
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
uses: tj-actions/changed-files@e0021407031f5be11a464abee9a0776171c79891 # v47.0.1
id: check-bluetooth-files
with:
files: |
@@ -131,7 +131,7 @@ jobs:
tests/bsim/bluetooth/
- name: Check if Networking files changed
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
uses: tj-actions/changed-files@e0021407031f5be11a464abee9a0776171c79891 # v47.0.1
id: check-networking-files
with:
files: |
@@ -144,7 +144,7 @@ jobs:
include/zephyr/net/ieee802154*
- name: Check if UART files changed
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
uses: tj-actions/changed-files@e0021407031f5be11a464abee9a0776171c79891 # v47.0.1
id: check-uart-files
with:
files: |
@@ -189,7 +189,7 @@ jobs:
- name: Upload Unit Test Results in HTML
if: always()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: HTML Unit Test Results
if-no-files-found: ignore
@@ -197,7 +197,7 @@ jobs:
junit.html
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@34d7c956a59aed1bfebf31df77b8de55db9bbaaf # v2.21.0
uses: EnricoMi/publish-unit-test-result-action@27d65e188ec43221b20d26de30f4892fad91df2f # v2.22.0
with:
check_name: Bsim Test Results
files: "junit.xml"
@@ -205,7 +205,7 @@ jobs:
- name: Upload Event Details
if: always()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: event
path: |

View File

@@ -23,7 +23,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
@@ -51,7 +51,7 @@ jobs:
echo "BUGS_PICKLE_PATH=${BUGS_PICKLE_PATH}" >> ${GITHUB_ENV}
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
with:
aws-access-key-id: ${{ vars.AWS_BUILDS_ZEPHYR_BUG_SNAPSHOT_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_BUILDS_ZEPHYR_BUG_SNAPSHOT_SECRET_ACCESS_KEY }}

View File

@@ -53,7 +53,7 @@ jobs:
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
persist-credentials: false
@@ -123,7 +123,7 @@ jobs:
- name: Upload Unit Test Results
if: always()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: Unit Test Results (Subset ${{ matrix.subset }})
path: |
@@ -140,13 +140,13 @@ jobs:
if: (success() || failure())
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
persist-credentials: false
- name: Download Artifacts
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
with:
path: artifacts
@@ -168,7 +168,7 @@ jobs:
- name: Upload Unit Test Results in HTML
if: always()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: HTML Unit Test Results
if-no-files-found: ignore
@@ -176,7 +176,7 @@ jobs:
junit-clang.html
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@34d7c956a59aed1bfebf31df77b8de55db9bbaaf # v2.21.0
uses: EnricoMi/publish-unit-test-result-action@27d65e188ec43221b20d26de30f4892fad91df2f # v2.22.0
if: always()
with:
check_name: Unit Test Results

View File

@@ -67,7 +67,7 @@ jobs:
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
- name: checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
@@ -126,7 +126,7 @@ jobs:
- name: Upload Doxygen Coverage Results
if: matrix.platform == 'unit_testing'
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: doxygen-coverage-results
path: |
@@ -145,7 +145,7 @@ jobs:
- name: Upload Coverage Results
if: always()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: Coverage Data (Subset ${{ matrix.normalized }})
path: |
@@ -161,7 +161,7 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
@@ -177,7 +177,7 @@ jobs:
pip install -r scripts/requirements-actions.txt --require-hashes
- name: Download Artifacts
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
with:
path: coverage/reports
@@ -242,7 +242,7 @@ jobs:
- name: Upload Merged Coverage Results and Report
if: always()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: Coverage Data and report
path: |
@@ -253,7 +253,7 @@ jobs:
- name: Upload test coverage to Codecov
if: always()
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
with:
env_vars: OS,PYTHON
fail_ci_if_error: false
@@ -264,7 +264,7 @@ jobs:
- name: Upload Doxygen coverage to Codecov
if: always()
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
with:
env_vars: OS,PYTHON
fail_ci_if_error: false

View File

@@ -36,10 +36,10 @@ jobs:
config: ./.github/codeql/codeql-js-config.yml
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Initialize CodeQL
uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
uses: github/codeql-action/init@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
@@ -53,6 +53,6 @@ jobs:
exit 0
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
uses: github/codeql-action/analyze@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
with:
category: "/language:${{matrix.language}}"

View File

@@ -11,7 +11,7 @@ jobs:
name: Run coding guidelines checks on patch series (PR)
steps:
- name: Checkout the code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

View File

@@ -21,7 +21,7 @@ jobs:
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Checkout the code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
@@ -61,7 +61,7 @@ jobs:
west update -o=--depth=1 -n 2>&1 1> west.update.log || west update -o=--depth=1 -n 2>&1 1> west.update2.log
- name: Setup Node.js
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: "lts/*"
cache: npm
@@ -91,14 +91,14 @@ jobs:
./scripts/ci/check_compliance.py --annotate $excludes -c origin/${BASE_REF}..
- name: upload-results
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
continue-on-error: true
with:
name: compliance.xml
path: compliance.xml
- name: Upload dts linter patch
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
continue-on-error: true
if: hashFiles('dts_linter.patch') != ''
with:

View File

@@ -20,14 +20,14 @@ jobs:
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
with:
aws-access-key-id: ${{ vars.AWS_TESTING_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_TESTING_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0

View File

@@ -33,7 +33,7 @@ jobs:
os: [ubuntu-22.04, macos-14, windows-2022]
steps:
- name: checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0

View File

@@ -27,12 +27,12 @@ jobs:
file_check: ${{ steps.check-doc-files.outputs.any_modified }}
steps:
- name: checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Check if Documentation related files changed
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
uses: tj-actions/changed-files@e0021407031f5be11a464abee9a0776171c79891 # v47.0.1
id: check-doc-files
with:
files: |
@@ -92,7 +92,7 @@ jobs:
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
@@ -156,13 +156,13 @@ jobs:
tar --use-compress-program="xz -T0" -cf api-coverage.tar.xz coverage-report
- name: Upload HTML output
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: html-output
path: html-output.tar.xz
- name: Upload Doxygen coverage artifacts
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: api-coverage
path: api-coverage.tar.xz
@@ -183,7 +183,7 @@ jobs:
echo "API Coverage Report will be available shortly at: ${API_COVERAGE_URL}" >> $GITHUB_STEP_SUMMARY
- name: Upload PR number
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
if: github.event_name == 'pull_request'
with:
name: pr_num
@@ -202,7 +202,7 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
path: zephyr
@@ -230,7 +230,7 @@ jobs:
echo "/opt/doxygen-${DOXYGEN_VERSION}/bin" >> $GITHUB_PATH
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@c125c5ebeeadbd727fa740b407f862734af1e52a # v1.0.9
uses: zephyrproject-rtos/action-zephyr-setup@360ff9b36e58499d9eb28015cdcde7ca03a5b04d # v1.0.12
with:
app-path: zephyr
toolchains: 'arm-zephyr-eabi'
@@ -259,7 +259,7 @@ jobs:
- name: upload-build
if: always()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: pdf-output
if-no-files-found: ignore

View File

@@ -25,7 +25,7 @@ jobs:
steps:
- name: Download artifacts
id: download-artifacts
uses: dawidd6/action-download-artifact@ac66b43f0e6a346234dd65d4d0c8fbb31cb316e5 # v11
uses: dawidd6/action-download-artifact@0bd50d53a6d7fb5cb921e607957e9cc12b4ce392 # v12
with:
workflow: doc-build.yml
run_id: ${{ github.event.workflow_run.id }}
@@ -43,7 +43,7 @@ jobs:
- name: Check PR number
if: steps.download-artifacts.outputs.found_artifact == 'true'
id: check-pr
uses: carpentries/actions/check-valid-pr@2e20fd5ee53b691e27455ce7ca3b16ea885140e8 # v0.15.0
uses: carpentries/actions/check-valid-pr@083bb9952b1414bd2b9e10ecec1717c938aba4c5 # v0.17.0
with:
pr: ${{ env.PR_NUM }}
sha: ${{ github.event.workflow_run.head_sha }}
@@ -66,7 +66,7 @@ jobs:
- name: Configure AWS Credentials
if: steps.download-artifacts.outputs.found_artifact == 'true'
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
with:
aws-access-key-id: ${{ vars.AWS_BUILDS_ZEPHYR_PR_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_BUILDS_ZEPHYR_PR_SECRET_ACCESS_KEY }}

View File

@@ -27,7 +27,7 @@ jobs:
steps:
- name: Download artifacts
uses: dawidd6/action-download-artifact@ac66b43f0e6a346234dd65d4d0c8fbb31cb316e5 # v11
uses: dawidd6/action-download-artifact@0bd50d53a6d7fb5cb921e607957e9cc12b4ce392 # v12
with:
workflow: doc-build.yml
run_id: ${{ github.event.workflow_run.id }}
@@ -40,7 +40,7 @@ jobs:
fi
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
with:
aws-access-key-id: ${{ vars.AWS_DOCS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_DOCS_SECRET_ACCESS_KEY }}

View File

@@ -15,12 +15,12 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
path: zephyr
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@c125c5ebeeadbd727fa740b407f862734af1e52a # v1.0.9
uses: zephyrproject-rtos/action-zephyr-setup@360ff9b36e58499d9eb28015cdcde7ca03a5b04d # v1.0.12
with:
app-path: zephyr
toolchains: 'arm-zephyr-eabi'

View File

@@ -62,7 +62,7 @@ jobs:
sudo apt-get install -y python3-venv
- name: checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
@@ -89,7 +89,7 @@ jobs:
west update 2>&1 1> west.update.log || west update 2>&1 1> west.update2.log
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
with:
aws-access-key-id: ${{ vars.AWS_TESTING_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_TESTING_SECRET_ACCESS_KEY }}

View File

@@ -18,7 +18,7 @@ jobs:
issues: write # to comment on issues
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: zephyrproject-rtos/action-first-interaction@58853996b1ac504b8e0f6964301f369d2bb22e5c # v1.1.1+zephyr.6
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -32,7 +32,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
path: zephyr
fetch-depth: 0
@@ -59,10 +59,10 @@ jobs:
python-version: 3.12
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@c125c5ebeeadbd727fa740b407f862734af1e52a # v1.0.9
uses: zephyrproject-rtos/action-zephyr-setup@360ff9b36e58499d9eb28015cdcde7ca03a5b04d # v1.0.12
with:
app-path: zephyr
toolchains: aarch64-zephyr-elf:arc-zephyr-elf:arc64-zephyr-elf:arm-zephyr-eabi:mips-zephyr-elf:riscv64-zephyr-elf:sparc-zephyr-elf:x86_64-zephyr-elf:xtensa-dc233c_zephyr-elf:xtensa-sample_controller32_zephyr-elf:rx-zephyr-elf
toolchains: arm-zephyr-eabi:riscv64-zephyr-elf
ccache-cache-key: hw-${{ matrix.os }}
- name: Build firmware
@@ -76,11 +76,19 @@ jobs:
elif [ "${{ runner.os }}-${{ runner.arch }}" == "Linux-ARM64" ]; then
EXTRA_TWISTER_FLAGS="--exclude-platform native_sim/native"
fi
west twister --runtime-artifact-cleanup --force-color --inline-logs -T samples/hello_world -T samples/cpp/hello_world -v $EXTRA_TWISTER_FLAGS
west twister \
-p native_sim -p qemu_cortex_m0 -p qemu_riscv32 -p qemu_riscv64 \
--runtime-artifact-cleanup \
--force-color \
--inline-logs \
-T samples/hello_world \
-T samples/cpp/hello_world \
-v \
$EXTRA_TWISTER_FLAGS
- name: Upload artifacts
if: failure()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
if-no-files-found: ignore
path:

View File

@@ -38,14 +38,14 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- name: upload-stats
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
continue-on-error: true
with:
name: ${{ env.OUTPUT_FILE_NAME }}
path: ${{ env.OUTPUT_FILE_NAME }}
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1
with:
aws-access-key-id: ${{ vars.AWS_TESTING_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_TESTING_SECRET_ACCESS_KEY }}

View File

@@ -11,7 +11,7 @@ jobs:
name: Scan code for licenses
steps:
- name: Checkout the code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Scan the code
@@ -20,7 +20,7 @@ jobs:
with:
directory-to-scan: 'scan/'
- name: Artifact Upload
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: scancode
path: ./artifacts

View File

@@ -13,7 +13,7 @@ jobs:
name: Manifest
steps:
- name: Checkout the code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
path: zephyrproject/zephyr
fetch-depth: 0

View File

@@ -14,6 +14,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Ensure SHA pinned actions
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@9e9574ef04ea69da568d6249bd69539ccc704e74 # v4.0.0
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@6124774845927d14c601359ab8138699fa5b70c3 # v4.0.1

View File

@@ -8,7 +8,6 @@ on:
- reopened
- labeled
- unlabeled
- edited
permissions:
contents: read
@@ -24,7 +23,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0

View File

@@ -32,7 +32,7 @@ jobs:
os: [ubuntu-24.04]
steps:
- name: checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0

View File

@@ -15,7 +15,7 @@ jobs:
permissions:
contents: write # to create GitHub release entry
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
@@ -31,7 +31,7 @@ jobs:
args: spdx -o zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
- name: upload-results
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
continue-on-error: true
with:
name: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx

View File

@@ -29,7 +29,7 @@ jobs:
steps:
- name: "Checkout code"
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
@@ -47,7 +47,7 @@ jobs:
# uploads of run results in SARIF format to the repository Actions tab.
# https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts
- name: "Upload artifact"
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: SARIF file
path: results.sarif
@@ -56,6 +56,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard (optional).
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
uses: github/codeql-action/upload-sarif@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
with:
sarif_file: results.sarif

View File

@@ -32,7 +32,7 @@ jobs:
os: [ubuntu-24.04]
steps:
- name: checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

View File

@@ -16,7 +16,7 @@ jobs:
issues: write # to comment on stale issues
steps:
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
with:
stale-pr-message: 'This pull request has been marked as stale because it has been open (more
than) 60 days with no activity. Remove the stale label or add a comment saying that you

View File

@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0

View File

@@ -23,7 +23,7 @@ jobs:
steps:
# Needed for elasticearch and upload script
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
persist-credentials: false
@@ -39,7 +39,7 @@ jobs:
- name: Download Artifacts
id: download-artifacts
uses: dawidd6/action-download-artifact@ac66b43f0e6a346234dd65d4d0c8fbb31cb316e5 # v11
uses: dawidd6/action-download-artifact@0bd50d53a6d7fb5cb921e607957e9cc12b4ce392 # v12
with:
path: artifacts
workflow: twister.yml

View File

@@ -42,7 +42,7 @@ jobs:
steps:
- name: Checkout
if: github.event_name == 'pull_request'
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
@@ -65,7 +65,7 @@ jobs:
- name: Setup Zephyr project
if: github.event_name == 'pull_request'
uses: zephyrproject-rtos/action-zephyr-setup@c125c5ebeeadbd727fa740b407f862734af1e52a # v1.0.9
uses: zephyrproject-rtos/action-zephyr-setup@360ff9b36e58499d9eb28015cdcde7ca03a5b04d # v1.0.12
with:
app-path: zephyr
enable-ccache: false
@@ -171,7 +171,7 @@ jobs:
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
@@ -283,7 +283,7 @@ jobs:
- name: Upload Unit Test Results
if: always()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: Unit Test Results (Subset ${{ matrix.subset }})
if-no-files-found: ignore
@@ -305,7 +305,7 @@ jobs:
- if: matrix.subset == 1 && github.event_name == 'push'
name: Upload the list of Python packages
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: Frozen PIP package set
path: |
@@ -323,7 +323,7 @@ jobs:
steps:
- name: Check out source code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
@@ -341,7 +341,7 @@ jobs:
pip install -r scripts/requirements-actions.txt --require-hashes
- name: Download Artifacts
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
with:
path: artifacts
@@ -352,7 +352,7 @@ jobs:
- name: Upload Unit Test Results
if: always()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: Unit Test Results
if-no-files-found: ignore
@@ -362,12 +362,12 @@ jobs:
- name: Upload test results to Codecov
if: ${{ !cancelled() && (github.event_name == 'push') }}
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1.2.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@34d7c956a59aed1bfebf31df77b8de55db9bbaaf # v2.21.0
uses: EnricoMi/publish-unit-test-result-action@27d65e188ec43221b20d26de30f4892fad91df2f # v2.22.0
with:
check_name: Unit Test Results
files: "**/twister.xml"
@@ -384,7 +384,7 @@ jobs:
- name: Upload Twister Analysis Results
if: needs.twister-build.result == 'failure'
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: Twister Analysis Results
if-no-files-found: ignore

View File

@@ -39,7 +39,7 @@ jobs:
os: [ubuntu-24.04]
steps:
- name: checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0

View File

@@ -27,12 +27,11 @@ jobs:
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13']
os: [ubuntu-24.04, macos-14, windows-2022]
fail-fast: false
runs-on: ${{ matrix.os }}
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
path: zephyr
fetch-depth: 0
@@ -45,16 +44,15 @@ jobs:
cache-dependency-path: scripts/requirements-actions.txt
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@c125c5ebeeadbd727fa740b407f862734af1e52a # v1.0.9
uses: zephyrproject-rtos/action-zephyr-setup@360ff9b36e58499d9eb28015cdcde7ca03a5b04d # v1.0.12
with:
app-path: zephyr
toolchains: all
toolchains: 'arm-zephyr-eabi:riscv64-zephyr-elf:x86_64-zephyr-elf'
enable-ccache: false
west-group-filter: -tools,-bootloader,-babblesim,-hal
west-project-filter: -nrf_hw_models,+cmsis,+hal_xtensa,+cmsis_6
- name: Run Pytest For Twister Black Box Tests
if: ${{ runner.os == 'Linux' }}
working-directory: zephyr
shell: bash
env:

View File

@@ -36,7 +36,7 @@ jobs:
os: [ubuntu-22.04, macos-14, windows-2022]
steps:
- name: checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0

1
.gitignore vendored
View File

@@ -17,6 +17,7 @@
build*/
!doc/build/
!scripts/build
!share/sysbuild/build
!tests/drivers/build_all
!scripts/pylib/build_helpers
cscope.*

View File

@@ -310,32 +310,14 @@
"I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
"UP015", # https://docs.astral.sh/ruff/rules/redundant-open-modes
]
"./scripts/pylib/pytest-twister-harness/src/twister_harness/device/binary_adapter.py" = [
"E501", # https://docs.astral.sh/ruff/rules/line-too-long
"SIM103", # https://docs.astral.sh/ruff/rules/needless-bool
]
"./scripts/pylib/pytest-twister-harness/src/twister_harness/device/device_adapter.py" = [
"E501", # https://docs.astral.sh/ruff/rules/line-too-long
"I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
]
"./scripts/pylib/pytest-twister-harness/src/twister_harness/device/factory.py" = [
"I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
"UP006", # https://docs.astral.sh/ruff/rules/non-pep585-annotation
"UP035", # https://docs.astral.sh/ruff/rules/deprecated-import
]
"./scripts/pylib/pytest-twister-harness/src/twister_harness/device/fifo_handler.py" = [
"E501", # https://docs.astral.sh/ruff/rules/line-too-long
"SIM115", # https://docs.astral.sh/ruff/rules/open-file-with-context-handler
]
"./scripts/pylib/pytest-twister-harness/src/twister_harness/device/hardware_adapter.py" = [
"E501", # https://docs.astral.sh/ruff/rules/line-too-long
"I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
"UP024", # https://docs.astral.sh/ruff/rules/os-error-alias
]
"./scripts/pylib/pytest-twister-harness/src/twister_harness/device/qemu_adapter.py" = [
"E501", # https://docs.astral.sh/ruff/rules/line-too-long
"I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
]
"./scripts/pylib/pytest-twister-harness/src/twister_harness/fixtures.py" = [
"E501", # https://docs.astral.sh/ruff/rules/line-too-long
"I001", # https://docs.astral.sh/ruff/rules/unsorted-imports
@@ -956,11 +938,6 @@ exclude = [
"./scripts/net/enumerate_http_status.py",
"./scripts/profiling/stackcollapse.py",
"./scripts/pylib/build_helpers/domains.py",
"./scripts/pylib/pytest-twister-harness/src/twister_harness/device/binary_adapter.py",
"./scripts/pylib/pytest-twister-harness/src/twister_harness/device/device_adapter.py",
"./scripts/pylib/pytest-twister-harness/src/twister_harness/device/fifo_handler.py",
"./scripts/pylib/pytest-twister-harness/src/twister_harness/device/hardware_adapter.py",
"./scripts/pylib/pytest-twister-harness/src/twister_harness/device/qemu_adapter.py",
"./scripts/pylib/pytest-twister-harness/src/twister_harness/fixtures.py",
"./scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/mcumgr.py",
"./scripts/pylib/pytest-twister-harness/src/twister_harness/plugin.py",

View File

@@ -166,7 +166,7 @@ if(CONFIG_COMPILER_WARNINGS_AS_ERRORS)
zephyr_link_libraries($<TARGET_PROPERTY:linker,warnings_as_errors>)
endif()
if(CONFIG_DEPRECATION_TEST)
if(CONFIG_DEPRECATION_TEST OR NOT CONFIG_WARN_DEPRECATED)
zephyr_compile_options($<$<COMPILE_LANGUAGE:C>:$<TARGET_PROPERTY:compiler,no_deprecation_warning>>)
zephyr_compile_options($<$<COMPILE_LANGUAGE:CXX>:$<TARGET_PROPERTY:compiler,no_deprecation_warning>>)
zephyr_compile_options($<$<COMPILE_LANGUAGE:ASM>:$<TARGET_PROPERTY:asm,no_deprecation_warning>>)
@@ -315,7 +315,9 @@ if(CONFIG_LTO)
zephyr_compile_options($<TARGET_PROPERTY:compiler,optimization_lto_st>)
add_link_options($<TARGET_PROPERTY:linker,lto_arguments_st>)
else()
zephyr_compile_options($<TARGET_PROPERTY:compiler,optimization_lto>)
set(genex_tgt_lto "$<TARGET_PROPERTY:LTO>")
set(genex_lto "$<TARGET_PROPERTY:compiler,optimization_lto>")
zephyr_compile_options("$<$<OR:$<STREQUAL:${genex_tgt_lto},>,${genex_tgt_lto}>:${genex_lto}>")
add_link_options($<TARGET_PROPERTY:linker,lto_arguments>)
endif()
endif()
@@ -473,8 +475,6 @@ zephyr_compile_options(
$<$<COMPILE_LANGUAGE:ASM>:-D_ASMLANGUAGE>
)
find_package(Deprecated COMPONENTS toolchain_ld_base)
if(DEFINED TOOLCHAIN_LD_FLAGS)
zephyr_ld_options(${TOOLCHAIN_LD_FLAGS})
endif()
@@ -505,8 +505,6 @@ toolchain_ld_force_undefined_symbols(
)
if(NOT CONFIG_NATIVE_BUILD)
find_package(Deprecated COMPONENTS toolchain_ld_baremetal)
zephyr_link_libraries(PROPERTY baremetal)
# Note that some architectures will skip this flag if set to error, even
@@ -531,10 +529,6 @@ if(NOT CONFIG_NATIVE_BUILD)
endif()
if(CONFIG_CPP)
if(NOT CONFIG_MINIMAL_LIBCPP AND NOT CONFIG_NATIVE_LIBRARY)
find_package(Deprecated COMPONENTS toolchain_ld_cpp)
endif()
zephyr_link_libraries(PROPERTY cpp_base)
endif()
@@ -826,12 +820,12 @@ set(struct_tags_json ${CMAKE_CURRENT_BINARY_DIR}/misc/generated/struct_tags.json
# The syscalls subdirs txt file is constructed by python containing a list of folders to use for
# dependency handling, including empty folders.
# Windows: The list is used to specify DIRECTORY list with CMAKE_CONFIGURE_DEPENDS attribute.
# Other OS: The list will update whenever a file is added/removed/modified and ensure a re-build.
# Other OS: The list file is updated whenever a directory is added or removed.
set(syscalls_subdirs_txt ${CMAKE_CURRENT_BINARY_DIR}/misc/generated/syscalls_subdirs.txt)
# As syscalls_subdirs_txt is updated whenever a file is modified, this file can not be used for
# monitoring of added / removed folders. A trigger file is thus used for correct dependency
# handling. The trigger file will update when a folder is added / removed.
# As syscalls_subdirs_txt is updated only on directory add or remove, this file can not be used for
# monitoring of syscall changes. A trigger file is thus used for correct dependency handling. The
# trigger file will update when syscalls change.
set(syscalls_subdirs_trigger ${CMAKE_CURRENT_BINARY_DIR}/misc/generated/syscalls_subdirs.trigger)
if(NOT (${CMAKE_HOST_SYSTEM_NAME} STREQUAL Windows))
@@ -850,14 +844,13 @@ execute_process(
)
file(STRINGS ${syscalls_subdirs_txt} PARSE_SYSCALLS_PATHS_DEPENDS ENCODING UTF-8)
# Each header file must be monitored as file modifications are not reflected on directory level.
file(GLOB_RECURSE PARSE_SYSCALLS_HEADER_DEPENDS ${ZEPHYR_BASE}/include/*.h)
if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL Windows)
# On windows only adding/removing files or folders will be reflected in depends.
# Hence adding a file requires CMake to re-run to add this file to the file list.
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${PARSE_SYSCALLS_PATHS_DEPENDS})
# Also On Windows each header file must be monitored as file modifications are not reflected
# on directory level.
file(GLOB_RECURSE PARSE_SYSCALLS_HEADER_DEPENDS ${ZEPHYR_BASE}/include/*.h)
else()
# The syscall parsing depends on the folders in order to detect add/removed/modified files.
# When a folder is removed, CMake will try to find a target that creates that dependency.
@@ -888,10 +881,10 @@ else()
file(WRITE ${syscalls_subdirs_txt} "")
endif()
# On other OS'es, modifying a file is reflected on the folder timestamp and hence detected
# On other OS'es, using git checkout is reflected on the folder timestamp and hence detected
# when using depend on directory level.
# Thus CMake only needs to re-run when sub-directories are added / removed, which is indicated
# using a trigger file.
# by syscalls_subdirs_txt being updated.
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${syscalls_subdirs_txt})
endif()
@@ -2294,7 +2287,7 @@ endif()
add_custom_command(
TARGET ${logical_target_for_zephyr_elf}
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E echo "Generating files from ${PROJECT_BINARY_DIR}/${KERNEL_ELF_NAME} for board: ${BOARD}"
COMMAND ${CMAKE_COMMAND} -E echo "Generating files from ${PROJECT_BINARY_DIR}/${KERNEL_ELF_NAME} for board: ${BOARD}${BOARD_QUALIFIERS}"
${post_build_commands}
BYPRODUCTS
${post_build_byproducts}

View File

@@ -1021,7 +1021,8 @@ config WARN_DEPRECATED
prompt "Warn on deprecated usage"
help
Print a warning when the Kconfig tree is parsed if any deprecated
features are enabled.
features are enabled, or at compile time, when deprecated macros or
symbols are used.
config EXPERIMENTAL
bool

View File

@@ -302,7 +302,7 @@ Aesc Platform:
files-regex:
- ^drivers/.*aesc(\.c)?$
labels:
- "area: Aesc Silicon Platform"
- "platform: Aesc Silicon"
Ambiq Platforms:
status: maintained
@@ -486,7 +486,8 @@ Bluetooth Classic:
- makeshi
- chengkai15
files:
- doc/connectivity/bluetooth/shell/classic/a2dp.rst
- doc/connectivity/bluetooth/shell/classic/
- doc/connectivity/bluetooth/api/classic/
- subsys/bluetooth/common/
- subsys/bluetooth/host/classic/
- include/zephyr/bluetooth/classic/
@@ -584,13 +585,15 @@ Bluetooth Host:
- include/zephyr/bluetooth/iso.h
- include/zephyr/bluetooth/controller.h
- include/zephyr/bluetooth/mesh.h
- include/zephyr/bluetooth/sbc.h
- doc/connectivity/bluetooth/bluetooth-ctlr-arch.rst
- doc/connectivity/bluetooth/autopts/
- doc/connectivity/bluetooth/img/ctlr*
- doc/connectivity/bluetooth/api/audio/
- doc/connectivity/bluetooth/api/classic/
- doc/connectivity/bluetooth/api/mesh/
- doc/connectivity/bluetooth/api/controller.rst
- doc/connectivity/bluetooth/shell/classic/a2dp.rst
- doc/connectivity/bluetooth/shell/classic/
- doc/connectivity/bluetooth/shell/host/iso.rst
- doc/connectivity/bluetooth/shell/audio/
- samples/bluetooth/bap*/
@@ -606,6 +609,7 @@ Bluetooth Host:
- subsys/bluetooth/host/iso.c
- subsys/bluetooth/host/iso_internal.h
- subsys/bluetooth/host/shell/iso.c
- subsys/bluetooth/lib/sbc.c
- tests/bluetooth/audio/
- tests/bluetooth/classic/
- tests/bluetooth/controller/
@@ -738,6 +742,7 @@ Bouffalolab Platforms:
- josuah
files:
- boards/bflb/
- boards/sipeed/maix_m0s_dock/
- drivers/*/*bflb*
- dts/riscv/bflb/
- dts/bindings/*/bflb,*
@@ -1135,6 +1140,8 @@ Devicetree:
Devicetree Bindings:
status: odd fixes
collaborators:
- JarmouniA
files-regex:
- ^dts/bindings/.*zephyr.*
files:
@@ -1142,7 +1149,7 @@ Devicetree Bindings:
- include/zephyr/dt-bindings/
- scripts/bindings_properties_allowlist.yaml
labels:
- "area: Devicetree Bindings"
- "area: Devicetree Binding"
Disk:
status: maintained
@@ -1174,9 +1181,9 @@ Display drivers:
maintainers:
- JarmouniA
collaborators:
- jfischer-no
- danieldegrasse
- VynDragon
- KATE-WANG-NXP
files:
- drivers/display/
- dts/bindings/display/
@@ -1217,6 +1224,7 @@ Documentation:
- doc/substitutions.txt
- doc/images/Zephyr-Kite-in-tree.png
- doc/index-tex.rst
- doc/index.html
- doc/index.rst
- doc/kconfig.rst
- doc/templates/sample.tmpl
@@ -1253,6 +1261,7 @@ Documentation Infrastructure:
status: odd fixes
collaborators:
- anangl
- ZhaoxiangJin
files:
- drivers/adc/
- include/zephyr/drivers/adc.h
@@ -1315,6 +1324,8 @@ Documentation Infrastructure:
files:
- boards/shields/canis_canpico/
- boards/shields/mcp2515/
- boards/shields/mikroe_can_fd_6_click/
- boards/shields/mikroe_mcp251xfd_click/
- boards/shields/tcan4550evm/
- doc/connectivity/canbus/
- doc/hardware/peripherals/can/
@@ -1446,6 +1457,9 @@ Documentation Infrastructure:
status: maintained
maintainers:
- nordic-krch
collaborators:
- Holt-Sun
- FelixWang47831
files:
- drivers/counter/
- include/zephyr/drivers/counter.h
@@ -1505,6 +1519,7 @@ Documentation Infrastructure:
- lgirdwood
- iuliana-prodan
- dbaluta
- abonislawski
files:
- drivers/dai/
- doc/hardware/peripherals/audio/dai.rst
@@ -1825,6 +1840,8 @@ Documentation Infrastructure:
status: maintained
maintainers:
- teburd
collaborators:
- maass-hamburg
files:
- drivers/i2c/
- include/zephyr/drivers/i2c/
@@ -1842,11 +1859,10 @@ Documentation Infrastructure:
- drivers.i2c
"Drivers: I2S":
status: maintained
maintainers:
- anangl
status: odd fixes
collaborators:
- TomasBarakNXP
- anangl
files:
- doc/hardware/peripherals/audio/i2s.rst
- drivers/i2s/
@@ -2010,6 +2026,7 @@ Documentation Infrastructure:
collaborators:
- JarmouniA
- VynDragon
- KATE-WANG-NXP
files:
- drivers/mipi_dbi/
- include/zephyr/drivers/mipi_dbi.h
@@ -2022,6 +2039,7 @@ Documentation Infrastructure:
status: odd fixes
collaborators:
- JarmouniA
- KATE-WANG-NXP
files:
- drivers/mipi_dsi/
- include/zephyr/drivers/mipi_dsi.h
@@ -2186,8 +2204,6 @@ Documentation Infrastructure:
maintainers:
- manuargue
- Dat-NguyenDuy
collaborators:
- congnguyenhuu
files:
- drivers/psi5/
- include/zephyr/drivers/psi5/
@@ -2215,6 +2231,7 @@ Documentation Infrastructure:
collaborators:
- anangl
- henrikbrixandersen
- FelixWang47831
files:
- drivers/pwm/
- dts/bindings/pwm/
@@ -2252,6 +2269,8 @@ Documentation Infrastructure:
status: maintained
maintainers:
- bjarki-andreasen
collaborators:
- Holt-Sun
files:
- drivers/rtc/
- include/zephyr/drivers/rtc/
@@ -2335,8 +2354,6 @@ Documentation Infrastructure:
maintainers:
- manuargue
- Dat-NguyenDuy
collaborators:
- congnguyenhuu
files:
- drivers/sent/
- include/zephyr/drivers/sent/
@@ -2575,6 +2592,7 @@ Documentation Infrastructure:
collaborators:
- katsuster
- martinjaeger
- yvesll
files:
- doc/hardware/peripherals/watchdog.rst
- drivers/watchdog/
@@ -2623,6 +2641,7 @@ Documentation Infrastructure:
- dts/bindings/wifi/nordic,nrf7000-spi.yaml
- dts/bindings/wifi/nordic,nrf7001-qspi.yaml
- dts/bindings/wifi/nordic,nrf7001-spi.yaml
- dts/bindings/wifi/nordic,nrf71-wifi.yaml
- boards/shields/nrf7002ek/
labels:
- "area: Wi-Fi"
@@ -3042,6 +3061,7 @@ Intel Platforms (Xtensa):
- jxstelter
- marcinszkudlinski
- nashif
- abonislawski
files:
- boards/intel/adsp/
- soc/intel/intel_adsp/
@@ -3366,6 +3386,7 @@ Microchip MEC Platforms:
status: maintained
maintainers:
- jvasanth1
- scottwcpg
collaborators:
- VenkatKotakonda
- albertofloyd
@@ -3389,11 +3410,14 @@ Microchip RISC-V Platforms:
collaborators:
- kgugala
- tgorochowik
- con-pax
files:
- boards/microchip/m2gl025_miv/
- boards/microchip/mpfs_icicle/
- boards/microchip/pic64gx_curiosity_kit/
- dts/riscv/microchip/
- soc/microchip/miv/
- soc/microchip/pic64/
labels:
- "platform: Microchip RISC-V"
@@ -3491,6 +3515,7 @@ NXP Platform Drivers:
- dbaluta
- Holt-Sun
- zejiang0jason
- butok
files-regex:
- ^drivers/.*nxp.*
- ^drivers/.*mcux.*
@@ -3589,6 +3614,7 @@ NXP Platforms (MCU):
- mmahadevan108
collaborators:
- butok
- DerekSnell
files:
- boards/nxp/mimxrt*/
- boards/nxp/frdm*/
@@ -3596,7 +3622,6 @@ NXP Platforms (MCU):
- boards/nxp/lpcxpress*/
- boards/nxp/twr_*/
- boards/nxp/*rw*/
- boards/nxp/hexiwear/
- boards/nxp/common/
- boards/nxp/*
- soc/nxp/common/
@@ -3712,7 +3737,6 @@ NXP Platforms (S32):
- manuargue
collaborators:
- Dat-NguyenDuy
- congnguyenhuu
files:
- boards/nxp/*s32*/
- boards/common/*nxp_s32*
@@ -4154,6 +4178,22 @@ OSDP:
tests:
- sample.mgmt.osdp
OTP:
status: odd fixes
collaborators:
- GseoC
- pdgendt
files:
- doc/hardware/peripherals/otp/
- drivers/otp/
- dts/bindings/otp/
- include/zephyr/drivers/otp.h
- tests/subsys/nvmem/api/otp.overlay
labels:
- "area: OTP"
tests:
- nvmem
Octavo Systems Platforms:
status: maintained
maintainers:
@@ -4218,6 +4258,7 @@ PMCI:
collaborators:
- nashif
- kehintel
- edersondisouza
files:
- subsys/pmci/
- samples/subsys/pmci/
@@ -4287,6 +4328,16 @@ Power management:
tests:
- pm
QNX Hypervisor Platforms:
status: maintained
maintainers:
- soburi
files:
- boards/blackberry/qnxhv_vm/
- soc/blackberry/qnxhv_vm/
labels:
- "platform: QNX Hypervisor"
"Quicklogic Platform":
status: odd fixes
files:
@@ -4458,6 +4509,9 @@ Release:
Release Notes:
status: maintained
maintainers:
- MaureenHelm
- stephanosio
collaborators:
- kartben
files:
- doc/releases/migration-guide-*
@@ -4674,6 +4728,8 @@ Safety:
maintainers:
- tobiaskaestner
- parphane
collaborators:
- jkey-eng
files:
- doc/safety/
labels:
@@ -4774,6 +4830,14 @@ Settings:
- subsys/settings/src/settings_tfm_psa*
- tests/subsys/settings/functional/tfm_psa/
- tests/subsys/settings/tfm_psa/
- name: ZMS backend
collaborators:
- rghaddab
files:
- subsys/settings/src/settings_zms.c
- subsys/settings/include/settings/settings_zms.h
- tests/subsys/settings/zms/
- tests/subsys/settings/functional/zms/
labels:
- "area: Settings"
tests:
@@ -4820,6 +4884,7 @@ SiFli SF32LB Platforms:
collaborators:
- cameled
- ck-telecom
- HalfSweet
files:
- boards/sifli/
- drivers/*/*sf32lb*
@@ -4877,6 +4942,17 @@ Silabs SiM3U Platforms:
description: >-
SiM3U SoCs, dts files, and related drivers. Boards based on SiM3U SoCs.
Space Cubics Platforms:
status: maintained
maintainers:
- yashi
files:
- boards/sc/
labels:
- "platform: Space Cubics"
description: >-
Space Cubics on-board computers (OBCs).
State machine framework:
status: maintained
maintainers:
@@ -5201,6 +5277,7 @@ Twister:
- gchwier
- LukaszMrugala
- KamilxPaszkiet
- fundakol
files:
- scripts/twister
- scripts/schemas/twister/
@@ -5265,6 +5342,20 @@ USB-C:
tests:
- sample.usbc
UUID:
status: maintained
maintainers:
- sorru94
files:
- lib/uuid/
- include/zephyr/sys/uuid.h
- tests/lib/uuid/
- samples/subsys/uuid/
labels:
- "area: UUID"
tests:
- libraries.uuid
Userspace:
status: maintained
maintainers:
@@ -5968,6 +6059,7 @@ West:
collaborators:
- nashif
- dkalowsk
- edersondisouza
files: []
labels:
- "area: MCTP"
@@ -5988,6 +6080,8 @@ West:
- MarkWangChinese
files:
- modules/libsbc/
- include/zephyr/bluetooth/sbc.h
- subsys/bluetooth/lib/sbc.c
labels:
- "area: Audio"
@@ -6327,6 +6421,7 @@ Xilinx Platforms:
- henrikbrixandersen
- ibirnbaum
- kedareswararao
- neeliajay
files:
- boards/amd/
- drivers/*/*xilinx*
@@ -6417,7 +6512,7 @@ nRF IronSide SE Platforms:
- karstenkoenig
- SebastianBoe
files:
- soc/nordic/ironside/
- modules/hal_nordic/ironside/
- soc/nordic/common/uicr/
labels:
- "platform: nRF IronSide SE"

View File

@@ -1,6 +1,6 @@
version = 1
# Declare default license and copyright text for files that typically do not include them.
# Declare default license and copyright text for files that typically do not or cannot include them.
[[annotations]]
path = [
# zephyr-keep-sorted-start
@@ -9,6 +9,7 @@ path = [
"**/*.conf",
"**/*.ecl",
"**/*.html",
"**/*.json",
"**/*.rst",
"**/*.yaml",
"**/*.yml",

View File

@@ -117,9 +117,7 @@ void arch_secondary_cpu_init(int cpu_num)
irq_enable(DT_IRQN(DT_NODELABEL(ici)));
#endif
#ifdef CONFIG_SOC_PER_CORE_INIT_HOOK
soc_per_core_init_hook();
#endif /* CONFIG_SOC_PER_CORE_INIT_HOOK */
/* call the function set by arch_cpu_start */
fn = arc_cpu_init[cpu_num].fn;

View File

@@ -318,7 +318,7 @@ void arc_dsp_disable(struct k_thread *thread, unsigned int options)
k_spinlock_key_t key = k_spin_lock(&lock);
/* Disable DSP or AGU capabilities for the thread */
thread->base.user_options &= ~(uint8_t)options;
thread->base.user_options &= ~(uint16_t)options;
k_spin_unlock(&lock, key);
}
@@ -329,7 +329,7 @@ void arc_dsp_enable(struct k_thread *thread, unsigned int options)
k_spinlock_key_t key = k_spin_lock(&lock);
/* Enable dsp or agu capabilities for the thread */
thread->base.user_options |= (uint8_t)options;
thread->base.user_options |= (uint16_t)options;
k_spin_unlock(&lock, key);
}

View File

@@ -36,9 +36,7 @@ static ALWAYS_INLINE void arch_kernel_init(void)
{
z_irq_setup();
#ifdef CONFIG_SOC_PER_CORE_INIT_HOOK
soc_per_core_init_hook();
#endif /* CONFIG_SOC_PER_CORE_INIT_HOOK */
}

View File

@@ -68,7 +68,7 @@ static ALWAYS_INLINE void z_irq_setup(void)
#ifdef CONFIG_ARC_NORMAL_FIRMWARE
/* normal mode cannot write irq_ctrl, ignore it */
aux_irq_ctrl_value = aux_irq_ctrl_value;
ARG_UNUSED(aux_irq_ctrl_value);
#else
z_arc_v2_aux_reg_write(_ARC_V2_AUX_IRQ_CTRL, aux_irq_ctrl_value);
#endif

View File

@@ -98,18 +98,18 @@ void arch_cpu_start(int cpu_num, k_thread_stack_t *stack, int sz, arch_cpustart_
{
int cpu_count, i, j;
uint32_t cpu_mpid = 0;
uint32_t master_core_mpid;
uint32_t primary_core_mpid;
/* Now it is on master core */
/* Now it is on primary core */
__ASSERT(arch_curr_cpu()->id == 0, "");
master_core_mpid = MPIDR_TO_CORE(GET_MPIDR());
primary_core_mpid = MPIDR_TO_CORE(GET_MPIDR());
cpu_count = ARRAY_SIZE(cpu_node_list);
__ASSERT(cpu_count == CONFIG_MP_MAX_NUM_CPUS,
"The count of CPU Cores nodes in dts is not equal to CONFIG_MP_MAX_NUM_CPUS\n");
for (i = 0, j = 0; i < cpu_count; i++) {
if (cpu_node_list[i] == master_core_mpid) {
if (cpu_node_list[i] == primary_core_mpid) {
continue;
}
if (j == cpu_num - 1) {
@@ -199,9 +199,7 @@ void arch_secondary_cpu_init(void)
*/
#endif
#ifdef CONFIG_SOC_PER_CORE_INIT_HOOK
soc_per_core_init_hook();
#endif /* CONFIG_SOC_PER_CORE_INIT_HOOK */
fn = arm_cpu_boot_params.fn;
arg = arm_cpu_boot_params.arg;

View File

@@ -69,7 +69,7 @@ SECTION_FUNC(TEXT, z_arm_do_swap)
cps #MODE_SVC
#if defined(CONFIG_FPU_SHARING)
ldrb r0, [r2, #_thread_offset_to_user_options]
ldrh r0, [r2, #_thread_offset_to_user_options]
tst r0, #K_FP_REGS /* _current->base.user_options & K_FP_REGS */
beq out_fp_inactive
@@ -151,7 +151,7 @@ out_fp_inactive:
cps #MODE_SVC
#if defined(CONFIG_FPU_SHARING)
ldrb r0, [r2, #_thread_offset_to_user_options]
ldrh r0, [r2, #_thread_offset_to_user_options]
tst r0, #K_FP_REGS /* _current->base.user_options & K_FP_REGS */
beq in_fp_inactive

View File

@@ -460,28 +460,36 @@ SECTION_FUNC(TEXT, z_arm_svc)
.L_oops:
push {r0, lr}
#if defined(CONFIG_EXTRA_EXCEPTION_INFO)
#if defined(CONFIG_ARMV7_M_ARMV8_M_MAINLINE)
/* Build _callee_saved_t. To match the struct
* definition we push the psp & then r11-r4
*/
mrs r1, PSP
push {r1, r2}
push {r1, r2} /* r2 for padding */
#if defined(CONFIG_ARMV7_M_ARMV8_M_MAINLINE)
push {r4-r11}
#elif defined(CONFIG_ARMV6_M_ARMV8_M_BASELINE)
mov r1, r10
mov r2, r11
push {r1, r2}
mov r1, r8
mov r2, r9
push {r1, r2}
push {r4-r7}
#else
#error Unknown ARM architecture
#endif
mov r1, sp /* pointer to _callee_saved_t */
#endif /* CONFIG_ARMV7_M_ARMV8_M_MAINLINE */
#endif /* CONFIG_EXTRA_EXCEPTION_INFO */
mov r2, lr /* EXC_RETURN */
bl z_do_kernel_oops
/* return from SVC exception is done here */
#if defined(CONFIG_EXTRA_EXCEPTION_INFO)
#if defined(CONFIG_ARMV7_M_ARMV8_M_MAINLINE)
/* We do not need to restore any register state here
* because we did not use any callee-saved registers
* in this routine. Therefore, we can just reset
* the MSP to its value prior to entering the function
*/
add sp, #40
#endif /* CONFIG_ARMV7_M_ARMV8_M_MAINLINE */
#endif /* CONFIG_EXTRA_EXCEPTION_INFO */
pop {r0, pc}

View File

@@ -75,7 +75,7 @@ static inline uint64_t z_arm_dwt_freq_get(void)
dwt_frequency = (cyc_freq * ddwt) / dcyc;
}
return dwt_frequency;
#endif /* CONFIG_SOC_FAMILY_NORDIC_NRF */
#endif
}
void arch_timing_init(void)

View File

@@ -137,21 +137,11 @@ void z_do_kernel_oops(const struct arch_esf *esf, _callee_saved_t *callee_regs,
struct arch_esf esf_copy;
memcpy(&esf_copy, esf, offsetof(struct arch_esf, extra_info));
#if defined(CONFIG_ARMV7_M_ARMV8_M_MAINLINE)
/* extra exception info is collected in callee_reg param
* on CONFIG_ARMV7_M_ARMV8_M_MAINLINE
*/
/* extra exception info is collected in callee_reg. */
esf_copy.extra_info = (struct __extra_esf_info) {
.callee = callee_regs,
};
#else
/* extra exception info is not collected for kernel oops
* path today so we make a copy of the ESF and zero out
* that information
*/
esf_copy.extra_info = (struct __extra_esf_info) { 0 };
#endif /* CONFIG_ARMV7_M_ARMV8_M_MAINLINE */
z_arm_fatal_error(reason, &esf_copy);
#endif /* CONFIG_EXTRA_EXCEPTION_INFO */

View File

@@ -79,6 +79,12 @@ config ARM_MPU_PXN
unprivileged mode and executing such region from privileged mode will
result in a Memory Management fault.
config ARM_MPU_SRAM_WRITE_THROUGH
bool "Use Write-Through cache policy for SRAM regions"
help
When enabled, SRAM regions will use Write-Through cache policy
instead of the default Write-Back policy.
endif # ARM_MPU
endif # CPU_HAS_MPU

View File

@@ -156,6 +156,11 @@ static int mpu_configure_regions_from_dt(uint8_t *reg_index)
case DT_MEM_ARM_MPU_EXTMEM:
region_conf = _BUILD_REGION_CONF(region[idx], REGION_EXTMEM_ATTR);
break;
#endif
#ifdef REGION_RAM_WT_ATTR
case DT_MEM_ARM_MPU_RAM_WT:
region_conf = _BUILD_REGION_CONF(region[idx], REGION_RAM_WT_ATTR);
break;
#endif
default:
/* Attribute other than ARM-specific is set.
@@ -205,11 +210,11 @@ static int mpu_configure_region(const uint8_t index,
!defined(CONFIG_MPU_GAP_FILLING)
/* This internal function programs a set of given MPU regions
* over a background memory area, optionally performing a
* sanity check of the memory regions to be programmed.
* coherence check of the memory regions to be programmed.
*/
static int mpu_configure_regions(const struct z_arm_mpu_partition
regions[], uint8_t regions_num, uint8_t start_reg_index,
bool do_sanity_check)
bool do_coherence_check)
{
int i;
int reg_index = start_reg_index;
@@ -220,9 +225,9 @@ static int mpu_configure_regions(const struct z_arm_mpu_partition
}
/* Non-empty region. */
if (do_sanity_check &&
if (do_coherence_check &&
(!mpu_partition_is_valid(&regions[i]))) {
LOG_ERR("Partition %u: sanity check failed.", i);
LOG_ERR("Partition %u: coherence check failed.", i);
return -EINVAL;
}
@@ -615,7 +620,7 @@ int z_arm_mpu_init(void)
#endif
#endif /* CONFIG_NULL_POINTER_EXCEPTION_DETECTION_MPU */
/* Sanity check for number of regions in Cortex-M0+, M3, and M4. */
/* Coherence check for number of regions in Cortex-M0+, M3, and M4. */
#if defined(CONFIG_CPU_CORTEX_M0PLUS) || \
defined(CONFIG_CPU_CORTEX_M3) || \
defined(CONFIG_CPU_CORTEX_M4)

View File

@@ -9,6 +9,12 @@
#include <zephyr/arch/arm/mpu/arm_mpu_mem_cfg.h>
#ifdef CONFIG_ARM_MPU_SRAM_WRITE_THROUGH
#define ARM_MPU_SRAM_REGION_ATTR REGION_RAM_WT_ATTR
#else
#define ARM_MPU_SRAM_REGION_ATTR REGION_RAM_ATTR
#endif
static const struct arm_mpu_region mpu_regions[] = {
#ifdef CONFIG_XIP
/* Region 0 */
@@ -26,10 +32,10 @@ static const struct arm_mpu_region mpu_regions[] = {
MPU_REGION_ENTRY("SRAM_0",
CONFIG_SRAM_BASE_ADDRESS,
#if defined(CONFIG_ARMV8_M_BASELINE) || defined(CONFIG_ARMV8_M_MAINLINE)
REGION_RAM_ATTR(CONFIG_SRAM_BASE_ADDRESS, \
ARM_MPU_SRAM_REGION_ATTR(CONFIG_SRAM_BASE_ADDRESS,
CONFIG_SRAM_SIZE * 1024)),
#else
REGION_RAM_ATTR(REGION_SRAM_SIZE)),
ARM_MPU_SRAM_REGION_ATTR(REGION_SRAM_SIZE)),
#endif
};

View File

@@ -52,9 +52,9 @@ static void region_init(const uint32_t index,
#endif
}
/* @brief Partition sanity check
/* @brief Partition coherence check
*
* This internal function performs run-time sanity check for
* This internal function performs run-time coherence check for
* MPU region start address and size.
*
* @param part Pointer to the data structure holding the partition
@@ -207,7 +207,7 @@ static int mpu_configure_region(const uint8_t index,
static int mpu_configure_regions(const struct z_arm_mpu_partition
regions[], uint8_t regions_num, uint8_t start_reg_index,
bool do_sanity_check);
bool do_coherence_check);
/* This internal function programs the static MPU regions.
*

View File

@@ -184,9 +184,9 @@ static void region_init(const uint32_t index,
region_conf->attr.mair_idx, region_conf->attr.r_limit);
}
/* @brief Partition sanity check
/* @brief Partition coherence check
*
* This internal function performs run-time sanity check for
* This internal function performs run-time coherence check for
* MPU region start address and size.
*
* @param part Pointer to the data structure holding the partition
@@ -519,19 +519,19 @@ static int mpu_configure_region(const uint8_t index,
#if !defined(CONFIG_MPU_GAP_FILLING)
static int mpu_configure_regions(const struct z_arm_mpu_partition
regions[], uint8_t regions_num, uint8_t start_reg_index,
bool do_sanity_check);
bool do_coherence_check);
#endif
/* This internal function programs a set of given MPU regions
* over a background memory area, optionally performing a
* sanity check of the memory regions to be programmed.
* coherence check of the memory regions to be programmed.
*
* The function performs a full partition of the background memory
* area, effectively, leaving no space in this area uncovered by MPU.
*/
static int mpu_configure_regions_and_partition(const struct z_arm_mpu_partition
regions[], uint8_t regions_num, uint8_t start_reg_index,
bool do_sanity_check)
bool do_coherence_check)
{
int i;
int reg_index = start_reg_index;
@@ -542,9 +542,9 @@ static int mpu_configure_regions_and_partition(const struct z_arm_mpu_partition
}
/* Non-empty region. */
if (do_sanity_check &&
if (do_coherence_check &&
(!mpu_partition_is_valid(&regions[i]))) {
LOG_ERR("Partition %u: sanity check failed.", i);
LOG_ERR("Partition %u: coherence check failed.", i);
return -EINVAL;
}

View File

@@ -51,9 +51,9 @@ static inline uint8_t get_num_regions(void)
return FSL_FEATURE_SYSMPU_DESCRIPTOR_COUNT;
}
/* @brief Partition sanity check
/* @brief Partition coherence check
*
* This internal function performs run-time sanity check for
* This internal function performs run-time coherence check for
* MPU region start address and size.
*
* @param part Pointer to the data structure holding the partition
@@ -297,11 +297,11 @@ static int mpu_sram_partitioning(uint8_t index,
/* This internal function programs a set of given MPU regions
* over a background memory area, optionally performing a
* sanity check of the memory regions to be programmed.
* coherence check of the memory regions to be programmed.
*/
static int mpu_configure_regions(const struct z_arm_mpu_partition regions[],
uint8_t regions_num, uint8_t start_reg_index,
bool do_sanity_check)
bool do_coherence_check)
{
int i;
int reg_index = start_reg_index;
@@ -312,9 +312,9 @@ static int mpu_configure_regions(const struct z_arm_mpu_partition regions[],
}
/* Non-empty region. */
if (do_sanity_check &&
if (do_coherence_check &&
(!mpu_partition_is_valid(&regions[i]))) {
LOG_ERR("Partition %u: sanity check failed.", i);
LOG_ERR("Partition %u: coherence check failed.", i);
return -EINVAL;
}

View File

@@ -31,9 +31,7 @@ extern "C" {
static ALWAYS_INLINE void arch_kernel_init(void)
{
#ifdef CONFIG_SOC_PER_CORE_INIT_HOOK
soc_per_core_init_hook();
#endif /* CONFIG_SOC_PER_CORE_INIT_HOOK */
}
#ifndef CONFIG_USE_SWITCH

View File

@@ -57,9 +57,7 @@ static ALWAYS_INLINE void arch_kernel_init(void)
z_arm_configure_static_mpu_regions();
#endif /* CONFIG_ARM_MPU */
#ifdef CONFIG_SOC_PER_CORE_INIT_HOOK
soc_per_core_init_hook();
#endif /* CONFIG_SOC_PER_CORE_INIT_HOOK */
}
static ALWAYS_INLINE void arch_thread_return_value_set(struct k_thread *thread, unsigned int value)

View File

@@ -176,13 +176,6 @@ config ARM64_SAFE_EXCEPTION_STACK
used for user stack overflow checking, because kernel stack support
the checking work.
config ARM64_EXCEPTION_STACK_TRACE
bool
default y
depends on FRAME_POINTER
help
Internal config to enable runtime stack traces on fatal exceptions.
config ARM64_SAFE_EXCEPTION_STACK_SIZE
int "The stack size of the safe exception stack"
default 4096

View File

@@ -166,9 +166,7 @@ void arch_secondary_cpu_init(int cpu_num)
#endif
#endif
#ifdef CONFIG_SOC_PER_CORE_INIT_HOOK
soc_per_core_init_hook();
#endif /* CONFIG_SOC_PER_CORE_INIT_HOOK */
fn = arm64_cpu_boot_params.fn;
arg = arm64_cpu_boot_params.arg;

View File

@@ -32,10 +32,7 @@ extern "C" {
static ALWAYS_INLINE void arch_kernel_init(void)
{
#ifdef CONFIG_SOC_PER_CORE_INIT_HOOK
soc_per_core_init_hook();
#endif /* CONFIG_SOC_PER_CORE_INIT_HOOK */
}
static inline void arch_switch(void *switch_to, void **switched_from)

View File

@@ -28,9 +28,7 @@ extern "C" {
#ifndef _ASMLANGUAGE
static ALWAYS_INLINE void arch_kernel_init(void)
{
#ifdef CONFIG_SOC_PER_CORE_INIT_HOOK
soc_per_core_init_hook();
#endif /* CONFIG_SOC_PER_CORE_INIT_HOOK */
}
static ALWAYS_INLINE void

View File

@@ -62,10 +62,11 @@ elseif(DEFINED NATIVE_TARGET_HOST)
)
endif()
zephyr_compile_options(
${ARCH_FLAG}
)
# We tell the compiler to mark all symbols to have hidden visibility by default.
# Later, after the image from all embedded code has been built, all these symbols will be made local
# (i.e. not linkable anymore from outside that embedded code library).
# If users want to be able to link to a symbol from outside the embedded image, they should annotate
# it with one of NATIVE_SIMULATOR_IF*
zephyr_compile_options(
-fvisibility=hidden
)
@@ -99,17 +100,15 @@ if(NOT CONFIG_EXTERNAL_LIBC)
$<TARGET_PROPERTY:compiler,freestanding>
$<TARGET_PROPERTY:compiler,no_builtin>
)
else()
# No freestanding compilation, i.e. we use the compiler default C library
zephyr_compile_options($<TARGET_PROPERTY:compiler,hosted>)
endif()
if(CONFIG_COMPILER_WARNINGS_AS_ERRORS)
target_compile_options(native_simulator INTERFACE $<TARGET_PROPERTY:compiler,warnings_as_errors>)
endif()
if(CONFIG_EXTERNAL_LIBC)
# @Intent: Obtain compiler specific flags for no freestanding compilation
zephyr_compile_options($<TARGET_PROPERTY:compiler,hosted>)
endif()
if(CONFIG_EXTERNAL_LIBCPP)
target_link_options(native_simulator INTERFACE "-lstdc++")
endif()

View File

@@ -1,7 +1,6 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library()
zephyr_library_compile_definitions(NO_POSIX_CHEATS)
zephyr_library_sources(
cpuhalt.c
fatal.c

View File

@@ -22,9 +22,7 @@ extern "C" {
static inline void arch_kernel_init(void)
{
#ifdef CONFIG_SOC_PER_CORE_INIT_HOOK
soc_per_core_init_hook();
#endif /* CONFIG_SOC_PER_CORE_INIT_HOOK */
}
static ALWAYS_INLINE void

View File

@@ -237,6 +237,14 @@ config RISCV_ISA_EXT_ZBC
The Zbc instructions can be used for carry-less multiplication that
is the multiplication in the polynomial ring over GF(2).
config RISCV_ISA_EXT_ZBKB
bool
help
(Zbkb) - Zbkb BitManip Extension (Bit-manipulation for Cryptography)
The Zbkb instructions can be used for accelerating cryptography workloads
and contain rotation, reversion, packing and some advanced bit-manipulation.
config RISCV_ISA_EXT_ZBS
bool
help

View File

@@ -28,6 +28,7 @@ zephyr_library_sources_ifdef(CONFIG_DEBUG_COREDUMP coredump.c)
zephyr_library_sources_ifdef(CONFIG_IRQ_OFFLOAD irq_offload.c)
zephyr_library_sources_ifdef(CONFIG_USE_ISR_WRAPPER isr.S)
zephyr_library_sources_ifdef(CONFIG_RISCV_PMP pmp.c pmp.S)
zephyr_linker_sources_ifdef(CONFIG_RISCV_PMP ROM_SECTIONS pmp.ld)
zephyr_library_sources_ifdef(CONFIG_THREAD_LOCAL_STORAGE tls.c)
zephyr_library_sources_ifdef(CONFIG_USERSPACE userspace.S)
zephyr_library_sources_ifdef(CONFIG_SEMIHOST semihost.c)

View File

@@ -318,7 +318,7 @@ extern void z_riscv_write_pmp_entries(unsigned int start, unsigned int end,
/**
* @brief Write a range of PMP entries to corresponding PMP registers
*
* This performs some sanity checks before calling z_riscv_write_pmp_entries().
* This performs some coherence checks before calling z_riscv_write_pmp_entries().
*
* @param start Start of the PMP range to be written
* @param end End (exclusive) of the PMP range to be written
@@ -617,6 +617,19 @@ void z_riscv_pmp_init(void)
(size_t)__rom_region_size,
pmp_addr, pmp_cfg, ARRAY_SIZE(pmp_addr));
/* SoC-specific PMP regions defined via iterable sections */
STRUCT_SECTION_FOREACH(pmp_soc_region, region) {
uintptr_t start = (uintptr_t)region->start;
size_t size = (uintptr_t)region->end - start;
if (size > 0) {
set_pmp_entry(&index, region->perm | COND_CODE_1(CONFIG_PMP_NO_LOCK_GLOBAL,
(0x0), (PMP_L)), start,
size, pmp_addr, pmp_cfg,
ARRAY_SIZE(pmp_addr));
}
}
#ifdef CONFIG_PMP_STACK_GUARD
#ifdef CONFIG_MULTITHREADING
/*

9
arch/riscv/core/pmp.ld Normal file
View File

@@ -0,0 +1,9 @@
/*
* Copyright (c) 2025 Espressif Systems (Shanghai) Co., Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/linker/iterable_sections.h>
ITERABLE_SECTION_ROM(pmp_soc_region, Z_LINK_ITERABLE_SUBALIGN)

View File

@@ -79,8 +79,6 @@ void arch_secondary_cpu_init(int hartid)
/* Enable on secondary cores so that they can respond to PLIC */
irq_enable(RISCV_IRQ_MEXT);
#endif /* CONFIG_PLIC_IRQ_AFFINITY */
#ifdef CONFIG_SOC_PER_CORE_INIT_HOOK
soc_per_core_init_hook();
#endif /* CONFIG_SOC_PER_CORE_INIT_HOOK */
riscv_cpu_init[cpu_num].fn(riscv_cpu_init[cpu_num].arg);
}

View File

@@ -73,7 +73,7 @@ SECTION_FUNC(TEXT, z_riscv_switch)
* in effect while in m-mode. (it is done on every exception return
* otherwise).
*/
lb t0, _thread_offset_to_user_options(a0)
lh t0, _thread_offset_to_user_options(a0)
andi t0, t0, K_USER
beqz t0, not_user_task
mv s0, a0

View File

@@ -141,7 +141,7 @@ static void region_init(const uint32_t index,
}
/*
* This internal function performs run-time sanity check for
* This internal function performs run-time coherence check for
* PMA region start address and size.
*/
static int pma_region_is_valid(const struct pma_region *region)

View File

@@ -55,9 +55,7 @@ static ALWAYS_INLINE void arch_kernel_init(void)
#ifdef CONFIG_RISCV_PMP
z_riscv_pmp_init();
#endif
#ifdef CONFIG_SOC_PER_CORE_INIT_HOOK
soc_per_core_init_hook();
#endif /* CONFIG_SOC_PER_CORE_INIT_HOOK */
}
static ALWAYS_INLINE void

View File

@@ -7,6 +7,7 @@
#ifndef PMP_H_
#define PMP_H_
#include <zephyr/arch/riscv/pmp.h>
#include <zephyr/dt-bindings/memory-attr/memory-attr-riscv.h>
#define PMPCFG_STRIDE (__riscv_xlen / 8)

View File

@@ -26,9 +26,7 @@ extern "C" {
#ifndef _ASMLANGUAGE
static ALWAYS_INLINE void arch_kernel_init(void)
{
#ifdef CONFIG_SOC_PER_CORE_INIT_HOOK
soc_per_core_init_hook();
#endif /* CONFIG_SOC_PER_CORE_INIT_HOOK */
}
void z_sparc_context_switch(struct k_thread *newt, struct k_thread *oldt);

View File

@@ -179,7 +179,7 @@ void z_float_enable(struct k_thread *thread, unsigned int options)
/* Indicate thread requires floating point context saving */
thread->base.user_options |= (uint8_t)options;
thread->base.user_options |= (uint16_t)options;
/*
* The current thread might not allow FP instructions, so clear CR0[TS]
* so we can use them. (CR0[TS] gets restored later on, if necessary.)

View File

@@ -175,7 +175,7 @@ SECTION_FUNC(PINNED_TEXT, arch_swap)
* _and_ whether the thread was context switched out preemptively.
*/
testb $_FP_USER_MASK, _thread_offset_to_user_options(%eax)
testw $_FP_USER_MASK, _thread_offset_to_user_options(%eax)
je restoreContext_NoFloatSwap
@@ -216,7 +216,7 @@ SECTION_FUNC(PINNED_TEXT, arch_swap)
#ifdef CONFIG_X86_SSE
testb $K_SSE_REGS, _thread_offset_to_user_options(%ebx)
testw $K_SSE_REGS, _thread_offset_to_user_options(%ebx)
je x87FloatSave
/*
@@ -255,7 +255,7 @@ restoreContext_NoFloatSave:
je restoreContext_NoFloatRestore
#ifdef CONFIG_X86_SSE
testb $K_SSE_REGS, _thread_offset_to_user_options(%eax)
testw $K_SSE_REGS, _thread_offset_to_user_options(%eax)
je x87FloatRestore
fxrstor _thread_offset_to_preempFloatReg(%eax)
@@ -290,7 +290,7 @@ restoreContext_NoFloatSwap:
* registers
*/
testb $_FP_USER_MASK, _thread_offset_to_user_options(%eax)
testw $_FP_USER_MASK, _thread_offset_to_user_options(%eax)
jne CROHandlingDone
/*

View File

@@ -20,7 +20,6 @@
#include <kernel_internal.h>
#include <mmu.h>
#include <zephyr/drivers/interrupt_controller/loapic.h>
#include <mmu.h>
#include <zephyr/arch/x86/memmap.h>
LOG_MODULE_DECLARE(os, CONFIG_KERNEL_LOG_LEVEL);

View File

@@ -136,7 +136,7 @@ def setup_idt(spur_code, spur_nocode, intlist, max_vec, max_irq):
irq_vec_map = [0 for i in range(max_irq)]
vectors = [None for i in range(max_vec)]
# Pass 1: sanity check and set up hard-coded interrupt vectors
# Pass 1: coherence check and set up hard-coded interrupt vectors
for handler, irq, prio, vec, dpl, tss in intlist:
if vec == -1:
if prio == -1:

View File

@@ -53,7 +53,6 @@
#ifndef _ASMLANGUAGE
#include <zephyr/sys/util.h>
#ifdef __cplusplus
extern "C" {

View File

@@ -22,9 +22,7 @@ extern "C" {
static inline void arch_kernel_init(void)
{
#ifdef CONFIG_SOC_PER_CORE_INIT_HOOK
soc_per_core_init_hook();
#endif /* CONFIG_SOC_PER_CORE_INIT_HOOK */
}
static ALWAYS_INLINE void

View File

@@ -29,9 +29,7 @@ extern void z_x86_ipi_setup(void);
static inline void arch_kernel_init(void)
{
#ifdef CONFIG_SOC_PER_CORE_INIT_HOOK
soc_per_core_init_hook();
#endif /* CONFIG_SOC_PER_CORE_INIT_HOOK */
}
FUNC_NORETURN void z_x86_cpu_init(struct x86_cpuboot *cpuboot);

View File

@@ -36,7 +36,7 @@ args = parse_args()
NEEDED = ["A0SAVE", "CPU"]
if args.mmu:
NEEDED += ["DBLEXC", "DEPC_SAVE"]
NEEDED += ["DBLEXC", "DEPC_SAVE", "EXCCAUSE_SAVE"]
if args.flush_reg:
NEEDED += ["FLUSH"]

View File

@@ -326,6 +326,26 @@ static void init_page_table(uint32_t *ptable, size_t num_entries, uint32_t val)
}
}
static void calc_l2_page_tables_usage(void)
{
#ifdef CONFIG_XTENSA_MMU_PAGE_TABLE_STATS
uint32_t cur_l2_usage = 0;
/* Calculate how many L2 page tables are being used now. */
for (int idx = 0; idx < CONFIG_XTENSA_MMU_NUM_L2_TABLES; idx++) {
if (l2_page_tables_counter[idx] > 0) {
cur_l2_usage++;
}
}
/* Store the bigger number. */
l2_page_tables_max_usage = MAX(l2_page_tables_max_usage, cur_l2_usage);
LOG_DBG("L2 page table usage %u/%u/%u", cur_l2_usage, l2_page_tables_max_usage,
CONFIG_XTENSA_MMU_NUM_L2_TABLES);
#endif /* CONFIG_XTENSA_MMU_PAGE_TABLE_STATS */
}
/**
* @brief Find the L2 table counter array index from L2 table pointer.
*
@@ -357,19 +377,7 @@ static inline uint32_t *alloc_l2_table(void)
}
}
#ifdef CONFIG_XTENSA_MMU_PAGE_TABLE_STATS
uint32_t cur_l2_usage = 0;
/* Calculate how many L2 page tables are being used now. */
for (idx = 0; idx < CONFIG_XTENSA_MMU_NUM_L2_TABLES; idx++) {
if (l2_page_tables_counter[idx] > 0) {
cur_l2_usage++;
}
}
/* Store the bigger number. */
l2_page_tables_max_usage = MAX(l2_page_tables_max_usage, cur_l2_usage);
#endif /* CONFIG_XTENSA_MMU_PAGE_TABLE_STATS */
calc_l2_page_tables_usage();
k_spin_unlock(&xtensa_counter_lock, key);
@@ -399,6 +407,15 @@ static void map_memory_range(const uint32_t start, const uint32_t end,
__ASSERT(l2_table != NULL,
"There is no l2 page table available to map 0x%08x\n", page);
if (l2_table == NULL) {
/* This function is called during boot. If this cannot
* properly map all predefined memory regions, it is very
* unlikely for anything to run correctly. So forcibly
* halt the system in case assertion has been turned off.
*/
arch_system_halt(K_ERR_KERNEL_PANIC);
}
init_page_table(l2_table, L2_PAGE_TABLE_NUM_ENTRIES, PTE_L2_ILLEGAL);
xtensa_kernel_ptables[l1_pos] =
@@ -561,8 +578,7 @@ static inline void __arch_mem_map(void *vaddr, uintptr_t paddr, uint32_t attrs,
{
bool ret;
ret = l2_page_table_map(xtensa_kernel_ptables, (void *)vaddr, paddr,
attrs, is_user);
ret = l2_page_table_map(xtensa_kernel_ptables, vaddr, paddr, attrs, is_user);
__ASSERT(ret, "Cannot map virtual address (%p)", vaddr);
#ifndef CONFIG_USERSPACE
@@ -577,8 +593,7 @@ static inline void __arch_mem_map(void *vaddr, uintptr_t paddr, uint32_t attrs,
SYS_SLIST_FOR_EACH_NODE(&xtensa_domain_list, node) {
domain = CONTAINER_OF(node, struct arch_mem_domain, node);
ret = l2_page_table_map(domain->ptables, (void *)vaddr, paddr,
attrs, is_user);
ret = l2_page_table_map(domain->ptables, vaddr, paddr, attrs, is_user);
__ASSERT(ret, "Cannot map virtual address (%p) for domain %p",
vaddr, domain);
@@ -718,6 +733,8 @@ static void l2_page_table_unmap(uint32_t *l1_table, void *vaddr)
K_SPINLOCK(&xtensa_counter_lock) {
l2_page_tables_counter_dec(l2_table);
calc_l2_page_tables_usage();
}
end:
@@ -730,7 +747,7 @@ end:
static inline void __arch_mem_unmap(void *vaddr)
{
l2_page_table_unmap(xtensa_kernel_ptables, (void *)vaddr);
l2_page_table_unmap(xtensa_kernel_ptables, vaddr);
#ifdef CONFIG_USERSPACE
sys_snode_t *node;
@@ -741,7 +758,7 @@ static inline void __arch_mem_unmap(void *vaddr)
SYS_SLIST_FOR_EACH_NODE(&xtensa_domain_list, node) {
domain = CONTAINER_OF(node, struct arch_mem_domain, node);
(void)l2_page_table_unmap(domain->ptables, (void *)vaddr);
(void)l2_page_table_unmap(domain->ptables, vaddr);
}
k_spin_unlock(&z_mem_domain_lock, key);
#endif /* CONFIG_USERSPACE */
@@ -948,6 +965,9 @@ static inline uint32_t *alloc_l1_table(void)
/* Store the bigger number. */
l1_page_tables_max_usage = MAX(l1_page_tables_max_usage, cur_l1_usage);
LOG_DBG("L1 page table usage %u/%u/%u", cur_l1_usage, l1_page_tables_max_usage,
CONFIG_XTENSA_MMU_NUM_L1_TABLES);
#endif /* CONFIG_XTENSA_MMU_PAGE_TABLE_STATS */
return ret;
@@ -970,8 +990,14 @@ static uint32_t *dup_l2_table(uint32_t *src_l2_table, enum dup_action action)
uint32_t *l2_table;
l2_table = alloc_l2_table();
/* Duplicating L2 tables is a must-have and must-success operation.
* If we are running out of free L2 tables to be allocated, we cannot
* continue.
*/
__ASSERT_NO_MSG(l2_table != NULL);
if (l2_table == NULL) {
return NULL;
arch_system_halt(K_ERR_KERNEL_PANIC);
}
switch (action) {

View File

@@ -16,7 +16,6 @@
#include <zephyr/zsr.h>
#include <zephyr/arch/common/exc_handle.h>
#include <kernel_internal.h>
#include <xtensa_internal.h>
#include <xtensa_stack.h>

View File

@@ -344,7 +344,7 @@ noflush:
/* Switch stack pointer and restore. The jump to
* _restore_context does not return as such, but we arrange
* for the restored "next" address to be immediately after for
* sanity.
* coherence.
*/
l32i a1, a2, ___xtensa_irq_bsa_t_a2_OFFSET
@@ -580,6 +580,10 @@ _handle_tlb_miss_dblexc:
rsr.ptevaddr a0
l32i a0, a0, 0
/* Restore EXCCAUSE and a0 values */
rsr a0, ZSR_EXCCAUSE_SAVE
wsr.exccause a0
rsr a0, ZSR_DBLEXC
rfde
#endif

View File

@@ -26,9 +26,7 @@ K_KERNEL_STACK_ARRAY_DECLARE(z_interrupt_stacks, CONFIG_MP_MAX_NUM_CPUS,
static ALWAYS_INLINE void arch_kernel_init(void)
{
#ifdef CONFIG_SOC_PER_CORE_INIT_HOOK
soc_per_core_init_hook();
#endif /* CONFIG_SOC_PER_CORE_INIT_HOOK */
}
void xtensa_switch(void *switch_to, void **switched_from);

View File

@@ -677,17 +677,20 @@ _Level\LVL\()Vector:
.if \LVL == 1
/* If there are any TLB misses during interrupt handling,
* the user/kernel/double exception vector will be triggered
* to handle these misses. This results in DEPC and EXCCAUSE
* being overwritten, and then execution returned back to
* this site of TLB misses. When it gets to the C handler,
* it will not see the original cause. So stash
* the EXCCAUSE here so C handler can see the original cause.
* to handle these misses. This results in DEPC, EXCCAUSE
* and EXCVADDR being overwritten, and then execution returned
* back to this site of TLB misses. When it gets to the C handler,
* it will not see the original cause. So stash the EXCCAUSE
* and EXCVADDR here so C handler can see the original cause.
*
* For double exception, DEPC in saved in earlier vector
* code.
*/
wsr a0, ZSR_A0SAVE
rsr.exccause a0
wsr a0, ZSR_EXCCAUSE_SAVE
esync
rsr a0, ZSR_DEPC_SAVE
@@ -717,24 +720,41 @@ _Level\LVL\()Vector:
j _TripleFault
_not_triple_fault:
rsr a0, ZSR_A0SAVE
.endif
#endif
addi a1, a1, -___xtensa_irq_bsa_t_SIZEOF
#ifdef CONFIG_XTENSA_MMU
.if \LVL == 1
/* Save EXCVADDR register needed for handling the exception
* as this register can be overwritten during nested
* exceptions. It has to be saved first, because
* executing the store instruction may trigger a
* TLB miss, which will modify its value.
*/
rsr.excvaddr a0
s32i a0, a1, ___xtensa_irq_bsa_t_excvaddr_OFFSET
rsr a0, ZSR_A0SAVE
.endif
#endif
s32i a0, a1, ___xtensa_irq_bsa_t_a0_OFFSET
s32i a2, a1, ___xtensa_irq_bsa_t_a2_OFFSET
s32i a3, a1, ___xtensa_irq_bsa_t_a3_OFFSET
/* Save registers needed for handling the exception as
* these registers can be overwritten during nested
#ifdef CONFIG_XTENSA_MMU
.if \LVL != 1
#endif
/* Save register needed for handling the exception as
* this register can be overwritten during nested
* exceptions.
*/
rsr.exccause a0
s32i a0, a1, ___xtensa_irq_bsa_t_exccause_OFFSET
rsr.excvaddr a0
s32i a0, a1, ___xtensa_irq_bsa_t_excvaddr_OFFSET
#ifdef CONFIG_XTENSA_MMU
.endif
#endif
/* Level "1" is the exception handler, which uses a different
* calling convention. No special register holds the

View File

@@ -48,7 +48,7 @@
pinctrl-names = "default";
eastrising_72x40: ssd1306@3c {
compatible = "solomon,ssd1306fb";
compatible = "solomon,ssd1306";
reg = <0x3c>;
width = <72>;

View File

@@ -1,4 +1,4 @@
set ESP_RTOS none
set ESP_RTOS Zephyr
source [find interface/esp_usb_jtag.cfg]

View File

@@ -43,7 +43,8 @@ Hardware
- DMA Controller
More information about STM32F427VIT6 can be found here:
- `STM32F427 on www.st.com`_
- `STM32F427 on www.st.com`_
Supported Features
==================

View File

@@ -67,8 +67,9 @@ Hardware
- Bluetooth LE over SPI, provided by nRF51822
More information about STM32F401RE can be found here:
- `STM32F401RE on www.st.com`_
- `STM32F401 reference manual`_
- `STM32F401RE on www.st.com`_
- `STM32F401 reference manual`_
Supported Features
==================

View File

@@ -80,6 +80,7 @@
mul-n = <192>;
div-r = <3>;
div-q = <4>;
post-div-q = <1>;
clocks = <&clk_hse>;
status = "okay"; /* 48MHz on PLLI2SQ */
};

View File

@@ -110,16 +110,19 @@ exposed via on-board Micro USB connector. Default settings are 115200 8N1.
The default USART mappings for the remaining ones are:
- USART1: Connected to AP via UART0 on the 96Boards Low-Speed Header.
- TX: PA9
- RX: PA10
- TX: PA9
- RX: PA10
- USART2: Connected to D0(RX) and D1(TX) on the Arduino Header.
- TX: PD5
- RX: PD6
- TX: PD5
- RX: PD6
- USART3: Broken out to Grove connector J10.
- TX: PD8
- RX: PD9
- TX: PD8
- RX: PD9
I2C
---

View File

@@ -5,7 +5,7 @@
*/
/dts-v1/;
#include <nordic/nrf9160ns_sica.dtsi>
#include <arm/nordic/nrf9160_ns_sica.dtsi>
#include "actinius_icarus_common.dtsi"
/ {

View File

@@ -5,7 +5,7 @@
*/
/dts-v1/;
#include <nordic/nrf9160ns_sica.dtsi>
#include <arm/nordic/nrf9160_ns_sica.dtsi>
#include "actinius_icarus_bee_common.dtsi"
/ {

View File

@@ -5,7 +5,7 @@
*/
/dts-v1/;
#include <nordic/nrf9160ns_sica.dtsi>
#include <arm/nordic/nrf9160_ns_sica.dtsi>
#include "actinius_icarus_som_common.dtsi"
/ {

View File

@@ -5,7 +5,7 @@
*/
/dts-v1/;
#include <nordic/nrf9160ns_sica.dtsi>
#include <arm/nordic/nrf9160_ns_sica.dtsi>
#include "actinius_icarus_som_dk_common.dtsi"
/ {

View File

@@ -27,7 +27,7 @@
led1: led_1 {
label = "TFT Backlight";
gpios = <&gpio1 45 GPIO_ACTIVE_HIGH>;
gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
};
};
@@ -46,8 +46,8 @@
mipi_dbi {
compatible = "zephyr,mipi-dbi-spi";
spi-dev = <&spi2>;
dc-gpios = <&gpio1 39 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 40 GPIO_ACTIVE_LOW>;
dc-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
write-only;
#address-cells = <1>;
#size-cells = <0>;

Some files were not shown because too many files have changed in this diff Show More