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:
parent
0784a8684c
commit
ebacd80c7b
1 changed files with 30 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue