From 4488ed1a20a97007d451d2ac1f093c413c56e77a Mon Sep 17 00:00:00 2001 From: Stephan Linz Date: Sat, 30 Nov 2024 00:00:05 +0100 Subject: [PATCH] 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 --- tests/drivers/build_all/display/app.overlay | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/tests/drivers/build_all/display/app.overlay b/tests/drivers/build_all/display/app.overlay index 73eb601d429570..e18a2103236b5f 100644 --- a/tests/drivers/build_all/display/app.overlay +++ b/tests/drivers/build_all/display/app.overlay @@ -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 = ; + 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>;