Skip to content

Commit

Permalink
drivers: ili9xxx: mipi-mode setable through DT
Browse files Browse the repository at this point in the history
  • Loading branch information
ts4ling committed Sep 17, 2024
1 parent 50b07f9 commit 681a4e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/display/display_ili9xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,8 @@ static const struct ili9xxx_quirks ili9488_quirks = {
.quirks = &ili##t##_quirks, \
.mipi_dev = DEVICE_DT_GET(DT_PARENT(INST_DT_ILI9XXX(n, t))), \
.dbi_config = { \
.mode = MIPI_DBI_MODE_SPI_4WIRE, \
.mode = DT_PROP_OR(INST_DT_ILI9XXX(n, t), mipi_mode, \
MIPI_DBI_MODE_SPI_4WIRE), \
.config = MIPI_DBI_SPI_CONFIG_DT( \
INST_DT_ILI9XXX(n, t), \
SPI_OP_MODE_MASTER | \
Expand Down

0 comments on commit 681a4e1

Please sign in to comment.