Commit graph

136,983 commits

Author SHA1 Message Date
Tony Han
c9d69c0165 dts: arm: microchip: sama7d6: add the node for SHA
Add the node for Secure Hash Algorithm (SHA) to sama7d6.dtsi file.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-03-16 07:26:44 +01:00
Tony Han
984194b9b0 dts: bindings: crypto: update info in microchip,sha-g1-crypto.yaml
Add title and update the description with hardware informations in
microchip,sha-g1-crypto.yaml file.

Signed-off-by: Tony Han <tony.han@microchip.com>
2026-03-16 07:26:44 +01:00
The Nguyen
74d4478e23 soc: renesas: ra: add DCACHE policy config
Add config to select writethrough or writeback mode for DCACHE on
Renesas RA family.

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-03-16 07:24:12 +01:00
The Nguyen
cfbeecc3e4 soc: renesas: ra: enable DCACHE support
Initialize DCACHE if CONFIG_DCACHE is enabled

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-03-16 07:24:12 +01:00
The Nguyen
a706bb4861 drivers: i2s: renesas: update the code formatting
Ensure consistent code formatting on I2S Renesas RA SSIE driver

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-03-16 07:23:58 +01:00
The Nguyen
c8ede7c17e drivers: i2s: renesas: add a secondary chained buffer mechanism
Add an option to enable the secondary chained buffer mechanism for
the RX direction to improve its ability to adapt to high SPS rates

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-03-16 07:23:58 +01:00
The Nguyen
b6d796ccf3 drivers: i2s: renesas: fix issue of wrong stream drop
The prepare trigger must not drop any messages currently in the queue

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-03-16 07:23:58 +01:00
The Nguyen
af82bc1c8c drivers: i2s: renesas: lock trigger function with spinlock
Use a spinlock to avoid race conditions when receiving a new
trigger command

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-03-16 07:23:58 +01:00
The Nguyen
5e32d5d483 drivers: i2s: divide idle callback to sub function
draft

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-03-16 07:23:58 +01:00
The Nguyen
cc119d62ec drivers: i2s: renesas: update the naming of the helper
Rename free_buffer_when_stop to i2s_renesas_ra_free_stream as
appropriate for the context

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-03-16 07:23:58 +01:00
The Nguyen
cea5f99969 drivers: i2s: divide the trigger function into subfunctions
Implement subfunctions for each trigger command to improve
readability

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-03-16 07:23:58 +01:00
The Nguyen
2cb4ab6557 drivers: i2s: use helper for all free mslab buffer
Avoid calling k_memslab_free directly

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-03-16 07:23:58 +01:00
The Nguyen
c2549d6154 drivers: i2s: renesas: clean up put/get sequence
Avoid using temporary local stream variables when possible

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-03-16 07:23:58 +01:00
The Nguyen
d2bb5bb8ce drivers: i2s: renesas: add stream manage helper function
Add helper functions to manage message queue, control and
allocate the stream

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-03-16 07:23:58 +01:00
The Nguyen
432cd99dfc drivers: i2s: renesas: refine clock calculation
Clean code, update clock calculation to avoid wrong truncate when
mixing double and integer calculation

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-03-16 07:23:58 +01:00
The Nguyen
2ef38e381e drivers: i2s: renesas: refine audio clock enable interface
Change audio clock enable API to abtract the variant dependencies

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-03-16 07:23:58 +01:00
The Nguyen
104e14ec12 drivers: i2s: renesas: refine configuration api
Clean up i2s_configure flow
Use singleton active configuration instead of concurent for each
stream buffer

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2026-03-16 07:23:58 +01:00
Miika Karanki
b8a27acfca linker: fix xip data corruption with c++ exceptions
The .tm_clone_table section used SECTION_PROLOGUE instead of
SECTION_DATA_PROLOGUE, causing VMA/LMA offset mismatch on XIP systems.

When the linker adds alignment padding to VMA but not LMA,
arch_data_copy() places all subsequent data at wrong addresses,
corrupting pointer-containing structures like usbd_context.

Fix by using SECTION_DATA_PROLOGUE which adds ALIGN_WITH_INPUT,
ensuring padding is synchronized between VMA and LMA.

Signed-off-by: Miika Karanki <miika.karanki@vaisala.com>
2026-03-16 07:23:08 +01:00
Fin Maaß
25838fb6da boards: litex: remove redundant CONFIG_SPI_NOR_SFDP_RUNTIME
CONFIG_SPI_NOR_SFDP_RUNTIME is now
by default used, when when the dt requirements
are not fullfilled for the other 2 options, therefore
we lo longer need to set it here.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-16 07:22:58 +01:00
Fin Maaß
ae6a48b1bf drivers: flash: spi_nor: add dt dependencies for SPI_NOR_SFDP
Add dependencies for the dt props for the
SPI_NOR_SFDP choice.
Also removes the no no longer needed build asserts.

Nice benefit is, that we fallback to SPI_NOR_SFDP_RUNTIME,
if the required dt props for the other options are not set.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-16 07:22:58 +01:00
Fabrice DJIATSA
a92f323a5f drivers: mspi: stm32: fix discarded const qualifier in STM32 XSPI
The MSPI API exposes xfer.packets as const, but the driver assigned
it to a non-const pointer, triggering -Wdiscarded-qualifiers.
Update packet to be a const struct mspi_xfer_packet * and remove
the cast.
No functional changes.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-03-16 07:22:43 +01:00
Fabrice DJIATSA
32d2f0cc48 samples: drivers: mspi_flash: Add STM32 test scenario
Add a platforms allowed list to enable CI testing on
these specific boards.

Note: Since MSPI is still in the experimental phase,
there is no depend_on: mspi because we cannot yet add MSPI
as a supported peripheral in <board_name>.yaml.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-03-16 07:22:43 +01:00
Fabrice DJIATSA
89dfa5a0b5 samples: drivers: mspi: mspi_flash: Add required clock-frequency property
- Add the missing 'clock-frequency' property in the STM32 MSPI Flash
sample overlay to satisfy the requirements of the
st,stm32-ospi-controller Devicetree binding.
- Fix a coding style issue :Hex values must be lowercase

Fixes Devicetree error during sample build.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-03-16 07:22:43 +01:00
Fabrice DJIATSA
f731bd0b00 drivers: flash: mspi: avoid HAL macro conflicts
Rename FLASH_SIZE(inst) to FLASH_SIZE_INST(inst) and
FLASH_PAGE_SIZE(inst) to FLASH_PAGE_SIZE_INST(inst) in
flash_mspi_nor_sfdp.h to avoid redefinition conflicts with
STM32 HAL headers (stm32l562xx.h and stm32l5xx_hal_flash.h).

Note: Several HAL STM32 files use this macro naming convention;
this issue is not specific to STM32L5.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-03-16 07:22:43 +01:00
Steven Chang
802f790a4a drivers: gpio: kb106x: GPIO ports always readable
- The state of a GPIO pin can be sampled even if the output is enabled.

Signed-off-by: Steven Chang <steven@ene.com.tw>
2026-03-16 07:22:29 +01:00
James Bennion-Pedley
44bf992426 boards: wch: add board variants for flash/ram split
The WCH Chips have the option to trade extra RAM for zero-waitstate Flash.
These configurations are added as board variants.

Signed-off-by: James Bennion-Pedley <james@bojit.org>
2026-03-16 07:17:30 +01:00
James Bennion-Pedley
f536e656c7 boards: wch: add Ethernet to ch32v307_evt_r1
Adds enabled Ethernet to CH32V307 dev kit.
This ensures that the Ethernet driver is built in twister tests.

Signed-off-by: James Bennion-Pedley <james@bojit.org>
2026-03-16 07:17:30 +01:00
James Bennion-Pedley
27821b8ea5 drivers: ethernet: Support CH32V Ethernet Peripheral
This adds initial support for the CH32V ethernet peripheral.
The driver supports both internal and external PHY configurations.

Signed-off-by: James Bennion-Pedley <james@bojit.org>
2026-03-16 07:17:30 +01:00
James Bennion-Pedley
58b6a6f907 drivers: rng: Add RNG Peripheral driver
This adds RNG support for the CH32V20x_30x family.
Driver required for network stack support.

Signed-off-by: James Bennion-Pedley <james@bojit.org>
2026-03-16 07:17:30 +01:00
Loek Le Blansch
9ef766de8a revert "build: support newlines in syscall decls"
This reverts commit 1993ea019b because the
`parse_syscalls.py` script has been modified to not output whitespace
characters other than spaces in the generated JSON file.

Signed-off-by: Loek Le Blansch <loek.le-blansch.pv@renesas.com>
2026-03-16 07:16:13 +01:00
Loek Le Blansch
85ad61de96 tests/cmake: add test for syscall generation scripts
This commit adds a test for whitespace in syscall declaration function
signatures.

Signed-off-by: Loek Le Blansch <loek.le-blansch.pv@renesas.com>
2026-03-16 07:16:13 +01:00
Loek Le Blansch
d3bb91eac5 scripts/build: flatten whitespace in parse_syscalls.py
Syscall regex matches may include whitespace characters other than space
(i.e. `\n` or `\t`), which causes `gen_syscalls.py` to fail. This mainly
affects long system call signatures wrapped onto multiple lines (e.g. by
code formatter). This change replaces all successive whitespace in the
regex match groups with a single space.

Signed-off-by: Loek Le Blansch <loek.le-blansch.pv@renesas.com>
2026-03-16 07:16:13 +01:00
Alberto Escolar Piedras
17971b7bf4 manifest: optional: Update CHRE fixing C++17 deprecation warning
Integrate CHRE fix which avoids a warning with newer compilers due to
including a deprecated header.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-15 16:29:55 +01:00
Tien Nguyen
aa06fd1b44 dts: bindings: flash_controller: move dts clips to example for RZ/A2M
Move the dts sample nodes from the binding description

into examples block.

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-03-15 16:29:27 +01:00
Brett Peterson
464d69c97a MAINTAINERS: Add Peterson-Brett to infineon platform and audio drivers
Adding myself as a collaborator to the infineon platform, i2s driver,
and audio drivers. I have contributed i2s and dmic drivers for infineon
hardware and will continue to contribute in this area.

Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
2026-03-15 16:29:14 +01:00
Brett Peterson
0335354056 drivers: i2c: fix i2c_infineon_pdl error recovery
The infineon i2c driver will lock the calling thread on an error event
because the transfer semaphore is never released. This change allows the
driver to recover and resume normal operation.

Signed-off-by: Brett Peterson <brett.peterson@infineon.com>
2026-03-15 16:29:03 +01:00
Phi Bang Nguyen
6ae958ac53 samples: video: capture: Add support for m2m transformation
Some times, additional transforms such as rotation, color conversion,
decoding need to be applied on the video frame before displaying it.

This is to add support for such a transformation.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2026-03-15 16:28:51 +01:00
Phi Bang Nguyen
4401887510 samples: video: capture: Minor fixes on code style
Some minor fixes on code style

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2026-03-15 16:28:51 +01:00
Phi Bang Nguyen
be0dfb3bb4 samples: video: capture: Drop redundant compose selection setting
Drop the redundant selection setting in app_setup_video_selection() as
it will be done later in app_setup_video_format()

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2026-03-15 16:28:51 +01:00
Make Shi
7662ff4069 doc: Bluetooth: shell: add avrcp shell doc
Add avrcp shell doc describes typical AVRCP shell commands and usage.

Signed-off-by: Make Shi <make.shi@nxp.com>
2026-03-15 16:28:27 +01:00
Make Shi
6c56ca835c bluetooth: shell: avrcp: improve avrcp shell commands
Improve AVRCP shell commands by adding success messages after
operations complete, including passthrough (PRESSED/RELEASED)
and get_caps command.

Signed-off-by: Make Shi <make.shi@nxp.com>
2026-03-15 16:28:27 +01:00
Sudan Landge
3885b135c0 arch: arm: fix EXTRA_EXCEPTION_INFO build failure with USE_SWITCH
With USE_SWITCH enabled, _ARM_M_SWITCH is defined and struct
_callee_saved becomes empty resulting in build failures with
CONFIG_EXTRA_EXCEPTION_INFO=y which expects callee-saved registers to be
present.

Remove the _ARM_M_SWITCH guard so the structure always contains the
callee-saved registers. This allows Cortex-M builds using USE_SWITCH
to enable CONFIG_EXTRA_EXCEPTION_INFO without compilation failures.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2026-03-14 06:00:26 +01:00
Aleksandr Mirlenko
4911512c60 bluetooth: host: add IPT in the CS reflector subfeature
Add support for the IPT in the CS reflector subfeature
in the Bluetooth host stack.

Signed-off-by: Aleksandr Mirlenko <aleksandr.mirlenko@nordicsemi.no>
2026-03-14 06:00:09 +01:00
Yongxu Wang
62f53cccde pm: device: replace magic number with named constant
Introduce enum pm_device_deps_region to replace the magic number
used when iterating through device dependency array regions in
power_domain_add_or_remove().

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-03-14 05:59:45 +01:00
Ryan Wiebe
7a5b256d66 driver: pwm: max32: Added support for PWM Events
Max32 PWM already has built-in support for interrupts at the end of
each PWM period so added baseline support for the PERIOD event type
in CONFIG_PWM_EVENT. Updated PWM Event sample to support
Max32672EvKit.

Signed-off-by: Ryan Wiebe <ryan.wiebe@analog.com>
2026-03-14 05:59:33 +01:00
William Markezana
9f6a33e560 MAINTAINERS: add @will-tm as collaborator for BFLB platform
Add myself as collaborator to help with reviews and occasional
contributions for the Bouffalo Labs SoC peripherals, configurations,
and HAL.

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-03-14 05:59:18 +01:00
Vincent Tardy
b60a6e8fa7 west.yml: update hal_stm32 revision for cube wba release 1.9.0
Update hal_stm32 revision to support
stm32wba cube release 1.9.0

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-03-14 05:59:08 +01:00
Zhiyuan Tang
7dbec098d6 MAINTAINERS: add ZhiyuanTang17 as Realtek Bee maintainer
Add Realtek Bee Platforms section and assign ZhiyuanTang17 as
the maintainer for related source files and documentation.

Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
2026-03-14 05:58:54 +01:00
Piotr Kosycarz
8e0a7d840b samples: boards: nordic: clock_control: add clock_control tag
Already used at tests/drivers/clock_control

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2026-03-13 14:31:48 -07:00
Piotr Kosycarz
b626e8b4b7 tests: bluetooth: shell: make bluetooth tag common
So that all test cases has a tag.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2026-03-13 14:31:48 -07:00