Commit graph

136,983 commits

Author SHA1 Message Date
Alberto Escolar Piedras
14d8dc2494 boards: native_sim: Switch fuse installation instructions to v3
Switch libfuse installation instructionts to guide people to install v3
of the library by default, and be explicit about this v3 being the one
that will try to be used by default.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-09 14:27:00 +01:00
Alberto Escolar Piedras
4040759702 fs: fuse: Switch to use v3 of libfuse by default
Support for using v3 of the FUSE library instead of v2 was added in
b86e52bd6f
As time has been passing more distros are removing v2 support, and at
this point probably all include the v3 in their package repos.

So, let's switch the default to v3.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-09 14:27:00 +01:00
Camille BAUD
9a8265c28f arch: riscv: thead: fence is insufficient to fence data cache
Using only the fence instruction to gate the management of data in cache
is insufficient to prevent unordered access after flushing in some cases.
Gate dcache instructions like icache instructions.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-03-09 14:20:55 +01:00
Jerome LAMY
3c0cdf8457 shields: add MikroE ACCEL 4 Click shield
Adds support for the MikroE ACCEL 4 Click shield

Signed-off-by: Jerome LAMY <jerome.lamy@savoirfairelinux.com>
2026-03-09 14:12:52 +01:00
Tamas Jozsi
7ec3d18e29 boards: shields: add shield/driver for the Arduino Modulino Latch Relay
Adds support for the Modulino Latch Relay I2C/QWIIC board.
Adds an example which turns a connected relay on/off periodically.

Signed-off-by: Tamas Jozsi <tamas.jozsi@silabs.com>
2026-03-09 14:12:03 +01:00
Tamas Jozsi
f10a9d3e95 samples: regulator: add regulator shell sample
Introduces a new regulator shell sample which can be used to control
regulator devices from the shell interactively.

Signed-off-by: Tamas Jozsi <tamas.jozsi@silabs.com>
2026-03-09 14:12:03 +01:00
Sara Touqan
a09a8269c3 dts: bindings: mtd: add mxicy,mx25u flash binding
this commit adds a devicetree binding for Macronix MX25U
series Octal SPI NOR flash devices.

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
2026-03-09 14:10:07 +01:00
Sara Touqan
eb1756eb3a samples: mspi: flash: Enable mxicy,mx25u support in stm32 boards' overlays
This commit adds the "mxicy,mx25u" compatible to STM32 MSPI flash sample
board overlays.

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
Signed-off-by: Sarah Younis <zephyr@exalt.ps>
2026-03-09 14:10:07 +01:00
Sara Touqan
47606d23c3 drivers: mspi: stm32: Simplify XSPI/OSPI dev_config() flow
this commit removes mspi_stm32_xspi_config_mem() and
mspi_stm32_ospi_config_mem() from their respective
*_dev_config() implementations.

we could remove these configurations by enabling mxicy,mx25u
compatible in STM32 board overlays. This compatible activates
the flash_quirks_mxicy_mx25u entry defined in
flash_mspi_nor_quirks.h
This quirks structure implements the required flash-specific
configuration, so XSPI/OSPI driver configuration flow could be
simplified.

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
Signed-off-by: Sarah Younis <zephyr@exalt.ps>
2026-03-09 14:10:07 +01:00
Lu Jia
f36da9cb7d bluetooth: avrcp: Fix AVRCP notification failure
When calling bt_avrcp_ct_register_notification,
it sets ct->ct_notify[event_id].cb = cb.
In process_register_notification_rsp, it clears the callback
by setting ct->ct_notify[event_id].cb = NULL. However, when
the connection is disconnected, the callback
ct->ct_notify[event_id].cb is not set to NULL , causing
subsequent notification registrations to fail immediately with
an error because the callback pointer is still active.
Similarly, this issue also exists in the AVRCP TG.

Signed-off-by: Lu Jia <jialu@xiaomi.com>
2026-03-09 14:08:14 +01:00
Muhammad Waleed Badar
1287919e64 doc: develop: manifest: external: add requests library
Add a new external module page for requests. The page introduces
requests and documents how to add it via west.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-03-09 14:06:02 +01:00
Mark Wang
48f0e505b3 bluetooth: classic: avdtp: fix the early callback of stream established
Refactored the Stream End Point (SEP) callback mechanism to use a
unified bt_avdtp_sep_ops structure instead of individual function
pointers. This change consolidates the connected, disconnected, and
media_data_cb callbacks into a single operations structure. The stream
established callback should be called when the stream l2cap is
connected not the open cmd is finished.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2026-03-09 14:04:20 +01:00
Tim Pambor
e7c454caf8 drivers: dma: stm32u5: remove unused function
Remove a unused function that causes a warning when building.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-09 11:09:36 +01:00
Aksel Skauge Mellbye
e829ee94d3 dts: arm: silabs: Use automatic PA selection
Use automatic selection of the best PA on Series 2 SoCs.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-03-09 11:08:52 +01:00
Aksel Skauge Mellbye
514084396c modules: hal_silabs: Use RAIL 3.0 PA configuration
Use sl_rail_util_pa_conversions on Series 2 SoCs.
Modules still use legacy pa_conversions.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-03-09 11:08:52 +01:00
Aksel Skauge Mellbye
0c6c67a984 manifest: Update hal_silabs reference
Update hal_silabs to include RAIL 3.0 utility APIs.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-03-09 11:08:52 +01:00
Aksel Skauge Mellbye
a30340fcf6 drivers: bluetooth: hci: silabs: Migrate to RAIL 3.0 API
Use RAIL 3.0 API to configure sleep in EFR32 HCI driver.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-03-09 11:08:52 +01:00
Aksel Skauge Mellbye
5ceadcb8dd dts: arm: silabs: Declare max PA output power
Add `pa-max-power-dbm` property to Devicetree radio node.
Set the property to the appropriate value on all Series 2 SoCs.

Add additional options for 2.4 and sub-GHz PAs.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-03-09 11:08:52 +01:00
Alain Volmat
1b0da8b118 boards: st: use configdefault for I2C_STM32_V2_TIMING
I2C_STM32_V2_TIMING config has dependencies hence use
configdefault when setting in within Kconfig.defconfig
files.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-03-09 11:07:45 +01:00
Alain Volmat
f8f012d627 boards: st: make MEMC enabling explicit to LTDC instead of DISPLAY
In several ST boards, MEMC is currently enabled depending on DISPLAY.
While this is correct based on the default dts file, the real
dependency is LTDC which defines within the dts file its framebuffer
into a memory accessible via the MEMC hence make this dependency
explicit by indicating STM32_LTDC instead of DISPLAY.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-03-09 11:07:45 +01:00
Seweryn Roznowski
108f33598e dts: stm32: can: Fixed missing master-can parameter
dtsi for stm32f207 was missing a parameter as described in #104523

Signed-off-by: Seweryn Roznowski <Seweryn.Roznowski@gmail.com>
2026-03-09 11:06:49 +01:00
Carlo Caione
18ead6a5ee drivers: lora: sx126x: add Kconfig for conditional sleep mode
Add CONFIG_LORA_SX126X_NATIVE_SLEEP (default y) to allow disabling
sleep mode power management. When disabled, the radio stays in
standby for faster response times at the cost of higher idle current.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-03-09 11:06:29 +01:00
Carlo Caione
be682b5257 drivers: lora: sx126x: add sleep mode power management
Place the SX126x radio into sleep mode whenever it is not actively
transmitting or receiving.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-03-09 11:06:29 +01:00
Carlo Caione
5966427a22 drivers: lora: sx126x: fix async RX callback error handling
Two fixes for the async RX path:

1. Only invoke the user callback for valid packets.

2. Re-check rx_cb != NULL before restarting RX. The user's callback may
   call lora_recv_async(dev, NULL) to stop reception.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-03-09 11:06:29 +01:00
Carlo Caione
e5c9889d57 drivers: lora: sx126x: fix SPI transfer for correct read/write behavior
Fix three issues in the spi_transfer() helper:

1. pass NULL instead of the data pointer so the SPI driver sends dummy
   bytes during reads rather than the caller's buffer contents (usually
   rubbish)

2. unify TX and RX buf_set count. The old logic used different counts for
   TX and RX, which caused a length mismatch when data_len > 0 on reads.

3. pass NULL for the rx buf_set on write operations. The chip's MISO output
   during command writes is undefined, so a full-duplex transceive is only
   needed for reads.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-03-09 11:06:29 +01:00
Zhaoxiang Jin
0dc65d097c doc: shell: add ADC shell commands to documentation
Add documentation for ADC shell commands in the shell services index.
This includes the general ADC shell commands (CONFIG_ADC_SHELL) and
the ADC emulator shell commands (CONFIG_ADC_EMUL_SHELL).

The ADC emulator shell requires both CONFIG_ADC_EMUL and
CONFIG_ADC_EMUL_SHELL to be enabled.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-09 11:05:50 +01:00
Zhaoxiang Jin
d6168d4d3e drivers: adc: add shell commands for ADC emulator
Add shell commands for the ADC emulator driver (zephyr,adc-emul) to
allow runtime configuration of emulated ADC values during testing and
development.

The new shell commands support:
- Setting constant raw ADC codes for a channel
- Setting constant input voltage in millivolts for a channel

Commands are dynamically populated with available ADC emulator devices
from the devicetree. This enables interactive testing of ADC-dependent
code without requiring physical hardware or signal generators.

Example usage:
  adc_emul <device> raw <channel> <value>
  adc_emul <device> mv <channel> <millivolts>

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-09 11:05:50 +01:00
Zhaoxiang Jin
8f1dfd5fb3 drivers: adc: emul: allow differential mode with warning
Change the ADC emulator driver to accept differential mode configuration
instead of rejecting it with -ENOTSUP. When differential mode is requested,
the driver now logs a warning that samples are provided as raw codes and
continues operation.

This allows testing of ADC configurations that use differential mode
without requiring the emulator to implement full differential conversion
logic. The raw code values can still be set via shell commands or API
calls for testing purposes.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-09 11:05:50 +01:00
Piotr Kosycarz
5cf946c584 tests: drivers: adc: adc_accuracy_test: update accuracy for nrf52840
3V buck voltage has 2% accuracy, thus align expectations.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2026-03-09 08:36:54 +01:00
Flavio Ceolin
9bed438397 doc: release/4.3: Disclose CVE-2026-1678
Disclose information about published CVE.

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2026-03-09 08:36:25 +01:00
Flavio Ceolin
d13a8c7537 doc: security: Disclose CVE-2026-1678
Disclose information about published CVE

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2026-03-09 08:36:25 +01:00
Stephanos Ioannidis
d0c2f51f81 tests: debug: gdbstub: Handle inlined k_thread_abort case
The `k_thread_abort` syscall may be inlined, in which case setting a
breakpoint on `k_thread_abort` can result in breakpoints at multiple
locations being set (i.e. Breakpoint 3.1, 3.2, ...).

This commit updates the test regex to handle this case.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2026-03-08 22:02:43 -04:00
James Bennion-Pedley
ca40852715 maintainers: add James Bennion-Pedley as WCH maintainer
Adding myself as a maintainer in preparation for a
few new boards/peripherals that have been requested.

Signed-off-by: James Bennion-Pedley <james@bojit.org>
2026-03-08 22:01:35 -04:00
Scott Shawcroft
a9f43dc0f6 drivers: Make AT24 emulator ACK zero length write
Zero length writes can be used for scanning addresses.
Confirmed with a real device.

Signed-off-by: Scott Shawcroft <scott@adafruit.com>
2026-03-08 22:01:21 -04:00
Valerio Setti
c8636fe33b MAINTAINERS: add maintainers for tf-psa-crypto and mbedtls-framework
Adding:
- ceolin
- valeriosetti
- tomi-font

as maintainers for the newly created tf-psa-crypto and mbedtls-framework
repos.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-03-08 22:01:07 -04:00
Pieter De Gendt
2c4eb60d9c MAINTAINERS: Remove inactive networking collaborator
Remove ssharks as collaborator due to inactivity.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-08 22:00:56 -04:00
Hake Huang
bd5e3f52cd tests: twister: add west_flash_cmd mock
add west_flash_cmd for debug testing

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2026-03-08 22:00:45 -04:00
Hake Huang
b69a35d02a tests: scripts: add west debug support in twister
in some multi-core platform, `west flash` can not support all cores.
`west debug` is supported to test secondary core, add this to twister
such as with
`--west-flash-cmd=debug` in twister command
or with
`--west-flash-cmd: debug` in hwmap.yaml

and same with pytest

command line setting will overrid the one in hwmap

Signed-off-by: Hake Huang <hake.huang@nxp.com>
Co-authored-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2026-03-08 22:00:45 -04:00
Henrik Brix Andersen
fb350217cc kernel: Kconfig.device: fix CONFIG_DEVICE_DEINIT_SUPPORT help text
Drivers supporting device deinitialization should not select
CONFIG_DEVICE_DEINIT_SUPPORT. Enabling deinit should be left up to the
application configuration.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-03-08 16:36:39 +01:00
Alex Kar
6c3491a807 drivers: i2c: sam_twihs: Lock bus when transfering data
Added bus locking for sam_twihs in the same manner as #46111.

Signed-off-by: Alex Kar <github@alexkar598.dev>
2026-03-08 16:36:28 +01:00
Martí Bolívar
58c5f5f800 doc: mention #address- and #size-cells changes for release
Document changes related to the handling of these special properties.

Signed-off-by: Martí Bolívar <marti.bolivar@oss.qualcomm.com>
2026-03-08 16:36:20 +01:00
Martí Bolívar
86d0176f5f scripts: dts: verify default #address- and #size-cells are forbidden
Make sure that we don't allow bindings which manually
specify any defaults for the #address-cells or #size-cells
properties. See DTSpec 2.3.5.

Signed-off-by: Martí Bolívar <marti.bolivar@oss.qualcomm.com>
2026-03-08 16:36:20 +01:00
Martí Bolívar
97431a02cc scripts: dts: forbid #address- and #size-cells defaults
The devicetree specification section 2.3.5 says:

    The #address-cells and #size-cells properties are not inherited
    from ancestors in the devicetree. They shall be explicitly
    defined.

    A DTSpec-compliant boot program shall supply #address-cells and
    #size-cells on all nodes that have children.

    If missing, a client program should assume a default value of 2
    for #address-cells, and a value of 1 for #size- cells.

We are currently allowing defaults -- and notably, different defaults
from those recommended in the spec -- in the zephyr bindings for these
properties to pass without complaint.

Further, allowing the user to specify a default other than the
recommendations by the spec would be a bad design decision in my
opinion.

Handle this by erroring out explicitly when we try to set these
defaults in a binding. It's fine for people to do things like define
descriptions for these properties in a binding for some specific
compatible, but it's a footgun to allow bindings that would seem to
allow overruling the specification's explicit recommendation.

Signed-off-by: Martí Bolívar <marti.bolivar@oss.qualcomm.com>
2026-03-08 16:36:20 +01:00
Brett Peterson
510c92f38e samples: drivers: audio: dmic: PSE84 support
Adding PSE84 overlay for the dmic sample. Adding a kconfig option to
select a hardware channel index other than 0.

Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
2026-03-08 16:36:07 +01:00
Brett Peterson
a619440e76 tests: drivers: audio: dmic_api test update and PSE84 support
Adding PSE84 overlay to the dmic_api test and adding a kconfig option to
select a hardware channel index other than 0.

Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
2026-03-08 16:36:07 +01:00
Brett Peterson
182c0f8dd2 drivers: audio: dmic: Adding new dmic driver for PSE84
Adds a DMIC driver for the PSE84 devices based on the PDL PDM-PCM
driver.

Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
2026-03-08 16:36:07 +01:00
Brett Peterson
79480e3567 tests: drivers: dma: scatter_gather: infineon device support
Updating PSE84 and PSC3 conf files to set the per-channel descriptor
count. This is needed after a change to the infineon DMA driver that
removed a shared descriptor pool.

Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
2026-03-08 16:36:07 +01:00
Brett Peterson
8a9b6fde49 drivers: dma: infineon driver descriptor config
Adding a way to configure x-loop increments greater than 1.
Fixing an issue where DMA descriptors that were allocated from a shared
pool were never freed.

Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
2026-03-08 16:36:07 +01:00
Maximilian Zimmermann
ea576f79ad tests: drivers: fwcfg: added multiple tests for the new fwcfg driver
Add tests for the fwcfg driver for qemu_x86, qemu_cortex_a53 and
qemu_riscv64. This includes driver instancing, feature discovery,
read path as well as error handling.

Signed-off-by: Maximilian Zimmermann <gitmz@posteo.de>
2026-03-08 16:35:53 +01:00
Maximilian Zimmermann
c573dfdb65 drivers: firmware: add new fwcfg driver for QEMU
This PR adds a new driver for the QEMU Firmware Configuration Device.
It implements the device for both X86 and MMIO architectures (e.g. ARM).
It also supports the DMA interface for write support.

Signed-off-by: Maximilian Zimmermann <gitmz@posteo.de>
2026-03-08 16:35:53 +01:00