Skip to content

Commit

Permalink
tests: drivers: build_all: display: add config for 16-bit transfer
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
rexut authored and kartben committed Dec 9, 2024
1 parent a68c1aa commit 4488ed1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tests/drivers/build_all/display/app.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit 4488ed1

Please sign in to comment.