drivers: display: st7735r: convert to MIPI DBI API

Convert the ST7735R display to use the MIPI DBI API. Boards and overlays
using this display are also updated.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2024-03-21 14:26:28 -05:00 committed by Anas Nashif
commit 13ae32e1c2
5 changed files with 124 additions and 158 deletions

View file

@ -5,26 +5,9 @@ description: ST7735R/ST7735S 160x128 (max) display controller
compatible: "sitronix,st7735r"
include: [spi-device.yaml, display-controller.yaml]
include: [mipi-dbi-spi-device.yaml, display-controller.yaml]
properties:
reset-gpios:
type: phandle-array
description: RESET pin.
The RESET pin of ST7735R is active low.
If connected directly the MCU pin should be configured
as active low.
cmd-data-gpios:
type: phandle-array
required: true
description: D/CX pin.
The D/CX pin of ST7735R is active low (transmission command byte).
If connected directly the MCU pin should be configured
as active low.
x-offset:
type: int
required: true