Commit graph

136,983 commits

Author SHA1 Message Date
Fabin V Martin
18643c00c3 dts: arm: microchip: pic32cz_ca: add sercom nodes
Add sercom nodes for pic32cz_ca

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2026-03-24 07:06:16 -04:00
Fabin V Martin
e8cafe53c7 soc: microchip: pic32cz_ca80: Include sercom mapping file
Include file for mapping DFP macros to follow a common
macro name across multiple SoC for sercom uart g1 driver

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2026-03-24 07:06:16 -04:00
Fabin V Martin
630e9edee2 west.yml: Add mapping file of PIC32CZ_CA family
Includes mapping file for macros to standardize macro
names across multiple SoCs for the SERCOM UART G1 driver.

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2026-03-24 07:06:16 -04:00
Jun Lin
ebfc0cb2e6 drivers: i2c: npcx: Support I2C write operations with Re-start in between
This commit adds support for a special sequence that requires a
repeated start between two consecutive I2C write operations.
For example:
Sr-Addr+W-Data-Data-ReSr-Addr+W-Data-Data-Stop.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
2026-03-24 07:06:02 -04:00
Henrik Brix Andersen
a7dc44a78b dts: arm: nxp: kinetis: ke1xf: set zephyr,system-timer chosen property
Set the zephyr,system-timer chosen node property for the NXP KE1xF SoC
series.

Fixes: #106042

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-03-24 07:05:49 -04:00
Fin Maaß
27cec4c935 net: net_if: make addr in net_if_set_link_addr() const
When providing a addr in net_if_set_link_addr() it should be
constant, as this function should not change the address
in the pointer.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-24 07:05:38 -04:00
Maochen Wang
70969f88f5 samples: wifi: shell: Avoid circular psa_generate_random() calls
Enable CONFIG_MBEDTLS_PSA_CRYPTO_LEGACY_RNG to avoid infinite
recursion in psa_generate_random() that causes stack overflow on
RW612/hosted MCU platforms.
LEGACY_RNG bypasses the circular call chain by using mbedTLS
entropy module instead of EXTERNAL_RNG's sys_csrand_get() path.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2026-03-24 09:56:01 +01:00
Tomasz Moń
e46ec6f876 docs: migration-guide: mention UDC control buffer allocation change
Mention that all out-of-tree UDC driver must be reworked.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2026-03-24 09:55:45 +01:00
Zhaoxiang Jin
a1d27d4f7f adc: shell: migrate to SHELL_HELP macro
Migrate ADC shell command help strings to use the SHELL_HELP
macro for consistent formatting and improved maintainability.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-24 09:55:34 +01:00
Ole Morten Haaland
0737e587bb drivers: sensor: qdec_stm32: Set configured prescaler
If a prescaler is set in the DTS, it should be used also by the qdec
driver, as it is by the counter and the pwm drivers.

Signed-off-by: Ole Morten Haaland <omh@ixys.no>
2026-03-24 09:55:21 +01:00
Pierrick Curt
8f59a69840 drivers: adc: mcp3221: add driver support
The MCP3221 is a 1-channel 12-bit A/D converter with I2C interface.

Signed-off-by: Pierrick Curt <pierrickcurt@gmail.com>
2026-03-24 09:54:56 +01:00
Alberto Escolar Piedras
87d5f6c9d9 manifest: Update nRF hw models to latest
Update the HW models module to:
63ccab2988bf4c144b3cd324a0277e03206fa413

Including the following:
63ccab2 RADIO: Adjust Tx rampup timings
72d7680 RADIO: Correct note

AND

Adjust Bluetooth controller radio hal timings to match this new timings.

AND

Change the random seed in a very long test which is relatively sensitive
to timing, and fails due to this rampup timing change.

Repeat of note from 63ccab2:
--
IMPORTANT!: This commit changes the timing of the radio model, and
therefore requires controller SW to adjust its constants accordingly.
Even after such an adjustment it is likely some tests timing will change
marginally (if for example some advertisement event anchoring is done
as soon as possible by the controller or the like), and therefore that
some tests execution will change, and that too time sensitive test may
fail.
--

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-24 09:54:27 +01:00
Aleksandr Khromykh
5b96504949 tests: bluetooth: mesh: fix subnet bridge test
Commit adds delay in between of transactions
for subnetwork bridge tests to avoid collisions
between tail one transaction and head of another.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2026-03-24 09:54:27 +01:00
Sreeram Tatapudi
6fe51b6702 samples: psa: persistent_key: increase Mbed TLS heap memory size
Increase heap memory size from 1024 to 2048 bytes to resolve a test
failure on qemu_x86_64

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2026-03-24 09:54:11 +01:00
Sreeram Tatapudi
48c23d0174 tests: remove CONFIG_TFM_PROFILE_TYPE_NOT_SET from conf files
Remove CONFIG_TFM_PROFILE_TYPE_NOT_SET=y from TFM overlay and project
configuration files. This option results in TFM_ISOLATION_LEVEL
being set to 1, which is invalid for platforms such as
kit_pse84_eval that require a higher isolation level,
causing CMake build failures.

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2026-03-24 09:54:11 +01:00
Sreeram Tatapudi
771b85b956 modules: tf-m: sign TF-M image and use merged hex for flashing
- For PSE84 without BL2, sign the TF-M secure image using imgtool
    (The PSE84 bootloader requires images to include an
     MCUboot-compatible header and trailer. To satisfy this
     requirement, the TF-M secure image is signed using imgtool,
     even when MCUboot (BL2) is not enabled.)

  - The signed image is then used when merging the TF-M secure and
    Zephyr non-secure images into a single tfm_merged.hex file

  - Configure the board runner to flash tfm_merged.hex when building
    for the M33 non-secure target

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2026-03-24 09:54:11 +01:00
Sreeram Tatapudi
f2daaf53a1 boards: infineon: pse84: enable TF-M build for CM33 non-secure target
- Enable CONFIG_BUILD_WITH_TFM with medium profile and BL2 disabled.
  - Add TFM_BOARD mapping for kit_pse84_eval to the "infineon/pse84"
  - Pass -DIFX_EPC=epc2 CMake argument for PSE84 series builds.
  - Fix flash memory map in the devicetree to work with TF-M

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2026-03-24 09:54:11 +01:00
Sreeram Tatapudi
32bbfd6bb1 boards: infineon: add CM33 non-secure support for PSE84
Add Cortex-M33 non-secure variant support for the PSE84 evaluation kit.
This enables building applications for the M33 core in non-secure mode
when using ARM TrustZone-M.

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2026-03-24 09:54:11 +01:00
Sreeram Tatapudi
60b1c56521 soc: infineon: pse84: add CM33 non-secure SoC support
Add support for SOC_PSE846GPS2DBZC4A_M33_NS

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2026-03-24 09:54:11 +01:00
Sreeram Tatapudi
b91c3f66b5 west: Update TF-M to use pull/163/head for PSE84 support
This PR includes necessary platform files and configurations for
Infineon PSE84 SoC integration with TF-M.

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2026-03-24 09:54:11 +01:00
Yves Wang
b104f826ca scripts: dts: edtlib: improve dts binding path formatting
Add quotes around binding file paths in error messages for better
readability and consistency. Also normalize paths using os.path.normpath
to ensure consistent path separators across platforms.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-03-24 07:26:21 +01:00
Fin Maaß
8209bd1b2d drivers: clock:control: litex: remove unused function
litex_clk_calc_duty_high_time() is not used anywhere,
therefore it can be removed.
When building with
-DZEPHYR_TOOLCHAIN_VARIANT=zephyr/llvm
the compiler even complains with a warning.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-24 05:27:35 +01:00
cyliang tw
1cdd2b6b69 soc: nuvoton: numaker: add support for m335x series
Add initial support for nuvoton numaker m335x SoC series
including basic init and device tree source include.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2026-03-24 05:27:23 +01:00
Pieter De Gendt
a7569d90a0 drivers: rtc: counter: Optional NVMEM storage for epoch offset
Some counters continue running in low power modes (for example i.MX SNVS
LP).
Optionally store and load the epoch offset from an NVMEM cell.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-24 05:26:59 +01:00
Missael Maciel
af089536ca drivers: uart: mcux_flexcomm: Avoid reading registers when no clock
Clock attach verification added previous to read flexcomm registers.
This ensures the flexcomm has a clock attached and is ready for
transmission, avoiding the system gets stuck in an infinite loop
while reading the registers.

Signed-off-by: Missael Maciel <davidmissael.maciel@nxp.com>
2026-03-24 05:26:46 +01:00
Paolo Bazzanella
1863204eda drivers: ethernet: eth_renesas_ra: Fix for link up
In a board I am trying to bring up(RA6M3 + LAN9370),
the phy callback got executed before net_if_carrier_off(),
which meant the OS thought permanently the interface was down.
Moving the net_if_carrier_off() before the callback registration
seems to fix the issue.

Signed-off-by: Paolo Bazzanella <pbbazzanella@gmail.com>
2026-03-23 19:26:51 -05:00
Pete Johanson
f688c3b4d7 doc: releases: Add DAC API additions to the 4.4 release notes
Note the DAC DT and helper API additions for the 4.4 release.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-03-23 19:26:09 -05:00
Benjamin Cabé
e04c097751 include: drivers: retained_mem: document driver operations using Doxygen
Use doxygen driver_ops commands to properly document the required/optional
retained memory driver operations

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-23 19:25:49 -05:00
Benjamin Cabé
d9c0eea3d4 include: drivers: rtc: document driver operations using Doxygen
Use doxygen driver_ops commands to properly document the required/optional
RTC driver operations

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-23 19:25:28 -05:00
Benjamin Cabé
01226d956a include: drivers: charger: document driver operations using Doxygen
Use doxygen driver_ops commands to properly document the required/optional
charger driver operations

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-23 19:25:01 -05:00
Benjamin Cabé
d1f46085aa include: drivers: video: document driver operations using Doxygen
Use doxygen driver_ops commands to properly document the required/optional
video driver operations

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-23 19:24:39 -05:00
TOKITA Hiroshi
5bebfdce99 tests: subsys: display: cfb: basic: fix cfb circle tests
- Align circle expected area to radius*2+1 (21x21 for r=10).
- Replace weak edge cases with visible clipped cases and
  regenerate expected images.
- Add a fully off-screen negative-coordinate case that verifies
  no pixels are drawn.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-03-23 19:24:15 -05:00
Benjamin Cabé
e5f176bb2e include: drivers: auxdisplay: keep brief descriptions brief
Fixed a couple of extra long brief descriptions and split them into
brief+details.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-23 19:23:44 -05:00
Benjamin Cabé
ae030e27bd include: drivers: auxdisplay: document driver operations using Doxygen
Use doxygen driver_ops commands to properly document the required/optional
auxdisplay driver operations

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-23 19:23:44 -05:00
Charles Dias
05e1899228 tests: drivers: build_all: input: add seesaw gamepad
Add Adafruit seesaw gamepad driver to the app.overlay file.

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
2026-03-23 19:23:19 -05:00
Charles Dias
640dab9779 drivers: input: add Adafruit seesaw gamepad driver
Add a polled I2C input driver for the Adafruit Mini I2C Gamepad
with seesaw (product 5743, https://www.adafruit.com/product/5743).

The driver initializes the device, configures button GPIOs, polls
button and joystick state, and reports events through the input
subsystem. Interrupt (IRQ) support is not implemented.

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
2026-03-23 19:23:19 -05:00
Christopher Turner
5f856e68af cmake: toolchain: Update arcmwdt toolchain for Zephyr SDK 1.0.0
The arcmwdt toolchain fails to build after the update to the
1.0.0 Zephyr SDK. The path to the generic.cmake in the toolchain
was updated to '${ZEPHYR_SDK_INSTALL_DIR}/cmake/zephyr/gnu/target.cmake'
in order to be compatible with the 1.0.0 SDK. This commit also
sets the required zephyr SDK to 1.0 as the SDK is no longer backwards
compatible and will fail to build with any version less than 1.0.

Signed-off-by: Christopher Turner <christopher.g.turner@intel.com>
2026-03-23 17:40:07 -05:00
Flavio Ceolin
a3cc6252b7 maintainers: Add collaborators to security docs
Add Tomi and Valerio as contributors to security documents.

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2026-03-23 17:39:40 -05:00
Flavio Ceolin
b6251c396d maintainers: Add ceolin as TF-A collaborator
Add Flavio Ceolin @ceolin as TF-A collaborator.

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2026-03-23 17:39:40 -05:00
Tim Pambor
1bf22717ed ethernet: dwmac: configure MAC based on PHY link state
Add support for configuring the MAC based on the PHY link state.
This allows the driver to properly set the speed and duplex
settings of the MAC when the link state changes.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-23 17:39:06 -05:00
Tim Pambor
05ff1be05f tests: drivers: build_all: ethernet: use GPIO MDIO driver for testing dwmac
Instead of disabling the PHY driver for the DWMAC test, use the GPIO
MDIO driver to allow testing the DWMAC driver with a PHY.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-23 17:39:06 -05:00
Benjamin Cabé
841e4d4597 include: drivers: pwm: document driver operations using Doxygen
Use doxygen driver_ops commands to properly document the required/optional
pwm driver operations

Also cleaned up some incorrect #ifdef guards ("Function declarations that
are available only when the option is enabled should be provided
unconditionally").

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-23 17:38:42 -05:00
Sylvio Alves
d8dc6841d1 drivers: wifi: esp32: fix WPA3-SAE security type handling
Fix WPA3-SAE authentication handling for both STA and SoftAP
modes to properly use the PSA crypto backend.

STA mode: handle WIFI_SECURITY_TYPE_SAE, SAE_H2E and SAE_AUTO
security types with proper PMF configuration and SAE password
element derivation method selection (hunt-and-peck,
hash-to-element, or both). Also handle PSK_SHA256 as a
WPA2-PSK variant.

SoftAP mode: add WPA3-SAE authentication with the same PWE
method selection, guarded by ESP32_WIFI_SOFTAP_SAE_SUPPORT.

New Kconfig entries:
- ESP32_WIFI_ENABLE_SAE_H2E: hash-to-element derivation
- ESP32_WIFI_SOFTAP_SAE_SUPPORT: WPA3-SAE for AP mode
- ESP32_WIFI_WPA3_COMPATIBLE: WPA2/WPA3 transition mode

Update west.yml hal_espressif revision to include the
corresponding PSA crypto migration changes.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-23 17:38:18 -05:00
Sylvio Alves
e250cdbe0d drivers: wifi: esp32: fix PSA crypto selects
Fix PSA crypto algorithm and key type selects required by the
wpa_supplicant's mbedTLS crypto backend. These are needed for
AES cipher operations, ECDH/ECDSA, SHA-1/SHA-256, HMAC and CMAC
used during WPA key derivation and handshake.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-23 17:38:18 -05:00
Sylvio Alves
166d7b9287 modules: mbedtls: fix legacy crypto support for espressif drivers
Fix mbedTLS 4.x / TF-PSA-Crypto 1.x build support for Espressif
Wi-Fi and BLE drivers.

legacy_support.cmake:
- Remove redundant compile definitions (MBEDTLS_ECP_C,
  MBEDTLS_BIGNUM_C, MBEDTLS_ECP_DP_SECP256R1_ENABLED) that are
  auto-derived from PSA_WANT_* symbols by the
  crypto_adjust_config_enable_builtins.h header. Defining them
  explicitly causes -Werror redefinition failures.
- Remove MBEDTLS_ENTROPY_C which was removed in TF-PSA-Crypto
  1.x (entropy is now automatically enabled).

Kconfig.tf-psa-crypto:
- Add MBEDTLS_PK_PARSE_C Kconfig symbol so it can be selected
  by drivers that need mbedtls_pk_parse_key() without requiring
  the full X.509 stack.
- Add MBEDTLS_X509_USE_C Kconfig symbol with proper dependency
  selects (PK_PARSE_C, ASN1_PARSE_C) to replace header-level
  derivation logic.

Kconfig.mbedtls:
- Add select MBEDTLS_X509_USE_C to X509_CRT_PARSE_C,
  X509_CRL_PARSE_C and X509_CSR_PARSE_C entries.

config-mbedtls.h:
- Simplify MBEDTLS_X509_USE_C guard to use the new Kconfig
  symbol directly instead of deriving from individual X509
  parse configs.

config-tf-psa-crypto.h:
- Simplify MBEDTLS_PK_PARSE_C and MBEDTLS_ASN1_PARSE_C guards
  to use Kconfig symbols directly. The MBEDTLS_X509_USE_C
  dependency is now resolved through the Kconfig select chain.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-23 17:38:18 -05:00
Raffael Rostagno
64da84c00d tests: drivers: pwm_gpio_loopback: Add PM test case
Add PM test case to check device power management.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2026-03-23 17:37:48 -05:00
Raffael Rostagno
37aef33e64 pm: drivers: pwm_ledc: esp32: Add device PM
Add code for device PM to the driver.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2026-03-23 17:37:48 -05:00
Chaitanya Tata
b83a85d20e tests: boards: nrf70: ent_security: Fix missing test tag
This tag ensures that whenever hostap is changed then these tests are
also run.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-03-23 17:37:28 -05:00
Camille BAUD
26af854046 arch: riscv: Fix RISC-V ECALLs
You need to only keep the exception number to compare it specifically.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-03-23 15:02:26 -05:00
Fin Maaß
9ac292e44c docs: migration_guide: mention removal of CONFIG_NET_DSA_DEPRECATED
mention removal of CONFIG_NET_DSA_DEPRECATED.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-23 15:01:57 -05:00