1# Copyright 2024 Stefan Gloor
2#
3# SPDX-License-Identifier: Apache-2.0
4
5description: |
6  MIPI-DBI Mode A and B bit banging controller. This driver emulates MIPI DBI mode A and B (6800
7  and 8080 parallel interfaces) using GPIO pins.
8
9compatible: "zephyr,mipi-dbi-bitbang"
10
11include: ["mipi-dbi-controller.yaml", "pinctrl-device.yaml"]
12
13properties:
14
15  dc-gpios:
16    type: phandle-array
17    required: true
18    description: |
19      Data/command GPIO pin. Set to low when sending a command, or high when sending data.
20
21  reset-gpios:
22    type: phandle-array
23    required: true
24    description: |
25      Reset GPIO pin. Set high to reset the display.
26
27  rd-gpios:
28    type: phandle-array
29    description: |
30      Read GPIO pin. Set high when reading from the display. Required for type B (Intel 8080) mode,
31      unused for type A (Motorola 6800).
32
33  wr-gpios:
34    type: phandle-array
35    required: true
36    description: |
37      Write GPIO pin for type B (Intel 8080) mode, Read/!Write pin for type A (Motorola 6800) mode.
38
39  e-gpios:
40    type: phandle-array
41    description: |
42      Clocked enable/strobe pin for type A (Motorola 6800) mode, unused for type B (Intel 8080).
43      Fixed E mode is not supported.
44
45  cs-gpios:
46    type: phandle-array
47    required: true
48    description: |
49      Chip-select GPIO pin.
50
51  data-gpios:
52    type: phandle-array
53    required: true
54    description: |
55      GPIO pins used for the parallel data bus. This must have as many entries as the bus is wide
56      of the selected mipi-mode.
57