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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
- 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>
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>
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>
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>
- 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>
- 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>
- 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>
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>
- 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>
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>
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>
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>
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>
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>
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>