Commit graph

136,983 commits

Author SHA1 Message Date
Shankar Ramasamy
35ffebeb32 tests: adc: microchip: Add pic32cm_jh01_cpro overlay for tests
Add board overlay for pic32cm_jh01_cpro to enable ADC test
cases to run on PIC32CM_JH01 Curiosity Pro board

Signed-off-by: Shankar Ramasamy <shankar.ramasamy@microchip.com>
2026-03-18 15:21:47 -05:00
Shankar Ramasamy
7b173267af samples: adc: Add pic32cm_jh01_cpro overlay for ADC Sequence
Add devicetree overlay for running adc_sequence tests on
PIC32CM_JH01 Curiosity Pro board

Signed-off-by: Shankar Ramasamy <shankar.ramasamy@microchip.com>
2026-03-18 15:21:47 -05:00
Shankar Ramasamy
a6db4f69f2 boards: microchip: pic32cm_jh01_cpro: Add ADC pinctrl and feature support
Add ADC0 and ADC1 pinctrl definitions and update the board
metadata to list ADC as a supported feature for PIC32CM_JH01
Curiosity Pro board

Signed-off-by: Shankar Ramasamy <shankar.ramasamy@microchip.com>
2026-03-18 15:21:47 -05:00
Shankar Ramasamy
e521064e64 drivers: adc: microchip: Update ADC G1 driver for PIC32CM_JH01
Update ADC G1 driver implementation to support PIC32CM_JH01

Signed-off-by: Shankar Ramasamy <shankar.ramasamy@microchip.com>
2026-03-18 15:21:47 -05:00
Shankar Ramasamy
a9c78e66ad dts: arm: microchip: Update ADC G1 driver for PIC32CM_JH01
Update of device tree nodes and associated header file
for PIC32CM_JH01

Signed-off-by: Shankar Ramasamy <shankar.ramasamy@microchip.com>
2026-03-18 15:21:47 -05:00
Francois Ramu
c96fff86cc boards: st: stm32h5f5 disco kit enables the xspi2 instance
Add the XSPI2 in the Device Tree of the stm32h5f5j_dk
PSRAM memory is connected aps6408l to the port2

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2026-03-18 15:21:14 -05:00
Francois Ramu
3309802a69 boards: st: stm32h5f5 disco kit enables the xspi1 instance
Add the XSPI1 in the Device Tree of the stm32h5f5j_dk
External Flash NOR is connected mx25lm51245 to the port1

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2026-03-18 15:21:14 -05:00
Francois Ramu
ac98131ff0 drivers: memc: stm32_xspi_psram: add support for STM32H5E/F
Name the XSPI 1/2 depending on the stm32 series.
It could be mixed between XSPI or OCTOSPI depending
on the module HAL.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2026-03-18 15:21:14 -05:00
Francois Ramu
6e87d2e225 driver: flash: stm32 xspi driver with abstraction on port naming
Name the XSPI 1/2 depending on the stm32 series. It could be mixed between
XSPI or OCTOSPI depending on the module HAL.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2026-03-18 15:21:14 -05:00
Francois Ramu
44f6dbac06 tests: drivers: dac testing on the stm32h5f5 disco kit
Run the tests/drivers/dac on the DAC1 of the
stm32h5f5j_dk disco  boards.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2026-03-18 15:21:14 -05:00
Francois Ramu
2fd99e408d boards: st: add stm32h5f5 disco kit support
Add the stm32h5f5j_dk target board with stm32h5f5 device.
sysclock at Max freq 250MHz.
Note that user button is on PI8.
Use the  STM32CubeProgrammer v2.22.0
Runner openOCD is not yet available

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2026-03-18 15:21:14 -05:00
Francois Ramu
8fa3dd9cee dts: arm: st: stm32h5e/f new devices of the stm32h5 family
Introduce the new stm32h5e4, stm32h5e5, stm32h5f4, stm32h5f5 mcu
The Xj variant has 4MB of internal flash whereas the Xk variant has 3MB.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2026-03-18 15:21:14 -05:00
Francois Ramu
7a0a8f6811 include: dt-bindings: clock: stm32h5: shush Doxygen warnings
The meaning on the macros is self-explanatory, and the sheer amount of
macros makes documenting every single one a giant waste of time.

Shush Doxygen warnings about undocumented symbols by making the whole
header INTERNAL_HIDDEN.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2026-03-18 15:21:14 -05:00
Francois Ramu
1342c0371b include: dt-bindings: OCTOSPI2 clock source selection for the stm32h5e/f
Add clock domain on new peripherals of the STM32H5E/Fx series

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2026-03-18 15:21:14 -05:00
Francois Ramu
15de3940ea soc: st: stm32h5ex and stm32h5fx new mcu of the stm32h5 family
Add the new stm32h5e4/5 and stm32h5f4/5 devices of the stm32H5 family
with 4MB of flash and Arm® Cortex®-M33 core.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2026-03-18 15:21:14 -05:00
Jacob Wienecke
8f24bebe64 i2s: mcux_flexcomm: add PM device support
Add pm_action callback with PINCTRL_STATE_SLEEP on suspend and
PINCTRL_STATE_DEFAULT on resume. Register the driver with
PM_DEVICE_DT_INST_DEFINE so the PM framework calls the callback
during system sleep transitions.

If no sleep pinctrl state is defined in DTS, the suspend call
is a no-op.

Signed-off-by: Jacob Wienecke <jacob.wienecke@nxp.com>
2026-03-18 15:20:21 -05:00
Seppo Takalo
42d4c802a2 modem: cmux: Add handler for control channel disconnect
The 3GPP TS 27.010  section 5.3.4 specifies:
"DISC command sent at DLCI 0 have the same meaning as the
 Multiplexer Close Down command"

Add a handler for this and do the same operation as in
modem_cmux_on_cld_command().

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2026-03-18 15:19:57 -05:00
Grzegorz Chwierut
86a1c954a2 tests: twister: Align tests with hardware reservation changes
Update unit tests after moving hardware reservation logic from
Handler class to HardwareMap. Relocate and rename tests to match
the new module structure and API changes.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2026-03-18 15:19:30 -05:00
Grzegorz Chwierut
2eb3bb9588 twister: move hardware reservation to runner context manager
Hardware reservation logic moved from Handler class to ProjectBuilder
runner using context manager approach. When NoDeviceAvailableException
is raised due to no free devices, the task is re-queued for later
processing instead of blocking the execution pipeline.

The reserve_hardware() context manager handles device reservation,
yields execution control only when hardware is available, and ensures
proper cleanup in the finally block.

All DUT management logic is now consolidated in HardwareMap class,
removing DUT references from Handler classes. This improves code
maintainability by centralizing responsibilities and eliminating
shared ownership of hardware resources between modules.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2026-03-18 15:19:30 -05:00
Jiafei Pan
41bc6192ac boards: imx93_evk: add flexspi nor flash support for A55
Add flexspi nor flash support on imx93_evk, need to insert M.2 nor flash
card on the board.

Signed-off-by: Joe Zhou <zhongcai.zhou@nxp.com>
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 15:18:39 -05:00
Jiafei Pan
ff33cc8da7 dts: arm64: imx93: add flexspi device node
Add device node for flexspi for i.MX 93 A55.

Signed-off-by: Joe Zhou <zhongcai.zhou@nxp.com>
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 15:18:39 -05:00
Jiafei Pan
ba8fce930f soc: imx93: add flexspi clock configuration
Add flexspi clock configuration for i.MX 93.

Signed-off-by: Joe Zhou <zhongcai.zhou@nxp.com>
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-03-18 15:18:39 -05:00
Phuc Hoang
2c05145d6b driver: crc: Add Silabs gpcrc driver
Add Silabs General GPCRC driver for Series 2 boards
Enable crc sample and test cases for Silabs series 2

Tested on real boards and compared result with all CRC16
and CRC32-IEEE algorithm

Signed-off-by: Phuc Hoang <donp172748@gmail.com>
2026-03-18 15:18:02 -05:00
Krisztian Szilvasi
ef8dc2a9e4 boards: shields: add wiznet_w5500 ethernet shield
Support shield definition for "WIZnet W5500 Ethernet Shield".

[1] https://docs.wiznet.io/Product/Chip/Ethernet/W5500/W5500-Ethernet-Shield/w5500_ethernet_shield

Signed-off-by: Krisztian Szilvasi <krisztian@atym.io>
2026-03-18 15:17:25 -05:00
Bjarki Arge Andreasen
13743e5ca2 doc: build: dts: phandles: document IO channels are special-cased
Update phandle documentation to reflect that IO channels are now
special-cased like GPIOs.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-03-18 15:16:49 -05:00
Bjarki Arge Andreasen
9bfe7ca1f5 scripts: dts: python-devicetree: extend special casing to io-channels
Extend the special casing of specifer space to include io-channels,
making the implementation a bit more easily scalable for the
future as well. This allows defining io-channels like gpios,
prepending a name like foo-io-channels, which is useful when
multiple groups of io-channels need to be defined for a node:

  foo {
          bar-io-channels = <&baz 0>, <&baz 1>;
          qiz-io-channels = <&baz 2>, <&baz 3>;
  };

This is useful for defining channels to be read in parralel
sequences.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2026-03-18 15:16:49 -05:00
Laurentiu Mihalcea
29191f0dd5 MAINTAINERS: add firmware samples under Firmware area
Firmware-related samples should belong to the Firmware area.
Update MAINTAINERS to reflect that.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2026-03-18 15:16:14 -05:00
Laurentiu Mihalcea
e57cbd607e samples: drivers: add SCMI sample
Add sample for ARM's SCMI. This is part of #103633.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2026-03-18 15:16:14 -05:00
Laurentiu Mihalcea
59f1ebdccf firmware: scmi: add support for shell commands
Add initial support for SCMI shell commands. For now, this only includes
clock protocol-related commands. Other SCMI protocols will be added
incrementally.

Part of #103633.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2026-03-18 15:16:14 -05:00
Laurentiu Mihalcea
8139eb2e1f firmware: scmi: clk: implement CLOCK_ATTRIBUTES command
Add function implementing the CLOCK_ATTRIBUTES command.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2026-03-18 15:16:14 -05:00
Lucien Zhao
ea507c9c3a boards: frdm_imxrt1186: add lpspi2 instance support
- add lpspi2 instance support
- test spi_loopback passed on my local
  (connect J3-14 (LPSPI2_SOUT) <-> J3-16 (LPSPI2_SIN))

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-03-18 15:14:17 -05:00
Soumya Tripathy
59c1748c4d boards: ti: am62l_evm: enable SCMI clock and power domain support
Enable SCMI configs for AM62L evm to enable clock control
and power domain management through the SCMI protocol.

Signed-off-by: Soumya Tripathy <s-tripathy@ti.com>
2026-03-18 15:13:41 -05:00
Soumya Tripathy
b12ee59db8 dts: ti: am62l: increase SCMI shared memory size
Increase SCMI shared memory region from 256 bytes to 4KB to support
larger SCMI message payloads required for clock and power domain
operations.

Signed-off-by: Soumya Tripathy <s-tripathy@ti.com>
2026-03-18 15:13:41 -05:00
Soumya Tripathy
63e01458e4 dts: ti: am62l: wire SCMI clock and power domains for peripherals
Wire SCMI clock and power domains nodes to all UART, I2C, and
SPI peripheral nodes for am62l soc.

Signed-off-by: Soumya Tripathy <s-tripathy@ti.com>
2026-03-18 15:13:41 -05:00
Soumya Tripathy
78fd8c725c dts: ti: am62l: add SCMI power domain definitions for peripherals
Add scmi power domain nodes for am62l soc peripherals.

Signed-off-by: Soumya Tripathy <s-tripathy@ti.com>
2026-03-18 15:13:41 -05:00
Soumya Tripathy
62bdd9a7e2 drivers: firmware: scmi: add SMC transport support
Add support for SCMI transport layer using ARM SMC (Secure Monitor
Call) as the doorbell mechanism with shared memory for data transfer.
Communication is performed synchronously so polling is the only
supported mode. The implementation follows the SCMI specification
for SMC/HVC based transport.

Signed-off-by: Soumya Tripathy <s-tripathy@ti.com>
2026-03-18 15:13:41 -05:00
Soumya Tripathy
a132036b2d drivers: firmware: scmi: add polling_only support for transport
Add polling_only flag to scmi_channel structure to support transports
that require polling mode (e.g., SMC transport which uses synchronous
SMC/HVC calls without interrupt support).

Signed-off-by: Soumya Tripathy <s-tripathy@ti.com>
2026-03-18 15:13:41 -05:00
Appana Durga Kedareswara rao
1afec35e20 soc: xlnx: zynq7000: Fix SoC Kconfig naming for HWMv2 compliance
Rename SOC_XILINX_XC7Z* Kconfig symbols to SOC_XC7Z* to align
with HWMv2 guidelines. The SOC Kconfig symbol name must match
the uppercase version of the SOC name defined in soc.yml.

Before: config SOC_XILINX_XC7Z010 with default "xc7z010"
After:  config SOC_XC7Z010 with default "xc7z010"

This allows CI checks to detect typos and enables future
auto-generation of SOC_* symbols from soc.yml files.

Updated files:
- soc/xlnx/zynq7000/xc7zxxx/Kconfig.soc
- soc/xlnx/zynq7000/xc7zxxxs/Kconfig.soc
- boards/digilent/zybo/Kconfig.zybo
- boards/qemu/cortex_a9/Kconfig.qemu_cortex_a9

Fixes: #69317

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2026-03-18 15:12:39 -05:00
Etienne Carriere
e237a97b82 west.yml: update the hal_stm32 modules with new stm32cube packages
stm32wbxx bump to version to 1.24.0
stm32wlxx bump to version 1.4.0

Update dma_stm32.h to sync with HAL new function prototype for
LL_DMA_IsActiveFlag_HT*() functions that now expect a const pointer
on STM32WLX series.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-18 15:11:59 -05:00
Johann Fischer
c20654adf4 drivers: udc: use regulator driver in DWC2 nRF54LM20A vendor quirks
Use Nordic VREGUSB regulator driver in DWC2 nRF54LM20A vendor quirks.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-03-18 15:11:16 -05:00
Johann Fischer
46ca8b72e2 dts: nordic: use phandle to reference VREGUSB regulator
PHY and controller function depends on VREGUSB. Add VREGUSB regulator
node to nRF54LM20A and use phandle to reference it in the wrapper node.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-03-18 15:11:16 -05:00
Johann Fischer
c517c0cba9 drivers: regulator: add driver for Nordic USB VBUS regulator
Add driver for internal voltage regulator for the USB signaling
interface.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
Co-Authored-by: Carles Cufi <carles.cufi@nordicsemi.no>
2026-03-18 15:11:16 -05:00
Johann Fischer
2b146d7a6b include: regulator: add set callback API
The regulator may generate an interrupt when, for example, the voltage
is present. The callback can be used for USB VBUS voltage regulators to
notify that a device is connected to a port.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-03-18 15:11:16 -05:00
Johann Fischer
851480f8b3 dts: nordic: describe USB hardware wrapper in nRF54LM20A
We need to describe the wrapper separately as a parent node because it
is not part of the USB controller but is used to configure, control, and
enable/disable the USB PHY, and to enable/disable USB controller.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-03-18 15:11:16 -05:00
Johann Fischer
92bc73c337 soc: nordic: remove pointless usbhs nodelabel vs MDK name checks
The nodelabels do not have any relation to the Nordic MDK and can be
named differently between SoCs.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-03-18 15:11:16 -05:00
Tim Pambor
c5857bbe67 drivers: disk: ftl: fix deprecation warning
Replace deprecated FIXED_PARTITION_BY_NODE by PARTITION_BY_NODE
to avoid build warnings.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-18 09:15:54 -07:00
Hake Huang
47553eb9ba tests: display: use explicit RT1170 EVK rev B target
Make the RT1170 EVK rev B target explicit in display_check instead of
relying on the board default revision alias. This keeps the
testcase consistent with the adjacent explicit rev A entry and
avoids ambiguity about which hardware revision is exercised.

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2026-03-18 08:45:58 -05:00
Holt Sun
37d6ffa989 drivers: ieee802154: mcxw: require dedicated counter
When lptmr0 is reserved as the system timer, the MCXW IEEE 802.15.4
radio cannot rely on a separate counter device being instantiated for it.
The fallback to the kernel cycle counter is also not a valid replacement
for hardware timestamping in all timer configurations.

Add a counter phandle to the MCXW binding, wire the MCXW7x boards in scope
to use lptmr1 as a dedicated non-system-timer counter, and make the driver
consume that devicetree-provided counter directly.

This keeps the fix narrow to the boards enabled in this PR while removing
the fragile hard-coded lptmr0/lptmr1 selection logic.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-03-18 08:45:36 -05:00
Holt Sun
020d465247 drivers: counter: mcux_lptmr: fix unused function warning
When all LPTMR instances are reserved as the system
timer, the counter driver has no instances to create.
The static init and ISR functions become unused,
causing -Werror=unused-function build failures.

Guard the entire driver body with a preprocessor check
that counts usable (non-system-timer) LPTMR instances.
When the count is zero the file compiles to nothing.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-03-18 08:45:36 -05:00
Holt Sun
3ecf1e9f70 tests: counter: skip chosen system timer LPTMR
The MCUX LPTMR counter driver skips instantiating the LPTMR
instance reserved by zephyr,system-timer. The counter basic
API test still enumerated all status-ok nxp,lptmr nodes via
DEVICE_DT_GET(), which left a dangling device reference when
i.MX95 M7 selected lptmr1 as the system timer.

Filter the test device list to exclude the chosen system timer
node so the test only references LPTMR instances that the
counter driver actually instantiates.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-03-18 08:45:36 -05:00