Commit graph

126,787 commits

Author SHA1 Message Date
Jordan Yates
3973aaa282 modem: modem_cellular: comms check result callback
Add a callback for the periodic script result so that applications have
a way of detecting dead links.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-10-21 14:16:49 +03:00
Tim Pambor
91d3d95313 drivers: ethernet: adin1100: add support for hardware reset
Add support for hardware reset via GPIO in the ADIN1100 PHY driver.

The reset pin is configured via device tree using the reset-gpios
property.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2025-10-21 14:16:38 +03:00
Etienne Carriere
f6db1cb09a drivers: disk: sdmmc_stm32: test HAL init/deinit return values
Add tests of the value returned by initialization and deinitialization
HAL functions.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-10-21 14:16:19 +03:00
Etienne Carriere
4575afa515 drivers: disk: sdmmc_stm32: don't assume HAL return value is an int
Clarify HAL return value is of type HAL_StatusTypeDef and may not
be a int. This change aims preventing one from mixing standard "errno"
int return values and STM32 HAL return value finding misleading
implementation in existing code.

No functional change.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-10-21 14:16:19 +03:00
Etienne Carriere
fc44d0eeb0 drivers: disk: sdmmc_stm32: don't mix HAL return values and error
Ensure STM32 SDMMC driver returns proper errno values and not HAL return
codes.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-10-21 14:16:19 +03:00
Etienne Carriere
f81b1e81ab drivers: eeprom: stm32: test HAL return value
Add missing test of HAL_FLASHEx_DATAEEPROM_Unlock() return value.

By the way, add a error trace message when failing to relock the
EEPROM after we failed to program it.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-10-21 14:16:10 +03:00
Etienne Carriere
e943878418 drivers: eeprom: stm32: don't mix HAL return value and errno
Correct eeprom_stm32_write() to return a valid errno instead
of mixing HAL return values and errno return values.

Clarify HAL return value is of type HAL_StatusTypeDef and not an
int in eeprom_stm32_read().

Remove printing of HAL_FLASHEx_DATAEEPROM_Lock() error code since
not very useful.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-10-21 14:16:10 +03:00
Etienne Carriere
0e39d34998 drivers: flash: stm32: test HAL functions return value
Add missing test of some HAL fnuctions return value.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-10-21 14:15:59 +03:00
Declan Snyder
de2a5caadc boards: mcx_n5xx_evk: Add jlink runner
Add jlink runner arguments for mcxn5xxevk

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-21 14:15:42 +03:00
Farsin NASAR V A - I78438
976ac76b27 boards: microchip: sam_e54_xpro: add RESET to supported list
Update sam_e54_xpro.yml to include RESET in the supported
modules list.

Signed-off-by: Farsin NASAR V A - I78438 <Farsin.NASARVA@microchip.com>
2025-10-21 14:15:33 +03:00
farsin NASAR V A
574cff532d drivers: reset: microchip: Add reset driver
Add reset driver for Microchip RSTC G1 IP.

Signed-off-by: farsin NASAR V A <farsin.nasarva@microchip.com>
2025-10-21 14:15:33 +03:00
farsin NASAR V A
e37c115c36 dts: arm: microchip: add RSTC node and binding for G1 IP
Add the device tree node and the binding file for
microchip RSTC G1 IP.

Signed-off-by: farsin NASAR V A <farsin.nasarva@microchip.com>
2025-10-21 14:15:33 +03:00
David Jewsbury
9a3a954b34 tests: drivers: Update AUXPLL test to use frequency Macros
Eliminate the need for magic numbers when
setting AUXPLL_FREQ_OUT

Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
2025-10-21 14:15:23 +03:00
David Jewsbury
eb605628ae drivers: audio: dmic_nrfx: Update AUXPLL control with frequency macros
Frequencies being for AUXPLL were register assignments and
not actual frequencies.

Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
2025-10-21 14:15:23 +03:00
David Jewsbury
077021070c drivers: clock_control: Add macros for AUXPLL output frequencies
These represent the outputted frequencies of the AUXPLL of
different settings set in the device tree set using dt-bindings
in nrf-auxpll.h. This is added to remove the need for 'magic numbers'
in drivers and tests.

Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
2025-10-21 14:15:23 +03:00
Benjamin Cabé
9e7903be3b boards: egis: egis_et171: drop figure from docs
Board image needs not to be manually included in the documentation, as
zephyr:board:: directive takes care of this already.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-21 14:15:14 +03:00
Benjamin Cabé
2ff90a48b5 boards: st: nucleo_c092rc: drop figure from docs
Board image needs not to be manually included in the documentation, as
zephyr:board:: directive takes care of this already.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-21 14:15:14 +03:00
Benjamin Cabé
7b9d5cb11e boards: infineon: fix full_name for kit_pse84_ev
This should be PSOC Edge E84 Evaluation Kit

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-21 14:15:14 +03:00
Benjamin Cabé
9386740c97 boards: amd: fix full_name for versalnet_apu
This should be Versal NET APU Development Board

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-21 14:15:14 +03:00
Jérôme Pouiller
fc4d7b25fd editorconfig: Trailing spaces are meaningful in patches
My editor (nvim) started to automatically source .editorconfig.
This new feature broke my git workflow when I edit my staging changes
(yes, I edit patches and they still apply).

It took me a bit of time to understand my editor striped the trailing space
(which are meaningful patches) because of .editorconfig.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-10-21 14:14:57 +03:00
Ben Marsh
ce08f16a05 drivers: flash: stm32_{q|o|x}spi: Fix write unprotect logs
The STM32 QSPI, OSPI, and XSPI drivers support sending the ULBPR command
for flash ICs that require unlocking before writing to. This is done
conditionally based on the requires_ulbpr devicetree property.

Previously the driver would always log "Write Un-protected", even if a
write un-protect was not attempted. Fix this so that "Write Un-protected"
is only logged when a write un-protect is attempted and succeeds.

Signed-off-by: Ben Marsh <ben.marsh@helvar.com>
2025-10-21 14:14:48 +03:00
Jeppe Odgaard
46de640492 drivers: sensor: qdec_stm32: check counts/revoultion compile time
Use build assert to check counts_per_revolution DTS value compile time to
prevent runtime failure and also decrease flash usage slightly.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2025-10-21 14:14:38 +03:00
Nhut Nguyen
9daff84666 drivers: eeprom: fm25xxx: Fix format warning
Use %zu for size_t to avoid build warning with arm64 compiler

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-10-21 14:14:28 +03:00
Nhut Nguyen
dd9fec8eac tests: drivers: uart_async_api: Fix format warnings
Use %zu for size_t to avoid build warning with arm64 compiler

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2025-10-21 14:14:28 +03:00
Tony Han
4a2140c81b boards: microchip: sam: add RNG to sama7g54-ek dts and yaml files
Enable TRNG in sama7g54_ek.dts files.
Add entropy for TRNG to sama7g54_ek.yaml support list.
Tested with tests/drivers/entropy/api.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-21 11:43:39 +03:00
Tony Han
1a39f7ff75 soc: microchip: sama7g5: sam: update MMU setting for sama7g5 TRNG
Update TRNG registers with strong ordered, read and write access.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-21 11:43:39 +03:00
Tony Han
cf694d7bf1 dts: microchip: sam: sama7g5: add node for TRNG
Add node TRNG (True Random Number Generator) to sama7g5.dtsi file.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-10-21 11:43:39 +03:00
Andrew Featherstone
0848fd98c1 dts: bindings: clock: rpi_pico: Update default value to match v2.2.0 SDK
v2.1.1 onwards of the SDK increases the default. Update the binding to
match. See https://github.com/raspberrypi/pico-sdk/pull/2245

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2025-10-21 11:43:28 +03:00
Andrew Featherstone
861f02d90d manifest: hal_rpi_pico: Update to SDK 2.2.0
Update the Raspberry Pi Pico HAL to be based on the latest release of
the upstream SDK (v2.2.0).

SDK v2.2.0 has new include directory structure, so update the relevant
CMakeLists.txt files accordingly.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2025-10-21 11:43:28 +03:00
Andrew Featherstone
b16b91c091 modules: hal_rpi_pico: Improve sorting of include directories
Sort some entries alphabetically to improve readability and
maintainability. This commit just reorders existing entries and does not
change any include paths.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2025-10-21 11:43:28 +03:00
Charles Dias
49261a75ab boards: shields: add ST MB1835 shield
Add support for the ST MB1835 2.47-inch round DSI TFT-LCD daughter board
designed for STM32 Discovery kits.

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
2025-10-21 11:43:14 +03:00
Immo Birnbaum
08ece7f609 doc: releases: migration guide entry
Added the removal of the 'amba-ahb-dbus-width' devicetree property
from the binding of the Xilinx GEM Ethernet controller driver to the
current migration guide.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-21 11:43:03 +03:00
Immo Birnbaum
61c9cbbbf1 drivers: ethernet: xlnx_gem: obtain AMBA AHB bus width from config register
Obtain the value for the AMBA AHB bus width (32 bit/64 bit/128 bit) from
the design_cfg5 register at init-time rather than specifying it in the
respective SoC's DT.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-21 11:43:03 +03:00
Immo Birnbaum
cc44834d02 dts: xilinx: zynq7000: zynqmp: remove amba-ahb-dbus-width parameter
Remove the obsolete DT parameter "amba-ahb-dbus-width" from all GEM
controller instance declarations for both the Zynq-7000 and the
ZynqMP.

The value matching the current target SoC is now being read at
run-time from a design configuration register

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-21 11:43:03 +03:00
Immo Birnbaum
cdc8325307 dts: bindings: remove AMBA AHB bus width parameter from xlnx,gem binding
This parameter no longer needs to be configured at the SoC level in
the declarations of the GEM controller instances (used to require
different values for the Zynq-7000 and the ZynqMP) as the value matching
the current target SoC is now being read at run-time from a design
configuration register.

Signed-off-by: Immo Birnbaum <mail@birnbaum.immo>
2025-10-21 11:43:03 +03:00
Hou Zhiqiang
a73b55d153 samples: ipc: openamp_rsc_table: add imx93evk m33 support
Add openamp_rsc_table support on imx93evk Cortex-M33, communication
with Linux which runs on imx93 Cortex-A55.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
2025-10-21 11:42:38 +03:00
Hou Zhiqiang
49229d3c2d soc: nxp: imx93: add resource table section for m33
Add .resource_table section to the linker script for the
i.MX93 Cortex-M33.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
2025-10-21 11:42:38 +03:00
Hou Zhiqiang
998011cec6 dts: arm: imx93: add DT node for MU1
Add device-tree node for MU1 (Message Unit instance 1), which is used
for communication between Cortex-A55 and Cortex-M33.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
2025-10-21 11:42:38 +03:00
Hou Zhiqiang
2b5d1d857c modules: hal_nxp: correct the MU driver for imx93
The MU1 driver should be used on imx93.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
2025-10-21 11:42:38 +03:00
Lyle Zhu
99f26b02bd Bluetooth: Classic: HF: Fix invalid query current calls list issue
The current calls list should not be queried if the SLC is not
connected. Or the error `-ENOTCONN` will be returned by function
`hf_query_current_calls()`.

Check the connection status of HF before submitting a delay-able
worker. Only the SLC is established, submit the delay-able worker.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-10-21 11:42:28 +03:00
Lyle Zhu
c8a38806d2 Bluetooth: classic: shell: Add command query_calls for HFP HF
Add the command `query_calls` to query the current calls list.

The received current calls list will be printed in callback
`hf_query_call()`.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-10-21 11:42:28 +03:00
Lyle Zhu
e55bea247b Bluetooth: Classic: HFP_HF: Support users to query current call list
Add the function `bt_hfp_hf_query_list_of_current_calls()` to support
users to query current call list.

Add the callback `bt_hfp_hf_cb::query_call` to notify the received
current calls.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-10-21 11:42:28 +03:00
Arnaud Pouliquen
b18a71cf78 arch: arm: mmu: allow to select the K_MEM_ARM_NORMAL_NC memory type
Allow to configure the MMU for non-cacheable normal memories.
This mode is needed for instance by net samples to access to
to non word-aligned memory.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
2025-10-21 11:42:17 +03:00
Arnaud Pouliquen
d65fc29d43 arch: arm: mmu: introduce K_MEM_ARM_NORMAL_NC flag
Add new flag to allow to select normal non-cacheable memory.
This is needed for armV7 to be able to configure non cacheable
memories with "normal" attribute instead of "device" attribute.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
2025-10-21 11:42:17 +03:00
Zhaoxiang Jin
ce09e3d3c0 samples: i2s_codec: enable i2s_codec samples for frdm_mcxn236
Enable i2s_codec samples for frdm_mcxn236.
With 'CONFIG_USE_DMIC=n', you can hear the sine wave
from the codec.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-10-21 11:42:06 +03:00
Zhaoxiang Jin
eea88a5e93 boards: frdm_mcxn236: Enable da7212 on frdm_mcxn236
Enable da7212 on frdm_mcxn236

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-10-21 11:42:06 +03:00
Zhaoxiang Jin
96e70b08ef drivers: audio: Add dialog da7212 driver
Add dialog da7212 driver. dialog da7212
datasheet:https://www.farnell.com/datasheets/3962888.pdf

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-10-21 11:42:06 +03:00
farsin NASAR V A
4dd8e2b840 tests: drivers: pinctrl: mchp: added new test project
Added new test case for pinctrl
Added sam_e54 overlay file, testcase.yaml, CMakeLists.txt and prj.conf

Signed-off-by: farsin NASAR V A <farsin.nasarva@microchip.com>
2025-10-21 11:41:52 +03:00
Firas Sammoura
f3c6d7265a tests: riscv: Validate PMP stack protection under MULTITHREADING
The PMP stack guard test was previously limited to the non-multithreaded
(no-mt) configuration.

This commit updates the test implementation to conditionally handle
stack boundary lookup:

1. When CONFIG_MULTITHREADING is enabled, it uses thread-specific stack
   information (e.g., z_interrupt_stacks[_current_cpu->id] for ISR stack
   and k_current_get()->stack_info for the main thread stack).

2. New test configurations (arch.riscv.pmp.mt.*) are added to explicitly
   run the tests with CONFIG_MULTITHREADING=y.

This ensures PMP stack guards are correctly verified in a multi-threaded
environment.

Signed-off-by: Firas Sammoura <fsammoura@google.com>
2025-10-21 11:41:43 +03:00
Julien Racki
9c9d100839 drivers: clock: stm32: Move the MSI init after the LSE init
Moved the MSI init after the LSE init to respect the initialization flow
of the MSI PLL mode that need LSE to be enabled and ready.

Signed-off-by: Julien Racki <julien.racki-ext@st.com>
2025-10-21 11:41:33 +03:00