Commit graph

2,588 commits

Author SHA1 Message Date
Jérôme Pouiller
cf1e343a57 modules: wiseconnect: Compile clock functions only if needed
The clock related functions are obviously only required if
silabs,siwx91x-clock is compiled.

This commit highlights some inconsistencies in clock management. They will
be addressed later.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Jérôme Pouiller
55f3f755f8 modules: wiseconnect: Clean up DMAs drivers integration
rsi_rom_table_si91x.c is required as soon as any driver use ROM.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Jérôme Pouiller
ed07a1a98b modules: wiseconnect: Use ROM based driver for qspi
Macro QSPI_ROMDRIVER_PRESENT allow to use the ROM version of rsi_qspi.c
(and save a bit of flash). This flag is used by the upstream Wiseconnect
SDK.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Jérôme Pouiller
5a74136cdc modules: wiseconnect: Use ROM based driver for entropy
Macro RNG_ROMDRIVER_PRESENT allow to use the ROM version of rsi_rng.c (and
save a bit of flash). This flag is used by the upstream Wiseconnect SDK.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Jérôme Pouiller
7c60d6eeaa modules: wiseconnect: Compile rsi_adc.c/rsi_dac.c only if needed
Files rsi_adc.c and rsi_dac.c are only required for silabs,siwx91x-adc.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Jérôme Pouiller
ddef853e46 modules: wiseconnect: Compile sl_si91x_calendar.c only if needed
Files sl_si91x_calendar.c is only required for silabs,siwx91x-rtc.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Jérôme Pouiller
0990ec9af7 modules: wiseconnect: Compile *_pwm.c only if needed
Files rsi_pwm.c and sl_si91x_pwm.c are only required for
silabs,siwx91x-pwm.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Jérôme Pouiller
f3cd07231a modules: wiseconnect: Compile sl_si91x_*_gpio.c.c only if needed
File sl_si91x_driver_gpio.c is only required by silabs,siwx91x-gpio.

As for sl_si91x_peripheral_gpio.c, it used by  silabs,siwx91x-gpio and
silabs,siwx91x-pinctrl.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Jérôme Pouiller
75aae4804d modules: wiseconnect: Compile rsi_wwdt.c only if needed
File rsi_wwdt.c is only required by silabs,siwx91x-wdt.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Jérôme Pouiller
1e636a5161 modules: wiseconnect: Reorder BT_SILABS_SIWX91X
We try to keep this file more or less alphabetically ordered (except big
drivers: NWP, WIFI and PM).

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Jérôme Pouiller
fd313748d8 modules: wiseconnect: Linker file are now orphans
Since commit 2113d56c68 ("soc: silabs: Fix SL_CODE_CLASSIFY conflict"),
there are no more text_application_ram or .cc_text sections.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Jérôme Pouiller
6966bbca19 modules: wiseconnect: SL_CODE_CLASSIFY() is disabled
Normally, SL_CODE_CLASSIFY() renames the symbols. SL_CODE_COMPONENT_* is
here to provide the prefix the user want to use for a specific component.

However, since SLI_CODE_CLASSIFICATION_DISABLE is set, SL_CODE_CLASSIFY()
is a no-op and SL_CODE_COMPONENT_* are useless.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Jérôme Pouiller
7c03a18362 modules: wiseconnect: Make all public headers available
Include directives in hal_silabs only specify the header filename without
specifying any subdirectory. They rely to a bunch -I directives to find
the correct paths.

In addition, the hal_silabs sources tends to include header from the other
subdirectory in an anarchic way. These header are generally only required
to compile functions that are finally unused by Zephyr drivers.

There has been some tentative to conditionally include the external
headers. However, it broke the code compilation and prevent the use of
IS_ENABLE() (so #define has to be widely used leading to real mess). It is
cleaner to just add all the included paths to the compiler command line.

A few private headers path are still declared per components.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Jérôme Pouiller
8cb47252ba modules: wiseconnect: Avoid globbing in zephyr_code_relocate()
To avoid any confusion, we prefer to explicitly reference the compiled
files.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Jérôme Pouiller
6d5c230f50 modules: wiseconnect: Drop useless files
Since commit edbd4186  ("wiseconnect: Patch for sli_si91x_clock_manager.c")
in hal_silabs repository, a few files became useless.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Jérôme Pouiller
2dcaab2942 modules: wiseconnect: Simplify the names
`_DIR' suffix is superfluous in the CMakeLists.txt. In addition, COMMON_DIR
is rarely used and not descriptive enough.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Jérôme Pouiller
7bf5f68336 modules: wiseconnect: Fix indentation
Don't pollute following-up commits with cosmetics changes.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Jérôme Pouiller
e2f4fc15af drivers: adc: siwx91x: Fix use of ADC_CONTEXT_USES_KERNEL_TIMER
ADC_CONTEXT_USES_KERNEL_TIMER is required for ADC_CONTEXT_INIT_TIMER().
However, it should be defined in the Zephry driver, not in the Wiseconnect
integration.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-01-26 14:16:31 +01:00
Kapil Bhatt
9968423aff modules: hostap: Increase stack size for P2P support
Fix stack overflow by increasing stack size for p2p.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-26 12:07:36 +01:00
Tomi Fontanilles
6ad34407d4 modules: mbedtls: remove extra spaces in config-mbedtls.h
Title.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-01-26 12:02:44 +01:00
Luis Ubieda
611c6b2ff4 modules: sensor: afbr: Update RTIO Callback signature
As per https://github.com/zephyrproject-rtos/zephyr/pull/93227

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2026-01-26 11:59:19 +01:00
Maochen Wang
5ee5dafdd1 hostap: fix incorrect link mode selection for SAP
When SAP runs on hostapd, the HE (11ax) capability should be determined
based on hw_mode->he_capab, which reflects the Wi-Fi FW capability.
Using conf->ieee80211ax is incorrect because it only represents the
default value derived from build-time configuration macros, and does not
accurately represent real hardware capabilities.
Same change is also needed for VHT and HT check.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2026-01-24 08:49:34 -06:00
Kevin Chan
0c950801d3 drivers: sdhc: add SDHC driver for PSE84 & cy8cproto_062_4343w
- add SDHC driver code to support both SDMMC and SDIO fucntion
- add SDHC dts node and Kconfig
- add clock configuration for SDHC

Signed-off-by: Kevin Chan <kevin.chan3@infineon.com>
2026-01-23 10:41:07 +01:00
Thinh Le Cong
0f80ee260d drivers: spi: Initial support for SCI SPI driver on Renesas RA
Add SCI SPI driver support on Renesas RA devices

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2026-01-23 10:40:51 +01:00
Braeden Lane
14268793a9 soc: infineon: psoc4: Add PSOC 4100S Max series support
Add initial support for the PSOC 4100S Max series, starting
with the CY8C4149AZI-S598 (100-TQFP package) used on the
CY8CKIT-041S-MAX development board.

The infrastructure supports adding additional part numbers
in the future as needed.

Signed-off-by: Braeden Lane <Braeden.Lane@infineon.com>
2026-01-22 13:01:21 -05:00
Gang Li
0a92e6f908 modules: hostap: Fix DPP show UNKNOWN security type after reconfiguration
In case DPP reconfiguration test, if the dpp_akm has psk,
it will set WPA_KEY_MGMT_PSK | WPA_KEY_MGMT_PSK_SHA256 |
WPA_KEY_MGMT_FT_PSK to key_mgmt, then wifi status shows
security as "Unknown".

Signed-off-by: Gang Li <gang.li_1@nxp.com>
2026-01-21 13:03:26 +00:00
Lucien Zhao
0e0757cc3c soc: nxp: delete HAS_MCUX_SIM/RCM kconfig symbols
- Remove HAS_MCUX_SIM and HAS_MCUX_RCM Kconfig symbols
on NXP platforms

- delete HAS_MCUX_SIM/HAS_MCUX_RCM kconfigs,
use dt ways to get enabled SIM/RCM devices

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-01-21 13:03:11 +00:00
Hui Bai
0cafc3e4f6 modules: hostap: Add new APIs to set operating mode for SoftAP
Add new APIs to set operating mode 11n, 11ac and 11ax for SoftAP.
Currently, the 11n, 11ac and 11ax are enabled by default. Theses APIs
can be used to configure operating modes enable/disable for SoftAP.

Signed-off-by: Hui Bai <hui.bai@nxp.com>
2026-01-21 11:22:57 +00:00
Fabian Blatz
3658dbd489 manifest: Update LVGL to 9.4.X
Update the west yaml to point to the new LVGL version.
Update CMakeLists and samples accordingly.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2026-01-20 20:05:25 -05: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
Holt Sun
8260974216 soc: nxp: ke1xz: Add power management support
Implement power management with IDLE, STOP, PSTOP1, and PSTOP2 modes.

- Add power state definitions with timing parameters
- Implement pm_state_set() with proper SLEEPDEEP handling
- Add XIP-safe WFI execution from RAM
- Enable SMC driver and power mode protection
- Remove forced timer Kconfig defaults

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-20 13:25:01 +00:00
Jamie McCrae
723476370d modules: Update to use SOC_SERIES_NRF Kconfigs without X suffix
Updates usage of the old Kconfig to use the new Kconfig

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +00:00
Jamie McCrae
7d54f9c7c5 soc: arm: mps4: Fix SoC Kconfig naming
Fixes the Kconfig name of this so that it matches the value from
soc.yml, this has not been deprecated because this SoC is a virtual
SoC used only with the boards in zephyr meaning it should not cause
any breakage of out-of-tree boards

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:20:45 +00:00
Alain Volmat
b13d9a0510 display: rename current BGR_565 format into RGB_565X
The format currently expected by devices and sample display
application for BGR_565 is actually RGB_565 format with bytes
swapped (not B / R swapped). That is:

PIXEL_FORMAT_RGB_565:
         * @code{.unparsed}
         *   7......0 15.....8
         * | gggBbbbb RrrrrGgg | ...
         * @endcode

current PIXEL_FORMAT_BGR_565:
         * @code{.unparsed}
         *   7......0 15.....8
         * | RrrrrGgg gggBbbbb | ...
         * @endcode

This is explained in both st7796s display driver but also is
what is generated by the sample display application. As a video
format (ex: V4L2), such format is not mentioned as BGR (for
which R and B are swapped) but RGB_565X.

Within the whole Zephyr tree, rename the curremt BGR_565 format
into RGB_565X in order to emphasis that this is a byte swapped
format rather than a B/G component swapped format.

This also correct the description of the format in display.h
file, which wasn't correct based on what was being used by
display driver or sample display app.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-19 16:04:04 +00:00
Carlo Caione
89b097428d modules: lora-basics-modem: Add remaining HAL stub functions
Add stub implementations for all remaining smtc_modem_hal functions
required by LoRa Basics Modem. These functions are not yet implemented
but provide the necessary symbols for linking.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-16 11:42:37 +00:00
Carlo Caione
a4dbdba2e7 modules: lora-basics-modem: Add HAL implementation with porting tests
Add the initial smtc_modem_hal implementation for Zephyr that provides the
hardware abstraction layer required by LoRa Basics Modem.

To fully port the LoRa Basic Modem library to Zephyr we need to port and
adapt three parts (see [0]):

1. Radio Driver HAL
2. RAL BSP
3. LoRa Basics Modem HAL

Right now the Radio Driver HAL and the RAL BSP are correctly implemented by
the lbm_sx126x drivers, this patchset is taking care of the initial work of
porting and adapting also the LoRa Basics Modem HAL.

The LBM library provides a porting tool [1] that (quoting from [2]) "[...]
provides a automatic suite of tests that will help user ensures that lora
basics modem mcu and radio HAL functions are implemented in a good way
(SPI, radio_irq, time, timer, random, radio config, sleep and low power)"

This patchset is taking care of making the porting tool a first class test
suite for Zephyr implementing the needed HAL functions.

[0] https://github.com/Lora-net/SWL2001/blob/master/lbm_lib/PORTING_GUIDE.md
[1] https://github.com/Lora-net/SWL2001/blob/master/lbm_examples/main_examples/main_porting_tests.c
[2] https://github.com/Lora-net/SWL2001/blob/master/lbm_examples/README.md

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-16 11:42:37 +00:00
Carlo Caione
ca0703f9e6 modules: lora-basics-modem: Refactor and fix CMake
A set of preliminary (but harmless) changes to prepare for adding the HAL
implementation.

- Rename CMake variables for clarity and consistency, adding an 'LBM_LIB_'
  prefix when the path is a library / module path.

- Change zephyr_library_include_directories to zephyr_include_directories
  for the RAL/RALF includes, since these headers may be needed outside the
  library itself.

- Make lbm_common.h available to code outside the driver directory.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-16 11:42:37 +00:00
Carlo Caione
d6dce1ca51 lorawan: rename region Kconfig symbols to be backend-agnostic
Move and rename the region Kconfig symbols from LORAMAC_REGION_* to
LORAWAN_REGION_* to make them backend-agnostic.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-16 11:41:01 +00:00
Axel Le Bourhis
68cf4b7b50 hal_nxp: move connectivity_framework to mcux-sdk-ng integration
Move the connectivity framework 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-15 16:41:13 +00:00
Khoa Nguyen
448d3c04f7 modules: Update Kconfig USE_RA_FSP for RA I2C controller
Since the latest hal_renesas has updated the I2C Controller config
to build the IIC Controller source. Without this update, many
current PRs on mainstream which has the update for hal_renesas
revision will fail.

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-01-15 11:07:02 +00:00
Robert Robinson
cf6e4178e9 modules: tf-m: nordic: Add support for nRF7120 TF-M
This commit adds initial support for non secure nRF7120 targets in
zephyr.

There are important limitations, such as:
- The hardware Crypto accelerator is not supported and thus the non
  secure target is NOT secure for production applications in upstream
  Zephyr.
- The BL2 is not supported, so no DFU is supported with this support

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-01-14 13:02:59 -06:00
Robert Robinson
eb647dbf64 soc: nordic: Add initial support for nRF7120 SoC
Add SoC files for nrf7120.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-01-14 13:02:59 -06:00
Robert Robinson
212a8fe8c9 dts: arm: nordic: Add support for nRF7120
Add dts files for nRF7120 SoC.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-01-14 13:02:59 -06:00
Qiang Zhang
cdb53ec8aa drivers: dma: mcux_edma: Remove DMA_MCUX_EDMA_V5 configuration
The DMA_MCUX_EDMA_V5 configuration option has been removed and replaced
with DMA_MCUX_EDMA_V4, as both versions share the same register layout
and can use the same driver implementation.

Key changes:
- Remove CONFIG_DMA_MCUX_EDMA_V5 Kconfig option
- Replace DMA_MCUX_EDMA_V5 conditionals with DMA_MCUX_EDMA_V4
- Remove DMAx_Type typedef, use DMA_Type directly
- Update EDMA_HW_TCD macros for V4 to use HAL-provided accessor macros
- Add DMA_MCUX_EDMA_DMAMUX Kconfig option to control DMAMUX support
  based on device tree property
- Update device tree binding to add has-dmamux property
- Update HAL driver selection to use DMA_MCUX_EDMA_DMAMUX instead of
  DMA_MCUX_EDMA for DMAMUX component
- Add SOC_SERIES_MCXE31X to DMA_MCUX_TEST_SLOT_START configuration
- Calculate DMA_TCD_ALIGN_SIZE from edma_tcd_t structure size

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-01-14 13:00:55 -06:00
Tomi Fontanilles
d9b7fe379a modules: mbedtls: PKCS5: depend on, do not select MD
To avoid dependency loops.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-01-14 09:22:13 -06:00
Carlo Caione
5e35f14b1e drivers: lora: rename lora_basics_modem directory to lora-basics-modem
Rename the lora_basics_modem backend directory to lora-basics-modem
for consistency with the module naming convention.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-14 09:55:43 +01:00
Mathieu Choplain
239fab93bc kconfig: treewide: use auto-generated Kconfig compatible macro variables
Replace some manually-defined DT_COMPAT_<> Kconfig macro variables with
their automatically generated counterparts. In most cases, this is
straightforward as the manually defined macro is named identically to the
one generated by the build system.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-13 13:30:54 +01:00
Chaitanya Tata
797a87c29c modules: hostap: Fix SoF in softap mode
Due to recent changes, the stack usage is increased, fix the SoF.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
094d30cc05 net: wifi: Add API support for P2P power save
Add API support for P2P power save.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
4e5783f39a net: wifi: Add API support for P2P GO mode
Add structures and API support for P2P Go mode.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00