Commit graph

136,983 commits

Author SHA1 Message Date
Emil Gydesen
b3088f630b doc: releases: Add entry for unicast_to_broadcast_created
Add entry for new struct member
bt_cap_handover_cb.unicast_to_broadcast_created

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-04 13:35:48 +01:00
Emil Gydesen
0c354b1573 Bluetooth: CAP: Handover: Add broadcast_created callback
Add a new callback for when the broadcast source has been
created. This callback is useful for the application to
configure the periodic advertising with the BASE of the
broadcast source. Configuring and starting the
periodic advertising with the BASE at that point in time
may optimize how quickly the procedure can be completed.

A callback was chosen, rather than having the stack set
up the data itself, because that the application may
want to add additional data in the periodic advertising,
and thus the owner of the data should be the application,
and not the stack.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-04 13:35:48 +01:00
Khoa Nguyen
e1777ea053 dts: arm: renesas: Remove system node for Renesas RA
Since the system node has not been used for a long time,
it should be removed to allow other peripheral nodes to define
the register without being child nodes of the system node.

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-03-04 11:44:34 +01:00
Swamidas Nampalli
0b0ba61730 drivers: wifi: siwx91x: set interface dormant on WiFi connection failure
IPv6 addresses were not being removed when WiFi connection fails
from the AP side (STATE_UNASSOCIATED). This causes stale IPv6
addresses to remain on the interface, preventing proper cleanup
and potentially causing issues on subsequent connection attempts.

Set the network interface to dormant state when STATE_UNASSOCIATED
is detected in the WiFi module stats event handler. This ensures
that IPv6 addresses are properly cleaned up during connection
failures.

Signed-off-by: Swamidas Nampalli <Swami.Das@silabs.com>
2026-03-04 11:44:31 +01:00
Stephan Linz
76662802fd dts: arm: nxp: lpc55S1x: fix size of reserved flash region
According to NXP AN12949 (2.1.2) and UM11295 (2.1.5/10.1), the size of
the Protected Flash Region (PFR) is 12 KB, located at 0x3d000 to 0x3ffff,
and included in all LPC55S1x/LPC551x devices.

The common DTS include file for all LPC55S1x/LPC551x devices is intended
to provide the maximum flash memory configuration for 256 KB devices and
can therefore only allocate 244 KB for customer-usable flash memory. The
PFR must be 12 KB in size and bound to address 0x3d000.

Signed-off-by: Stephan Linz <linz@li-pro.net>
2026-03-04 11:44:14 +01:00
Canyon Bliss
4bcd589bcf drivers: disk: sdmmc_stm32: Provide erase when sdmmc is used in eMMC mode.
If `CONFIG_SDMMC_STM32_EMMC=y`, the compiler complains about undefined
reference to `HAL_SD_Erase()` because those files are not included in the
build. Unfortunately, if eMMC is installed `CONFIG_SDMMC_STM32_EMMC=n`
is not an option because the SD and eMMC protocols are different enough
that eMMC will not work.

Signed-off-by: Canyon Bliss <canyon@recursivebliss.com>
2026-03-04 11:43:40 +01:00
Muhammad Waleed Badar
312f3a4958 drivers: input: cst816s: add cst820 chip ID
Validate the chip ID using a switch statement, use correct variant
name for chip id macros and add support for CST820_CHIP_ID (0xB7).

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-03-04 11:43:21 +01:00
Arunprasath P
3273788ec5 tests: dma: microchip: Enable DMA tests on pic32cm_pl10_cnano
Add board overlay files for pic32cm_pl10_cnano to enable dma
test cases to run on this board

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2026-03-04 11:43:14 +01:00
Arunprasath P
9b6aedc763 boards: microchip: pic32cm_pl10_cnano: add DMA to supported list
Update pic32cm_pl10_cnano.yml to include DMA in the supported
features list.
Also enable the DMA controller node in pic32cm_pl10_cnano.dts.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2026-03-04 11:43:14 +01:00
Arunprasath P
9c78a61c7a dts: arm: microchip: add DMA node for PIC32CM-PL family devices
Add DMA controller node to enable DMA G2 driver
support on PIC32CM-PL devices.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2026-03-04 11:43:14 +01:00
Arunprasath P
c73aec9bee soc: microchip: pic32cm_pl: add DT helper file
Add DT helper file for PIC32CM-PL family devices to support
SoC-specific device tree definitions and utilities.

Signed-off-by: Arunprasath P <arunprasath.p@microchip.com>
2026-03-04 11:43:14 +01:00
Stefan Schmidt
61c2d9b170 drivers: audio: tlv320dac310x
This PR allows to use the VOL/MICDET pin to control the DAC volume.
See chapter 6.3.10.3 Volume Control Pin of the datasheet.

Signed-off-by: Stefan Schmidt <kontakt@stefanschmidt-embedded.de>
2026-03-04 11:42:51 +01:00
Gerard Marull-Paretas
a9d73390f8 drivers: watchdog: sf32lb: add support for whole reset
Allow users configuring the reset mode (whole chip or HCPU only).

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2026-03-04 11:42:43 +01:00
Gerard Marull-Paretas
2200b12be5 dts: bindings: watchdog: sifli,sf32lb-wdt: require sifli,cfg
So we can configure some HPSYS_CFG fields.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2026-03-04 11:42:43 +01:00
Gerard Marull-Paretas
cc29015da6 drivers: watchdog: sf32lb: configure WDT to be reboot cause
Configure WDT to be a reboot cause.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2026-03-04 11:42:43 +01:00
Gerard Marull-Paretas
32169c9670 dts: bindings: watchdog: sifli,sf32lb-wdt: require PMUC
Because we need to enable some settings in PMUC.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2026-03-04 11:42:43 +01:00
Laura Carlesso
3e72854372 modules: hal_infineon: Get latest mtb-srf and minor changes
Update the module dependency for hal-infineon to
include updates from PR 43.
The new folder structure requires an update in the
CMakeList file for zephyr-ifx-cycfg.

Signed-off-by: Laura Carlesso <laura.carlesso@infineon.com>
2026-03-04 11:42:34 +01:00
Bartlomiej Buczek
ba6d239671 samples: boards: nordic: system_off: Enable nrf54lm20b.
Enable sample for nrf54lm20dk/nrf54lm20b/cpuapp target.

Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no>
2026-03-04 11:42:24 +01:00
Zhaoxiang Jin
fa5649e688 samples: pm: update pm latency sample messages and expectations
1. Update PM latency sample messages to match current
policy semantics where states with
exit_latency_us == max_latency_us remain eligible.

2. Adjust expected state transitions in the sample flow:
 - Under 30ms constraint, 1.3s sleep now expects STANDBY.
 - Under 20ms effective constraint, 1.2s/1.3s sleeps
   expect SUSPEND_TO_IDLE.
 - Under 10ms constraint, sleeps expect RUNTIME_IDLE (not ACTIVE).

3. Update twister console regex expectations with actual runtime logs.
4. Fix final log text expectation from 'Removing latency constraint'
to 'Removing latency constraints'.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-04 11:42:11 +01:00
Zhaoxiang Jin
4c132160c4 tests: pm: policy: add test for 'exit_latency == max_latency'
add a test scenario for exit_latency == max_latency.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-04 11:42:11 +01:00
Zhaoxiang Jin
2e9f09e12d pm: policy: change 'greater than or equal' to 'greater than'
The comment definition for pm_policy_latency_request_add
states: states that exceed the given latency are unavailable.
However, the implementation in pm_policy_latency_update_locked
does not use the greater-than operator, so according to the
semantics, it should be changed to > to be consistent.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-04 11:42:11 +01:00
Benjamin Cabé
ee679b4cbd include: dt-bindings: pinctrl: sifli: Doxygen clean-up
This commit cleans up the Doxygen documentation for the SiFli
pinctrl DT helpers by ensuring documentation is actually helpful and not
just exposing hundreds of otherwise self-describing macros.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-04 11:41:59 +01:00
Zhaoxiang Jin
5800f4e2fe pm: policy: move pm_policy_device_is_disabling_state() declaration
Currently, the declaration of the function
pm_policy_device_is_disabling_state is located
within the CONFIG_PM block in policy.h, so the
function prototype is visible as long as PM is
enabled. However, the implementation only exists
in policy_device_lock.c, which is only compiled
when CONFIG_PM_POLICY_DEVICE_CONSTRAINTS=y.
This causes a situation where when CONFIG_PM=y
and CONFIG_PM_POLICY_DEVICE_CONSTRAINTS=n, the
function is "declared but not implemented" which
will result in a linker failure if the function
is called.

This commit moves pm_policy_device_is_disabling_state
into the same CONFIG_PM_POLICY_DEVICE_CONSTRAINTS macro
block as pm_policy_device_power_lock_get/put; and
provides a static inline stub that returns false in
the else branch (consistent with the existing
power_lock_get/put style).

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-04 11:41:43 +01:00
Haoran Jiang
eec63c8e17 samples: drivers: crypto: Add crypto sample sf32lb dts define
Add crypto sample sf32lb dts define

Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2026-03-04 11:38:33 +01:00
Haoran Jiang
fa22eb1410 tests: crypto: Add crypto test sf32lb dts define
Add crypto test sf32lb dts define

Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2026-03-04 11:38:33 +01:00
Haoran Jiang
081303fe99 boards: sifli: sf32lb52_devkit_lcd: Enable crypto
Enable sf32lb52 crypto

Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2026-03-04 11:38:33 +01:00
Haoran Jiang
cf74796d9f dts: arm: sifli: Add sf32lb52x crypto device tree
Add sf32lb52x crypto device tree

Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2026-03-04 11:38:33 +01:00
Haoran Jiang
06b27fd34f drivers: crypto: sf32lb: Add sf32lb crypto drivers
Add sf32lb crypto drivers, include AES and SHA algo

Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2026-03-04 11:38:33 +01:00
Haoran Jiang
cb4514c6c3 dts: bindings: crypto: Add sf32lb crypto binding
Add sf32lb crypto binding

Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2026-03-04 11:38:33 +01:00
Hieu Nguyen
72a6a00494 samples: drivers: counter: Add support for RZ/A2M-EVK
Add support for RZ/A2M-EVK to Counter driver sample

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-04 11:38:24 +01:00
Hieu Nguyen
f74c46b5d6 tests: drivers: counter: Add support for RZ/A2M-EVK
Add test support for Counter 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-03-04 11:38:24 +01:00
Hieu Nguyen
87ed31cd38 boards: renesas: rza2m_evk: Add Counter Support
Add os_timer child node for ostm0
Add Counter 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-03-04 11:38:24 +01:00
Hieu Nguyen
bd488f6aa3 dts: renesas: Add Counter support for RZ/A2M
Add os_timer and counter child nodes to OSTM nodes of RZ/A2M

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-04 11:38:24 +01:00
Hieu Nguyen
de4383a0b5 drivers: counter: Initial support for RZ/A2M
Add Counter 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-03-04 11:38:24 +01:00
Tien Nguyen
22019514cd doc: migration-guide-4.4: add notes for changes in Timer of RZ/A2M
add notes for changes in Timer of RZ/A2M

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-04 11:38:24 +01:00
Hieu Nguyen
959102d7a7 drivers: timer: Update timer driver for RZ/A2M
Update timer driver for RZ/A2M

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-04 11:38:24 +01:00
Benjamin Cabé
2fb99ce5fb include: usb: usb_ch9: doxygen fixups
Add missing doxygen comments to usb_ch9.h and fix some existing ones.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-04 11:37:38 +01:00
Andreas Wolf
0180ba1ce8 drivers: dac: Add drivers for TI DAC family X311 on SPI bus
Add shared code in 'dac_dacx311.c' and configuration files.
Support power mode bits via configuration.

Signed-off-by: Andreas Wolf <awolf002@gmail.com>
2026-03-04 11:37:33 +01:00
Alberto Escolar Piedras
80a2864807 Revert "dts: nxp: mcx: delete "nxp,cmc-reset-cause" compatible"
This reverts commit 2d17d0c613
as it introduced a failure in main which can be reproduced for example
with
```
mkdir build && cd build
cmake -GNinja -DBOARD=frdm_mcxw71/mcxw716c \
  ../samples/net/sockets/echo_client/
ninja
```

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-03 11:47:51 -08:00
Travis Lam
3eaf85bd22 soc: nordic: nrf71: Add WiFi Boot Kconfig in soc.c
Add CONFIG_SOC_NRF71_WIFI_BOOT, so that ns sample does not start Wi-Fi,
this is because wicr and lmac is initialised to some gibberish value
when it is not loaded this breaks the CI.

Signed-off-by: Travis Lam <travis.lam@nordicsemi.no>
2026-03-03 19:15:38 +00:00
Travis Lam
7811139604 soc: nordic: nrf71: Fix ANTSWC to run in ns
Enable ANTSWC register in spe for ns sample, so that it
is not running twice in spe and nspe.

Signed-off-by: Travis Lam <travis.lam@nordicsemi.no>
2026-03-03 19:15:38 +00:00
Travis Lam
92bdaca1a1 dts: nordic: nrf7120: fix nrf7120 ns partitioning
Fix dts zephyr,sram to use sram0_ns and its reg offset so that
it does not overlap the secure ram in nrf7120dk/nrf7120/cpuapp/ns
sample.

Signed-off-by: Travis Lam <travis.lam@nordicsemi.no>
2026-03-03 19:15:38 +00:00
Jakub Zymelka
1378615ede boards: nordic: Fix nRF54L05/L10 DEVELOP_IN targets
Fix nRF54L05/L10 DEVELOP_IN targets on nRF54L15 DK.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
2026-03-03 19:15:28 +00:00
Armando Visconti
ee55e28c5b samples/sensor: rename stream_fifo to 6dof_fifo_stream
Choose a better name for this sample that combines both accelerometer
and vector channels data:

- SENSOR_CHAN_ACCEL_XYZ
- SENSOR_CHAN_GAME_ROTATION_VECTOR
- SENSOR_CHAN_GRAVITY_VECTOR
- SENSOR_CHAN_GBIAS_XYZ

This data can be used to track the translation and rotation of an
object immersed in 3D space.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-03-03 19:13:49 +00:00
Armando Visconti
6c1a379c57 samples/sensor: stream_fifo: remove nucleo boards
In case sensors are on a shield, the stream fifo configuration must be
done in a shield overlay file. Hence, remove F401RE and H503RB boards
overlay and configuration files and force building with proper -DSHIELD
option and extra overlay/configuration (-D EXTRA_DTC_OVERLAY_FILE= and
-DEXTRA_CONF_FILE=) files.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-03-03 19:13:49 +00:00
Armando Visconti
6bc55daffc drivers/sensor: st: Add I2C/I3C/SPI RTIO setting in Kconfig
I2C_RTIO, I3C_RTIO and SPI_RTIO should be selected in the driver
itself on the basis of which busses have these devices instances.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-03-03 19:13:49 +00:00
Lin Yu-Cheng
dd0d442ddc drivers: i2c_dw: adjust the error check handling flow
The read clear in i2c_dw_error_chk() will misclean the tx_abrt interrupt.

This patch will move the read clear function into the isr handler
to make the transaction flow end normally.

Signed-off-by: Lin Yu-Cheng <lin_yu_cheng@realtek.com>
2026-03-03 19:13:30 +00:00
Lyle Zhu
d3e7a8300a bluetooth: classic: obex: fix abort response handling for last client
Fix OBEX abort response handling when no active client exists by
tracking the last executing client and its previous opcode.

- Add _last_client pointer to track the most recent executing client
- Add _pre_opcode to store the opcode before clearing _opcode
- Save client state before clearing opcode in all operation handlers
- Implement obex_get_last_client() to recover client context for abort
- Handle abort responses even when _active_client is already cleared
- Clear last client tracking on transport connect/disconnect

This ensures abort responses are properly delivered to the correct
client callback even if the operation has already completed.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-03-03 19:13:18 +00:00
Jérôme Pouiller
0be72dd4cb soc: silabs: siwx91x: Allow to avoid literal pools
On siwx91x, no data cache is associated with the main flash. Therefore,
all accesses to data stored in flash penalizes performances (22 CPU cycles
for 1 data access). This patch allow the user to enable
CONFIG_SLOW_FLASH_DATA

The benefit of this option depends of the workload. Some kernel benchmarks
(tests/benchmarks/app_kernel/) run up to 300% faster, while the typical
improvement is around 10-50%.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-03-03 18:02:57 +01:00
Jérôme Pouiller
13c783f2b6 arch: arm: Slow flash data should avoid jump tables
In addition to pool literal, we want to avoid jump tables generally
associated to Table Branch Byte (TBB) and Table Branch Halfword (TBH)
instructions.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-03-03 18:02:57 +01:00