zephyr,mipi-dbi-spi

Vendor: Zephyr-specific binding

Note

An implementation of a driver matching this compatible is available in drivers/mipi_dbi/mipi_dbi_spi.c.

Description

These nodes are “mipi-dbi” bus nodes.

MIPI-DBI Mode C compatible SPI controller. This driver emulates MIPI DBI
mode C using a SPI controller and GPIO pins

Properties

Properties not inherited from the base binding file.

Name

Type

Details

spi-dev

phandle

SPI device to use for data transfers with MIPI DBI commands. This SPI
device should be connected to the MIPI DBI display.

This property is required.

dc-gpios

phandle-array

Data/command gpio pin. Required when using 4 wire SPI mode (Mode C1).
Set to low when sending a command, or high when sending data.

reset-gpios

phandle-array

Reset GPIO pin. Set high to reset the display

write-only

boolean

Only writes to display controller, do not perform reads.
If all controllers are write-only, read functions will be
optimized out for size.
It can also be used as an alternative to half duplex when
only one data line is connected.

clock-frequency

int

Clock frequency of the SCL signal of the MBI-DBI peripheral, in Hz

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.