zephyr/drivers/mipi_dbi/Kconfig.spi
Daniel DeGrasse 571de47e16 drivers: mipi_dbi: add SPI based MIPI DBI mode C driver
SPI controllers can easily implement MIPI DBI mode C, with the help of
GPIO pins for the reset and command/data signals. Introduce a MIPI DBI
compliant SPI driver, which emulates MIPI DBI mode C (SPI 3 and 4 wire).

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-01-31 16:01:45 +00:00

24 lines
664 B
Plaintext

# Copyright 2023 NXP
# SPDX-License-Identifier: Apache-2.0
config MIPI_DBI_SPI
bool "MIPI DBI SPI driver"
default y
depends on DT_HAS_ZEPHYR_MIPI_DBI_SPI_ENABLED
select SPI
help
Enable support for MIPI DBI SPI driver. This driver implements
a MIPI-DBI mode C compatible controller using a SPI device, as well
as GPIO outputs for the reset and D/C signals
if MIPI_DBI_SPI
config MIPI_DBI_SPI_3WIRE
bool "Emulated 3 wire SPI support"
help
Support 3 wire MIPI DBI (Mode C option 2) in MIPI DBI SPI
driver. This requires manually packing each byte with a data/command
bit, and may slow down display data transmission.
endif # MIPI_DBI_SPI