Commit graph zephyr/tests/drivers
Author SHA1 Message Date
Etienne Carriere
0c132406ea tests: drivers: rtc: rtc_api: test alarm and calib on ST H7Sxx boards
Enable RTC_ALARM and RTC_CALIBRATION in rtc_api tests for stm32h7s*
based ST boards: stm32h7s78_dk and nucleo_h7s3l8.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
(cherry picked from commit 0b3b601e75)
2026-04-27 20:25:04 -05:00
Sylvio Alves
741411cf1c tests: drivers: uart: fix uart_elementary for esp32c5
Add missing SoC overlay with UART1 loopback pin
configuration and add esp32c5_devkitc to the
platform_allow list.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
(cherry picked from commit 401b45abee)
2026-04-27 20:18:24 -05:00
Anand Kumar
27cf607152 tests: clock_control: allow double-start success or -EALREADY
Second clock_control_on() may return 0 or -EALREADY when the clock is
already on; assert it stays ON. Prepares for ESP32 clock_control
returning success when already enabled.

Signed-off-by: Anand Kumar <anandvtu16158@gmail.com>
2026-04-02 08:51:00 -05:00
Krzysztof Chruściński
e3dde01027 tests: drivers: uart: async_api: Improve variable buffer length test
Test was skipped if baudrate was too high. Test can actually
reconfigure the DUT device to use lower baudrate and run the test.
Initial baudrate is restored once test is completed.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-04-02 08:42:54 -05:00
Krzysztof Chruściński
c8fec1bdf0 tests: drivers: uart: async_api: Extend to test various data bits
Extend the most basic test (single read) to check supported data
bits sizes (5-8 bits). If driver does not support given configuration
then test is skipped.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-04-02 08:42:54 -05:00
Tim Pambor
21c3722f73 tests: drivers: flash: add fixture for flash 5 click shield
Prevent execution on devices without MikroElektronika Flash 5 Click
shield attached

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-04-01 11:48:28 -05:00
Ren Chen
57956c7d57 tests: watchdog: wdt_error_cases: add it51xxx soc test support
as title.

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2026-04-01 09:17:29 -05:00
Felix Wang
304ffce894 tests: drivers: counter: set GPT run-mode to free-run for NXP boards
Configure the GPT (General Purpose Timer) instances to use "free-run"
mode in the counter basic API test overlays for NXP i.MX RT and i.MX 8
boards. This ensures consistent timer behavior across the test suite.

Changes apply to:
- mimxrt1170_evk (GPT2-6)
- mimxrt1180_evk cm33 and cm7 (GPT2)
- imx8mp_evk, imx8mn_evk, imx8mm_evk (GPT1)

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2026-04-01 09:13:29 -05:00
Fabrice DJIATSA
196d6ddc78 tests: drivers: dac: dac_loopback: fix regression on stm32f3
Avoid initialization failure by Updating channel information
to match the <dac1 1> configuration.

Also reduce ADC resolution to 10 bits to prevents the test from failing
due to ADC sampling value being outside the valid range.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-03-31 13:53:34 -05:00
Pete Johanson
c7d65aa6d2 tests: drivers: spi: Set up SPI testing for MAX32690 RV32
Necessary setup for doing SPI loopback testing on MAX32690EVKIT RV32 core,
to verify that peripheral on the secondary core.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2026-03-31 10:26:07 -05:00
Scott Worley
013d39c101 tests: drivers: spi: spi_loopback: Fix build error MEC174x/5x
We fixed oversight that did not update the compatible in the
SPI loopback driver test for Microchip MEC174x/5x boards when
the SPI driver was last updated.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2026-03-27 20:19:43 -04:00
Kyle Bonnici
d13cc59c92 dts: Remove duplicate properties in closure
This PR removes duplicate properties in the same closure. The last
instance is the one the is keept.

This PR only cleans up current instances a separate PR will be done to
update the dts-linter to enforce this in the compliance check.

Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
2026-03-27 13:59:59 -05:00
Srikanth Boyapally
79904d5ff2 tests: boards: versalnet_rpu: add flash support and test overlay
Add flash to the supported feature list for versalnet_rpu and introduce
a board overlay to enable running flash common tests.

Signed-off-by: Srikanth Boyapally <srikanth.boyapally@amd.com>
2026-03-25 15:08:03 -04:00
Dharun krithik k
8e685503d8 boards: cy8cproto_041tp: Add SPI loopback test nodes
Add slow@0 and fast@0 SPI devices for loopback testing

Signed-off-by: Dharun krithik k <dharunkrithik@aerlync.com>
2026-03-25 15:07:29 -04:00
Yves Wang
4a03b585c3 tests: watchdog: reduce EWM reset_none sleep time
Reduce CONFIG_TEST_WDT_SLEEP_TIME for drivers.watchdog.reset_none_ewm.

This aligns the feed interval with the current MCXW7x tick timing and
keeps the reset_none_ewm testcase within the effective EWM feed

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-03-25 15:07:14 -04:00
Tyler Joseph Huffman
3b4c3c01c8 tests: spi: Fixed an issue with a missing definition for a SPI test.
This fixes an issue that causes all SPI tests run natively on the
nRF54LM20-DK to fail. Furthermore, this adds a clarification in the
README.txt so that this test intention is clear about being run on only one
device, and not two.

Signed-off-by: Tyler Joseph Huffman <tyler@tylerh.org>
2026-03-25 07:59:17 -04:00
Guillaume Gautier
ebcd6e8469 tests: drivers: watchdog: basic_api: add nucleo_c5a3zg to the testcase.yml
Add the Nucleo-C5A3ZG to the testcase.yml file so that the IWDG and WWDG
are can be tested daily.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-24 10:51:54 -05:00
Guillaume Gautier
8cba826203 tests: drivers: adc: adc_api: add nucleo_c5a3zg overlay
Add an overlay to test ADC and ADC+DMA on Nucleo-C5A3ZG.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-24 09:07:31 -04:00
Raffael Rostagno
79f728ac2f Revert "tests: uart_elementary: Fix overlays config for PM"
This reverts commit 6029af2dfce1b42e4a6d6741600dd0e28a357701.

Sleep pinctrl groups won't be used any longer for Espressif chips.
Strategy to switch pins to low power mode is enabled using hardware
feature.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2026-03-24 09:05:47 -04:00
Kate Wang
f3ad1f3c6d tests: display: Add test cases for new pixel formats
Add test cases for the newly introduced pixel formats in the display
read/write test suite to ensure proper functionality:
- PIXEL_FORMAT_BGR_888: 24-bit BGR format with 8 bits per component
- PIXEL_FORMAT_ABGR_8888: 32-bit ABGR with alpha channel
- PIXEL_FORMAT_RGBA_8888: 32-bit RGBA with alpha channel
- PIXEL_FORMAT_BGRA_8888: 32-bit BGRA with alpha channel

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2026-03-24 07:07:25 -04:00
Guillaume Gautier
03815dc4b2 tests: drivers: spi: loopback: add overlay for nucleo_c5a3zg
Add an overlay to test SPI on Nucleo-C5A3ZG, and add the board to the list
of test cases.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-24 07:06:55 -04:00
Charles Dias
05e1899228 tests: drivers: build_all: input: add seesaw gamepad
Add Adafruit seesaw gamepad driver to the app.overlay file.

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
2026-03-23 19:23:19 -05:00
Tim Pambor
05ff1be05f tests: drivers: build_all: ethernet: use GPIO MDIO driver for testing dwmac
Instead of disabling the PHY driver for the DWMAC test, use the GPIO
MDIO driver to allow testing the DWMAC driver with a PHY.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-23 17:39:06 -05:00
Raffael Rostagno
64da84c00d tests: drivers: pwm_gpio_loopback: Add PM test case
Add PM test case to check device power management.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2026-03-23 17:37:48 -05:00
Fin Maaß
062facbab2 net: dsa: remove NET_DSA_DEPRECATED
remove the deprecated NET_DSA_DEPRECATED.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-23 15:01:57 -05:00
Francis Roi Manabat
2a51ca6bc8 tests: build_all: Add build test for ADXL355
Add adxl355 sensor to build test.

Signed-off-by: Francis Roi Manabat <francisroi.manabat@analog.com>
2026-03-23 14:00:03 -04:00
Guillaume Gautier
871ca88e9a tests: drivers: counter: basic_api: enable timers for nucleo_c5a3zg
Enable the timers nodes in the nucleo_c5a3zg overlay to fix CI compilation
issues.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-23 12:41:04 -05:00
Sylvio Alves
2049facc72 tests: drivers: retained_mem: rename esp32c3_devkitm to esp32c3_devkitc
Rename board overlay to match the updated board name, otherwise
the build fails.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-23 12:36:17 -05:00
Sylvio Alves
1863ac1ccb tests: drivers: i2s: rename board overlay to esp32c3_devkitc
Rename board files to match the updated board name, otherwise
the build fails.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-23 12:36:17 -05:00
Tim Pambor
571d7e2d28 tests: disk: disk_performance: add test for FTL disk using spi_nand flash
Add a test for the FTL disk driver using the spi_nand flash driver. This
test utilizes the frdm_mcxn947 board with the MikroE Flash 5 Click shield.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-23 12:31:30 -05:00
Tim Pambor
d2791709c6 tests: disk: disk_access: add test for FTL disk using spi_nand flash
Add a test for the FTL disk driver using the spi_nand flash driver. This
test utilizes the frdm_mcxn947 board with the MikroE Flash 5 Click shield.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-23 12:31:30 -05:00
Deepika R
200dfcd663 tests: drivers: gpio: Add overlay to test basic_api
- Add a board-specific devicetree overlay
  to support the GPIO basic API test.

Signed-off-by: Deepika R <deepika@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-03-23 10:39:15 -04:00
Surya Prakash T
9e59bfe9f4 tests: drivers: pwm: Add overlay to test pwm_api
- Add a board-specific devicetree overlay to enable
  the PWM API test suite.

Signed-off-by: Surya Prakash T <suryat@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-03-23 10:38:44 -04:00
Etienne Carriere
6183fad9c4 boards: st: stm32h5f5j_dk: default disable dac1 and fdcan3
Default disable dac1 and fdcan3 nodes in stm32h5f5j_dk board since they
respectively conflict with the pin muxing for spi1 and adc3.

Add a board overlay file for DAC driver tests and samples to enable
dac1 and disable spi1.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-23 10:38:33 -04:00
Guillaume Gautier
2c1df7954d tests: drivers: adc_api: add a test for injected channels
Add a test for injected channels. The test first starts a regular
asynchronous sampling of several channels, then starts an injected
sampling. The test checks that both the regular and injected samplings
run without issues.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-23 10:37:18 -04:00
Etienne Carriere
72119c74a0 drivers: clock_control: stm32: fix STM32_HSE_CSS macro use
Change macro STM32_HSE_CSS to be defined (to 1) only when HSE clock
security system is enabled, as stated by the HSE DT node css-enabled
property. Consequently only use #ifdef STM32_HSE_CSS (or #if defined())
and IS_ENABLED(STM32_HSE_CSS) to test whether or not it's enabled.

No functional change but may prevent build warnings since prior
this change was STM32_HSE_CSS value tested while the macro may
not be defined.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-23 08:48:55 -04:00
Khoa Nguyen
f26330fe5c tests: drivers: flash: Update mapped-partition for ek_ra8p1
Update mapped-partition for ek_ra8p1 in flash/common overlay

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-03-23 10:19:12 +01:00
Quy Tran
1fa8c8440a tests: drivers: i2c: add overlay for RX26T tests
Add overlay and conf for RX26T target

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2026-03-23 10:18:52 +01:00
Khai Cao
7f07eeb272 tests: drivers: i2c: fix the clock-frequency exceeding
- Remove I2C overlay config exceeding max-bitrate-supported constraint
- Remove redundant pinctrl and iic0, rely on board's base DTS

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-03-23 10:17:58 +01:00
Muhammad Waleed Badar
0ef82ec0ec drivers: input: cst816s: generalize driver to CST8xx family
Generalize the Hynitron CST816S touchscreen driver to support the
broader CST8xx controller family.

Changes include:
- Renaming the driver from input_cst816s.c to input_cst8xx.c
- Renaming drivers/input/Kconfig.cst816s to drivers/input/Kconfig.cst8xx
- Updating the Devicetree compatible from hynitron,cst816s to
hynitron,cst8xx
- Updating the Devicetree binding description and compatible field
- Updating board DTS files and test overlays to use the new compatible

These changes align the driver, Devicetree bindings, and compatible
strings with the actual hardware support, which covers the CST8xx
family rather than only the CST816S variant.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-03-23 10:17:03 +01:00
Hau Ho
a7da3ec565 tests: drivers: wdt: Add config file for FPB-RX14T and MCB-RX14T boards
Add config file for FPB-RX14T and MCB-RX14T boards

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-03-23 10:16:41 +01:00
Hau Ho
8ae0378043 tests: drivers: gpio: Add overlay and config file for FPB-RX14T
Add overlay and config file for FPB-RX14T

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-03-23 10:16:41 +01:00
Hau Ho
7e37cf126d tests: drivers: adc: Add overlay and config file for RX14T boards
Add overlay and config file for FPB-RX14T and MCB-RX14T

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-03-23 10:16:41 +01:00
Hau Ho
9b853ed5b5 tests: drivers: i2c: Add overlay and config file for RX14T
Add overlay and config file for RX14T

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-03-23 10:16:41 +01:00
Fabrice DJIATSA
26214498a3 tests: drivers: watchdog: basic_api: remove stm32n6_dk from a scenario
Remove stm32n6570_dk platform from this scenario as apb1-prescaler
is a constant(=1) and can't be set as defined in stm32_wwdg.overlay.
This causes a build issue.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-03-21 07:53:01 -05:00
Fabrice DJIATSA
4ef7162fc7 tests: drivers: watchdog: basic_api: remove redundant if condition
PR 104896 enforces the usage of the watchdog0 alias.
To avoid unwanted behaviors or settings for this test, remove
the other redundant if condition on watchdogs.

To avoid build compilation failures in CI related to WDT_TEST_MAX_WINDOW
redefinition for platforms other than STM32, move the existing condition
about st_stm32_window_watchdog outside the condition about the watchdog0
node.

These changes fix regressions encountered on several boards.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-03-21 07:53:01 -05:00
McAtee Maxwell
ff6c666d4f tests: update kit_pse84_ai overlays for gpio_basic_api test
- m33/m55: update overlay for gpio_basic_api test
- Change is intended to make wiring match pin usage of other
  kit_pse84_ai testing support

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2026-03-21 07:51:54 -05:00
McAtee Maxwell
8c2992cf50 tests: add kit_pse84_ai overlay/conf files for spi testing
- add spi to board's .yaml supported section for m33 and m55
- match spi testing support to kit_pse84_eval
- m33/m55: tests/.../spi_loopback

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2026-03-21 07:51:54 -05:00
McAtee Maxwell
548680028f tests/samples: add kit_pse84_ai overlay files for pwm testing
- Add pwm to board's .yaml supported section for m33 and m55
- Add same PWM test/sample support as kit_pse84_eval
- m33/m55: samples/.../blinky_pwm
- m33/m55: samples/.../fade_led
- m33/m55: tests/.../pwm_api
- m33/m55: tests/.../pwm_gpio_loopback

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2026-03-21 07:51:54 -05:00
McAtee Maxwell
9ec9275f95 tests/samples: add kit_pse84_ai overlay files for adc testing
- add adc to board's .yaml supported section for m55
- Given ADC support shared with kit_pse84_eval, only the m55 is
  supported for kit_pse84_ai
- m55: samples/.../adc_dt
- m55: tests/.../adc_api

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2026-03-21 07:51:54 -05:00