Commit graph

126,787 commits

Author SHA1 Message Date
Johann Fischer
7b287ec133 drivers: udc: disable SOF interrupt by default
If the new Kconfig option is disabled, no SOF events are passed to the
higher layer.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-06-23 15:43:32 +01:00
Johann Fischer
2d7995747e drivers: udc: add SOF Kconfig option and SOF event helper
Add helper to handle SOF interrupts/events and new Kconfig option to
disable SOF interrupt.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-06-23 15:43:32 +01:00
Tamas Jozsi
4cae4661a2 boards: sparkfun: fix the LED active state on the ThingPlus Matter
The LED on The Sparkfun ThingPlus Matter is active high.

Signed-off-by: Tamas Jozsi <tamas.jozsi@silabs.com>
2025-06-23 13:45:24 +02:00
Manuel Argüelles
4def7aceec soc: nxp: s32k3: use MPU_REGION_ENTRY macro
Align MPU region definitions with other SoCs by using the
`MPU_REGION_ENTRY` macro.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2025-06-23 13:45:03 +02:00
Jilay Pandya
616688c20e docs: stepper: add stepper stop function
Add entry of stepper stop function in stepper.rst

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-06-23 13:44:51 +02:00
Jilay Pandya
08dd7c519a drivers: stepper: tmc5xxx: introduce stop function
Introduce stop function in tmc5xxx

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-06-23 13:44:51 +02:00
Jilay Pandya
2aca0d3e9d drivers: stepper: remove stop function wrapped in disable
Removing stop functionality wrapped in stepper_disable since
there is a dedicated function for it.

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-06-23 13:44:51 +02:00
Jilay Pandya
5918ddce34 drivers: stepper: update documentation about enable/disable
Disabling the stepper shall not cancel any active movements.
stepper_stop() shall be used after disabling the stepper in
order to explicitly cancel stepper movements.

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-06-23 13:44:51 +02:00
Alessandro Manganaro
6244e9307e drivers: timer: Fix interrupt management in stm32 lptim timer
Fix interrupt management issue in stm32 lptim timer

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2025-06-23 13:44:15 +02:00
Alessandro Manganaro
e5ded3d71a drivers: timer: Fix conversion issue in stm32 lptim timer
Using correct macro to convert stdby time in LPTIM counter

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2025-06-23 13:44:15 +02:00
Benjamin Cabé
fff5b49581 arch: arc: replace "master"/"slave" terminology with inclusive language
As per Zephyr guidelines regarding the use of inclusive language, apply
the following replacements:

- s/master/primary/g
- s/slave/secondary/g

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-23 13:43:36 +02:00
Benjamin Cabé
8b919042f5 arch: arm64: replace "master" terminology with "primary"
Use inclusive language for referring to primary core

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-23 13:43:08 +02:00
Benjamin Cabé
2a43a94455 drivers: display: hx8394: add missing static qualifiers to local arrays
Updated multiple configuration arrays from 'const' to 'static const'

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-23 13:42:48 +02:00
Benjamin Cabé
8031f338dd scripts: west: spdx: extract copyright info
use REUSE to extract copyright text from source files and include in

SBOM documents
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-23 13:42:35 +02:00
Nikodem Kastelik
ffc8ec89c8 manifest: update hal_nordic for errata 55 on nRF54LV10A Eng A
Errata 55 applies to nRF54LV10A Eng A as well.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2025-06-23 13:42:25 +02:00
Khaoula Bidani
1a993daf2c tests: drivers: adc: adc_api: fix ADC DMA test for Nucleo U385RG-Q
Correct the ADC DMA test to ensure proper functionality on the
 Nucleo U385RG-Q board.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-06-23 13:42:19 +02:00
Khaoula Bidani
0104943d48 tests: drivers: dma: loop_transfer: add stm32u3 boards overlays
Add DMA loop transfer test overlays for Nucleo U385RG-Q board.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-06-23 13:42:19 +02:00
Khaoula Bidani
786339b6c6 boards: st: stm32u3: enable dma for stm32u3 boards
update documentation to indicate that DMA is
available on Nucleo U385RG-Q board.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-06-23 13:42:19 +02:00
Khaoula Bidani
022ad6839a dts: arm: st: u3: add gpdma
Add GPDMA support to STM32U3

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-06-23 13:42:19 +02:00
Andrzej Głąbek
e78729609d drivers: mspi_dw: Add support for RX dummy cycles in single line mode
Support for 8 dummy cycles in a single line RX transaction is required
for the standard JEDEC Read SFDP command. The SSI controller does not
support dummy cycles in Standard SPI mode, but the driver can simulate
those by just sending a dummy data byte.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2025-06-23 13:42:07 +02:00
Andrzej Głąbek
28dafe36e3 drivers: mspi_dw: Add error reporting on RX FIFO overflow
Immediately finish an RX transfer when the RX FIFO overflow is
encountered and return the -EIO error code, which better indicates
the problem than -ETIMEDOUT that was returned previously in such
case.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2025-06-23 13:42:07 +02:00
Andrzej Głąbek
e4dc74452c drivers: mspi_dw: Improve transfer handling
- use separate code paths for TX and RX in ISR
- make sending of dummy bytes in the single line mode (Standard
  SPI) more consistent so it can be easily extended
- use value 0 instead of 0xAA for dummy bytes as there is normally
  no point in making noise one the MOSI line when only receiving
  data (it can only be useful in debugging transfers)
- move all writing of data in the TX FIFO to ISR to avoid broken
  transfers in the single line mode (where the clock stretching
  is not available) when the driver is preempted right before it
  enables interrupts
- use the TX FIFO start level also for transfers without data,
  so that it's not possible that the TX FIFO gets emptied between
  the writes of command and address fields in the single line mode
- add a few comments to explain better how transfers are handled

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2025-06-23 13:42:07 +02:00
Andrzej Głąbek
6ddb616a23 drivers: mspi_dw: Add waiting for clock in nRF EXMIF specific resume
After the START task is triggered, the clock that drives the SSI core
needs some time to become ready. Before that, writes to SSI registers
may be unsuccessful. Add a loop that performs test writes to one of
the registers after the EXMIF peripheral is resumed to ensure that it
is fully operable.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2025-06-23 13:42:07 +02:00
Andrzej Głąbek
8b67b36f41 drivers: mspi_dw: Apply a few minor corrections
- replace %d with %u in two error log message format strings
- add checks for maximum supported address length
- correct *_WAIT_CYCLES_MAX macros used in XIP handling routines
  (although their values are valid, they belong to different SSI
  registers)
- remove one unnecessary use of SPI_CTRLR0_WAIT_CYCLES_MASK
- remove doubled definitions of the XIP_CTRL register bit fields

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2025-06-23 13:42:07 +02:00
Benjamin Cabé
8fb5b00f8d doc: develop: tools: update "Generate compile commands" section
Clarify that commands should be run from `zephyr` folder.

Fixes zephyrproject-rtos/zephyr#90074

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-23 13:41:57 +02:00
Tien Nguyen
af4e875ea5 soc: renesas: rz: use CONFIG_ATOMIC_OPERATIONS_C on Renesas RZ/A2M
Use CONFIG_ATOMIC_OPERATIONS_C for atomic operations on Renesas RZ/A2M

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-06-23 09:47:20 +02:00
Yusuke Omae
d9d6f07c27 net: gptp: Add TLV type, OUI check for signaling messages
Add validation to ensure gPTP signaling messages
contain the correct TLV type, IEEE 802.1 Committee OUI
and sub-type before processing it as interval requests.

signed-off-by: Yusuke Omae <s1413091@gmail.com>
2025-06-23 09:47:03 +02:00
Kapil Bhatt
39e6f0170f drivers: nrf_wifi: Add Kconfig for Dynamic ED
Add Kconfig to enable/disable Dynamic ED which add support for
proprietary algorithm to enhance performance in high-traffic channels.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2025-06-23 09:46:47 +02:00
Karun Kumar Eagalapati
8b693980aa manifest: Update nrf_wifi for dynamic ED control
Update nrf_wifi for dynamic ED controlling through
command init.

Signed-off-by: Karun Kumar Eagalapati <karun.kumar@nordicsemi.no>
2025-06-23 09:46:47 +02:00
Jamie McCrae
2a674977dd dts: vendor: nordic: nrf54l*: Fix GPREGRET register addresses
Fixes these peripheral's to have the correct addresses

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-06-23 09:46:33 +02:00
Aymen LAOUINI
8b4a29f1ed tests: kernel: interrupt: Add ISR offset definitions for nrf9280
- Correct test by adding ISR offset definitions for nrf9280 ppr.

Signed-off-by: Aymen LAOUINI <aymen.laouini@nordicsemi.no>
2025-06-23 09:46:25 +02:00
Aymen LAOUINI
07d9f151e7 tests: kernel: gen_isr_table: Add ISR offset definitions for nrf9280
- Correct test by adding ISR offset definitions for nrf9280 ppr.

Signed-off-by: Aymen LAOUINI <aymen.laouini@nordicsemi.no>
2025-06-23 09:46:25 +02:00
Aymen LAOUINI
3befde741f tests: drivers: adc: Enable adc test for nrf9280 iron
Added overlay for nrf9280 cpuapp iron board.
Modified overlay for nrf9280 cpuapp board to use common dtsi.

Signed-off-by: Aymen LAOUINI <aymen.laouini@nordicsemi.no>
2025-06-23 09:46:25 +02:00
Aymen LAOUINI
96fa61fc78 tests: drivers: watchdog: Enable watchdog test for nrf9280 iron
Added overlay for nrf9280 cpuapp iron board.

Signed-off-by: Aymen LAOUINI <aymen.laouini@nordicsemi.no>
2025-06-23 09:46:25 +02:00
Aymen LAOUINI
eac65a2acd samples: watchdog: Add nrf9280 iron to sample
Added overlay for nrf9280 cpuapp iron board.

Signed-off-by: Aymen LAOUINI <aymen.laouini@nordicsemi.no>
2025-06-23 09:46:25 +02:00
Aymen LAOUINI
de41047aef drivers: firmware: nrf_ironside: Update doxygen header for API.
- Message is written to the boot report of core.

Signed-off-by: Aymen LAOUINI <aymen.laouini@nordicsemi.no>
2025-06-23 09:46:25 +02:00
Aymen LAOUINI
3851588ec3 drivers: firmware: nrf_ironside: add nrf9280 to CPUCONF service
CPUCONF service now supports application on nrf92 application cores.

Signed-off-by: Aymen LAOUINI <aymen.laouini@nordicsemi.no>
2025-06-23 09:46:25 +02:00
Aymen LAOUINI
7ec82ad0bd boards: nordic: add 'iron' board variant to application
- Add support of next generation secure firmware to nrf92 application core.

Signed-off-by: Aymen LAOUINI <aymen.laouini@nordicsemi.no>
2025-06-23 09:46:25 +02:00
Aymen LAOUINI
dab414ff82 soc: nordic: add support of 'iron' variant to application
- use early init hook instead of nrf92_init.
- add config flag for iron variant.

Signed-off-by: Aymen LAOUINI <aymen.laouini@nordicsemi.no>
2025-06-23 09:46:25 +02:00
Benjamin Cabé
942d823c71 drivers: ethernet: phy: dm8806: fix error handling
Use signed variable for negative error codes so that potential errors
are actually detected and returned properly.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-23 09:46:10 +02:00
Benjamin Cabé
92d4669752 net: lib: http: remove offensive language
Remove use of offensive language in code comment

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-22 18:45:42 -07:00
Tony Han
06a5735ede tests: drivers: eeprom: api: enable tests for sama7g54_ek
Enable tests: tests/drivers/eeprom/api.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-06-22 18:44:04 -07:00
Tony Han
99d9e6531e boards: microchip: sam: add eeprom nodes to sama7g54_ek dts file
Add the nodes for on board EEPROM devices. Only the basic compatible
functions implemented. EUI-48 Node Address not added.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-06-22 18:44:04 -07:00
Tony Han
685375fbc5 dts: microchip: sam: add I2C (FLEXCOM submodule) nodes to sama7g5.dtsi
Each of the 12 FLEXCOM instances supports working in TWI (I2C) mode.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-06-22 18:44:04 -07:00
Tony Han
42a017cfde drivers: i2c: sam: update i2c_clock_set() for sama7g5 FLEXCOM TWI
The TWI offered by sama7g5 FLEXCOM is compatible with "atmel,sam-i2c-twi".

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-06-22 18:44:04 -07:00
Tony Han
5fa0898441 soc: microchip: sam: update MMU for sama7g5 FLEXCOM
When the FLEXCOM 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-06-22 18:44:04 -07:00
Tony Han
256031eb81 soc: microchip: sam: set CONFIG_MFD to 'y' when FLEXCOM is used
When there are FLEXCOM nodes in the device tree, set CONFIG_MFD to
'y' automatically.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-06-22 18:44:04 -07:00
Tony Han
6243ff43c4 dts: microchip: sam: add all USART (FLEXCOM submodule) to sama7g5.dtsi
SAMA7G5 has 12 FLEXCOM instances and each of them supports working in
USART mode.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-06-22 18:44:04 -07:00
Tony Han
bcc797c256 west.yml: Update west.yml for sama7g54 hal
Update west.yml for SAMA7G54 HAL

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-06-22 18:44:04 -07:00
Michal Simek
4188f58a6a boards: amd: kv260_r5: add support for fsbl and bitstream
Some tests requires to also run fsbl and load bitstream before loading
Zephyr.

Currently only --elf-file and --fsbl are suported.
But there could be also bitstream loaded via --bistream parameter but
xsdb script is missing it.
Tricky part on it is when only fsbl or bitstream are loaded they are
sharing the same argument location that's why detect if second parameter is
bitstream by matching "*.bit" in it to support all combinations.

And also switch board to jtag boot mode all the time. The reason is that
starter kits with SOM have preloaded SW already and starting in QSPI boot
mode that's why with using XSDB make sure that board is running in jtag
boot mode all the time no matter if any SW runs on it.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
2025-06-22 18:41:11 -07:00