Commit graph

136,983 commits

Author SHA1 Message Date
Aiden Hu
376d2c3139 usb: uvc: update header for UVC 1.5 compliance
Add input terminal descriptor and CS descriptor header and
extend frame descriptor fields (buffer size, default interval)

Signed-off-by: Aiden Hu <weiwei.hu@nxp.com>
Co-authored-by: Aiden Hu <weiwei.hu@nxp.com>
Signed-off-by: Josuah Demangeon <josuah.demangeon@nordicsemi.no>
2026-02-09 16:12:00 -06:00
Josuah Demangeon
9fd1afc6f9 usb: uvc: use max host/device for MAX_FRMIVAL
Compute the maximum of the CONFIG_USBD_VIDEO_MAX_FRMIVAL and
CONFIG_USBH_VIDEO_MAX_FRMIVAL for struct definition, so that
the same struct can be relevant for both host and device
implementation.

Signed-off-by: Josuah Demangeon <josuah.demangeon@nordicsemi.no>
Signed-off-by: Aiden Hu <weiwei.hu@nxp.com>
Co-authored-by: Aiden Hu <weiwei.hu@nxp.com>
2026-02-09 16:12:00 -06:00
Josuah Demangeon
6e5195879f tests: usb: uvc: connect USB device and host via UVB
Add a test to run the USB Video Class host support by using
the existing Zephyr USB Video Class device support.
This allows running implementing the host side from the device side.
A draft implementation of UVC is added leveraging this test.

Signed-off-by: Josuah Demangeon <josuah.demangeon@nordicsemi.no>
2026-02-09 16:12:00 -06:00
Josuah Demangeon
69d9f133c4 usb: host: uvc: placeholder implementation
Loop through each of the VideoStreaming and VideoControl descriptor
to parse them. This is meant as a stub for the purpose of testing the
class API.

Signed-off-by: Josuah Demangeon <josuah.demangeon@nordicsemi.no>
2026-02-09 16:12:00 -06:00
Damian Krolik
47f1e8dcef scripts: coredump: fix Python exception
The coredump parsing script raises an exception as it tries
to format bytes objects as integer (":d").

This is a regression from a recent PR fxing ruff warnings.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
2026-02-09 12:02:37 -06:00
Emil Gydesen
60f175c2ed MAINTAINERS: Move shell/usb_audio.overlay to Audio
Add the file to the LE Audio group and remove from
the host group.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-09 12:02:09 -06:00
Tomi Fontanilles
002af3538d MAINTAINERS: remove tomi-font from GNSS collaborators
I'm not active anymore in this area.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-02-09 12:01:56 -06:00
Daniel Leung
f623a44326 MAINTAINERS: add ACE counter drivers to Intel Xtensa Platforms
This adds the ACE counter drivers and Kconfig to the file list
under Intel Audio DSP platform (aka Intel Xtensa platforms).

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2026-02-09 12:01:44 -06:00
Vytautas Virvičius
597ec0d8ff modem: backends: uart async close fix
This fixes an issue where the modem pipe is declared closed before it
actually is closed, leading to issues when you try to re-open quickly.

Signed-off-by: Vytautas Virvičius <vytautas@virvicius.dev>
2026-02-09 12:01:33 -06:00
Mathieu Choplain
3d03c55e1d llext: define global mutex using K_MUTEX_DEFINE
Use the appropriate macro K_MUTEX_DEFINE to define the global `llext_lock`
mutex instead of declaring it like a regular variable initialized
using the internal Z_MUTEX_INITIALIZER() helper.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-09 12:01:01 -06:00
Serhiy Katsyuba
cffdd31bd8 MAINTAINERS: Add serhiy-katsyuba-intel as a collaborator
Adds serhiy-katsyuba-intel as a collaborator for Intel ADSP platforms.

Signed-off-by: Serhiy Katsyuba <serhiy.katsyuba@intel.com>
2026-02-09 12:00:39 -06:00
Alberto Escolar Piedras
52b88ec762 samples: nxp RT700: Fix twister sample definition
Fixes:
* If a sample is only meant for one platform, we need to use
  platform_allow to filter it to only be built for that platform.
  Using integration_platforms only limits when its built when twister
  is called with --integration (for ex. in PRs CI).
  Remove unnecessary SOC filter after limiting what it is built on.
* Each separate sample.yaml defines a fully separate sample from
  twister's point of view. Sysbuild child images folders should not
  have a separate sample.yaml, but just be built by the parent sample
  sysbuild cmake code.
  (Also, the filters in those images were off, and twister was trying
  to build them for too many platforms).

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-02-09 12:00:23 -06:00
Krzysztof Chruściński
a9aa4f2b90 snippets: nordic-ppr: nordic-ppi-xip: Forward UART interrupt
Forward console UART interrupt to the PPR core.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-02-09 12:00:12 -06:00
Tomasz Chyrowicz
812fc36d59 soc: nrf54h: Fix active partition detection
Change logic from the offset to the absolute address as the
DT_REG_ADDR(..) macro now returns the absolute address and cannot be
compared with the value of the CONFIG_FLASH_LOAD_ADDRESS.

Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
2026-02-09 11:59:42 -06:00
Tomasz Chyrowicz
eddc324953 soc: nrf54h: Fix mcuboot-enabled booting
If MCUboot is enabled, the start address of the radio core firmware is
offset by MCUboot header.
Normally, the header is accounted for by setting the
CONFIG_ROM_START_OFFSET value to match the header size.

Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
2026-02-09 11:59:42 -06:00
Chaitanya Tata
82c4af69ff manifest: nrf_wifi: Pull nRF71 removal
Pull nRF71 removal.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-02-09 11:59:17 -06:00
Chaitanya Tata
7f6d361473 nrf_wifi: Remove nRF71 support
The driver and module now supports nRF70 only, nRF71 support will be
added in the future using a new driver.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-02-09 11:59:17 -06:00
Mathieu Choplain
3754b8fe46 drivers: usb: udc: stm32: dequeue OUT packets before submission
The udc_submit_ep_event() does not document this requirement, but the
`net_buf` provided to it must have been removed from the driver's
internal queue before submission. This wasn't noticed because the list
node member of `net_buf` was untouched, but is now causing list corruption
due to 5137439a47 when multiple packets are
enqueued.

Fix by always dequeuing buffers before submitting them to the UDC stack.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-09 11:58:31 -06:00
Derek Snell
c789a12aec shields: g1120b0mipi: change vendor to NXP
BOE manufactures the display panel.  But G1120B0MIPI is an NXP part
number, designed specifically for NXP evaluation boards, and sold by
NXP.  And the Zephyr shield is supported and maintained by NXP.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2026-02-09 11:58:00 -06:00
Lingao Meng
4364dd9e51 fs: nvs: tighten ATE validation using write order constraints
NVS ATE validation currently relies on CRC8 and coarse boundary checks
against the sector size. Because CRC8 has a non-negligible collision
probability (1/256), a corrupted ATE may occasionally pass CRC
verification while still containing invalid offset or length fields.

Instead of only validating that the referenced data fits within the
sector, this change additionally verifies that the end of the data
region (offset + len) does not exceed the physical position of the ATE
itself.

Due to the append-only write order of NVS, data is always written before
its corresponding ATE. Therefore, any ATE referencing data beyond its
own location is structurally invalid and must be rejected.

This tighter consistency check significantly reduces the likelihood of
accepting corrupted ATEs without introducing additional flash reads or
changing the on-flash format.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2026-02-09 11:57:33 -06:00
Amneesh Singh
70edb64f7d MAINTAINERS: Update files for TI K3 Platforms
- Add TISCI protocol related drivers to the list.
- Add Secure Proxy related files to the list.

Signed-off-by: Amneesh Singh <amneesh@ti.com>
2026-02-09 11:56:48 -06:00
Amneesh Singh
a349fea797 MAINTAINERS: add collaborators for TI K3 platforms
- Add natto1784 (Amneesh Singh) as a collaborator
 - Add Kronosblaster (Dave Paul Joseph) as a collaborator

Signed-off-by: Amneesh Singh <amneesh@ti.com>
2026-02-09 11:56:48 -06:00
Niyas Hameed
5cef6220aa MAINTAINERS: Add collaborators for Microchip Devices
Add mchp-asif, Farsin-Nasar-Microchip, fabin-mchp and sunil-abraham
as collaborators for Microchip SAM/PIC32 devices.

Signed-off-by: Niyas Hameed <niyas.hameed@microchip.com>
2026-02-09 11:56:34 -06:00
Krzysztof Chruściński
44bbc13394 drivers: serial: nrfx_uarte: Handle unexpected RXTO events
In some cases UARTE peripheral is generating RXTO events together with
ENDRX events. Those events are unexpected and should not be handled.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-02-09 15:59:02 +01:00
Krzysztof Chruściński
c6ea4a77f2 soc: nordic: nrf54l: Remove UART RXTO workaround Kconfig
Workaround has been reverted and different approach is taken.
Removing UART_NRFX_UARTE_SPURIOUS_RXTO_WORKAROUND from nrf54lm20a
Kconfig.defconfig.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-02-09 15:59:02 +01:00
Krzysztof Chruściński
13e4b7a3ff Revert "drivers: serial: nrfx_uarte: Workaround for spurious RXTO during restart"
This reverts commit c58ae7467b.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-02-09 15:59:02 +01:00
Piotr Kosycarz
7e5c3601c3 tests: subsys: ipc: ipc_sessions: fix tags
Use yaml list explicit.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2026-02-09 15:58:30 +01:00
Piotr Kosycarz
06aa8847f0 tests: arch: common: interrupt: make tags common
This will quarantee all configuration has tag.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2026-02-09 15:58:30 +01:00
Piotr Kosycarz
49d01a37f7 samples: drivers: uart: async_api: make tags common
This will quarantee all configuration has tags.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2026-02-09 15:58:30 +01:00
Piotr Kosycarz
57432fa59d samples: drivers: display: use common tag
This will quarantee that all configuration has some tag.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2026-02-09 15:58:30 +01:00
Piotr Kosycarz
3bd2f123ac samples: subsys: usb: uvc: fix tags
Use yaml list explict, make tags common.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2026-02-09 15:58:30 +01:00
Rick Overhorst
5f9756e9ae dts: arm: st: Add stm32u375
Add stm32u375 SoC DTSI file.

Signed-off-by: Rick Overhorst <r.overhorst@robor.nl>
2026-02-09 15:57:00 +01:00
Rick Overhorst
fecc86e22d soc: st: stm32: Add stm32u375
Add stm32u375 SoC.

Signed-off-by: Rick Overhorst <r.overhorst@robor.nl>
2026-02-09 15:57:00 +01:00
Fabian Blatz
cbc1c58e28 drivers: timer: stm32wb0: Prevent building for WB06/07 if PM enabled
Prevents building the driver entirely if the PM symbol is selected instead
of erroring out via a compiler pragma.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2026-02-09 15:56:28 +01:00
Guillaume Gautier
e3bb186e4b dts: bindings: usb: stm32: update binding description
Now that STM32WBA6 also uses the st,stm32n6-otghs compatible, reword the
description to better fit its use.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-02-09 15:55:09 +01:00
Guillaume Gautier
90b324424f west.yml: update hal_stm32 revision
Update hal_stm32 revision so that SPI pinctrl are configured with a
very-high-speed slew rate by default.

Rename debug_jtrst_pb4 to debug_njtrst_pb4 for U5 and WBA. For WBA65,
remove the now useless swj_port redefinition.

For WBA65, remove the USB OTG pinctrl. As per RefMan RM0515, "PD6 and PD7
provide USB OTG_HS functions, but they cannot be used for any other
function, including GPIO. When USB OTG_HS is not used, PD6 and PD7 must be
kept in analog mode."
Change the compatible to the N6 one which do not require pinctrl.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-02-09 15:55:09 +01:00
Gaetan Perrot
a43978d22b drivers: i2c: ll_stm32_v2_rtio: Refactor target config matching logic
Rewrites the logic used to select the matching target config during address
match events.

Handles 7-bit and 10-bit modes more clearly, adds fallback to slave2_cfg
if slave_cfg is NULL, and reduces nesting.

Fixes a case where the primary target (slave_cfg) could be unregistered
before an address match interrupt fires, which could lead to a null
pointer dereference.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-02-09 15:41:34 +01:00
Gaetan Perrot
086671be27 drivers: i2c: ll_stm32_v2: Refactor target config matching logic
Rewrites the logic used to select the matching target config during address
match events.

Handles 7-bit and 10-bit modes more clearly, adds fallback to slave2_cfg
if slave_cfg is NULL, and reduces nesting.

Fixes a case where the primary target (slave_cfg) could be unregistered
before an address match interrupt fires, which could lead to a null
pointer dereference.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-02-09 15:41:34 +01:00
Aksel Skauge Mellbye
bf4591b4bc drivers: gpio: silabs: Set port_pin_mask from Devicetree
Set `port_pin_mask` in the GPIO driver for Silicon Labs Series 2
based on Devicetree `ngpios` and `gpio-reserved-ranges`. This
mask is used to validate that the pin numbers passed to the GPIO
API are valid on a given device.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-02-09 13:32:07 +01:00
Aksel Skauge Mellbye
25bc5247c6 dts: arm: silabs: Add ngpios and gpio-reserved-ranges for s2
Declare `ngpios` and `gpio-reserved-ranges` in Devicetree for
Series 2 devices.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-02-09 13:32:07 +01:00
Thomas Decker
7d0764387b drivers: clk: stm32_ll_h7: Add stm32_clock_control_get_status function
Add stm32_clock_control_get_status() function needed by flash_stm32_xspi
driver for handling XiP.

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2026-02-09 13:31:19 +01:00
Thomas Decker
a88a01c901 drivers: flash: stm32_xspi: Remove hard-coded XSPI2 dependency
Check the used XSPIx peripheral before calling the corresponding function
instead of hard-coded calling the LL_PWR_EnableXSPIM2() and
LL_SBS_EnableXSPI2SpeedOptim() during flash_stm32_xspi_init(...).

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2026-02-09 13:30:52 +01:00
Tomasz Chyrowicz
0e99df3ca8 dts: Handle phandles in cmake
Add a possibility to use phandles values in CMake.

Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
2026-02-09 13:30:23 +01:00
Carlo Caione
e0db516c93 tests: drivers: lora: add native SX126x build test
Add build test for the native SX126x driver using
CONFIG_LORA_MODULE_BACKEND_NONE.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-02-09 13:29:42 +01:00
Carlo Caione
92e4ffeb00 samples: drivers: lora: add native driver build tests
Add build-only test variants for the native SX126x driver to the lora
send and receive samples. These use CONFIG_LORA_MODULE_BACKEND_NONE
with the semtech_sx1261mb2bas shield on nrf52840dk.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-02-09 13:29:42 +01:00
Carlo Caione
c575e648e9 drivers: lora: add native SX126x driver
Add a native Zephyr driver for Semtech SX1261/SX1262 LoRa transceivers that
does not depend on external modules (loramac-node or lora-basics-modem).

The driver is experimental and must be explicitly enabled by selecting
CONFIG_LORA_MODULE_BACKEND_NONE.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-02-09 13:29:42 +01:00
The Nguyen
4f55402630 drivers: udc: renesas: support DCP auto status mode
Add DCP auto status support and update the control stage update
sequence to adapt with hardware auto response mode

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-02-09 13:28:02 +01:00
The Nguyen
48e3ca5a9f manifests: update hal_renesas rev to latest
Update hal_renesas rev to add USB auto response mode support

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-02-09 13:28:02 +01:00
Pavel Kohout
d7bf4ec707 drivers: ethernet: e1000: fix TX and RX buffer sizing
The e1000 Ethernet driver TX staging buffer is sized to NET_ETH_MTU
(1500 bytes), but the Ethernet L2 layer prepends headers (14 bytes
standard, 18 bytes with VLAN) before calling the driver's send function.
When transmitting MTU-sized packets, net_pkt_get_len() returns the full
L2 frame size (up to 1514+ bytes), causing a 14-18 byte out-of-bounds
write into adjacent RX buffers. This is remotely triggerable by inducing
large TX responses such as ICMP echo replies.

The RX staging buffer has the same issue - it is sized to NET_ETH_MTU
but receives complete L2 frames from the network which include headers.

Fix by sizing both TX and RX buffers to NET_ETH_MAX_FRAME_SIZE and
adding a defensive bounds check to the TX path.

Signed-off-by: Pavel Kohout <pavel.kohout@aisle.com>
2026-02-09 11:17:37 +01:00
Shreya Kulkarni
3b98cce4f2 drivers: crypto: ataes132a: fix multiple Coverity defects
Addressed stability and security issues identified by Coverity in
the ATaes132a crypto driver:

- CID 434625: Added range validation for 'count' to prevent tainted
  scalar usage and buffer underflow in response processing.
- CID 487700 & 487763: Implemented overflow guards for 'buf_len' to
  prevent integer overflow and type truncation when calling
  ataes132a_send_command.
- CID 487746: Applied explicit type casting to CRC calculations to
  satisfy static analysis regarding integer promotion.

Signed-off-by: Shreya Kulkarni <kulkarnishreya2421@gmail.com>
2026-02-09 11:17:12 +01:00