drivers: mipi-dbi: use string for mipi-mode property
Use a string for the mipi-mode property over an integer value, as this significantly improves the readability of the MIPI DBI device binding. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
d6b8912ad9
commit
c565c2c6f6
23 changed files with 36 additions and 43 deletions
|
@ -60,7 +60,7 @@
|
|||
test_mipi_dbi_st7735r: st7735t@2 {
|
||||
compatible = "sitronix,st7735r";
|
||||
mipi-max-frequency = <250000000>;
|
||||
mipi-mode = <MIPI_DBI_MODE_SPI_4WIRE>;
|
||||
mipi-mode = "MIPI_DBI_MODE_SPI_4WIRE";
|
||||
reg = <2>;
|
||||
/* Arbitrary values */
|
||||
x-offset = <0>;
|
||||
|
@ -96,7 +96,7 @@
|
|||
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>;
|
||||
mipi-mode = "MIPI_DBI_MODE_SPI_4WIRE";
|
||||
};
|
||||
|
||||
test_mipi_dbi_ssd1680: ssd1680@4 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue