Commit graph

126,787 commits

Author SHA1 Message Date
Zhaoxiang Jin
eeea3bddee drivers: audio: Add NXP MICFIL driver
Add NXP MICFIL driver base DMIC device driver model.
MICFIL reference manual:https://www.nxp.com/products/MCX-N23X#documentation
chapter 58.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-10-22 18:34:20 +03:00
Zhaoxiang Jin
eaa07d0e0f drivers: mcux_syscon: enable MICFIL clock control
Enable MICFIL clock control for NXP MCUX SoCs.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-10-22 18:34:20 +03:00
Lei Xu
3efbbe66c1 samples: fs: fs_sample: Increase CONFIG_MAIN_STACK_SIZE for imx91
Increase CONFIG_MAIN_STACK_SIZE to 8192 to avoid possible crash.

Signed-off-by: Lei Xu <lei.xu@nxp.com>
Signed-off-by: Jiafei Pan <jiafei.pan@nxp.com>
2025-10-22 18:34:09 +03:00
Lei Xu
b0e2e3d4bc boards: frdm_imx91: enable SDHC on the board
Added pinctrl and dts nodes for uSDHC1 and uSDHC2, they are disabled
by default, and provided overlay files to enable them if needed.

Signed-off-by: Lei Xu <lei.xu@nxp.com>
Signed-off-by: Jiafei Pan <jiafei.pan@nxp.com>
2025-10-22 18:34:09 +03:00
Lei Xu
4137d18a07 soc: imx91: add empty soc.h
Some drivers need header file soc.h, according to Zephyr SoC Porting Guide
soc.h must be provided for each SoC, so created an empty one.

Signed-off-by: Lei Xu <lei.xu@nxp.com>
Signed-off-by: Jiafei Pan <jiafei.pan@nxp.com>
2025-10-22 18:34:09 +03:00
Lei Xu
feed595506 dts: arm64: imx9131: add USDHC device nodes
Add device nodes for SDHC.

Signed-off-by: Lei Xu <lei.xu@nxp.com>
Signed-off-by: Jiafei Pan <jiafei.pan@nxp.com>
2025-10-22 18:34:09 +03:00
Etienne Carriere
6ae0efacb8 dts: arm: st: correct exti #address-cells value
Correct #address-cells property in exti interrupt controller nodes
for STM32 SoCs that defined it to 1 whereas value 0 is more applicable
as that interrupt does not expect sub-node nor interrupt mapping.

No functional changes as the value is ignored. This change rather targets
STM32 SoCs DTSI files consistency.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-10-22 18:33:57 +03:00
Etienne Carriere
39206aaa69 dts: arm: st: wba: add missing #address-cells in exti node
Add missing #address-cells property in exti interrupt controller node.
This change prevents build warning messages when using DTC v1.6.1. With
former or later DTC versions, missing #address-cells property is ignored
but it remains requires as per DT schemas, e.g. [1]

Link: https://github.com/devicetree-org/dt-schema/blob/v2025.08/dtschema/schemas/interrupt-controller.yaml#L18 [1]
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-10-22 18:33:57 +03:00
Etienne Carriere
93cbd2d7a5 dts: arm: st: l5: add missing #address-cells in exti node
Add missing #address-cells property in exti interrupt controller node.
This change prevents build warning messages when using DTC v1.6.1. With
former or later DTC versions, missing #address-cells property is ignored
but it remains requires as per DT schemas, e.g. [1]

Link: https://github.com/devicetree-org/dt-schema/blob/v2025.08/dtschema/schemas/interrupt-controller.yaml#L18 [1]
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-10-22 18:33:57 +03:00
Cla Mattia Galliard
80d00b5ec1 net: tc-mapping: Fix SKIP_FOR_HIGH_PRIO
Adjust the way the SKIP option worked. Before this patch, a constant
priority offset was considered "high priority" this had the effect, that
the threads assigned to work on the priority were effectively usesless.
To fix it, consider this immediate handling as a pseudo-queue and compute
the tc-thead-mapping based on the effective count (+1 if skipping is
enabled). This makes it so that all threads are usefull and the
high-priority skip-path is considered as a pseudo tc-thread.

Signed-off-by: Cla Mattia Galliard <clamattia@gmail.com>
2025-10-22 18:33:43 +03:00
Cla Mattia Galliard
27effdb727 net: tc_mapping: Use preprocessor
Avoid token pasting and use preprocessor more for additional flexibility.

Signed-off-by: Cla Mattia Galliard <clamattia@gmail.com>
2025-10-22 18:33:43 +03:00
Allen Zhang
7022eac5bb tests: drivers: spi: add overlay and conf file to run test on MCXW23 boards
Support spi_loopback example for frdm_mcxw23 and mcxw23_evk boards.
Test using tests/drivers/spi/spi_loopback.

Signed-off-by: Allen Zhang <chunfeng.zhang@nxp.com>
2025-10-22 18:33:31 +03:00
Allen Zhang
b8a3319fc3 boards: mcxw23: Add support for OSTIMER, SPI and DMA
Enable board support for OSTIMER, SPI and DMA

Signed-off-by: Allen Zhang <chunfeng.zhang@nxp.com>
2025-10-22 18:33:31 +03:00
Allen Zhang
820fdf842e soc: mcxw: enable OSTIMER for MCXW2xx
Enable OSTIMER for MCXW2XX

Signed-off-by: Allen Zhang <chunfeng.zhang@nxp.com>
2025-10-22 18:33:31 +03:00
Allen Zhang
c09159317f dts: mcxw23x: add OSTIMER and DMA support in dts
add dts support for OSTIMER and DMA

Signed-off-by: Allen Zhang <chunfeng.zhang@nxp.com>
2025-10-22 18:33:31 +03:00
Arthur Gay
43738e6927 drivers: disk: sdmmc_stm32: Add API to retrieve SD card CSD register
Introduce a new API function in the sdmmc_stm32 driver that allows
applications to access the Card Specific Data (CSD) register of the
SD/MMC card. This functionality, already available in the SPI-based SD
and MMC subsystems, was previously missing from the STM32 SDMMC driver.

This enhancement enables use cases such as verifying the correct SD card
during manufacturing, ensuring that OEMs use the specified SD card, and
preventing mismatches.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
2025-10-22 18:33:18 +03:00
Pieter De Gendt
ef7c370187 scripts: west_commands: runners: Replace ToggleAction
Replaces the custom ToggleAction with the argparse.BooleanOptionalAction.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-10-22 18:33:01 +03:00
Pieter De Gendt
e2b3d2a893 scripts: west_commands: sign: Replace ToggleAction
Replaces the custom ToggleAction with the argparse.BooleanOptionalAction.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-10-22 18:33:01 +03:00
Cristian Bulacu
5cd223bc4b net: l2: openthread: openthread_border_router: Update address events
This commit refactored IPV6 and IPV4 address events. Events have been
defined independently for each installed callback.
Previously, IPV6 address event was not triggered due to a mix of IPV4
and IPV6 flags.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-10-22 18:32:49 +03:00
Cristian Bulacu
e73714bb33 modules: openthread: platform: mdns_socket: Update AIL address monitor
This commit improves AIL address monitoring; Associated function will be
called after OpenThread mDNS module starts platform code by
'otPlatMdnsSetListeningEnabled`.
A new flag, `mdns_socket_is_enabled` has been added to support this new
logic.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-10-22 18:32:49 +03:00
Immo Birnbaum
582e7df9b5 soc: st: stm32h7rsx: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
33ab25e4e7 soc: infineon: pse84: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
8b210fdff7 boards: nxp: mimxrt1180_evk: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
94daa23cb0 soc: adi: max32: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
3d49cfff0c soc: infineon: cyq20829: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
a0f75042a9 soc: nordic: nrf54hx: nrf92x: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
4cd2e61a73 soc: nuvoton: npcx7: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
a54226d87a soc: nuvoton: m55m1x: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
83112f4b28 soc: nxp: imx8m: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
e076ad18ca soc: nxp: imxrt: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
d43ed03652 soc: nxp: s32k3: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
2e416b26b2 soc: renode: cortex_r8_virtual: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
5be0f2d789 soc: st: stm32h7x: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
e21dd9504c soc: ti: am6x: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
a6966363ac soc: xlnx: zynqmp: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
34d346288e arch: arm: core: mpu: adjust MPU header include
Update include of header file arm_mpu_mem_cfg.h which has been moved
to a Cortex-M/-R-agnostic include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Immo Birnbaum
61b145f427 arch: arm: mpu: move MPU memory configuration header
Move the helper file arm_mpu_mem_cfg.h, which translates the values
of the Kconfig symbols CONFIG_FLASH_SIZE and CONFIG_SRAM_SIZE to size
definitions to be used during MPU setup, from a Cortex-M-specific
include directory to the Cortex-agnostic zephyr/arch/arm/mpu directory,
as:

- the contents of this header file are not dependent on the target being
  an ARMv7M, only ARMv8M is excluded, but the contents are identical
  for the ARMv7/8 Cortex-R MPU implementation,
- the header file zephyr/arch/arm/mpu/arm_mpu.h, included within
  arm_mpu_mem_cfg.h, is also compatible with both Cortex-M and Cortex-R,
  the distinction between the two implementations takes place at an
  even lower level,
- several ARMv7/8 Cortex-R targets now reference this header file in their
  MPU region setup (Xilinx ZynqMP, TI K3, Renode cortex_r8_virtual) while
  so far referencing it in an ARMv7 Cortex-M-specific include directory.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-22 18:32:27 +03:00
Fin Maaß
c821bf3493 mgmt: hawkbit: exclude DIRECT_XIP
DIRECT_XIP requires different images based on
the slot where there it is saved, in hawkbit we
currently have no way of telling the server that or
chosing a image to download based on it, so
make sure it is not used.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-10-22 18:32:16 +03:00
Luca Burelli
e87ff255ed MAINTAINERS: add dts/vendor/arduino/ to Arduino Platforms section
Files in that directory relate to Arduino hardware products, so it makes
sense to include them in the Arduino Platforms section.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2025-10-22 18:32:05 +03:00
Benjamin Cabé
9d061156f2 Revert "shell: modules: devmem: support 64-bit read & write"
This reverts commit 5149463f79
which causes issue for ARC64 architectures in main

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-22 18:31:56 +03:00
Benjamin Cabé
5e590e4171 Revert "arch: arc: add sys_write64/sys_read64 functions"
This reverts commit 3462a489f0 that
was marked as hotfix and merged despite reservations from
ARC maintainer

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-22 18:31:56 +03:00
Benjamin Cabé
3462a489f0 arch: arc: add sys_write64/sys_read64 functions
Added sys_read64 and sys_write64 functions for 64-bit memory operations,
similar to sys_read32 and sys_write32.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-22 09:17:06 -04:00
Martin Hoff
45179f895c drivers: serial: silabs: Fix uart tx abort at high baudrate
At high baudrate when using async api of the uart, the abort
function in not giving the right informations since we're stopping
the dma after getting the status of it. It makes the uart_async_api test
failed on high baudrate.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-10-22 15:03:23 +02:00
Martin Hoff
6ef3ea4080 drivers: serial: silabs: Correction of dma/peripheral isr exec order
This patch correct a bug where the uart/eusart tx callback might be
triggered before the dma complete callback at high baudrate when using
async transfer.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-10-22 15:03:23 +02:00
Håvard Reierstad
b6252b57aa Bluetooth: Host: shell: Don't use BT_FIXED_PASSKEY
Updates the bt shell API to use the new Kconfig option
BT_APP_PASSKEY instead of BT_FIXED_PASSKEY as this is being
deprecated.

Signed-off-by: Håvard Reierstad <haavard.reierstad@nordicsemi.no>
2025-10-22 16:01:08 +03:00
Håvard Reierstad
82cfb5a056 Bluetooth: Host: Deprecate BT_FIXED_PASSKEY
The BT_FIXED_PASSKEY Kconfig option is being deprecated, and is replaced
by BT_APP_PASSKEY. The reason for the deprecation is an upcoming
errata, ES-24489, which mandates that a new passkey shall be generated
for each pairing procedure.

Signed-off-by: Håvard Reierstad <haavard.reierstad@nordicsemi.no>
2025-10-22 16:01:08 +03:00
Håvard Reierstad
6c64054d6e Bluetooth: Host: Add BT_APP_PASSKEY Kconfig option
Adds the BT_APP_PASSKEY Kconfig, which allows the application to provide
passkeys for pairing using the new `app_passkey()` callback.
This is an alternative to BT_FIXED_PASSKEY, which will be deprecated in
a later commit.

Signed-off-by: Håvard Reierstad <haavard.reierstad@nordicsemi.no>
2025-10-22 16:01:08 +03:00
Dave Rensberger
bd01638716 drivers: wifi: infineon: add .iface_status method
The .iface_status method of the wifi_mgmt_ops API needs to be added
so that the "wifi status" command on the network shell will work.

Signed-off-by: Dave Rensberger <davidr@beechwoods.com>
2025-10-22 16:00:27 +03:00
Emil Gydesen
fad9f4d612 Bluetooth: BAP: BASE: Split bt_bap_base_get_base_from_ad
Split the subgroup validation from
bt_bap_base_get_base_from_ad into a new function
base_pull_subgroup to make the function simpler and
make Sonarcloud happy.

The new function, base_pull_subgroup, is also used
in the bt_bap_base_foreach_subgroup to reduce
code duplication.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-10-22 16:00:17 +03:00
Sylvio Alves
c80424818e drivers: udc_dwc2: increase stack size for ESP32-S3
Increase default UDC DWS stack size for ESP32-S3 in order
to guarantee quirks are executed without issues.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-10-22 15:59:59 +03:00