Commit graph

126,787 commits

Author SHA1 Message Date
Fabrice DJIATSA
fd8035e4f7 drivers: clock_control: stm32: replace pllsai1m with pllsaim
update the function name in driver since pllsai1m was changed
to pllsaim in clock_stm32_ll_common.h.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 17:11:38 -04:00
Declan Snyder
e8a51e0830 MAINTAINERS: Add op amp maintainers
Add opamp driver class maintainers

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-01 17:11:25 -04:00
Chris Friedt
3b44da641e tests: posix: temporarily exclude two platforms failing in CI
Two platforms are failing posix tests. One is a known issue with a fix in
review (mps2/an385 userspace), and the other is an issue with
qemu_arc/qemu_arc_hs5x encountering an invalid instruction and crashing.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-01 17:10:05 -04:00
Tomasz Moń
6bb4cb592a samples: usb: uac2: explicit: Fix SOF offset integer conversion glitch
Rework the formula used to convert timer CC values to SOF offset to
eliminate a "division glitch" happening around SOF crossing, i.e. when
the framestart shifts from being captured shortly before SOF to being
captured shortly after SOF.

When audio samples are consumed faster than nominal, i.e. when there
is +1 samples every now and then, the reported SOF offset at High-Speed
was going 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, "glitch" 7, 6, 5, 4, 3, 2,
1, 0, -1, -2, ...

With the fix the SOF offset goes as expected from 0 to -1, i.e. there is
no jump from 0 to 7 around the SOF crossing and the reported SOF offset
goes linearly (until it is correclty bumped from negative values back to
positive values when +1 sample packet is transmitted on I2S).

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2025-10-01 17:21:48 +03:00
Tomasz Moń
ff50dfb002 samples: usb: uac2: Support High-Speed operation
Allow the samples to work both at Full-Speed and High-Speed exposing the
same capabilities at both speeds.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2025-10-01 17:21:48 +03:00
Sebastian Głąb
ba8b36c8a1 boards: nordic: nrf54h20dk: Add SPI to supported features on PPR XIP
Enable Twister tests that depend on SPI feature
on nrf54h20dk/nrf54h20/cpuppr/xip target.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-10-01 17:21:37 +03:00
Sebastian Głąb
bc2c95c8f0 tests: drivers: spi: spi_error_cases: Extend platform_allow list
Add Radio core and PPR core on nrf54h20 DK to platform_allow list.
Required overlays are already present.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-10-01 17:21:37 +03:00
Sebastian Głąb
6d76a71fa2 tests: drivers: spi: spi_loopback: Run test on nrf54h20 PPR XIP
The spi_loopback test requires more RAM than is avilable
on nrf54h20dk/nrf54h20/cpuppr target.

Meanwhile, test fits in Execute In Place (XIP) variant
of the PPR target.

Switch spi_loopback test to nrf54h20 PPR XIP target.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-10-01 17:21:37 +03:00
Tomasz Moń
c180420477 drivers: udc_dwc2: Fix memory leak on subsequent bus resets
Do not queue new buffer after bus reset if there is one already queued.
This fixes memory leak on each bus reset if there are no SETUP transfers
received between resets.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2025-10-01 17:21:18 +03:00
Marek Matej
134042c014 tests,samples: boards: espressif: add missing psram0 node
Add missing psram0 node which is used to determine the memory size.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-10-01 17:21:07 +03:00
Marek Matej
2948bc79e5 boards: espressif: esp32s3: No PSRAM in default board
Reverting changes from the `b0aa0c7571fa587d5a0df8edd114377aba24da51`,
as boards can be populated with variety of PSRAM and sizes. Leaving the
configuration up to user code and/or to provided snippets.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-10-01 17:21:07 +03:00
Pieter De Gendt
8d94c3b091 drivers: wifi: nrf_wifi: Set device config pointer to NULL
Commit 2de30ff782
moved the driver ops from the config pointer to the API. As the config
pointer isn't used, set it to NULL and allow future updates to actually add
a configuration struct.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-10-01 17:20:52 +03:00
Johan Hedberg
ca1ee72236 drivers: Fix deprecated SPI_DT_SPEC_INST_GET usage
This macro doesn't accept a delay parameter anymore (well, it does, but
it's deprecated and will trigger build warnings). Just remove it from the
places that were still passing it.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2025-10-01 17:20:41 +03:00
Johan Hedberg
0dfef14890 include: drivers: spi.h: Fix deprecation support for SPI_DT_IODEV_DEFINE
Commit a60f93d742 removed the delay parameter
from various SPI macros, but aimed to retain a clean migration path by
throwing a deprecation warning when the parameter is still passed. However,
the commit failed to have this feature included in the SPI_DT_IODEV_DEFINE
macro. This commit should fix the issue.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2025-10-01 17:20:41 +03:00
Johan Hedberg
e3f3b6dca6 drivers: sensor: Fix deprecated SPI_DT_IODEV_DEFINE usage
The delay parameter was removed from this macro, so don't pass it.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2025-10-01 17:20:41 +03:00
Declan Snyder
48a9b04885 tests: spi_loopback: Add timing params to RT1050 overlay
Tested case of using these new properties

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-01 14:39:36 +03:00
Declan Snyder
82b882faa4 drivers: spi: nxp_lpspi: Use spi_config timing params
Use the timing params from spi_config that are specific to the slave
instead of using the same timing for the controller for all slaves.
Remove these properties from the LPSPI DT binding.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-01 14:39:36 +03:00
Declan Snyder
1154c96459 include: drivers: spi.h: Get params from DT
- Get bit ordering from DT property in SPI_CONFIG_DT.
  More precisely, set LSB first if set in DT.

- Get CS polarity from DT property in SPI_CONFIG_DT.

- Add inter-word delay parameter to spi_config struct. If value is 0, the
  value will be half of the period.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-01 14:39:36 +03:00
Declan Snyder
570b445a61 drivers: Convert to use SPI macro without delay parameters
Convert all drivers and other consumers to use SPI macros without the
delay parameters.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-01 14:39:36 +03:00
Declan Snyder
a60f93d742 include: drivers: spi.h: Get CS delay parameters from DT
The CS delay parameter did not make a distinction between the setup and
hold time of the CS, and also did not specify very fine control which
can be done usually by a native controller CS. So use the new nanosecond
DT properties to get the delay values and make distinction.

Add deprecation warning if consumer supplies the delay parameter and
make it still work the old way in that case for backward compatibility
following API lifecycle process.

Update driver API version to 1.1.0 due to this change

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-01 14:39:36 +03:00
Declan Snyder
186ce62171 dts: bindings: spi-device: Add parameters for spi peripherals
Add spi parameters for spi peripherals to spi-device.yaml.

These properties and their names are mostly inspired by linux
spi-peripheral-props.yaml.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-01 14:39:36 +03:00
Bartosz Miller
bee81df035 tests: drivers: flash: Test newly introduced MSPI driver features
These features are:
- soft reset
- 4B addressing (SPI mode)
- supply gpios

Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
2025-10-01 14:39:02 +03:00
Fabrice DJIATSA
07809ad6b2 boards: st: nucleo_h753zi: update nucleo_h753zi.yaml
Add support for the RTC, WATCHDOG, and DMA peripherals.
These are required for the DMA and RTC, WATCHDOG test drivers.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
f749b77e36 tests: drivers: watchdog: wdt_basic_api: add support for nucleo_h753zi
- add watchdog0 node alias
- remove redundant nucleo_h753zi

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
6e0efe365a tests: drivers: uart: uart_basic_api: add support for nucleo_h753zi
- add .overlay with appropriate configurations for
  nucleo_h753zi
- update testcase.yaml file for CI testing

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
f84d4d5ce0 tests: drivers: uart: uart_async_api: add support for nucleo_h753zi
- add .conf and .overlay with appropriate configurations for
      nucleo_h753zi
- update testcase.yaml file for CI testing

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
9067290a4c tests: drivers: rtc: rtc_api: add support for nucleo_h753zi
add .conf and .overlay with appropriate configurations for
nucleo_h753zi.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
9444db8001 tests: drivers: pwm: pwm_loopback: add support for nucleo_h753zi
add overlay with appropriate configuration for nucleo_h753zi

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
e0c7679808 tests: drivers: pwm: pwm_api: add support for nucleo_h753zi
add .overlay file with timers1 node configuration.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
683d597e3a tests: drivers: i2c_target_api: boards: add support for nucleo_h753zi
- enable i2c2 node in dts
- add .conf and .overlay with appropriate configurations for
  nucleo_h753zi.
- update testcase.yaml file for CI testing

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
17558ee9c3 tests: drivers: flash: stm32: update testcase.yaml
Add nucleo_h753zi as an allowed platform to run this
test in CI.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
38771d2009 tests: drivers: dma: loop_transfer: add support for nucleo_h753zi
add .conf and .overlay files with appropriate configurations for
nucleo_h753zi.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
d8edc0731c tests: drivers: dma: chan_blen_transfer: add support for nucleo_h753zi
add .conf and .overlay files with appropriate configurations for
nucleo_h753zi.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
0a712d801c tests: drivers: dac: dac_api: add support for nucleo_h753zi
Add the CONFIG_BOARD_NUCLEO_H753ZI symbol to enable running
tests on the NUCLEO_H753ZI board.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
492d978003 tests: drivers: counter: counter_basic_api: boards: add nucleo_h753zi board
Add various timer nodes to enable the test to run
successfully.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
e45786d590 tests: drivers: stm32_clock_configuration: allow nucleo_h753zi to run in CI
enable sample to run in CI on nucleo_h753zi.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
51af2d7f6c tests: drivers: adc: adc_api: allow nucleo_h753zi to run in CI
- add .conf and .overlay files with appropriate configurations
for nucleo_h753zi.
- enable sample to run in CI on nucleo_h753zi.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
0336457f16 samples: net: allow nucleo_h753zi to run in CI
enable sample to run in CI on nucleo_h753zi.

related sample: ptp and zperf

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
75e90e5a9f samples: drivers: watchdog: allow nucleo_h753zi to run in CI
- enable sample to run in CI on nucleo_h753zi.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
f37f3fd6fd samples: drivers: adc: adc_dt: allow nucleo_h753zi to run in CI
enable sample to run in CI on nucleo_h753zi.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
b1156d0bf4 tests: drivers: add nucleo_h753zi as integration platform
remove nucleo_h743zi from integration_platform and replace
with nucleo_h753zi.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
faa9918c69 boards: st: nucleo_h743zi: doc: add notice about board obsolescence
Important note to users about the obsolescence of NUCLEO_H743ZI.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Andrzej Głąbek
ca79733388 drivers: pinctrl_nrf: Add support for SPIM CSN pin function
Certain SPIM instances in nRF52/53/54L/54H Series provide hardware
control of the CSN (chip select) line. Although the standard SPI
drivers do not use this feature, it should be possible to configure
this line through pinctrl in case some special driver needs this.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2025-10-01 14:37:46 +03:00
cyliang tw
8e07c77ef8 soc: nuvoton: numicro: Disable m48x SPIM cache
By disabling m48x SPIM cache by default, the SRAM size increases
by 32 KB to a total of 160 KB.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2025-10-01 14:37:26 +03:00
Khaoula Bidani
4021dd30e4 soc: stm32g0: Add configurable FLASH prefetch option for G0B0/G0B1/G0C1
Default disable flash prefetch on G0Bx/G0C1 to prevent issues
described by errata ES0548 2.2.10. Project can still enable
the config if applicable.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-10-01 14:37:06 +03:00
Chris Friedt
5cbb2a421d posix: switch to using posix_time.h and posix_signal.h
To avoid conflicts between the C library's `time.h` and signal.h use an
"override" header (when necessary) for C libraries that do not themselves
provide POSIX definitions in `time.h` or `signal.h`.

V2

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-01 14:36:55 +03:00
Chris Friedt
882ee96186 manifest: update hostap module to correct time.h and signal.h paths
Update the hostap module to use non-prefixed paths for the ISO C time.h
and signal.h headers.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-01 14:36:55 +03:00
Chris Friedt
2feea755b3 posix: headers: create a more conformant posix_signal.h
Create a header for satisfying POSIX conformance requirements of signal.h
that is named posix_signal.h rather than signal.h.

The primary reason for doing so, is that the de-facto owner of signal.h is
the C library.

This new header only defines required POSIX symbols that form a strict
superset over the ISO C signal.h symbols.

V2

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-01 14:36:55 +03:00
Chris Friedt
5db2b58a21 posix: headers: create a more conformant posix_time.h
Create a header for satisfying POSIX conformance requirements of time.h
that is named posix_time.h rather than time.h.

The primary reason for doing so, is that the de-facto owner of time.h is
the C library.

This new header only defines required POSIX symbols that form a strict
superset over the ISO C time.h symbols.

V2

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-01 14:36:55 +03:00
Chris Friedt
9b9e834890 tests: net: wifi: configs: add posix tag, since there is a dependency
Assuming that the `posix` tag will trigger `posix` tests to be run
when this testsuite is changed.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-01 14:36:55 +03:00