Commit graph

136,983 commits

Author SHA1 Message Date
Holt Sun
4138155273 drivers: uart_mcux_lpuart: refine DMA TX busy/error handling
Split DMA status error from busy state handling. Use LOG_DBG for
busy state and LOG_ERR for status query failures. Return -EBUSY
as required by async UART API when transfer is in progress.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-20 15:33:20 +00:00
Razvan Heghedus
8f2b245fe6 dma: mcux_edma: Fix channel gap for edma_reload_loop
`edma_reload_loop` doesn't take into account the DMA possible channel
gap. This is an issue for S32K3 series leading to system crashes when
higher DMA channels are used.

Signed-off-by: Razvan Heghedus <razvan.heghedus@protonmail.com>
2026-01-20 15:33:15 +00:00
Gaetan Perrot
551843cff0 boards: nxp: fix typos in comments
Fix spelling and wording issues in comments across NXP board FlexSPI
NOR configuration headers.

No functional change.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-20 15:33:02 +00:00
Yongxu Wang
1b5e94197b soc: nxp: imx95_m7: enable power domain support
Enable power domain support for i.MX95 M7 core when PM_DEVICE is enabled.

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-01-20 15:32:32 +00:00
Yongxu Wang
ae6be9bed6 dts: arm: nxp: imx95_m7: add NETC power domain support
Add SCMI power domain definition for NETC (Network Controller) subsystem.

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-01-20 15:32:32 +00:00
Yongxu Wang
6df440012b drivers: power_domain: add SCMI power domain driver
Add ARM SCMI-based power domain driver for managing power domains
through the SCMI protocol.

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-01-20 15:32:32 +00:00
Fabio Baltieri
cf356b32a1 tests: twister: only instantiate the Linux instance
This test has been changed in d7a8f29ce7 to drop all the steps that
were running on the other platforms, change it to just instantiate the
Linux instance and drop the conditional.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-20 15:32:20 +00:00
Axel Le Bourhis
f6c7299295 hal_nxp: move multicore middleware to mcux-sdk-ng integration
Move the multicore middleware to the new mcux-sdk-ng integration from
hal_nxp, instead of using the legacy integration method.
This will allow for easier integration of future releases.

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2026-01-20 15:32:09 +00:00
Jamie McCrae
e3371aaf24 mgmt: mcumgr: Add name to CMake libraries
Adds names to these libraries to prevent using auto-generated
names of the paths, which can be longer than the maximum supported
length on the current version of gcc for windows

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:50 +00:00
Jamie McCrae
42ee9832b4 mgmt: mcumgr: kconfig: Fix various issues
Fixes various issues in the Kconfigs including not properly having
abbreviations in the correct case, line lengths, duplicating other
Kconfigs, etc.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:50 +00:00
Jamie McCrae
e830376b71 mgmt: mcumgr: Refactor callback header files
Refactors these so that each group defines the events it raises

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:50 +00:00
James Roy
34a6cac24c doc: Add dt api documentation for hwspinlock
Add devicetree API documentation for hwspinlock, it's
located in `api.html#hardware-specific-apis`.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-20 15:31:32 +00:00
James Roy
2faf427d6a doc: Add dt api documentation for ordinals
Add devicetree API documentation for ordinals, it's
located in `api.html#hardware-specific-apis`.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-20 15:31:32 +00:00
James Roy
9c6cc7d6cb doc: Add dt api documentation for display
Add devicetree API documentation for display, it's
located in `api.html#hardware-specific-apis`.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-20 15:31:32 +00:00
James Roy
253336c396 doc: Add dt api documentation for nvmem
Add devicetree API documentation for nvmem, it's
located in `api.html#hardware-specific-apis`.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-20 15:31:32 +00:00
Jiafei Pan
ec8205162f boards: frdm_imx93: add J-Link runner support
Added J-Link runner to support west flash and west debug.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-01-20 15:31:17 +00:00
Jiafei Pan
fd6fdb817f boards: frdm_imx91: add J-Link runner support
Added J-Link runner to support west flash and west debug.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-01-20 15:31:17 +00:00
Jamie McCrae
58f9d5e6c3 doc: releases: release-notes: 4.4: Add notes on new bits
Adds a new on the newly introduced sysbuild variant image feature
and a new slot1-partition snippet

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:06 +00:00
Jamie McCrae
78772ba863 doc: build: sysbuild: Add details on variant images
Adds details about the ``ExternalZephyrVariantProject_Add`` sysbuild
function which has been newly added, that allows for creating
variant images

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:06 +00:00
Jamie McCrae
43b0c9895d tests: boot: Add mcuboot_direct_xip test
Adds a test which checks that the sysbuild slot1 variant image is
generated, and ensures that it boots properly when both images are
present or when only the second image is present

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:06 +00:00
Jamie McCrae
8312b20ca9 sysbuild: Add ability to generate slot 1 variant image
Adds a new experimental Kconfig option to sysbuild which allows
generating a variant image to use with MCUboot in direct-xip mode.
It also includes base sysbuild infrastructure for creating
additional variant images in future (including out-of-tree),
whereby they use the base configuration of an existing image but
modify it, without creating the default zephyr extra targets for
images (e.g. menuconfig) to prevent changing configuration that
should not be changed.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:06 +00:00
Jamie McCrae
fddcf70d57 snippets: Add slot1-partition snippet
Adds a snippet which sets the chosen code partition to
slot1_partition, which can be used with things like MCUboot

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:06 +00:00
Vinit Mehta
46d8f1baa9 drivers: bluetooth: hci: add host wakeup for IW612 BT controller
Add wakeup IO config for IW612 shield for BT host wakeup
functionality.
Add kconfig to enable/disable BT host wakeup functionality
Add kconfig to toggle onboard LED upon detecting BT activity

Signed-off-by: Vinit Mehta <vinit.mehta@nxp.com>
2026-01-20 15:30:54 +00:00
Grzegorz Chwierut
5d73bc00ca twister: fix --list-tests output, remove duplication in names
This fixes the issue where --list-tests and --test-tree commands
showed duplicated testsuite IDs in the output,
simplifies testcase name handling in harness and runner modules.
Removed feature to extend behaviour of --no-detailed-test-id to shorten
test case names - feature was introduced in #82302.
This makes the twister output more predictable and the codebase easier
to maintain.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2026-01-20 15:30:44 +00:00
Jiafei Pan
0be4e58871 boards: imx943_evk: add A55 SMP board variant
The default SMP board variant runs SMP Zephyr on four A55 Cores, it
could be changed by disabling some CPU core nodes in dts and change
CONFIG_MP_MAX_NUM_CPUS accordingly.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-01-20 15:30:33 +00:00
Jiafei Pan
7f864309a7 boards: imx943_evk: fix board document footer
Move footer to the end of the document.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-01-20 15:30:33 +00:00
Jamie McCrae
ac348a7ab5 scripts: dts: gen_dts_cmake: Output compatibles for no prop. nodes
Seemingly partitions (fixed-partitions) have no properties when
the edt file is loaded, work around this issue by outputting
compatibles for nodes that have them but have no properties, also
fixes some other outputs for misc. devices

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:30:18 +00:00
Aiden Hu
1cbc2de20f drivers: usb: uhc: fix unused variable warning for phy_config
Remove phy_config local variable then use controller-specific
config struct for usb PHY initialization

Signed-off-by: Aiden Hu <weiwei.hu@nxp.com>
2026-01-20 15:30:03 +00:00
Biwen Li
7a1cc72efa drivers: i2s: mcux_sai: init base,mask,offset as 0
Initialize mclk_control_base,
mclk_pin_mask, mclk_pin_offset as 0
and skip mclk settings when
there is no property pinmuxes.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2026-01-20 15:29:36 +00:00
Alain Volmat
7cc95ae919 boards: shields: st_b_cams_omv_mb1683: add stm32h7s78_dk confs
Add board specific configuration and overlay for enabling the
st_b_cams_omv_mb1683 shield on the stm32h7s78_dk board.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-20 15:29:27 +00:00
Alain Volmat
cd82d84153 boards: st: stm32h7s78_dk: use PSRAM for video buffers
Use the psram to store video buffers.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-20 15:29:27 +00:00
Alain Volmat
8078db0419 boards: st: add camera connector and camera interface in stm32h7s78
Describe the camera related pins of the 30pins connectors of the
stm32h7s78 as well as DCMIPP pin assignments for the stm32h7s78

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-20 15:29:27 +00:00
Alain Volmat
9e993d3111 boards: st: stm32h7s78_dk: correct SPI4 chip select
On this board the chip select is connected to GPIO E10
and must be controlled via GPIO since SPI4 CS is accessible
via either E4 or E11 which are both already used by other
functions on this board.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-20 15:29:27 +00:00
Alain Volmat
94d5de3ffe dts: arm: st: add dcmipp node in stm32h7rs.dtsi
The STM32H7RS series embeds a parallel interface based DCMIPP
block allowing to capture data from sensors and store them into
memory.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-20 15:29:27 +00:00
Alain Volmat
8f9e370bfb drivers: clock: h7rs: add PCLKx support
Addition of PCLKx clock source which can be used by some
peripherals.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-20 15:29:27 +00:00
Alain Volmat
39a60f8a0b video: st: remove soc specific dcmipp compatibles
Only st,stm32-dcmipp is described and only st,stm32n6-dcmipp
was used within the driver to decide if CSI / PIXEL_PIPES
are available. Instead of this, look at HAL provided macros
to know if the selected soc has the functionalities or not.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-20 15:29:27 +00:00
Ren Chen
7b81e406d6 board: ite: it515xx_evb: rename it515xx_evb to it51xxx_evb
This change accommodates support for next-generation
soc(it51600).

Tested with:
west build -p always -b it51xxx_evb/it51526aw samples/hello_world/

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2026-01-20 15:28:09 +00:00
Khoa Nguyen
04a334360c soc: renesas: ra: Update condition for SOC_RA_ENABLE_START_SECOND_CORE
Update condition to use config RENESAS_PN_NUMBER_OF_CORES
for SOC_RA_ENABLE_START_SECOND_CORE

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-01-20 13:26:43 +00:00
Khoa Nguyen
4d5f4888b4 soc: renesas: ra: Add invisible RENESAS_PN config
Add invisible RENESAS_PN config to reflect the SoC hardware
information and provide input for hal_renesas

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-01-20 13:26:43 +00:00
Mathieu Choplain
dac9d3e1c3 drivers: usb: common: stm32: pwr: add power disable support
Add code to disable the USB power supply.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-20 13:26:11 +00:00
Mathieu Choplain
2120eb3027 drivers: usb: udc: stm32: move power configuration to common code
Create infrastructure for shared USB common code on STM32 family, and move
the Power Controller configuration logic to common code. This removes some
midly unrelated code from the UDC driver while enabling reuse by a future
UHC driver implementation for STM32.

While at it, clean up the migrated code.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-20 13:26:11 +00:00
Deepika R
47ed66bcc2 dts: arm: infineon: Change TCPWM Base Register
-Change base register for TCPWM to 0x40200000
 which controls the entire IP block.
- enabling/disabling counters and handling
 global interrupts.

Signed-off-by: Deepika R <deepika@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-20 13:25:58 +00:00
Deepika R
4c295bf681 samples: drivers: counter: alarm: boards: Add overlay file
- Add an overlay to enable TCPWM Counter sample.
- Contains configurations for Counter and Clock

Signed-off-by: Deepika R <deepika@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-20 13:25:58 +00:00
Deepika R
f1edde06f0 drivers: counter: Add Infineon counter driver
Add implementation of the Infineon PSoC4 TCPWM-based counter driver.
- Provides basic counter operations
including start, stop, read, and set alarm.
- Supports configuration and initialization through Device Tree.
- Enables alarm callback handling for
precise time-based event generation.

Signed-off-by: Deepika R <deepika@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-20 13:25:58 +00:00
Nhut Nguyen
541e732f35 doc: migration-guide-4.4: Document renesas,rz-gpio change
Document renesas,rz-gpio change

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
315ea7bdcc tests: drivers: gpio: Update Renesas RZ overlay files
Update all Renesas RZ overlays for GPIO tests to replace raw
values with IRQ phandles.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
af766e0cda boards: renesas: Update irq property of gpio nodes to use irq phandle
Update irq property of gpio nodes to use irq phandle for rzn2l_rsk,
rzt2l_rsk, rzt2m_rsk

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
45c7710fe4 dts: renesas: Update pinctrl and gpio nodes for RZ family
Update pinctrl and gpio nodes for Renesas RZ family

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
e200e82909 drivers: gpio: renesas: Refactor gpio for RZ family
- Decouple interrupt settings from gpio drivers, making them configured
  and handled independently by tint and ext_irq drivers.
- Remove device-specific hardware definitions in gpio_renesas_rz.h and
  take advantage of pinctrl data type and dtsi for certain series.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Nhut Nguyen
69285c4294 drivers: pinctrl: renesas: Refactor RZ pinctrl data structure
- Replaced the previous struct layout with a union
  type. This change exposes all register fields that were hidden
  for pinctrl, but now they are useful for gpio to reuse.
- Remove `_t` suffix from struct tag to avoid duplication with
  typedef alias.

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00