Skip to content

Commit 945f7d8

Browse files
VynDragonfabiobaltieri
authored andcommitted
tests: display: Add sh1122 build_all test
Adds SH1122 build_all test Signed-off-by: Camille BAUD <mail@massdriver.space>
1 parent e5819f7 commit 945f7d8

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

tests/drivers/build_all/display/app.overlay

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,24 @@
191191
vcomh-voltage = <0>;
192192
mipi-mode = "MIPI_DBI_MODE_SPI_4WIRE";
193193
};
194+
195+
test_mipi_dbi_sh1122: sh1122@12 {
196+
compatible = "sinowealth,sh1122";
197+
reg = <12>;
198+
mipi-max-frequency = <10000000>;
199+
width = <256>;
200+
height = <64>;
201+
oscillator-freq = <0>;
202+
multiplex-ratio = <0>;
203+
display-offset = <0>;
204+
start-line = <0>;
205+
low-voltage = <0>;
206+
dc-dc = <0>;
207+
precharge-voltage = <0>;
208+
phase-length = <0>;
209+
vcomh-voltage = <0>;
210+
mipi-mode = "MIPI_DBI_MODE_SPI_4WIRE";
211+
};
194212
};
195213

196214
test_mipi_dbi_xfr_16bit_write_only {
@@ -443,6 +461,22 @@
443461
phase-length = <0>;
444462
vcomh-voltage = <0>;
445463
};
464+
465+
test_sh1122: sh1122@4 {
466+
compatible = "sinowealth,sh1122";
467+
reg = <4>;
468+
width = <256>;
469+
height = <64>;
470+
oscillator-freq = <0>;
471+
multiplex-ratio = <0>;
472+
display-offset = <0>;
473+
start-line = <0>;
474+
low-voltage = <0>;
475+
dc-dc = <0>;
476+
precharge-voltage = <0>;
477+
phase-length = <0>;
478+
vcomh-voltage = <0>;
479+
};
446480
};
447481
};
448482
};

0 commit comments

Comments
 (0)