Commit graph

136,983 commits

Author SHA1 Message Date
Duy Nguyen
af9f6f56c6 soc: Add FPU config for RXv2 and RXv3
The RXv2 and RXv3 core support FPU in CPU.
This enable FPU instruction build for the RX140, RX261 and RX26T

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2026-03-19 15:27:18 +09:00
Duy Nguyen
66349ca7bc manifest: Update hal_renesas commit to support RX26T flash type
Update hal_renesas to include the fix to the RX26T flash type build
issue

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2026-03-19 15:27:18 +09:00
Tien Nguyen
7712bcdf30 soc: renesas: Fix macros/symbols for offset/address
Fix macros/symbols that broke after changes were merged to get the
absolute address

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-19 15:26:40 +09:00
Tien Nguyen
9b064c5480 dts: renesas: remove ranges property for RZ/T2H, N2H
remove ranges property for RZ/T2H, N2H

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-19 15:26:40 +09:00
Gabriele Zampieri
5741b6176b tests: drivers: build_all: Add build test for MAX2253x ADC
Add build test for MAX2253x family of  SPI-based ADC.

Signed-off-by: Gabriele Zampieri <gabriele.zampieri@arsenaling.com>
2026-03-19 12:29:32 +09:00
Gabriele Zampieri
96f6dc50ac drivers: adc: max2253x: initial driver support
The max2253x family is a Field-Side Self-Powered, 4-Channel,
12-bit, Isolated ADC.

Signed-off-by: Gabriele Zampieri <gabriele.zampieri@arsenaling.com>
2026-03-19 12:29:32 +09:00
Mark Wang
5172eab9ec drivers: udc: mcux: make SOF notifications configurable via Kconfig
Replace the TODO comment with actual Kconfig-based control of the
USB_DEVICE_CONFIG_SOF_NOTIFICATIONS macro. The macro is now only
defined when CONFIG_UDC_ENABLE_SOF is enabled, allowing users to
control SOF (Start of Frame) notifications through Kconfig instead
of having it always enabled.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2026-03-19 12:28:37 +09:00
Lyle Zhu
f21c79f310 bluetooth: host: avrcp: fix return value handling in command handlers
Fix three command handlers that were incorrectly returning the result
of callback functions with void return type:
- avrcp_unit_info_cmd_handler
- avrcp_subunit_info_cmd_handler
- avrcp_pass_through_cmd_handler

Split the callback invocation and return statement to properly handle
the void return type, avoiding potential compiler warnings or errors.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-03-19 12:28:15 +09:00
Sylvio Alves
70ddee7e0b soc: espressif: place reboot functions in IRAM for all SoCs
esp_restart_noos() and esp_system_reset_modules_on_exit() disable the
flash cache before resetting the CPU. Without proper IRAM placement,
these functions remain in flash. After Cache_Disable_Cache() returns,
the CPU attempts to fetch the next instruction from flash-mapped
memory which is no longer accessible, causing a CPU_LOCKUP on SoCs
where cache invalidation is immediate.

Add linker entries to place esp_restart_noos,
esp_system_reset_modules_on_exit (and esp_restart_noos_dig for ESP32)
in IRAM text and DRAM rodata sections across all Espressif SoCs.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-19 12:27:43 +09:00
Christopher Smith
b30a5a9f11 drivers: pwm: esp32: add pinctrl initialization for mcpwm capture
The ESP32 MCPWM driver does not initialize the pinctrl configuration if
only the capture units of MCPWM are used and no other MCPWM outputs are
used. This leads to pwm capture requests timing out. Fix this by applying
the pinctrl configuration during module initialization.

Signed-off-by: Christopher Smith <christophersmith107@gmail.com>
2026-03-18 17:46:32 -05:00
Adrien Ricciardi
5a7f508e24 include: zephyr: Add K_xxx_THREAD_DEFINE entry field documentation link
Save some seconds by immediately linking to the thread entry point function
type documentation.

Signed-off-by: Adrien Ricciardi <aricciardi@baylibre.com>
2026-03-18 17:45:41 -05:00
Jakub Zymelka
93f16734c0 soc: nordic: nrf54l: Add build assert for LFXO load capacitance
Since the enum validation for load-capacitance-femtofarad was removed
from the DTS binding, add a BUILD_ASSERT to ensure the provided value
is within the valid range (3000-18000 fF) at compile time.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
2026-03-18 17:44:58 -05:00
Jakub Zymelka
fbeb4ac0c4 dts: bindings: clock: nordic: Update load capacitance for LFXO
Type of load capacitance for LFXO changed from enum to int.

Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
2026-03-18 17:44:58 -05:00
John Batch
71a2db325b drivers: clock: infineon: removing unused hw_resource from peri_clk
- Removes the unused items from the device structures for peri clock.
- Removes the now unused `resource-type`, `resource-instance`, and
  `resource-channel` binding properties.
- Updates the Migration Guide with removed binding properties.
- Remove the binding properties from board, samples, and test overlays.

Assisted-by: GitHub Copilot:claude-opus-4.6
Signed-off-by: John Batch <john.batch@infineon.com>
2026-03-18 17:44:09 -05:00
Emil Gydesen
d3ab051d7a Bluetooth: Audio: Shell: Add support for 2 calls as TBS client
Add support for 2 calls to enable the join feature as
client.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-18 17:43:12 -05:00
Emil Gydesen
3d5b7275e8 Bluetooth: Audio: Spring cleaning
Add missing header files, remove unused header files,
fix typos and missing static.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-18 17:42:55 -05:00
Stephan Linz
6cd93bc04a boards: makerbase: adds the Makerbase MKS CANable V1.0
Adds basic support for the "Makerbase MKS CANable V1.0", a cheap and
affordable STM32F072x8 based simple CAN to USB adapter board with:

- CAN 2.0 A/B on-chip STM32 BxCAN controller
- CAN high-speed transceiver NXP TJA1051
- CAN bus termination enable jumper
- GPIO controlled Tx/Rx LEDs (blue/green)
- DFU boot mode selection by BOOT0 jumper
- SWD debug connector

Signed-off-by: Stephan Linz <linz@li-pro.net>
2026-03-18 17:42:10 -05:00
William Markezana
91191acc6a modules: hal_bouffalolab: add btblecontroller RTOS port for Zephyr
BL702L and BL616 BLE controller blobs use btblecontroller_* wrapper
symbols instead of raw FreeRTOS APIs. This port maps those wrappers
to Zephyr kernel primitives (k_thread, k_msgq, k_heap).

All internal allocations use the dedicated shim heap pool
(CONFIG_BFLB_SHIM_HEAP_SIZE) rather than the system heap.

Gated by CONFIG_BFLB_BTBLE_PORT_OS_SHIM, selected by SoC-specific
BLE drivers that use the btblecontroller API.

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-03-18 17:41:28 -05:00
William Markezana
faf77ddbb6 modules: hal_bouffalolab: add FreeRTOS-Zephyr shim for BLE blobs
Multiple Bouffalo Lab SoCs (BL602, BL702) ship BLE controller blobs
that call FreeRTOS APIs directly (xTaskCreate, xQueueGenericSend,
pvPortMalloc, etc.). This shim maps those calls to Zephyr kernel
primitives so the same abstraction can be shared across SoC ports.

All internal allocations (threads, stacks, queues) use a dedicated
K_HEAP pool (CONFIG_BFLB_SHIM_HEAP_SIZE) instead of the system
heap, keeping shim memory bounded and separate.

Add CONFIG_BFLB_FREERTOS_SHIM (bool, selected by SoC BLE drivers).

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-03-18 17:41:28 -05:00
Camille BAUD
45db05a520 drivers: cache: bflb_l1c: Make disable not break device
With Bypass enabled, the MCU doesn't work.
Instead, set waydisable to 0xf (all ways disabled), and
disable bypass.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-03-18 17:40:26 -05:00
Camille BAUD
b5c32aa975 boards: thirdreality: add 3R TNH Sensor Lite board
Add board definition for the ThirdReality Temperature and Humidity
Sensor Lite based on the Bouffalo Lab BL704L SoC. Features a SHT4x
I2C temperature/humidity sensor, two LEDs, one button, UART console
on GPIO14/15, and broken-out JTAG on GPIO17-20.

Includes OpenOCD and bflb_mcu_tool flash runner configuration, board
documentation, and JTAG initialization in board.c.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-03-18 17:40:26 -05:00
Camille BAUD
fa63a75681 dts: bindings: add thirdreality vendor prefix
Add Third Reality, Inc. to the devicetree vendor prefix registry
for use with ThirdReality board definitions.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-03-18 17:40:26 -05:00
William Markezana
d547042bf9 drivers: bflb: extend shared drivers with BL70XL SoC support
Add CONFIG_SOC_SERIES_BL70XL to preprocessor conditionals across
existing Bouffalo Lab drivers that share register-compatible code
paths with BL60x/BL70x:

- cache: L1C flush-enable workaround applies to BL70XL
- flash: XIP address defines, L1C wrap, QPI JEDEC ID support
- gpio: BL70XL includes, fix BIT() usage for pin set/clear
- i2c: clock source calculation
- serial: UART clock divider, guard UART1 (BL70XL has only UART0)
- spi: GLB address and FIFO size, clock calculation
- syscon: efuse SAHB clock selection
- input: IR receiver pin mapping and clock divider

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-03-18 17:40:26 -05:00
William Markezana
c25890aa2b drivers: pinctrl: bflb: add BL70XL support to shared BL60x/BL70x driver
Extend the shared pinctrl driver for BL70XL:
- Use 4 UART signal routing slots (vs 8 on BL60x/BL70x)
- Add XTAL32K pin muxing disable for GPIO30/31
- Handle key scan drive function (disable IE)
- Replace magic numbers with register field defines
- Add BL70XL to pinctrl CMakeLists.txt (reuses bl60x_70x driver)

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-03-18 17:40:26 -05:00
William Markezana
c5c47ccc75 dts: bflb: Add BL70xL dts
Add DTS for BL70xL

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-03-18 17:40:26 -05:00
William Markezana
a4a56726df drivers: clock_control: Update BL70x clock_control to BL70x/L
Handle BL70xL in BL70x driver

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-03-18 17:40:26 -05:00
William Markezana
7ebd3dd4da soc: bflb: add BL70XL SoC series support
Add SoC support for the Bouffalo Lab BL70XL series (BL702L, BL704L).
RISC-V E24 core with CLIC interrupt controller, L1 cache, FPU, and
XIP flash execution.

Includes SoC initialization (CLIC clear, HBN/PDS fastboot flag clear,
SEAM config), system reboot, Kconfig for two SoC variants
(BL702L10Q2I, BL704L22Q2H), soc.yml entries, and e24 common code
inclusion.

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-03-18 17:40:26 -05:00
William Markezana
227c92e553 manifest: hal_bouffalolab: update revision for BL70XL support
Includes BL70XL register definitions, pin configuration headers,
and BLE controller libraries.

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-03-18 17:40:26 -05:00
Thomas Decker
59905cdbac driver: clock_control: stm32_ll_h7: Fix SYSCLK/HCLK mix and more
Fixes the mix-up of HCLK and SYSCLK in h7 clock driver and also makes sure
to calculate the correct startup frequency:
- Take care of bootloader might already have configured clocks instead of
  relying on #defines/dts).
- Use HAL HSI_VALUE instead of STM32_HSI_FREQ which can be 0 if hsi node
  is disabled in DT (but is default on after reset...)

Also move calculation of old_hclk_freq above set_up_plls() during
stm32_clock_control_init(), which can change the current clock setting and
make it impossible to get the previous clock.

Remove not needed special handling for h7rsx controllers.

Add a comment to the clk_hsi node in the h7x / h7rsx DT stating that the
clock is enabled by default after reset.

Signed-off-by: Thomas Decker <decker@jb-lighting.de>
2026-03-18 17:37:15 -05:00
Gerson Fernando Budke
fb66eb5048 soc: atmel: samd2x: Enable internal OSC32K as RTC source
In the current implementation the platforms samd20/21 and samr21 can
only use an external crystal or clock to drive RTC. This enable the
possibility to select the internal OSC32K as an alternative for low
cost boards that don't use an external 32.768 kHz source.

Fixes #102352

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2026-03-18 17:36:26 -05:00
Roland Lux
2ced30b672 logging: backend: mqtt: fix mqtt log backend on client disconnect
The MQTT logging backend can cause the logging thread
to take over idle time when the used client disconnects/fails
to send the log messages.
Fixed by always returning the length of the log in every case.

Signed-off-by: Roland Lux <roland.lux@blue-zone.at>
2026-03-18 17:35:57 -05:00
Jamie McCrae
c9607b67d8 include: devicetree: Add missing partition.h include
Adds this include, which was missed in a previous commit

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-18 15:28:22 -05:00
Jjateen Gundesha
33b29cb4ef net: config: fix race in check_interface() causing indefinite block
- NET_EVENT_IF_UP can fire between the net_if_is_up() check and
net_mgmt_add_event_callback() in check_interface(). When this
happens (e.g. with CONFIG_SHELL_BACKEND_TELNET=y which starts a
same-priority thread that brings the interface up concurrently),
the event is missed and net_config_init_by_iface() blocks forever.

- Fix by always registering the callback first, then checking
net_if_is_up() after registration. If the interface came up in
the race window, remove the callback and signal the semaphore
immediately. Move the NET_INFO print to only fire when we are
genuinely going to wait.

Signed-off-by: Jjateen Gundesha <jjateen97@gmail.com>
2026-03-18 15:27:54 -05:00
Fin Maaß
a8a4201469 drivers: net: nsos: use net_if_socket_offload_set()
use net_if_socket_offload_set().

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-18 15:27:24 -05:00
Fin Maaß
27036da979 tests: net: use net_if_* functions
use the provided net_if_* functions.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-18 15:27:24 -05:00
Fin Maaß
6c9f402c0f drivers: net: wifi: ethernet: use net_if_get_device()
use the provided net_if_get_device() function
to get the device.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-18 15:27:24 -05:00
Missael Maciel
c092468dc1 drivers: flash: flash_mcux_flexspi_nor: Add support for memory W25Q256
Memory W25Q256 support added into flash driver. If someone
uses this memory, the driver will configured into 4-bytes
address mode which will cause issues with the bootROM for
some NXP's RTs/RW microcontrollers.

Signed-off-by: Missael Maciel <davidmissael.maciel@nxp.com>
2026-03-18 15:26:53 -05:00
Benjamin Cabé
332d859665 ci: update action-download-artifact to v18
Upgrade the action-download-artifact to version v18 across multiple
workflow files so that it runs on non-deprecated Node.js version (24
instead of 20).

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-18 15:26:03 -05:00
Benjamin Cabé
49171a98f2 ci: update aws-actions/configure-aws-credentials to 6.0.0
Bump the version of AWS credentials action as previous one was running
on Node.js 20 and causing warning in GitHub Actions.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-18 15:26:03 -05:00
Adam BERLINGER
33b845d4a2 soc: st: n6: Set ADC as secure privileged in RIF
This is necessary for ADC to control GPIO analog multiplexes,
when GPIOs are set as secure (by default).

Signed-off-by: Adam BERLINGER <adam.berlinger@st.com>
2026-03-18 15:25:32 -05:00
Sylvio Alves
d8215fe289 cmake: remove deprecated espressif toolchain variant
The espressif toolchain variant (ZEPHYR_TOOLCHAIN_VARIANT=espressif)
has not been used for years. Espressif targets are now built using the
Zephyr SDK, which bundles the required Xtensa and RISC-V toolchains.

Remove the cmake/toolchain/espressif/ directory containing generic.cmake,
target.cmake, and Kconfig files that implemented this variant. Also
clean up references in the coredump xtensa gdb stubs, removing the
ESPRESSIF toolchain enum value and related handling code.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-18 15:25:03 -05:00
Brenden Adamczak
b22634d1d2 drivers/sensor: lsm6dsvxxx: fix i2c transfer len
Fix I2C transaction len using the correct size of the data to be sent
and not the returned length of the allocated buffer.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
Signed-off-by: Brenden Adamczak <cerebralasylum1@gmail.com>
Co-authored-by: Armando Visconti <armando.visconti@st.com>
2026-03-18 15:24:26 -05:00
Josuah Demangeon
0ff1f3243c docs: migration-guide: 4.4: video: ARGB/XRGB formats
Document the renaming of video pixel formats.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2026-03-18 15:24:12 -05:00
Josuah Demangeon
1547179e0a drivers: video: fix ARGB32/XRGB32 formats and variants.
Fix the representation of pixel formats with an X (unused) or A (alpha)
channel to make the four character match the order in the channels in
memory byte per byte.

These formats are imported from Linux but contain a naming inconsistency.

The four character codes still match the Linux formats from V4L2
include/uapi/linux/videodev2.h based on the byte content rather than the
name: this means that communicating with Linux systems will work, but
sharing source code with Linux will need to modify the variable names.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2026-03-18 15:24:12 -05:00
Zhaoxiang Jin
a39d0c7a4d soc: nxp: replace magic number with DT_PROP macro
replace magic number with DT_PROP macro

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-18 15:23:32 -05:00
Zhaoxiang Jin
93cfc76aca dts: nxp: add clock-frequency for cpu node
add clock-frequency for cpu node

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-18 15:23:32 -05:00
Johan Hedberg
920d425ec1 doc: release-notes-4.4: Document the removed bt_hci_cmd_create()
Document the removal of the deprecated bt_hci_cmd_create() function.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2026-03-18 15:23:03 -05:00
Johan Hedberg
6f9999f48e Bluetooth: Remove bt_hci_cmd_create()
The bt_hci_cmd_create() function was deprecated several releases ago (in
Zephyr 4.2) and can therefore now be removed.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2026-03-18 15:23:03 -05:00
Sergei Ovchinnikov
a8dee5b52a tests: drivers: build_all: mfd: add nordic,npm10xx
Add nordic,npm10xx MFD device to the build_all/mfd overlay.

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2026-03-18 15:22:16 -05:00
Sergei Ovchinnikov
5aaa51286a drivers: mfd: mfd_npm10xx dts bindings and driver
Nordic's nPM10 Series PMIC Multi-function Device devicetree properties and
driver.

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2026-03-18 15:22:16 -05:00