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

xfr-min-bits

int

On rare types of SPI interfaces, discrete shift registers can be found whose task is to convert the serial SPI bit stream to the parallel MCU interface with clock and bit accuracy. Typically, these are 16 bits wide.
Use the macros, not the actual enum value. Here is the concordance list (see dt-bindings/mipi_dbi/mipi_dbi.h) 8     MIPI_DBI_SPI_XFR_8BIT 16     MIPI_DBI_SPI_XFR_16BIT

Default value: 8

Legal values: 8, 16

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.