tests: drivers: build_all: display: add st7789v display

Add st7789v display to the display build all test

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2024-06-04 17:34:48 -05:00 committed by Henrik Brix Andersen
commit ebacd80c7b

View file

@ -70,6 +70,34 @@
width = <160>;
height = <128>;
};
st7789v: st7789v@3 {
compatible = "sitronix,st7789v";
reg = <3>;
mipi-max-frequency = <25000000>;
width = <128>;
height = <128>;
/* Arbiratry values */
x-offset = <0>;
y-offset = <0>;
vcom = <0x28>;
gctrl = <0x35>;
vrhs = <0x10>;
vdvs = <0x20>;
mdac = <0x00>;
gamma = <0x01>;
colmod = <0x55>;
lcm = <0x0c>;
porch-param = [0c 0c 00 33 33];
cmd2en-param = [5a 69 02 00];
pwctrl1-param = [a4 a1];
pvgam-param = [d0 00 02 07 0a 28 32 44 42 06 0e 12 14 17];
nvgam-param = [d0 00 02 07 0a 28 31 54 47 0e 1c 17 1b 1e];
ram-param = [00 E0];
rgb-param = [40 02 14];
mipi-mode = <MIPI_DBI_MODE_SPI_4WIRE>;
};
};
@ -82,7 +110,8 @@
clock-frequency = <2000000>;
/* one entry for every devices at spi.dtsi */
cs-gpios = <&test_gpio 0 0 &test_gpio 0 1 &test_gpio 0 2>;
cs-gpios = <&test_gpio 0 0 &test_gpio 0 1 &test_gpio 0 2
&test_gpio 0 3>;
test_spi_gc9x01x: gc9x01x@1 {
compatible = "galaxycore,gc9x01x";