Commit graph

136,983 commits

Author SHA1 Message Date
John Batch
02d10281ee drivers: serial: infineon: use shared HF clock utility
Remove the duplicated ifx_cat1_get_hfclk_for_peri_group() function and
use version from shared header file.

Assisted-by: GitHub Copilot:claude-opus-4.6
Signed-off-by: John Batch <john.batch@infineon.com>
2026-03-20 09:55:43 -05:00
John Batch
7451465c8a drivers: clock_control: infineon: psc3m5: adding CAN support
Adds CAN support to the peri_clock_init function.

Moves ifx_cat1_utils_peri_pclk_get_hfclk() to an inline function in the
shared clock control header.  This eliminates duplication, the function
was being defined separately in SPI and UART already and is also needed
for CAN.

Assisted-by: GitHub Copilot:claude-opus-4.6
Signed-off-by: John Batch <john.batch@infineon.com>
2026-03-20 09:55:43 -05:00
Jamie McCrae
e79a144a36 dts: nordic: nrf7120: Update to use zephyr,mapped-partitions
Updates the dts nodes switch partitions to use the new
zephyr,mapped-partition compatible.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
cdc480afb6 dts: nordic: nrf54h20/nrf9280: Update to use zephyr,mapped-partitions
Updates the dts nodes switch partitions to use the new
zephyr,mapped-partition compatible.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
b0f647d0e2 tests: Adapt nRF52 board overlays to use new binding
Uses the newly introduced zephyr,mapped-partition binding, as the
board has switched to using it

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
3ac8512545 dts: nordic: nrf54l[05,10,15]: Update to use zephyr,mapped-partitions
Updates the dts nodes switch partitions to use the new
zephyr,mapped-partition compatible.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
6b34b4d013 dts: nordic: nrf54lm20: Update to use zephyr,mapped-partitions
Updates the dts nodes switch partitions to use the new
zephyr,mapped-partition compatible.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
1a9f1b640f dts: nordic: nrf91: Update to use zephyr,mapped-partitions
Updates the dts nodes switch partitions to use the new
zephyr,mapped-partition compatible.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
ab202cdb5e dts: nordic: nrf52: Update to use zephyr,mapped-partitions
Updates the dts nodes switch partitions to use the new
zephyr,mapped-partition compatible.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
b5611a6bfc dts: nordic: nrf51: Update to use zephyr,mapped-partitions
Updates the dts nodes switch partitions to use the new
zephyr,mapped-partition compatible.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
96137acb4c cmake: linker_script: arm: Add support for zephyr,mapped-partition
Adds support for using this new binding

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
8dcea32c8d arch: arm: riscv: linker: Add support for zephyr,mapped-partition
Adds support for using this new binding

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
f75c444c8c arch: arm: arm64: linker: Add support for zephyr,mapped-partition
Adds support for using this new binding

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
09e73db07a arch: arm: cortex_a_r: linker: Add support for zephyr,mapped-partition
Adds support for using this new binding

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Jamie McCrae
294755aeaf include: arch: arm: cortex_m: linker: Fix non-XIP usage
Fixes wrongly using the mapped partition parts if XIP is not
enabled, when it should use RAM instead

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-03-20 09:54:59 -05:00
Sylvio Alves
0906867d9a drivers: regulator: espressif: add LDO driver
Add a regulator driver for the internal general-purpose LDO channels
found in some Espressif SoCs. These LDO channels can supply power to
internal and external peripherals such as SPI flash and PSRAM.

The driver supports:
- Enable/disable LDO output channels
- Continuously adjustable voltage from 500mV to 2700mV
- Rail bypass mode at 3300mV
- Standard regulator device tree properties (boot-on, always-on, etc.)

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-20 09:54:12 -05:00
Fin Maaß
911ce665c9 drivers: ethernet: w5500: only start thread in iface init
start rx and link status thread in iface init,
as only then the iface pointer in the data
struct is set.

ALso simplify link status update logic.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-20 09:52:48 -05:00
James Roy
d18699eb28 tests: sys: Add unit test for Disjoint-set
Add unit tests for functions (`sys_set_makeset`,
`sys_set_union` and `sys_set_find`).

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-03-20 09:52:24 -05:00
James Roy
ecda2300fa sys: Add Disjoint-set data structure
Add a set of Disjoint-set functions (`find`, `union`)
to handle queries between sets.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-03-20 09:52:24 -05:00
Erwan Gouriou
230c86dffc boards: stm32n6: Clean up clocks props for xspi controllers
These props are providing default clock configuration.
Not required at boards level, clean them up.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2026-03-20 20:46:57 +09:00
Erwan Gouriou
fec56d3076 soc: stm32: common: Add xspi manager
Implement a device driver for XSPI manager.
This allows to define the xspi controllers configuration that should
be applied towards the xspi IO ports:
- Muxed
- Swapped
- ...

Since its configuration has impact on final application location and
implies the deactivation of xspi clocks, it should be run only at fsbl
stage and not later.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2026-03-20 20:46:57 +09:00
Erwan Gouriou
7df2d0e20b drivers: flash: stm32_xspi: Fix XPIM presence conditional check
There is no such thing as XSPIM1/XSPIM2 and not all XSPIM compatible
devices declare HAL_XSPIM_IOPORT_1/2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2026-03-20 20:46:57 +09:00
Erwan Gouriou
5e6d5c6f5a dts: arm: stm32n6: Add xspi3
This xspi controller can be used as alternative to 2 other controllers

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2026-03-20 20:46:57 +09:00
Gang Li
83f0cd4a59 driver: wifi: nxp: add support for network frequency band selection
If user selects a band, then we should restrict scanning channels to
that band. This can be used to speed up scanning by limiting scans
to specific channels when the network is known to not use all possible
channels.

Signed-off-by: Gang Li <gang.li_1@nxp.com>
2026-03-20 20:46:29 +09:00
Jackson Farley
ea88bf7cf6 drivers: uart: added rx timeout for MSPM0
The low RX FIFO threshold of 1 could lead to issues during higher baud
rates, thus the threshold is increased and the RX Timeout feature on the
MSPM0 is introduced.

Signed-off-by: Jackson Farley <j-farley@ti.com>
2026-03-20 20:45:39 +09:00
Jackson Farley
5384bd0b5f drivers: serial: uart bugfix for interrupt ISR
The isr implementation would clear pending interrupts that had fired
since the first check for pending interrupts, leading to missed events.
This PR amends that issue and fixes typos in comparing IIDX types rather
than bitmasks to explicit comparisons

Signed-off-by: Jackson Farley <j-farley@ti.com>
2026-03-20 20:45:39 +09:00
Sergei Ovchinnikov
22fbee8970 tests: drivers: build_all: regulator: add nordic,npm10xx-regulator
Add npm10xx-regulator to build_all test suite overlay.

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2026-03-20 20:45:16 +09:00
Sergei Ovchinnikov
16f6618d4f drivers: regulator: nPM10xx regulator driver
Nordic's nPM10 Series PMIC regulator Devicetree bindings, helpers and
driver.

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2026-03-20 20:45:16 +09:00
Sergei Ovchinnikov
01da3d2c4a tests: drivers: build_all: charger: add nordic,npm10xx-charger
Add nordic,npm10xx-charger device to the build_all test suite.

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2026-03-20 20:45:04 +09:00
Sergei Ovchinnikov
ff6328b23f drivers: charger: nPM10xx charger driver
Nordic's nPM10 Series PMIC charger Devicetree bindings and driver

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2026-03-20 20:45:04 +09:00
Julien Racki
04cca092f6 boards: st: Add the Nucleo-WBA25CE1 board supports
Add the Nucleo-WBA25CE1 board supports with the
STM32WBA25 MCU running at 64MHz.
Use the  STM32CubeProgrammer v2.22.0 and STM32CubeCLT
v1.21.0 for flashing and debugging
Runner openOCD is not yet available

Signed-off-by: Julien Racki <julien.racki-ext@st.com>
2026-03-20 20:44:45 +09:00
Julien Racki
35381c6112 dts: arm: st: STM32WBA2x new devices of the STM32WBA family
Introduce the new STM32WBA20, STM32WBA23, STM32WBA25 MCUs

Signed-off-by: Julien Racki <julien.racki-ext@st.com>
2026-03-20 20:44:45 +09:00
Julien Racki
88d8624c4f soc: st: Add the STM32WBA2x MCUs
Add the new stm32wba20/3/5x MCUs from the WBA family

Signed-off-by: Julien Racki <julien.racki-ext@st.com>
2026-03-20 20:44:45 +09:00
Julien Racki
5afaa51220 soc: st: stm32: stm32wbax: Add a check for PWR_STOP3_SUPPORT
Check if PWR_STOP3_SUPPORT is defined because if it is
SRAM1 does not support page-granular retention (pages 2–7).

Signed-off-by: Julien Racki <julien.racki-ext@st.com>
2026-03-20 20:44:45 +09:00
Guillaume Gautier
cc35d42166 tests: drivers: uart: async_api: add overlay for nucleo_c5a3zg
Add an overlay to test the UART async api on Nucleo-C5A3ZG.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-20 20:44:12 +09:00
Guillaume Gautier
fed8918046 tests: drivers: dma: add nucleo_c5a3zg overlays
Add overlays for Nucleo-C5A3ZG board for DMA tests.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-20 20:44:12 +09:00
Guillaume Gautier
f5ca230c2b boards: st: nucleo_c5a3zg: add dma support
Enable DMA support for Nucleo-C5A3ZG.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-20 20:44:12 +09:00
Guillaume Gautier
ece513abab dts: arm: st: c5: add dma support
Add lpdma1 and lpdma2 nodes in STM32C5 dtsi files.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-20 20:44:12 +09:00
Francois Ramu
1f4ad5d7d2 drivers: dma: stm32: update driver for stm32 hal2
The LL driver has a different access to the dmax_Channely,
and some macros have been renamed.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2026-03-20 20:44:12 +09:00
Guillaume Gautier
0e77e08495 tests: drivers: rtc: api: add overlay for nucleo_c5a3zg
Add overlay to test the RTC on Nucleo-C5A3ZG.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-20 20:43:57 +09:00
Guillaume Gautier
83c860bc51 boards: st: nucleo_c5a3zg: enable lse and rtc
Enable LSE clock and RTC nodes for Nucleo-C5A3ZG.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-20 20:43:57 +09:00
Guillaume Gautier
4f291e095d dts: arm: st: c5: add rtc node
Add RTC node to STM32C5 dtsi file.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-20 20:43:57 +09:00
Guillaume Gautier
1ed9563804 drivers: counter: stm32: rtc: adapt rtc driver for stm32 hal2
STM32 HAL2 adopts some new syntaxes so the Counter RTC driver needs to be
updated.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-20 20:43:57 +09:00
Guillaume Gautier
1b540adcde drivers: rtc: stm32: adapt rtc driver for stm32 hal2
STM32 HAL2 adopts some new syntaxes so the RTC driver needs to be updated.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-20 20:43:57 +09:00
Laurentiu Mihalcea
1654a34817 drivers: pinctrl: Kconfig.imx: fix missing dependency for PINCTRL_IMX_SCMI
Currently, PINCTRL_IMX_SCMI depends on the SCMI stack being enabled and
the existence of the pinctrl protocol node. This, by itself, is not enough
since this condition can be met by any vendor wanting to use the pinctrl
protocol. Thus, the IMX SCMI pinctrl driver will end up being selected for
other vendors as well, which is not correct.

Fix this by adding a dependency on the IMX-specific pinctrl child being
present. By doing this, the driver will remain auto-selected.

Fixes #105673.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2026-03-20 20:43:36 +09:00
Fin Maaß
65860193cf drivers: serial: test: implement missing irq_is_pending
implement missing irq_is_pending.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-20 20:43:25 +09:00
Krzysztof Chruściński
99336e5d24 ipc: ipc_service: icbmsg: Return error on too early open
If open is called before the backend is initilize then bounding
will stuck as works scheduled to the workqueue in the open function
are never executed. Return error if open is called too early, before
device initialization.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-03-20 20:43:13 +09:00
Krzysztof Chruściński
f5b50c8e64 drivers: mbox: nrf_vevif: Limit scope of Errata 16
Errate 16 applies only to nRF54L05/10/15.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-03-20 20:43:00 +09:00
Jyri Sarha
ee0cc5a620 arch: xtensa: Add XTENSA_BACKTRACE_EXCEPTION_DUMP_HOOK Kconfig option
Add XTENSA_BACKTRACE_EXCEPTION_DUMP_HOOK Kconfig option for sending
backtrace through exception dump hook.

This commit also disables the printk backtrace dumping if Kconfig
option EXCEPTION_DUMP_HOOK_ONLY is set.

Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
2026-03-20 18:20:27 +09:00
Jyri Sarha
8655e64cae arch: exception: Add Kconfig EXCEPTION_DUMP_HOOK_ONLY
Add Kconfig option EXCEPTION_DUMP_HOOK_ONLY. If the option is selected
the exception dumps are sent only to the exception hook. Sometimes even
the attempt to log in the exception routine may hang the system.

Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
2026-03-20 18:20:27 +09:00