zephyr,mipi-dbi-bitbang

Vendor: Zephyr-specific binding

Note

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

Description

These nodes are “mipi-dbi” bus nodes.

MIPI-DBI Mode A and B bit banging controller. This driver emulates MIPI DBI mode A and B (6800
and 8080 parallel interfaces) using GPIO pins.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

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.

dc-gpios

phandle-array

Data/command GPIO pin. Set to low when sending a command, or high when sending data.

This property is required.

reset-gpios

phandle-array

Reset GPIO pin. Set high to reset the display.

This property is required.

rd-gpios

phandle-array

Read GPIO pin. Set high when reading from the display. Required for type B (Intel 8080) mode,
unused for type A (Motorola 6800).

wr-gpios

phandle-array

Write GPIO pin for type B (Intel 8080) mode, Read/!Write pin for type A (Motorola 6800) mode.

This property is required.

e-gpios

phandle-array

Clocked enable/strobe pin for type A (Motorola 6800) mode, unused for type B (Intel 8080).
Fixed E mode is not supported.

cs-gpios

phandle-array

Chip-select GPIO pin.

This property is required.

data-gpios

phandle-array

GPIO pins used for the parallel data bus. This must have as many entries as the bus is wide
of the selected mipi-mode.

This property is required.