Commit graph

126,787 commits

Author SHA1 Message Date
Fin Maaß
c069fb0961 drivers: ethernet: remove phy_configure_link() usage
remove the use of phy_configure_link() in the ethernet drivers.
The user can now select the default speeds via DT prop, doing
another phy_configure_link() in the eth driver would overwrite
that.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-07-24 16:57:04 +01:00
Fin Maaß
139bf24353 drivers: ethernet: phy: dts: split ethernet-phy.yaml
split ethernet-phy.yaml, so that parts, that are used
by other phys are separated.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-07-24 16:57:04 +01:00
Fin Maaß
f473806777 drivers: ethernet: phy: ar8031: remove fixed link mode
fixed link mode is a mode where we don't comunicate with the phy,
therefore we don't need it in other phys as the generic phy_mii one.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-07-24 16:57:04 +01:00
Fin Maaß
038583104c dts: bindings: ethernet: move adi,adin*11*.yaml
move adi,adin1110.yaml adi,adin2111.yaml
from the phy subdir back into the ethernet dir.
They are ethernet controller bindings, not phy bindings.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-07-24 16:57:04 +01:00
Zhaoxiang Jin
dfd2240bd4 samples: sensor/mcux_acmp: Support ACMP case on mimxrt700_evk
1. Supported ACMP case on mimxrt700_evk
2. Fixed the issue of using the same address for
different trigger sources. This bug would cause the
examples to run in a way that did not match the theory.
3. Removed some redundant descriptions in the README.rst.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-07-24 16:56:55 +01:00
Zhaoxiang Jin
4ebbdd5151 boards: nxp: Support acmp on mimxrt700_evk
1. Enable ACMP clock
2. Config ACMP pin

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-07-24 16:56:55 +01:00
Zhaoxiang Jin
f6c65a0248 dts: arm: nxp: Support ACMP on nxp_rt7xx
Supported ACMP on nxp_rt7xx cm33_cpu0 and cm33_cpu1

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-07-24 16:56:55 +01:00
Zhaoxiang Jin
1564438d17 drivers: acmp: Updated driver to be compatible with nxp_rt7xx
1. Fixed the bug that DAC value was set incorrectly.
2. The MIMXRT700 does not have windowed mode and
'enableSample' controls, code added for compatibility
on this platform.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-07-24 16:56:55 +01:00
Cristian Bulacu
f020633603 net: l2: openthread: Initial Border Router support.
Added initial border router code sample.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-07-24 16:56:42 +01:00
Cristian Bulacu
bf8e66f8d3 modules: openthread: Add initial border router support.
Adding minimal implementation to support Border Router POC.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-07-24 16:56:42 +01:00
Cristian Bulacu
b0bcb68171 net: ip: Kconfig: Re-enable routing support between interfaces support
As packets need to be forwarded between Wi-Fi/Eth interface and
OpenThread interface, routing support has to be re-enabled and
configurable through prj.conf file.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-07-24 16:56:42 +01:00
Cristian Bulacu
d2ecb8e829 samples: net: openthread: border_router: Add OTBR sample application.
Enabled Wi-Fi shell alongside OpenThread application and added specific
configuration for Border Router enablement.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-07-24 16:56:42 +01:00
Jordan Yates
2a88cb50f5 spi: stm32: initialise according to zephyr,pm-device-runtime-auto
Don't automatically enable device runtime PM on the SPI port just
because `PM_DEVICE_RUNTIME` is enabled. Require the user to explicitly
call `pm_device_runtime_enable` on the port, or add
`zephyr,pm-device-runtime-auto` to the devicetree node.

Through the usage of `pm_device_driver_init`, the default clock control
and pinctrl handling can all be contained in `spi_stm32_pm_action`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-07-24 06:14:20 -04:00
Jordan Yates
d8f87a6d09 spi: stm32: move PM handler above init
Move the PM handler above the `init` function so that the later can
refer to the former.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-07-24 06:14:20 -04:00
Pieter De Gendt
b1f398d176 scripts: ci: check_compliance: KeepSorted allow combining strip and re
No reason we couldn't strip a line we want to match to a regex.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-07-24 06:08:10 -04:00
cyliang tw
42640b19d5 MAINTAINERS: add 2 maintainers for hal_nuvoton
Add cyliangtw and ccli8 into maintainer list of hal_nuvoton

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2025-07-24 06:06:07 -04:00
Sebastian Głąb
b3949e3526 tests: drivers: adc: Fix License in board overlay
Board overlay was moved from downstream to upstream.
By mistake, License was left unchanged.

Change License type to match with the upstream.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-24 06:04:46 -04:00
Sebastian Głąb
35a170fb90 samples: drivers: adc: Fix License in board overlays
Board overlays were moved from downstream to upstream.
By mistake, License was left unchanged.

Change License type to match with the upstream.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-24 06:04:46 -04:00
Chaitanya Tata
ef8bbab600 ci: Add missing nrf_wifi directory
This directory is part of the nRF Wi-Fi driver and should trigger tests.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-07-24 06:04:00 -04:00
Chaitanya Tata
1fe2369f64 modules: nrf_wifi: Fix build error
The revert for some reason didn't do a full revert, fix the lock
variable.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-07-24 06:04:00 -04:00
Marek Matej
9d0942beb5 boards: espressif: Update boards documentation
Added a new 'Board variants' section to the board documentation
to describe supported flash and PSRAM configurations for Espressif
boards using snippet-based build-time selection.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-07-24 02:51:33 -04:00
Marek Matej
43c8dec12a snippets: add Espressif related snippets
Introduces the flash and PSRAM variants suitable for every ESP32 related
board.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-07-24 02:51:33 -04:00
Andrej Butok
2fef93ea27 samples: littlefs: add lpcxpresso55s and frdm_mcx configuration
Adds lpcxpresso55s and frdm_mcx configuration for the LittleFS sample.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-07-24 02:48:54 -04:00
Anas Nashif
1c17d3ee46 doc: release note: remove tinycrypt
Document removal of tinycrypt in release note.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-07-24 02:48:32 -04:00
Anas Nashif
fec22fd85b crypto: remove deprecated tinycrypt
Remove tinycrypt, it was deprecated in 4.0.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-07-24 02:48:32 -04:00
Joakim Andersson
0fde156b9c fs: shell: Fix FS shell using fixed storage_partition name instead of DT
Fix FS shell using fixed 'storage_partition' nodelabel instead of
accessing the DT defined partition from the zephyr,fstab,littlefs
node partition property.

Signed-off-by: Joakim Andersson <joerchan@gmail.com>
2025-07-24 02:48:22 -04:00
Vytautas Virvičius
e1eaa0e39e drivers: serial: native_tty: config_get support
This commit adds config_get support for native_tty. This is helpful as
some driver code (e.g. u_blox m8) will error out if they can't read the
current configuration.

Signed-off-by: Vytautas Virvičius <vytautas@virvicius.dev>
2025-07-24 02:47:59 -04:00
Anisetti Avinash Krishna
4675f17fa2 samples: drivers: uart: async_api: Added support for BTL-s
Added support for async api application on BTL-s platform.
Resolves #93408

Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
2025-07-24 02:47:43 -04:00
Tim Pambor
b929b6e7b1 boards: renesas: ek_ra2l1: Add support for probe-rs
Allow flashing the r7fa2l1ab chip found on the ek_ra2l1 board
using the probe-rs runner.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2025-07-24 02:47:32 -04:00
Mathieu Choplain
708ce0336b kernel: spinlock: update k_spin_lock() documentation wrt context switch
Threads must not attempt to context switch if they are holding a spinlock.

Add this information to the documentation for k_spin_lock().

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2025-07-24 02:47:21 -04:00
Mathieu Choplain
af689aa7b8 kernel: irq: update irq_lock() documentation regarding context switches
Upon context switch, the virtual "interrupt lock" acquired by irq_lock()
must not be "held". However, the current documentation for irq_lock() says
that it is perfectly valid to hold it (!), and that a suspended thread will
hold the "interrupt lock" upon being scheduled again (!!).

Update the documentation to remove the outdated section and indicate that
context switching while holding the interrupt lock is not allowed.

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2025-07-24 02:47:21 -04:00
Mathieu Choplain
5183fc5693 kernel: assert no spinlock is held on swap when !USE_SWITCH
The do_swap() routine used when CONFIG_USE_SWITCH=y asserts that caller
thread does not hold any spinlock when CONFIG_SPIN_VALIDATE is enabled.
However, there is no similar check in place when CONFIG_USE_SWITCH=n.

Copy this assertion in the USE_SWITCH=n implementation of z_swap_irqlock().

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2025-07-24 02:47:21 -04:00
Peter van der Perk
9c9dc0dfb4 drivers: mdio_nxp_enet_qos: Add Clause 45 support.
Adds handler for C45 read/write phy transactions.

Signed-off-by: Peter van der Perk <peter.vanderperk@nxp.com>
2025-07-24 02:46:32 -04:00
Chaitanya Tata
fcffe8f3f8 manifest: nrf_wifi: Pull fix for processing patch feature flags
Pull fix to fail if no compatible feature is found.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-07-24 02:46:15 -04:00
Sean Kyer
f1ad9519b9 doc: release: Add TF-M ITS settings backend to 4.3 release notes
Add TF-M ITS settings backend and enabling Kconfig to 4.3
release notes.

Signed-off-by: Sean Kyer <Sean.Kyer@analog.com>
2025-07-24 02:45:48 -04:00
Chaitanya Tata
9693852d9a Revert "modules: nrf_wifi: Use spinlocks"
This reverts commit 3e9dffbe25.
Though this works fine, when CONFIG_ASSERT=y the spinlock validation
fails as the underlying code though uses OSAL spinlock APIs is not ready

* sleeping with spinlock held
* multiple threads taking the same spinlock (might work on UP, but not
  on SMP on the same CPU)

Revert this for now, till the underyling is robust.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-07-24 02:45:32 -04:00
Van Petrosyan
692a9ae372 modem: pipelink: silence warning in modem_pipelink_is_connected
Initialize local variable `connected` to false to suppress the GCC warning.

Signed-off-by: Van Petrosyan <van.petrosyan@sensirion.com>
2025-07-24 02:45:22 -04:00
Chaitanya Tata
86690f29ab boards: nordic: nrf7002dk: Fix the newline between the groups
Add a newline between child nodes.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-07-24 02:45:11 -04:00
Chaitanya Tata
613ec82b19 boards: nordic: nrf7002dk: Fix DTS warning
the nRF connect device tree extension shows below warning:
'Property not mentioned in "nordic,nrf-pinctrl:child"'.

Fix this by applying the property to both groups separately.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-07-24 02:45:11 -04:00
Maureen Helm
7b579764f1 boards: shields: adi: Fix broken images in catalog card view
Image files for ADI shield boards were introduced in commit
25c7fa4e63, but they weren't referenced
anywhere in the documentation source and thus were deadstripped from the
build, resulting in broken image references in the board catalog card
view.

Signed-off-by: Maureen Helm <maureen.helm@analog.com>
2025-07-24 02:44:56 -04:00
Sebastian Głąb
8e881b046e tests: drivers: clock_control: nrf_lf_clock_start: Run on nrf54lm20dk
Fix mistake where one of test configurations
was skipped on nrf54lm20dk board.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-24 02:44:23 -04:00
Luis Ubieda
0aa15f97b1 doc: coding guidelines: Correct Typo on MISRA Rule 21.13
EO for EOF.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-07-24 02:43:43 -04:00
Pieter De Gendt
4867d45647 doc: release: 4.2: Fix entry in new APIs
Add a missing newline to fix the formatting of the LoRaWAN entry.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-07-23 10:15:44 -07:00
Peter van der Perk
3510fda674 boards: nxp: vmu_rt1170: Fix TJA1103 phy config
Also increase regulator init priority so that ethernet vdd is
turned before PHY initialization

Signed-off-by: Peter van der Perk <peter.vanderperk@nxp.com>
2025-07-23 17:31:55 +01:00
Peter van der Perk
7fbf146af2 drivers: eth: phy: tja1103: Remove ISR thread and add auto mode.
Re-use the workqueue instead of having dedicated thread for handling
interrupts. This reduces memory usage and complexity.

Furthermore adds an auto mode for 100BASE-T1 negotiation.

Signed-off-by: Peter van der Perk <peter.vanderperk@nxp.com>
2025-07-23 17:31:55 +01:00
Bjarki Arge Andreasen
638bf6b03d modem: cmux: Decouple modem cmux and cellular driver
The modem modules cmux module is currently directly coupled to the
presence of specific modems, rather than being selected by drivers
for whatever hardware wants to request the default MTU of 127 bytes.

This commit the makes the device drivers (for now, modem_cellular)
select the symbol, thus decoupling the modem modules from the
presence of any specific device.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-07-23 17:31:22 +01:00
Arnaud Pouliquen
75a2e5625c boards: add HSE and HSI support for STM32MP257F boards.
Add declaration of the HSE and HSI frequency that will be used to compute
the SystemCoreClock.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
2025-07-23 17:31:08 +01:00
Arnaud Pouliquen
3ffd7419a0 dts: arm: st: stm32mp2_m33.dtsi: add HSE and HSI fixed clock
Add declarations for High-Speed External (HSE) and High-Speed Internal
(HSI) clocks.
These clocks, based on oscillators, can be used to generate the system
clocks.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
2025-07-23 17:31:08 +01:00
Arnaud Pouliquen
819990bd29 soc: stm32mp2x: m33: Add soc_early_init_hook to set system clock property
Add soc_early_init_hook() function to update the SystemCoreClock variable,
which represents the reference clock.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
2025-07-23 17:31:08 +01:00
Tahsin Mutlugun
94a962e87e drivers: flash: max32: Wrap flash read to utilize ECC workaround
Use wrapper function for read operations to allow using the new HAL
function that handles ECC checks and erased page detection.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2025-07-23 17:30:44 +01:00