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>
This commit is contained in:
Stephan Linz 2024-11-30 00:00:05 +01:00 committed by Benjamin Cabé
parent a68c1aa4ad
commit 4488ed1a20

View file

@ -161,6 +161,28 @@
};
};
test_mipi_dbi_xfr_16bit_write_only {
compatible = "zephyr,mipi-dbi-spi";
status = "okay";
dc-gpios = <&test_gpio 0 0>;
spi-dev = <&test_spi>;
#address-cells = <1>;
#size-cells = <0>;
xfr-min-bits = <MIPI_DBI_SPI_XFR_16BIT>;
write-only;
test_mipi_dbi_xfr_16bit_ili9342c: ili9342c@0 {
compatible = "ilitek,ili9342c";
reg = <0>;
mipi-max-frequency = <25000000>;
mipi-mode = "MIPI_DBI_MODE_SPI_4WIRE";
pixel-format = <0>;
rotation = <270>;
width = <320>;
height = <240>;
};
};
test_mipi_dsi {
compatible = "vnd,mipi-dsi";
#address-cells = <1>;