Commit graph

126,787 commits

Author SHA1 Message Date
David Jewsbury
a322957f59 drivers: mspi: Add timeout callback to MSPI API
This is a new callback option that drivers can use for when a request
or xfer has timed out. E.g if an Async RX request never received
anything, this callback can be used so a user can clean up their
application.

Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
2025-10-23 18:00:13 +02:00
David Jewsbury
ac94ca7894 drivers: pinctrl: nrf: add support for MSPI
Support for new MSPI peripheral where there is no PSEL
so pins are setup through CTRLSEL.

Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
2025-10-23 18:00:13 +02:00
David Jewsbury
72dd539cba dts: nordic: Add nrf-qspi-v2 binding
The nrf-qspi-v2 peripheral is similar to EXMIF on nrf54h20
but supports DMA and slave-mode. The wrapper around
the SSI IP is also different with DMA features.

Signed-off-by: David Jewsbury <david.jewsbury@nordicsemi.no>
2025-10-23 18:00:13 +02:00
Aksel Skauge Mellbye
b960514cdc boards: silabs: Add xg26 radio boards
Add radio boards for EFR32xG26 and xGM260P.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-23 17:57:39 +02:00
Aksel Skauge Mellbye
1304142e80 boards: silabs: Add xg26 explorer kits
Add explorer kits for EFM32PG26, EFR32xG26 and xGM240P.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-23 17:57:39 +02:00
Aksel Skauge Mellbye
ca4164bf0b soc: silabs: Add xg26 soc support
Add hwmv2 integration for xg26 device families:

* efm32pg26
* efr32bg26
* efr32mg26
* bgm26
* mgm26

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-23 17:57:39 +02:00
Aksel Skauge Mellbye
630ac65cf2 soc: silabs: Support devices with 3 PPU registers
Support xg26, which has a third PPU security attribution register.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-23 17:57:39 +02:00
Aksel Skauge Mellbye
73151ad79c include: zephyr: dt-bindings: Add Silicon Labs xg26 binding headers
Add binding headers for clock control and pinctrl for Silicon Labs
xg26 socs.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-23 17:57:39 +02:00
Aksel Skauge Mellbye
117973287f dts: arm: silabs: Add xg26 devicetree files
Add .dtsi files for xg26 device families:

* efm32pg26
* efr32bg26
* efr32mg26
* bgm26
* mgm26

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-10-23 17:57:39 +02:00
Gerard Marull-Paretas
c04139ed56 boards: coredevices: add pebble time 2
Add board for Pebble Time 2. Just a subset of the peripherals is
supported right now.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-10-23 17:57:25 +02:00
Gerard Marull-Paretas
e97d1c0d40 dts: bindings: vendor-prefixes: add coredevices
Add entry for Core Devices LLC

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2025-10-23 17:57:25 +02:00
Martin Hoff
83a052f190 driver: dma: dma_silabs_siwx91x_gpdma: Add pm support
This commit introduce power management in gpdma driver.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-10-23 17:57:14 +02:00
Biwen Li
bd3dab0461 board: nxp: imx943_evk: Fixes phy addr
Correct phy address.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-10-23 17:56:36 +02:00
Vinayak Kariappa Chettimada
d737e285e5 Bluetooth: Controller: Add code comments related to short prepare
Add code comments explaining the handling of short prepare
that can be enqueued out of order and present in use of FIFO
for prepare pipeline.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-10-23 17:56:05 +02:00
Khoa Nguyen
e5e1edde72 tests: drivers: flash: common: Remove storage_partition definition
Remove storage_partition definition for Renesas ek_ra8p1, mck_ra8t2

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-10-23 17:55:38 +02:00
Khoa Nguyen
7fb956b44d boards: renesas: Add support MCUBoot for ek_ra8p1 and mck_ra8t2
Add support MCUBoot for ek_ra8p1 and mck_ra8t2

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-10-23 17:55:38 +02:00
Khoa Nguyen
bc35c10247 manifest: Update hal_renesas revision to get MCUBoot support
Update hal_renesas revision to get MCUBoot support

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-10-23 17:55:38 +02:00
Qingsong Gou
039389187f drivers: clock_control: fix sf32lb clock_control typo
fix a sf3232lb_clock_is_ready_dt typo

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-10-23 17:53:25 +02:00
Riadh Ghaddab
ac3e7cb6da tests: boards: nrf: add rram_throttling test
Verifies that the throttling is working for boards that enable
CONFIG_SOC_FLASH_NRF_THROTTLING

Signed-off-by: Riadh Ghaddab <riadh.ghaddab@nordicsemi.no>
2025-10-23 17:52:08 +02:00
Emil Gydesen
f487439fbc Bluetooth: ISO: Fix issue with CIG being terminated
In the case of a CIG having multiple CIS, and all CIS has been
requested to being disconnected (i.e. they all enter the
BT_ISO_STATE_DISCONNECTING state), then when the first disconnect
complete is handled in bt_iso_chan_disconnected, then the
cig->state was prematurely set to BT_ISO_CIG_STATE_INACTIVE.
This meant that if the application called bt_iso_cig_terminate
when the 2nd CIS entered bt_iso_chan_disconnected and called
chan->ops->disconnected(chan, reason) then the CIG would be
removed. When the CIS then entered bt_iso_cleanup_acl, it
would access removed data from cleanup_cig.

Change bt_iso_chan_disconnected to not allow the termination
of the CIG until all CIS have entered the BT_ISO_STATE_DISCONNECTED
state.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-10-23 17:51:18 +02:00
Chris Friedt
da60309b10 drivers: smbus: stm32: implement smbus_stm32_pcall() with pec
Implement smbus_stm32_pcall() with packet error correction.

For more information, please see chapter 6.5.6 of the SMBus specification.
https://smbus.org/specs/SMBus_3_1_20180319.pdf

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-23 17:51:09 +02:00
Chris Friedt
ee135a8a3c drivers: smbus: stm32: implement smbus_stm32_block_pcall() with pec
Add SMBus Block Write-Block Read Process Call API for STM32.

This implementation also supports PEC mode (packet error checking) and is
dependent on PEC support already being supported in-tree.

Signed-off-by: James Growden <jgrowden@tenstorrent.com>
Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-23 17:51:09 +02:00
Rubin Gerritsen
43cd4caee8 soc: nordic: nrf54h: s2ram: Use ARM FPU save/restore funcs
This reduced the amount of duplicate code and unifies the code
with other platforms.

With this change the caller and callee status registers are
stored separately. Also, a different set of status registers
are stored:
 - FPSCR instead of FPDSCR. FPDSCR contains the default values
   to be assigned to FPSCR when a new floating-point context
   is created. It therefore seems more correct to store the
   FPSCR.
 - FPCCR and FPCAR are no longer stored.

FPU retention was originally added in:
8a5365c26c.

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
2025-10-23 17:50:43 +02:00
Rubin Gerritsen
4c0d478576 soc: nordic: nrf54h: s2ram: Use ARM SCB save/restore funcs
This reduced the amount of duplicate code and unifies the code
with other platforms.

With this change fewer registers are stored and restored.
See also comment in scb.h for scb_context stating that
only essential registers are stored and restored.

No longer stored:
- ICSR
- SCR
- CFSR
- HFSR
- DFSR
- MMFAR
- BFAR
- AFSR

No longer used:
- SHPR[3..12]. This backup register was declared in the wrong way.
  In core_cm33.h and core_cm4.h this is declared as an array of
  12 uint8_t's. That is 3 uint32_t's.

Orignal SCB retention was added in
2055f7d595.

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
2025-10-23 17:50:43 +02:00
Rubin Gerritsen
b45d7a8a62 soc: nordic: nrf54h: s2ram: Use ARM MPU save/restore funcs
This reduced the amount of duplicate code and unifies the code
with other platforms.

MPU retention was originally added in
ee9d23945f.

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
2025-10-23 17:50:43 +02:00
Fabin V Martin
ea07b16f39 tests: boot: test_mcuboot: Add sam_e54_xpro to platform allow list
Enable mcuboot test for sam_e54_xpro board.

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-10-23 17:50:29 +02:00
Fabin V Martin
4010667669 samples: sysbuild: update list of allowed platforms
Add sam_e54_xpro board to test mcuboot builds.

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-10-23 17:50:29 +02:00
Fabin V Martin
81089841ec boards: microchip: Update sam_e54_xpro device tree
Add zephyr,flash-controller to the chosen node and
add partitions for mcuboot support

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-10-23 17:50:29 +02:00
Fabin V Martin
0bd56429d3 drivers: flash: microchip: add flash g1 driver
Add flash driver for Microchip NVMCTRL g1

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-10-23 17:50:29 +02:00
Fabin V Martin
41f9d4cd26 dts: arm: microchip: add flash node and bindings
Add flash node and binding parameters for nvmctrl
flash driver

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-10-23 17:50:29 +02:00
Biwen Li
a0c5465ea7 boards: nxp: imx943_evk: doc: spell fix
This commit fixes spell and add info
to debugging system via JTAG interface.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-10-23 17:49:28 +02:00
Biwen Li
9f0c21daf1 boards: nxp: imx943_evk: m33: add lpuart3 node for debugging
Add lpuart3 node for debugging via JTAG interface

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-10-23 17:49:28 +02:00
Biwen Li
6364fde3e0 samples: enable openamp sample for imx943 evk
Enable openamp sample for imx943 evk.

Default configuration in openamp sample(as master):
m33 as master, m7_1 as remote.
m7_0 as master, m33 as remote.
m7_1 as master, m33 as remote.

Default configuration in openamp/remote sample(as remote):
m7_1 as master, m33 as remote.
m33 as master, m7_0 as remote.
m33 as master, m7_1 as remote.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-10-23 17:49:28 +02:00
Biwen Li
0c2fe0c387 samples: enable ipc static vrings for imx943 evk
Enable ipc static vrings sample for imx943 evk.

Default configuration in static_vrings sample(as master):
m33 as master, m7_1 as remote.
m7_0 as master, m33 as remote.
m7_1 as master, m33 as remote.

Default configuration in static_vrings/remote sample(as remote):
m7_1 as master, m33 as remote.
m33 as master, m7_0 as remote.
m33 as master, m7_1 as remote.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-10-23 17:49:28 +02:00
Biwen Li
2e4cab8088 samples: enable mbox_data sample for imx943 evk
Enable mbox_data sample for imx943 evk.

Default configuration in mbox_data sample(as master):
m33 as master, m7_1 as remote.
m7_0 as master, m33 as remote.
m7_1 as master, m33 as remote.

Default configuration in mbox_data/remote sample(as remote):
m7_1 as master, m33 as remote.
m33 as master, m7_0 as remote.
m33 as master, m7_1 as remote.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-10-23 17:49:28 +02:00
Biwen Li
895e9ee85d samples: enable mbox sample for imx943 evk
Enable mbox sample for imx943 evk.

Default configuration in mbox sample(as master):
m33 as master, m7_1 as remote.
m7_0 as master, m33 as remote.
m7_1 as master, m33 as remote.

Default configuration in mbox/remote sample(as remote):
m7_1 as master, m33 as remote.
m33 as master, m7_0 as remote.
m33 as master, m7_1 as remote.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-10-23 17:49:28 +02:00
Biwen Li
c048b219ec boards: nxp: imx943_evk: remove robust comments
Remove robust comments.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-10-23 17:49:28 +02:00
Biwen Li
b79c449eff dts: arm: nxp: imx943: add mu and mbox nodes
This commit adds mu and mbox nodes
for Inter Processor Communication
and reuse nodes.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-10-23 17:49:28 +02:00
Mark Wang
3c4b4e1ae2 usb: device_next: msc: do not copy SCSI data
Support only power-of-two disk sector sizes to enable significant
throughput improvements:
  * SCSI data zero-copy
  * allow queuing multi-packet transfers

Previously large SCSI buffers did not improve performance. With this
change, larger SCSI buffer allows scheduling bigger USB transfers which
reduces overhead.

Co-authored-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-10-23 17:47:23 +02:00
Josuah Demangeon
ef3e8cc5cc doc: release: 4.3: add UVC changes
Add USB UVC device's new uvc_add_format() function to the release note,
and document the semantic changes of UVC APIs in the migration guide.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-10-23 17:47:12 +02:00
Josuah Demangeon
ac808a5b2f samples: usb: uvc: add filtering of the format
The UVC class now lets the application select the format list sent to the
host. Leverage this in the sample to filter out any format that is not
expected to work (buffer too big, rarely supported formats).

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-10-23 17:47:12 +02:00
Josuah Demangeon
74e147e886 usb: device_next: uvc: remove application decisions from the UVC class
The UVC class was deciding itself which formats were sent to the host.
Remove this logic out of the UVC class and introduce uvc_add_format() to
give the application the freedom of which format to list.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-10-23 17:47:12 +02:00
Josuah Demangeon
9771105768 usb: device_next: uvc: use fmt->size instead of computing it every time
Make use of the recently merged fmt->size to know the maximum size of the
frame to be allocated, which works for both compressed and uncompressed
video.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-10-23 17:47:12 +02:00
Josuah Demangeon
bd1f72b0ba usb: device_next: uvc: propagate descriptor error to the application
When running out of descriptor, return an error instead of ignoring it.
The application need to make sure to adjust the Kconfig macros to have
enough descriptors for all formats to add.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-10-23 17:47:12 +02:00
Vinayak Kariappa Chettimada
8aba2e3f3a Bluetooth: Controller: Enable OUTPUT_DISASSEMBLY_WITH_SOURCE with LTO
Enable OUTPUT_DISASSEMBLY_WITH_SOURCE when using LTO to help
find the assertion check in the source code corresponding to
the faulting instruction address.

arm-none-eabi-addr2line tool is not able to resolve the
source file and line number when using LTO.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-10-23 11:43:10 +03:00
Vinayak Kariappa Chettimada
29cf367568 samples: Bluetooth: hci_ipc: Enable HCI vendor-specific h/w error event
Enable HCI vendor-specific h/w error event generation in
samples and tests.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-10-23 11:43:10 +03:00
Vinayak Kariappa Chettimada
fb679ad2d8 samples: Bluetooth: hci_uart: Reuse hci_vs_err_assert
Reuse hci_vs_err_assert implementation to generate the HCI
vendor-specific hardware error event.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-10-23 11:43:10 +03:00
Vinayak Kariappa Chettimada
696d618bdc samples: Bluetooth: hci_uart: Make bt_ll_sw_split conf consistent
Make overlay-all-bt_ll_sw_split configs consistent with the
one used in hci_ipc for nRF5340 SoC.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-10-23 11:43:10 +03:00
Vinayak Kariappa Chettimada
5db80f0d57 Bluetooth: Controller: Reduce assertion check code size
Reduce Controller assertion check code size for ARM Cortex-M
CPUs by using the undefined instruction exception.

`arm-none-eabi-addr2line` commandline can be used to get the
source file and line number.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-10-23 11:43:10 +03:00
Vinayak Kariappa Chettimada
796c0002f8 Bluetooth: Controller: Introduce LL_ASSERT_DBG/ERR
Introduce development and fatal assertion classification
in the Controller implementation.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-10-23 11:43:10 +03:00