Commit graph zephyr/modules
Author SHA1 Message Date
Aksel Skauge Mellbye
e1b9cae0e7 dts: bindings: clock: Add Silicon Labs HFXO config options
Add support for separate XI and XO tuning capacitor values for HFXO.
If two values are set, they are used for XI and XO respectively. If
a single value is set, it is used for both.

Add support for enabling internal DC bias on the XI input when using
an external clock source.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-02-06 11:22:09 +01:00
Keith Packard
851554eb03 modules/hal_rpi_pico: Use toolchain libc when picolibc is not selected
When the application isn't using picolibc, fall back to previous behavior
and use toolchain default along with 'nosys.specs'.

Signed-off-by: Keith Packard <keithp@keithp.com>
2026-02-06 11:19:58 +01:00
Benjamin Cabé
8a350c5033 modules: nrf_wifi: use proper essential type in bool variables assignments
As per Zephyr coding guideline #59, "operands shall not be of an
inappropriate essential type". This makes sure boolean variables are
assigned true/false values, not 1/0.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-05 10:20:22 +00:00
Benjamin Cabé
fc2b61fe1c modules: hostap: use proper essential type in boolean variables assignments
As per Zephyr coding guideline #59, "operands shall not be of an
inappropriate essential type". This makes sure boolean variables are
assigned true/false values, not 1/0.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-05 10:20:22 +00:00
Chaitanya Tata
e1f857749c modules: hostap: p2p: Configurable retry limit for PD
For P2P provisional discovery make the retries configurable, in case the
peer doesn't respond we can reduce to avoid airtime.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-02-04 12:53:32 -06:00
Cristian Bulacu
955026983f openthread: platform: udp: Add support for reseting socket's peer address
This commit adds support to handle the case when `otPlatUdpConnect` is
called with either ip address set to any, or port set to 0.
In this case, sa_family is set to `NET_AF_UNSPEC` as per POSIX spec, to
reset socket's peer address.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-02-04 13:57:44 +01:00
Cristian Bulacu
25cf7978b0 modules: openthread: mdns_socket: Refactor module
This commits refactors the mDNS socket by:
- splitting the send functions to IPV6 and IPV4 related ones;
- fixing some variable naming convention and minor identation issues

No new functionality is added, this was done to ease code
readability.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-02-04 13:57:44 +01:00
Aksel Skauge Mellbye
69ce836b30 modules: hal_silabs: Update bluetooth config
Update bluetooth config to match changed options in the HAL.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-02-03 08:23:21 -06:00
Aksel Skauge Mellbye
cedaa6927c manifest: Update hal_silabs to SiSDK 2025.12.0
Update SiSDK to 2025.12.0.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-02-03 08:23:21 -06:00
Hake Huang
8c96cc5432 modules: hal_nxp: mcux: always enable lpcflexcomm component when used
lpcflexcomm fixes

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2026-02-03 13:06:59 +01:00
Cristian Bulacu
08a5b84b58 openthread: Kconfig: Remove experimental tag for Zephyr Border Router
Remove experimental symbol for Zephyr Border Router application.

Zephyr OpenThread Border Router sample contains all the mandatory features
required by such an application.
Starting with Zephyr 4.3 release, this sample has been tested in a
Thread Harness setup; the features implemented at that time have been
validated, issues have been identified and fixed.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-02-02 14:44:49 +01:00
Chaitanya Tata
7c1cd4c569 drivers: wifi: nrf_wifi: configure GPIO pins early during driver init
Configure all nRF70 GPIO pins (BUCKEN, VDDIO_CTRL, SR RF switch) to
OUTPUT_INACTIVE state during driver initialization to prevent floating
pins from accidentally powering the module or affecting RF switch
before the interface is brought up.

This addresses an issue where GPIO configuration was delayed until
the interface was brought up for the first time, leaving voltage control
pins floating which could result in unintended power supply.

Fixes #100993.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-02-02 14:44:30 +01:00
Jérôme Pouiller
de64c007c2 modules: silabs: Force sli_mv_m4_app_from_flash_to_ram() to be in RAM
SiWx917 does not support concurrent read and write on the flash.
sli_mv_m4_app_from_flash_to_ram() ensure that requirement. Especially, it
disable the Zephyr scheduler. However, to guaranty the instruction cache
won't access to the flash, this function has to be located in RAM.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2026-02-02 09:59:14 +01:00
Pieter De Gendt
96d9db95de modules: lvgl: input: Demote ignored event log print
An unknown event key can occur a lot if only a subset of the keys are used
in lvgl. Demote level from warning to debug.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-30 18:06:15 +01:00
Cristian Bulacu
a5002eee0b openthread: Kconfig: Add OpenThread Border Router IPV4 config flag
Adding a configuration flag for IPV4 capabilities which defines
dependencies and  selects other functionalities.
By default, IPV4 capabilities are enabled for an OpenThread border
router application.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-01-30 18:03:36 +01:00
Cristian Bulacu
461c70beec openthread: platform: Split IPV4/IPV6 border router services init
Separating initialization functions at platform level.
Removing IPV4 packet filtering rules when OT NAT64 service is stopped.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-01-30 18:03:36 +01:00
Phuc Pham
957929d634 drivers: adc: Add ADC support for Renesas RZ V2H, V2N
Add ADC driver support for Renesas RZ V2H, V2N

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-29 09:04:01 +01:00
Cristian Bulacu
52eb5fae7c openthread: platform: udp: Use new OT API
This commit makes use of newly added OT API to determine if an address
is link local.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-01-28 16:13:40 +01:00
Cristian Bulacu
c581ddb1d9 openthread: platform: border_agent: Use OT API to compute ephemeral key
This commit removes platform code that generated ephemeral key.
Now, OpenThread dedicated API is used to generate and validate an
ephemeral key.
Change related to
https://github.com/openthread/openthread/pull/12188

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-01-28 16:13:40 +01:00
Håkon Amundsen
d58d67bc6d modules: hal_nordic: fix enumeration of SAADC channels
The enumeration was off by 1, fix to align with with the binding.
Also fix an incorrect file name in a comment.

Signed-off-by: Håkon Amundsen <haakon.amundsen@nordicsemi.no>
2026-01-28 08:33:33 +01:00
Valerio Setti
7f34fc39f2 modules: hostap: enable PSA Crypto API only when crypto is enabled
Enable CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_MBEDTLS_PSA only when
CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ALT is enabled since the former
depends on the latter.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-27 11:37:11 +00:00
Axel Le Bourhis
100f4c26a6 hal_nxp: integrate mcuxsdk ble controller ng
Move ble-controller integration to mcux-sdk-ng to make future release
integration easier. Based on 25.09.00 release, same as the existing
version.

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2026-01-27 10:53:45 +00:00
Valerio Setti
92c9ce8333 modules: hostap: use PSA Crypto API by default
Set CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_MBEDTLS_PSA enabled by default
meaning that PSA Crypto API are used by default instead of legacy crypto.
Some Kconfigs for EC and RSA keys are also enabled there in order to
allow support of private key management.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-27 08:05:59 +01:00
Valerio Setti
c674f7e57f modules: mbedtls: add ciphersuite specific Kconfigs
Add new Kconfigs which are specific for certain TLS ciphersuite. The idea
is that instead of enabling key-exchanges related Kconfigs and then adding
all possible dependencies/selections there (which is not strictly correct)
the user enables a specific ciphersuite for which is easier and more
accurate to specify dependencies.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-27 08:05:59 +01:00
Valerio Setti
535d9e5659 modules: openthread: move definition of OPENTHREAD_CRYPTO_PSA
Simply move the definition of OPENTHREAD_CRYPTO_PSA Konfig before crypto
configuration related Kconfigs.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-26 10:09:04 -06:00
Valerio Setti
119ff39e8c modules: mbedtls: increase heap memory for OpenThread
Increase heap memory when OpenThread is enabled and either "commissioner"
or "joiner" roles are used.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-26 10:09:04 -06:00
Valerio Setti
0f6217f4b7 modules: openthread: select PSA_WANT deps for KDF algorithms
Select proper PSA_WANT requirements in CONFIG_OPENTHREAD_CRYPTO_PSA_CONFIG
in order to enable KDF algorithms.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-26 10:09:04 -06:00
Valerio Setti
76b8c8b469 modules: openthread: add HKDF support in crypto_psa
crypto_psa.c was missing an implementation for the following functions:
- otPlatCryptoHkdfInit
- otPlatCryptoHkdfExtract
- otPlatCryptoHkdfExpand
- otPlatCryptoHkdfDeinit
which provide support for HKDF using PSA Crypto API.

This commit fill this gap by copying the implementation from upstream
PR 11445.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-26 10:09:04 -06:00
Valerio Setti
9ab7ef61a7 modules: mbedtls: allow ECJPAKE keyexchange to work through PSA API
Allow MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED to work with either legacy
crypto (i.e. MBEDTLS_ECJPAKE_C) or PSA Crypto API
(i.e. PSA_WANT_ALG_JPAKE).

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-26 10:09:04 -06:00
Valerio Setti
62ebe56c49 modules: openthread: use PSA API by default
Make CONFIG_OPENTHREAD_CRYPTO_PSA as enabled by default in order to use
PSA Crypto API instead of legacy Mbed TLS' crypto. This is done with the
final goal to deprecate and remove usage of legacy crypto support in
the near future from Zephyr codebase.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-26 10:09:04 -06:00
Valerio Setti
b9e0e724ee modules: openthread: select Secure Storage when using PSA without TF-M
OpenThread needs a PSA ITS provider when using PSA Crypto API, therefore
we enable Secure Storage in builds without TF-M.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-26 10:09:04 -06:00
Valerio Setti
2751b8acdb modules: openthread: reorganize default configuration options
First separate Mbed TLS' crypto configuration from the "high level" (TLS)
part. CONFIG_OPENTHREAD_MBEDTLS_TLS_CONFIG now only takes care of this high
level part, whereas the newly added
CONFIG_OPENTHREAD_CRYPTO_LEGACY_MBEDTLS_CONFIG takes care of the legacy
crypto configuration.

CONFIG_OPENTHREAD_CRYPTO_PSA_CONFIG is added to propose a default crypto
configuration based on PSA Crypto API instead of legacy Mbed TLS.

Both CONFIG_OPENTHREAD_CRYPTO_LEGACY_MBEDTLS and
CONFIG_OPENTHREAD_CRYPTO_PSA_CONFIG are promptless and the choice between
the two is based on CONFIG_OPENTHREAD_CRYPTO_PSA.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-26 10:09:04 -06:00
Valerio Setti
b152914769 modules: openthread: rename security related Kconfigs
Rename
- CUSTOM_OPENTHREAD_SECURITY as OPENTHREAD_SECURITY_CUSTOM
- OPENTHREAD_MBEDTLS_CHOICE as OPENTHREAD_SECURITY_DEFAULT_CONFIG

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-26 10:09:04 -06:00
Valerio Setti
d5ab6db12c modules: openthread: minor documentation fixes
Minor fixes to some Kconfigs' prompt and help messages.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-26 10:09:04 -06:00
Valerio Setti
11e16a62e2 modules: openthread: enable Mbed TLS ECP when using secp256r1 curve
Enabled CONFIG_MBEDTLS_ECP_C also when CONFIG_OPENTHREAD_SRP is enabled as
this is required by CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-26 10:09:04 -06:00
Valerio Setti
c035cfe076 modules: openthread: add couple of internal helper Kconfigs
Add CONFIG_OPENTHREAD_COMMISSIONER_JOINER and
CONFIG_OPENTHREAD_SRP_CLI_SRV as internal helpers to slightly simplify
depenencies in other Kconfigs that depends on these combinations.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-26 10:09:04 -06:00
Valerio Setti
6245be0095 modules: openthread: move definition of OPENTHREAD_CRYPTO_PSA
Simply move the definition of OPENTHREAD_CRYPTO_PSA Kconfig closer to
the OPENTHREAD_MBEDTLS one. This will help in following commits.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-26 10:09:04 -06:00
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