Commit graph

136,983 commits

Author SHA1 Message Date
Martin Hoff
4f1313b0ad soc: silabs: siwx91x: unique place for sys clock tick definition
This patch put in the same place the default value for
SYS_CLOCK_TICKS_PER_SEC. It also apply the sleeptimer clock frequency
when sleeptimer is used for sys clock.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-12-03 15:37:09 -05:00
Martin Hoff
e524c1f51e soc: silabs: siwx91x: define hardware sys clock from dts
This patch introduce configuration of the symbol
'SYS_CLOCK_HW_CYCLES_PER_SEC' with dts entry rather than a hardcoded
value.
Clock control on siwx91x needs to use the clock frequency of the cpu
to init rather than the 'SYS_CLOCK_HW_CYCLES_PER_SEC' symbol,
otherwise we initialize the m4 clock with the ULP ref clock.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-12-03 15:37:09 -05:00
Damjan Belavic
470290cfc4 xen/dom0: Add xen_domctl_deassign_dt_device support
Add wrapper function for XEN_DOMCTL_deassign_device hypercall to
support deassigning device tree devices from guest domains.

Signed-off-by: Damjan Belavic <damjan_belavic@epam.com>
2025-12-03 15:37:00 -05:00
Chaitanya Tata
466d18d19c net: l2: wifi_shell: Fix MFPR handling
When protocol says MFP is required for WPA3, no point in asking user and
then validating.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-12-03 15:36:47 -05:00
Chaitanya Tata
7cbcd1d1d3 modules: hostap: Add checks for WPA3
If the WPA3 is disabled in the build handle gracefully rather than
cryptic supplicant internal messages.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-12-03 15:36:47 -05:00
Chaitanya Tata
237e4e4ae8 modules: hostap: Fix auto mode without WPA3 enabled
In case WPA3 is disabled in the config but auto security is used, the
wifi status shows security as "Unknown".

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-12-03 15:36:47 -05:00
Alberto Escolar Piedras
61e544c2f3 tests: benchmark: Mbed TLs: filter for posix arch
There is no point benchmarking on the posix architecture, and
how the test is now it just hungs. So let's filter it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-03 15:36:29 -05:00
Rahul Gurram
e02845b7cb drivers: wifi: siwx91x: To improve SiWx91x performance
To enhance throughput performance on the SiWx91x series, Added
some Siwx91x configurations by deafult.

Signed-off-by: Rahul Gurram <rahul.gurram@silabs.com>
2025-12-03 10:40:10 -05:00
Damian Krolik
6402a58f34 debug: coredump: stack top limit for current thread
Extend the functionality to limit the number of stack bytes
included in the core dump by allowing the limit to be
different for the current thread and remaining threads.

This is useful because it is more likely that we need more
call frames of the thread that was running when the
exception occurred than of the other threads in order to
analyze the exception.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
2025-12-03 10:40:00 -05:00
Marc Herbert
a0045c5573 doc/requirements.in: clarify they are additional, not standalone
Rephrase the file header to make sure these dependencies cannot be
misinterpreted as standalone.

The doc requirements were standalone in January 2021 as demonstrated by
commit e21ffe6baa ("requirements-doc: add PyYAML which removes
dependency on -base") and were most likely tested as standalone by CI
until January 2025 when commit b6922c83a8 ("ci: doc: add
action-zephyr-setup") added a Zephyr setup step to
`.github/workflows/doc-build.yml`

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2025-12-03 10:39:52 -05:00
Ricardo Cañuelo Navarro
e407153fd2 shields: buydisplay_3_5_tft: disable pointer axes inversion
The current configuration of the touch controller node inverts the x and
y axes, which doesn't match the current display configuration in the
ili9488_buydisplay_3_5_tft_touch_arduino node, ie. pointing to the
right/bottom side of the screen registers a touch in the left/top side.

Fix it by removing the inverted-x and inverted-y properties.

Signed-off-by: Ricardo Cañuelo Navarro <rcn@igalia.com>
2025-12-03 10:39:36 -05:00
Matthias Alleman
78b5ecff1e lvgl: input: lvgl_pointer_input: fix NULL pointer dereferencing
Fixes the dereferencing of a NULL pointer when interrupts of an
input device happen early in the application.

Signed-off-by: Matthias Alleman <matthias.alleman@basalte.be>
2025-12-03 10:39:23 -05:00
dependabot[bot]
53950396ff ci: doc: bump the doc-deps group across 1 directory with 3 updates
Bumps the doc-deps group with 3 updates in the /doc directory: [doxmlparser](https://github.com/doxygen/doxygen), [pytest](https://github.com/pytest-dev/pytest) and [python-dotenv](https://github.com/theskumar/python-dotenv).


Updates `doxmlparser` from 1.14.0 to 1.15.0
- [Release notes](https://github.com/doxygen/doxygen/releases)
- [Changelog](https://github.com/doxygen/doxygen/blob/master/doc_internal/releases.md)
- [Commits](https://github.com/doxygen/doxygen/commits)

Updates `pytest` from 8.4.2 to 9.0.1
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.4.2...9.0.1)

Updates `python-dotenv` from 1.1.1 to 1.2.1
- [Release notes](https://github.com/theskumar/python-dotenv/releases)
- [Changelog](https://github.com/theskumar/python-dotenv/blob/main/CHANGELOG.md)
- [Commits](https://github.com/theskumar/python-dotenv/compare/v1.1.1...v1.2.1)

---
updated-dependencies:
- dependency-name: doxmlparser
  dependency-version: 1.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: doc-deps
- dependency-name: pytest
  dependency-version: 9.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: doc-deps
- dependency-name: python-dotenv
  dependency-version: 1.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: doc-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-03 10:39:10 -05:00
Krzysztof Chruściński
be27fa38b4 soc: nordic: common: gppi_init: Move initialization earlier
GPPI initialization shall be executed as early as possible.
Add _ prefix to the initialization function to reduce chances that
other function calls uninitialized GPPI.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-12-03 10:38:57 -05:00
Pavel Vasilyev
9227a7c131 bluetooth: buf: Fix callback protection for ISR context
Fix assertion failure when buf_rx_freed_notify() is called from ISR
by replacing k_sched_lock with atomic_ptr operations for callback
pointer access.

The scheduler lock is retained during callback execution in thread
context to maintain backward compatibility, but is skipped in ISR
context where it's not available.

Updated documentation to clarify the behavior difference between
thread and ISR contexts.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2025-12-03 10:38:47 -05:00
Piotr Kosycarz
9cd1247615 tests: bluetooth: audio: pacs: move native_sim to common
Move platform def into common section.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-12-03 10:38:37 -05:00
Piotr Kosycarz
20eabf354d tests: bluetooth: audio: ascs: set native_sim in common
Use native_sim for all configurations.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-12-03 10:38:37 -05:00
Fin Maaß
0e0ff29121 drivers: regulator: Add TI tps55287
Add regulator driver for TI TPS55287 buck-boost

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-12-03 09:13:45 -05:00
Michał Stasiak
3603ce5626 manifest: update hal_nordic to have nRF54l errata 55 fixed
Errata needs to apply in more cases.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-12-03 09:13:33 -05:00
Michał Stasiak
60892a30a7 drivers: watchdog: wdt_nrfx: return expected error
According to API docs, wdt_disable() should return
EFAULT when called too early. Adjusted driver.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-12-03 09:13:24 -05:00
Aaron Delago
bc6edd95c7 include: storage: fixes typo in disk_access.h
Fix two typos in the disk access header file.

Signed-off-by: Aaron Delago <aarondelago@gmail.com>
2025-12-03 09:13:12 -05:00
Robert Lubos
2c21048ade net: core: Verify interface state in net_try_send_data()
Verify that the interface is in operational UP state before attempting
to send the packet with net_send_data() / net_try_send_data().

So far there's only been an NET_IF_LOWER_UP check in a lower level
function, net_if_try_send_data(), however that didn't work well with
interface like Wi-Fi, whouch could have carrier state set to ON, but
was still not associated with the network (so the interface was no
operational UP). Protocols like ICMP or DHCP, which use net_send_data()
directly, should not be able to send packets in such case.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-12-03 09:12:58 -05:00
Adam Kondraciuk
75dfc059e7 drivers: i2s: nrf_tdm: Add guards for buffers size
TDM peripheral requires TXD.MAXCNT and RXD.MAXCNT registers to be:
- multiple of 4 bytes
- larger than 8 bytes

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2025-12-03 09:12:29 -05:00
Fabian Blatz
de52d1df10 drivers: display: sdl: Move sdl_bottom parameters into structs
Since the number of function arguments grows out of hand, place them into
structs and pass a struct to the method instead.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2025-12-03 09:12:18 -05:00
Fabian Blatz
ef45a64f0d drivers: display: sdl: Add elliptical masking of display area
Adds `SDL_DISPLAY_ROUNDED_MASK` and `SDL_DISPLAY_ROUNDED_MASK_COLOR`
Kconfig options to mask a elliptical area of the display. This is useful
for prototyping alignments for rounded displays.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2025-12-03 09:12:18 -05:00
Mathieu Choplain
636df434b9 twister: device-handler: use --dev-id for STM32CubeProgrammer runner
Now that the STM32CubeProgrammer runner supports the standard `--dev-id`
argument, replace usage of `--tool-opt` in the Twister device handler code.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-12-03 09:12:09 -05:00
Mathieu Choplain
aaaf1d3992 scripts: pytest: hw_adapter: use --dev-id for STM32CubeProgrammer runner
Now that the STM32CubeProgrammer runner supports the standard `--dev-id`
argument, replace usage of `--tool-opt` in the pytest harness hardware
adapter.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-12-03 09:12:09 -05:00
Mathieu Choplain
f1a75d75c7 runners: stm32cubeprogrammer: add support for --dev-id
Add support for the standard `--dev-id` argument used to select
target ST-Link debug probe based on serial number. Note that this
could already be achieved using custom argument `--conn-modifiers`.
(`--dev-id <XXX>` is equivalent to `--conn-modifiers sn=<XXX>`)

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-12-03 09:12:09 -05:00
Mathieu Choplain
5f67dfdf41 twister: device-handler: silence no-name-in-module warning
Silence CI warning caused by line "from . import ZEPHYR_BASE". This is a
legitimate pattern, but pylint seems unable to deduce so. Many other
scripts perform a similar silencing.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-12-03 09:12:09 -05:00
Stanislav Bobokalo
f16f13d9e8 dts: renesas: fix syntax error in multiple DTS/DTSI files
Properties in bclk nodes were defined after the bclkout subnode,
disk subnode was defined before properties in a few boards DTS files
which violates the Devicetree Specification v0.4, section 6.3:

"Nodes may contain property definitions and/or child node definitions.
If both are present, properties shall come before child nodes."

This caused the Device Tree Compiler error:
"Properties must precede subnodes. Unable to parse input tree"

This commit moves nested nodes after properties,
fixing the syntax error and ensuring compliance with
the Devicetree Specification.

Signed-off-by: Stanislav Bobokalo <stanislav.b@embedd.it>
2025-12-03 09:12:00 -05:00
Michał Stasiak
316c363f8e modules: hal_nordic: nrfx: change symbol for pinreset GPIO
Changed symbol that configures GPIO as pinreset source,
aligning to change in nRF MDK.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-12-03 09:11:50 -05:00
Michał Stasiak
6e5400bd24 modules: hal_nordic: nrfx: allow SWD pins as GPIOs
Added compile definition expected by nRF MDK that configures
SWD pins as GPIOs.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-12-03 09:11:50 -05:00
Michał Stasiak
cb7433bc72 dts: bindings: arm: add binding for Nordic TAMPC
Added dts binding for Nordic Tamper Controller with
property to configure SWD pins as GPIOs.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-12-03 09:11:50 -05:00
Tony Han
e411e7e896 tests: crypto: hash: update to support testing Microchip SHA
Update to support testing crypto_hash on sama7g54_ek board.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-12-03 09:11:40 -05:00
Tony Han
bec0afff62 boards: microchip: sam: enable SHA in sama7g54-ek dts
Enable the SHA node in sama7g54_ek.dts file.
Add crypto to sama7g54_ek.yaml support list.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-12-03 09:11:40 -05:00
Tony Han
6d52c87443 drivers: crypto: hash: add driver for Microchip SHA
Add driver for Microchip Secure Hash Algorithm (SHA), update Kconfig
and make files.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-12-03 09:11:40 -05:00
Tony Han
39fde55680 soc: microchip: sam: update MMU for sama7g5 SHA
When SHA is activated in the DT, configure it's register region with
strong ordered, read and write access.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-12-03 09:11:40 -05:00
Tony Han
c1251176fb dts: arm: microchip: sama7g5: add the node for SHA
Add the node for Secure Hash Algorithm (SHA) to sama7g5.dtsi file.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-12-03 09:11:40 -05:00
Tony Han
ff8acc2d7a dts: bindings: crypto: add microchip,sha-g1-crypto.yaml
Add microchip,sha-g1-crypto.yaml for Secure Hash Algorithm (SHA)
controller.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-12-03 09:11:40 -05:00
Tony Han
ac31be0d98 drivers: crypto: Kconfig: rename Kconfig.xec to Kconfig.mchp
Rename to Kconfig.mchp for Microchip crypto drivers support.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-12-03 09:11:40 -05:00
Tony Han
05ef041359 dts: arm: microchip: sam: reorder the nodes by address in sama7g5.dtsi
Update the soc nodes in sama7g5.dtsi by address ascending order.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-12-03 09:11:40 -05:00
farsin NASAR V A
d3076f0600 tests: drivers: flash: Add support for the sam_e54_xpro board
Added sam_e54_xpro platform allow in testcase.yaml.
Added board support in main.c

Signed-off-by: farsin NASAR V A <farsin.nasarva@microchip.com>
2025-12-03 09:11:31 -05:00
Henrik Lindblom
83064c0f5c settings: apply clang-format to settings.h
The code was not formatted properly causing compliance failures.

Signed-off-by: Henrik Lindblom <henrik.lindblom@vaisala.com>
2025-12-03 09:11:03 -05:00
Henrik Lindblom
d5fc0dd6ad docs: settings: add missing docstring
The macro SETTINGS_STATIC_HANDLER_DEFINE did not have a docstring alghough
it's used in-tree more than the documented
SETTINGS_STATIC_HANDLER_DEFINE_WITH_CPRIO.

Signed-off-by: Henrik Lindblom <henrik.lindblom@vaisala.com>
2025-12-03 09:11:03 -05:00
Henrik Lindblom
41da3e91a8 docs: settings: harmonize docstring style
Use the same docstring style throughout the public header. Prefer to
have struct field documentation above the field definition instead of
placing it after using "/**<". Also use the doxygen special commands for
documenting function parameters and return values.

Signed-off-by: Henrik Lindblom <henrik.lindblom@vaisala.com>
2025-12-03 09:11:03 -05:00
Sunil Abraham
a3952ebef0 boards: microchip: PIC32CM_JH: configure clock source and frequency
Configure CPU clock using FDPLL, sourced from XOSC to achieve 48Mhz.

Signed-off-by: Sunil Abraham <sunil.abraham@microchip.com>
2025-12-03 09:10:52 -05:00
Sunil Abraham
a280bb5b9d drivers: clock_control: PIC32CM_JH: Add clock control driver
Add clock control driver.
Implement bootup clock initialization, on, off and get_rate API.

Signed-off-by: Sunil Abraham <sunil.abraham@microchip.com>
2025-12-03 09:10:52 -05:00
Sunil Abraham
236589252e dts: clock: PIC32CM_JH: Add clock control driver bindings
Add bindings for dfll, fdpll, gclk generator, mclk cpu, osc32k, rtc clock
and xosc.

Signed-off-by: Sunil Abraham <sunil.abraham@microchip.com>
2025-12-03 09:10:52 -05:00
Appana Durga Kedareswara rao
c8d6d20443 boards: amd: versalnet_apu: Add comprehensive TF-A build integration
Enable ARM Trusted Firmware support for Versal NET APU board with
platform-specific optimizations.

Changes:
- Add TF-A platform configuration (PLAT=versal_net)
- Configure board-specific TF-A parameters (TFA_NO_PM, PRELOADED_BL33_BASE)
- Add automatic TF-A module selection in Kconfig
- Update QEMU kernel loading to use TF-A bl31.elf
- Modified data address configuration to match QEMU implementation

The board now automatically builds ARM Trusted Firmware during Zephyr
application compilation with Versal NET specific optimizations.

Boot flow: Boot PDI -> TF-A -> Zephyr

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2025-12-03 09:10:37 -05:00
Appana Durga Kedareswara rao
927584b773 modules: tf-a: Add extensible board-specific build parameter support
Enhance the TF-A build system to support board-specific build parameters
through TFA_EXTRA_ARGS mechanism.

Changes:
- Add TFA_EXTRA_ARGS variable support for board-specific parameters
- Implement proper string-to-list conversion for make argument expansion

This allows individual board configurations to specify platform-specific
TF-A build parameters without modifying the core TF-A build logic.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2025-12-03 09:10:37 -05:00