Commit graph

136,983 commits

Author SHA1 Message Date
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