Skip to content

Commit ce1235d

Browse files
mespunaiotcfriedt
authored andcommitted
tests: drivers: build_all: cover uc8151d
Add a UC8151D node to the build_all display overlay so the continuous-integration build exercises the new driver path. The dummy profile overrides only CDI and VCOM to keep the overlay lightweight while still covering the relevant code paths. Signed-off-by: Marc Espuña <[email protected]>
1 parent 5b595e3 commit ce1235d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

tests/drivers/build_all/display/app.overlay

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,27 @@
292292
remap-value = <0x0>;
293293
mipi-mode = "MIPI_DBI_MODE_SPI_4WIRE";
294294
};
295+
296+
test_gooddisplay_epaper_gdew029i6fd: uc8151d@17 {
297+
compatible = "ultrachip,uc8151d";
298+
reg = <17>;
299+
mipi-max-frequency = <4000000>;
300+
status = "okay";
301+
width = <128>;
302+
height = <296>;
303+
busy-gpios = <&test_gpio 0 0>;
304+
305+
full {
306+
/* Override CDI / VCOM for full refresh */
307+
cdi = <0x17>;
308+
vdcs = <0x08>;
309+
};
310+
311+
partial {
312+
/* Exercise CDI override path for partial refresh */
313+
cdi = <0x17>;
314+
};
315+
};
295316
};
296317

297318
test_mipi_dbi_xfr_16bit_write_only {

0 commit comments

Comments
 (0)