Skip to content

Commit 4488ed1

Browse files
rexutkartben
authored andcommitted
tests: drivers: build_all: display: add config for 16-bit transfer
Add configuration with 16-bit transfer to C4 by the new `xfr-min-bits` property. Such a setup generally only allows `write-only` access. Signed-off-by: Stephan Linz <linz@li-pro.net>
1 parent a68c1aa commit 4488ed1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

tests/drivers/build_all/display/app.overlay

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,28 @@
161161
};
162162
};
163163

164+
test_mipi_dbi_xfr_16bit_write_only {
165+
compatible = "zephyr,mipi-dbi-spi";
166+
status = "okay";
167+
dc-gpios = <&test_gpio 0 0>;
168+
spi-dev = <&test_spi>;
169+
#address-cells = <1>;
170+
#size-cells = <0>;
171+
xfr-min-bits = <MIPI_DBI_SPI_XFR_16BIT>;
172+
write-only;
173+
174+
test_mipi_dbi_xfr_16bit_ili9342c: ili9342c@0 {
175+
compatible = "ilitek,ili9342c";
176+
reg = <0>;
177+
mipi-max-frequency = <25000000>;
178+
mipi-mode = "MIPI_DBI_MODE_SPI_4WIRE";
179+
pixel-format = <0>;
180+
rotation = <270>;
181+
width = <320>;
182+
height = <240>;
183+
};
184+
};
185+
164186
test_mipi_dsi {
165187
compatible = "vnd,mipi-dsi";
166188
#address-cells = <1>;

0 commit comments

Comments
 (0)