Commit graph

136,983 commits

Author SHA1 Message Date
Gaetan Perrot
3c7d6ece5a drivers: wifi: eswifi: eswifi_offload: fix DHCP enable error handling
eswifi_off_enable_dhcp() ignored the return value of eswifi_at_cmd()
and always reported success, making the error check at the call site
always false.

Return the command result to properly propagate failures.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-08 11:56:32 +00:00
Jamie McCrae
a12fa17303 boards: deprecated: Remove old deprecated boards
Removes boards that were deprecated in Zephyr 4.0

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-08 11:56:06 +00:00
Guillaume Gautier
a207354ddc doc: releases: migration-guide-4.4: new st,adc-resolutions property
Add migration guide documentation about the impact of the new
st,adc-resolutions property.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-08 11:55:35 +00:00
Guillaume Gautier
c81e2f70fe drivers: adc: stm32: clean up concat macros
Some internal _CONCAT* macros were used throughout the file. Replace them
with the simple CONCAT macro.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-08 11:55:35 +00:00
Guillaume Gautier
d81dee74c9 include: dt-bindings: adc: remove all stm32*_adc.h
Now that the STM32 ADC resolution property do not use special macros
anymore, these include files can be removed.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-08 11:55:35 +00:00
Guillaume Gautier
e141cdfa41 dts: arm: st: remove old resolutions property from adc nodes
Remove old resolutions property from the st,stm32-adc binding and from all
ADC nodes of all STM32 dtsi since it is no longer used.
Also remove some now unnecessary includes from the dtsi.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-08 11:55:35 +00:00
Guillaume Gautier
717d7e8ee0 drivers: adc: stm32: resolution rework
Rework the way to set the STM32 ADC resolution.
Instead of using special macros in device tree, supported resolutions are
now simply listed as an array.

From this array, the driver defines two tables. The first contains the same
values as the array, the second contains the LL macros for each resolution.
When setting the resolution, the driver checks the value with the first
table, then sets it with the second table.

The two tables are defined for each enabled ADC instance so there are no
conflicts if different ADC have different resolutions.

For STM32H7, this changes the internal values used for 14 and 12-bit
resolutions, from 0b101/110 to 0b001/010 respectively, i.e. it uses the
so-called "legacy" resolutions instead of the "power-optimized" ones.
Note that AN5354 indicates: "The optimized modes have better power
consumption figures. The standard modes have better parameters, but
power consumption is not optimized and is comparable to 16-bit mode."

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-08 11:55:35 +00:00
Guillaume Gautier
e7fab2739c dts: arm: st: add new st,adc-resolutions property to dtsi
Add the new st,adc-resolutions property for all ADC of all STM32 series.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-08 11:55:35 +00:00
Guillaume Gautier
056878676e dts: bindings: adc: stm32: add new st,adc-resolutions property
Add a new st,adc-resolutions property for STM32 ADC. This property takes
a simple array of the supported resolutions. Goal is to replace to previous
resolutions property.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-08 11:55:35 +00:00
Gaetan Perrot
5768f30f0d drivers: wifi: esp_at: esp_offload: drop unused dev variable in esp_bind
The esp_data pointer is no longer used after removing the premature
_sock_connect() call. Drop the unused variable.

_sock_connect() call was removed by c368c33.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-08 11:55:25 +00:00
Gaetan Perrot
795836c5cb dts: bindings: nrfs-swext: fix typos in bindings
Fix typos in property descriptions in the NRFS SWEXT power domain
binding.

No functional change.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-08 11:55:09 +00:00
Douglas Holtsinger
6c410584dd modules: hal_st: Fix Kconfig USE_STDC_LSM6DS3TR
Align Kconfig USE_STDC_LSM6DS3TR with hal_st
Fixes zephyrproject-rtos/zephyr#53546
See also hal_st PR #22

Signed-off-by: Douglas Holtsinger <doug.holtsinger@gmail.com>
2026-01-08 09:51:45 +01:00
Lane Westlund
97f4a67187 doc: fix additional instances of build/built typos
In some cases, "is build" was written instead of "is built"

Signed-off-by: Lane Westlund <lane@westlund.net>
2026-01-08 09:51:08 +01:00
Jamie McCrae
1bbbb286b3 cmake: Remove old deprecated code
Removes code that was deprecated in Zephyr 4.0

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-08 09:50:19 +01:00
Jamie McCrae
c02c6add10 cmake: modules: boards: Remove deprecated HWMv1 extension handling
This code was deprecated and removed from the documentation many
releases ago, remove the feature from the code

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-08 09:49:56 +01:00
Ruibin Chang
0671dc7925 drivers/wdt/it8xxx2: support setting time interval of warning msg
Add the config to support that warning message time
interval can be set.

We also find that printing all the warning messages
takes about 50ms on Chromebook. Therefore, we increase
the default time to 100ms to leave some time for EC to run
non-print instructions.

Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
2026-01-08 09:49:28 +01:00
Qingsong Gou
44b8f1c025 tests: drivers: uart: uart_async_api: add sf32lb52_devkit_lcd support
Add sf32lb52_devkit_lcd support

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-08 09:47:49 +01:00
Gaetan Perrot
560ecb2949 drivers: wifi: eswifi: eswifi_socket: fix listen backlog error handling
__eswifi_listen() ignored errors from eswifi_at_cmd() and always
reported success, leaving the local error variable unused.

Return an error when setting the listen backlog fails and avoid
marking the socket as a server in that case.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-08 09:47:17 +01:00
Henrik Brix Andersen
9186d6864a boards: native: add support for static linking
Add support for static linking of the final native simulator runner.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-01-08 09:45:55 +01:00
Tom Burdick
c11ae6b6b2 mctp: I3C bindings and samples
Adds bindings for communicating with the MCTP protocol over I3C with IBI
for signaling.

Notably I3C currently requires devices on the bus be struct device's the
way the Nuvoton driver is written and the API is written. So we create a
little glue driver (mctp_i3c_endpoint) to allow us to later bind a aptly
named mctp_i3c_controller MCTP binding.

On the target side the only usable driver for target mode is Nuvoton's.
Nuvoton's driver only implements the optional buffer read/write
callbacks rather than the read/write byte at a time callbacks. This is
actually probably for the better but it does mean this binding requires
those optional target mode functions.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2026-01-08 09:35:25 +01:00
Terry Geng
1840356341 drivers: led_strip: ws2812_rpi_pico_pio: Add DMA support
so that time-consuming I/O takes place in the background. This is
especially important when writing to multiple long LED strips.

This commit mostly mirrors what was done in the pl022 driver and the
rpi_pico_pio_spi driver, including the needed DT configuration. DMA will be
used if `CONFIG_DMA` is enabled and proper `tx` channel is defined in the
DT.

The DT overlay I used when testing:
```
&pio0 {
	status = "okay";

	pio-ws2812 {
		compatible = "worldsemi,ws2812-rpi_pico-pio";
		status = "okay";
		pinctrl-0 = <&ws2812_pio0_default>;
		pinctrl-names = "default";
		bit-waveform = <3>, <3>, <4>;

                /* This device has no tx channel configured so DMA will NOT
                 * be used. */
		ws2812_1: ws2812_1 {
			status = "okay";
			gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>;
			chain-length = <1>;
			color-mapping = <LED_COLOR_ID_GREEN
                                         LED_COLOR_ID_RED
                                         LED_COLOR_ID_BLUE>;
			reset-delay = <280>;
			frequency = <800000>;
		};

                /* This device has proper tx channel configured so DMA will
                 * be used. */
		ws2812_2: ws2812_2 {
			status = "okay";
			gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
			chain-length = <64>;
			color-mapping = <LED_COLOR_ID_RED
                                         LED_COLOR_ID_GREEN
                                         LED_COLOR_ID_BLUE>;
			reset-delay = <280>;
			frequency = <800000>;

			dmas = <&dma 1 0 0>;
                        /* DMA slot will be
                         * determined by the driver so what's in here
                         * doesn't matter. */
			dma-names = "tx";
		};
	};
};

&dma {
	status = "okay";
};
```

Signed-off-by: Terry Geng <terry@terriex.com>
2026-01-08 09:33:51 +01:00
Terry Geng
7081a5ff4b drivers: led_strip: ws2812_rpi_pico_pio: Use reset timer instead of sleep
to guarantee two updates to ws2812 happen not faster than the required
reset time of ws2812. Using `k_usleep` forces a context switching, which
might be unnecessary if two time between update calls are not as frequent
as the reset time (which should be the most of the case anyways).

Signed-off-by: Terry Geng <terry@terriex.com>
2026-01-08 09:33:51 +01:00
Tu Nguyen Van
1428bc537a boards: nxp: s32k5xxcvb: add support i2c
Add support I2C (LPI2C) for S32K5XXCVB

Signed-off-by: Tu Nguyen Van <tu.nguyenvan@nxp.com>
Co-authored-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-08 09:32:05 +01:00
Dat Nguyen Duy
b1da557ae8 tests: drivers: i2c_target_api: enable test for s32k5xxcvb
Enable i2c_target_api for s32k5xxcvb

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-08 09:32:05 +01:00
Dat Nguyen Duy
e090988bcc Dts: nxp: add lpi2c devicetree nodes for s32k566
Add LPI2C devicetree nodes for S32K566

Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
2026-01-08 09:32:05 +01:00
Tim Pambor
84d5c3bd2d tests: drivers: build_all: ethernet: test dwmac driver for MMU platforms
Add a board overlay for the qemu_cortex_a9 board to build the
Synopsys DesignWare MAC driver for MMU platforms.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-01-08 09:29:34 +01:00
Tim Pambor
e70fd60d9d tests: drivers: build_all: ethernet: test dwmac driver for STM32H7
Add a test case to build the Synopsys DesignWare MAC driver for STM32H7
series SoCs. This drivers is an alternative to the existing ETH_STM32_HAL
driver. As such both drivers cannot be enabled at the same time.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-01-08 09:29:34 +01:00
Tim Pambor
2e9ba24515 drivers: ethernet: dwmac: Fix Kconfig for stm32h7
DWMAC driver was no longer selectable for stm32h7
series because of CONFIG_ETH_DWMAC dependency on
DT_HAS_SNPS_DESIGNWARE_ETHERNET_MMU_ENABLED, which
is only used for MMU based platforms.

Restructure Kconfig to have user-selectable options
for the platform-specific DWMAC drivers and select
the common DWMAC driver accordingly. This way
platform-specific dependencies can be tracked on
these options, simplifying the logic.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-01-08 09:29:34 +01:00
Nicholas Braaten
d426f153ae doc: clarified description of k_uptime_delta
Description added in docs.
Header updated to clarify that the function modifies the argument.

Signed-off-by: Nicholas Braaten <git@nicbra.no>
2026-01-08 09:28:20 +01:00
Manojkumar Konisetty
547f1bbb11 drivers: gpio: Add Infineon PSoC4 GPIO driver
Introduces a GPIO driver that provides generic interfaces
for both interrupt-driven inputs and controllable outputs.

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-08 09:27:24 +01:00
Manojkumar Konisetty
e589deb665 boards: cy8cproto_041tp: Add dts for button and led
- Add LED0 and SW0 support to CY8CPROTO-041TP board
- This enables applications to use led0 and sw0 through
  standard Zephyr subsystems without additional board-specific
  configuration.

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-08 09:27:24 +01:00
Dharun krithik k
1f5bd18bb0 boards: cy8cproto_041tp: refactor dts and enable UART
Refactor the CY8CPROTO-041TP board definition by extracting common
configurations into \`cy8cproto_041tp_common.dtsi\`. This improves
reusability and structure.

Additionally, refactored the nodes accordingly and configure necessary
system clocks:
- Configure 16-bit peripheral dividers.
- Enable clock paths.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-08 09:27:24 +01:00
Dharun krithik k
e5e92f6c8f drivers: clock_control: update infineon clock drivers
Update the Infineon clock control drivers to support PSoC4 and
enhance error handling.

- Add support for ILO, WCO, and EXT clocks in fixed clock driver.
- Update fixed factor clock driver to handle PSoC4 specific HF
  clock source setting and add error checking.
- Update peripheral clock driver to support fractional dividers
- Improve error handling across all updated drivers.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-08 09:27:24 +01:00
Dharun krithik k
a3ed433659 dts: infineon: update PSoC4100TP system clock nodes
Update the system clock device tree definitions for the Infineon
PSoC4100TP series.

Refactor the peripheral divider nodes in `system_clocks.dtsi` to
align with the hardware specifications. This includes renaming nodes
and updating group associations for correct clock configuration.
Update `infineon,peri-div.yaml` binding to support the changes.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-08 09:27:24 +01:00
Dharun krithik k
85d3a7b708 dts: infineon: update PSoC4100TP SoC nodes
Update all Infineon PSoC4100TP device tree nodes to use current
binding naming convention by removing the 'cat1-' prefix

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-08 09:27:24 +01:00
Dharun krithik k
7f644b104f dt-bindings: clock: add Infineon PSoC4 clock source bindings
Add clock source definitions for the Infineon PSoC4 series.
This introduces the \`ifx_clock_source_psoc4xx.h\` header with
HFCLK divider macros and integrates it into the board clock
source selection.

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-08 09:27:24 +01:00
Haoran Jiang
e7cfa7ae02 MAINTAINERS: add HalfSweet as SF32LB collaborator
Add myself as SF32LB collaborator

Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2026-01-08 09:25:08 +01:00
Henrik Brix Andersen
f931c5a44f drivers: can: mcan: reintroduce assert in can_mcan_send()
Reintroduce the assert on put_idx being within the limit in can_mcan_send()
but move it to just after the value was determined and add a comment on its
purpose.

With the current code, this will never get triggered due to the tx_sem
being acquired before (meaning a free TX slot was acquired).

Avoid assigning a signed initial literal to an unassigned type.

Fixes: 8dc4dea112

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-01-07 14:53:30 -06:00
Rob Barnes
24ab32c1dd soc: ite: Add idle exit tracing
The idle enter was being traced but idle exit was not.
This change adds the missing call to sys_trace_idle_exit()
to the idle exit path for the it51xxx and it8xxx2 SoCs.

Signed-off-by: Rob Barnes <robbarnes@google.com>
2026-01-07 14:52:59 -06:00
Julien Vermillard
ff6d163ff7 boards: holyiot: support holyiot 25008
Add support fot the holyiot 25008 board.
Bluetooth 6.0 module based on NRF54L15.

Signed-off-by: Julien Vermillard <julien@clunkymachines.com>
2026-01-07 14:52:38 -06:00
Muhammad Waleed Badar
f31516d461 drivers: uart: pl011: fix poll_in function
RSR handling is already implemented in pl011_err_check(), which is the
appropriate place to detect, and report receive error conditions.

This also aligns poll_in() behavior with pl011_fifo_read(), which reads
and delivers characters without returning RSR status to the caller.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-01-07 14:52:10 -06:00
Yves Wang
88e7b3b451 scripts: build: Accept python object in Domain's constructor
Make Domain's class constructor accept python object to avoid redundant
YAML serialize and unserialize which may introduce potential yaml type
errors.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-01-07 14:51:44 -06:00
Jayvik Desai
8c207308a4 drivers: gpio: emul: validate pins in single-pin APIs and mask in port APIs
Add input validation to single-pin GPIO APIs (e.g., gpio_pin_configure)
and emulator-specific helpers to return -EINVAL for invalid pins. This
ensures tests correctly fail when targeting non-existent pins.

For standard port-wide APIs (e.g., gpio_port_set_bits_raw), align behavior
with hardware drivers by masking out invalid pins instead of returning an
error. This mimics hardware behavior where writing to unimplemented bits
is ignored, and ensures compatibility with generic tests that use full
32-bit masks (e.g., 0xFFFFFFFF).

Signed-off-by: Jayvik Desai <jayvik@google.com>
2026-01-07 14:50:43 -06:00
Pieter De Gendt
b85fa7b256 doc: contribute: guidelines: Document KeepSorted and options
Add a documentation section about the KeepSorted compliance check and
which options it provides.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-07 14:50:10 -06:00
Pieter De Gendt
28953da368 doc: contribute: guidelines: Use zephyr_file for compliance script
Use the directive to create an actual link to the check_compliance.py file.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-07 14:50:10 -06:00
Abderrahmane JARMOUNI
9f1eec508e dts: bindings: replace '.yml' file extension with '.yaml'
Replace the '.yml' extension of the few binding files that has it,
with '.yaml'.

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2026-01-07 19:41:03 +01:00
Robert Perkel
fb353a41c0 samples: sensor: mtch9010 Fixed generation arg
Fixed error in west command
Updated console output to match

Signed-off-by: Robert Perkel <robert.perkel@microchip.com>
2026-01-07 19:40:41 +01:00
Tahsin Mutlugun
87ce02b011 drivers: i3c: Move i3c_bus_mode() to common layer
i3c_bus_mode() is duplicated across several drivers. Move it into
i3c_common.c to eliminate that.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2026-01-07 19:40:18 +01:00
Mathieu Choplain
36170c4530 arch: *: remove check for CONFIG_SOC_PER_CORE_INIT_HOOK
soc_per_core_init_hook() is usually called from arch_kernel_init() and
arch_secondary_cpu_init() which are C functions. As such, there is no need
to check for CONFIG_SOC_PER_CORE_INIT_HOOK since platform/hooks.h provides
a no-op function-like macro implementation if the Kconfig option is not
enabled.

Remove the Kconfig option check from all files.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-07 19:39:53 +01:00
Muhammad Waleed Badar
5286ce2565 samples: wifi: apsta_mode: use WIFI_USAGE_MODE_STA_AP as common Kconfig
- Replace CONFIG_ESP32_WIFI_AP_STA_MODE with CONFIG_WIFI_USAGE_MODE_STA_AP
- Move AP-STA mode enable/disable control to prj.conf
- Update documentation to reflect new configuration option
- Remove redundant Wi-Fi NM and SoftAP options from RW612 board configs

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-01-07 19:39:28 +01:00