1# Copyright 2024 (c) TOKITA Hiroshi
2# SPDX-License-Identifier: Apache-2.0
3
4common:
5  tags:
6    - drivers
7    - display
8  harness: display
9tests:
10  drivers.display.read_write.sdl.argb8888:
11    platform_allow:
12      - native_sim
13    extra_configs:
14      - CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_ARGB_8888=y
15      - CONFIG_SDL_DISPLAY_USE_HARDWARE_ACCELERATOR=n
16  drivers.display.read_write.sdl.rgb888:
17    platform_allow:
18      - native_sim
19    extra_configs:
20      - CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_RGB_888=y
21      - CONFIG_SDL_DISPLAY_USE_HARDWARE_ACCELERATOR=n
22  drivers.display.read_write.sdl.mono01:
23    platform_allow:
24      - native_sim
25    extra_configs:
26      - CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO01=y
27      - CONFIG_SDL_DISPLAY_USE_HARDWARE_ACCELERATOR=n
28  drivers.display.read_write.sdl.mono10:
29    platform_allow:
30      - native_sim
31    extra_configs:
32      - CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO10=y
33      - CONFIG_SDL_DISPLAY_USE_HARDWARE_ACCELERATOR=n
34  drivers.display.read_write.sdl.mono01.lsbfirst:
35    platform_allow:
36      - native_sim
37    extra_configs:
38      - CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO01=y
39      - CONFIG_SDL_DISPLAY_USE_HARDWARE_ACCELERATOR=n
40      - CONFIG_SDL_DISPLAY_MONO_MSB_FIRST=n
41  drivers.display.read_write.sdl.mono10.lsbfirst:
42    platform_allow:
43      - native_sim
44    extra_configs:
45      - CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_MONO10=y
46      - CONFIG_SDL_DISPLAY_USE_HARDWARE_ACCELERATOR=n
47      - CONFIG_SDL_DISPLAY_MONO_MSB_FIRST=n
48  drivers.display.read_write.sdl.rgb565:
49    platform_allow:
50      - native_sim
51    extra_configs:
52      - CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_RGB_565=y
53      - CONFIG_SDL_DISPLAY_USE_HARDWARE_ACCELERATOR=n
54  drivers.display.read_write.sdl.bgr565:
55    platform_allow:
56      - native_sim
57    extra_configs:
58      - CONFIG_SDL_DISPLAY_DEFAULT_PIXEL_FORMAT_BGR_565=y
59      - CONFIG_SDL_DISPLAY_USE_HARDWARE_ACCELERATOR=n
60  drivers.display.read_write.ili9340:
61    tags:
62      - shield
63    extra_args:
64      - SHIELD=adafruit_2_8_tft_touch_v2
65      - EXTRA_DTC_OVERLAY_FILE=adafruit_2_8_tft_touch_rgb565.overlay
66    extra_configs:
67      - CONFIG_ILI9XXX_READ=y
68    # Use platform_allow, because we cannot filter the test based on the
69    # presence of the arduino_spi DT nodelabel
70    platform_allow:
71      - mimxrt685_evk/mimxrt685s/cm33
72  drivers.display.read_write.rtkmipilcdb00000be:
73    tags:
74      - shield
75    extra_args:
76      - SHIELD=rtkmipilcdb00000be
77    platform_allow:
78      - ek_ra8d1
79