114 lines
2.3 KiB
YAML
114 lines
2.3 KiB
YAML
# Copyright (c) 2019, Marc Reilly <marc@cpdesign.com.au>
|
|
# Copyright (c) 2019, PHYTEC Messtechnik GmbH
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: ST7789V 320x240 display controller
|
|
|
|
compatible: "sitronix,st7789v"
|
|
|
|
include: spi-device.yaml
|
|
|
|
properties:
|
|
reset-gpios:
|
|
type: phandle-array
|
|
required: true
|
|
|
|
cmd-data-gpios:
|
|
type: phandle-array
|
|
required: true
|
|
|
|
height:
|
|
type: int
|
|
required: true
|
|
description: Height in pixels of the panel driven by the controller
|
|
|
|
width:
|
|
type: int
|
|
required: true
|
|
description: Width in pixels of the panel driven by the controller
|
|
|
|
x-offset:
|
|
type: int
|
|
required: true
|
|
description: The column offset in pixels of the LCD to the controller memory
|
|
|
|
y-offset:
|
|
type: int
|
|
required: true
|
|
description: The row offset in pixels of the LCD to the controller memory
|
|
|
|
vcom:
|
|
type: int
|
|
required: true
|
|
description: VCOM Setting
|
|
|
|
gctrl:
|
|
type: int
|
|
required: true
|
|
description: Gate Control
|
|
|
|
vrhs:
|
|
type: int
|
|
required: false
|
|
description: VRH Setting
|
|
|
|
vdvs:
|
|
type: int
|
|
required: false
|
|
description: VDV Setting
|
|
|
|
mdac:
|
|
type: int
|
|
required: true
|
|
description: Memory Data Access Control
|
|
|
|
lcm:
|
|
type: int
|
|
required: true
|
|
description: LCM Setting
|
|
|
|
colmod:
|
|
type: int
|
|
required: true
|
|
description: Interface Pixel Format
|
|
|
|
gamma:
|
|
type: int
|
|
required: true
|
|
description: Gamma Setting
|
|
|
|
porch-param:
|
|
type: uint8-array
|
|
required: true
|
|
description: Porch Setting
|
|
|
|
cmd2en-param:
|
|
type: uint8-array
|
|
required: true
|
|
description: Command 2 Enable Parameter
|
|
|
|
pwctrl1-param:
|
|
type: uint8-array
|
|
required: true
|
|
description: Power Control 1 Parameter
|
|
|
|
pvgam-param:
|
|
type: uint8-array
|
|
required: true
|
|
description: Positive Voltage Gamma Control Parameter
|
|
|
|
nvgam-param:
|
|
type: uint8-array
|
|
required: true
|
|
description: Negative Voltage Gamma Control Parameter
|
|
|
|
ram-param:
|
|
type: uint8-array
|
|
required: true
|
|
description: RAM Control Parameter
|
|
|
|
rgb-param:
|
|
type: uint8-array
|
|
required: true
|
|
description: RGB Interface Control Parameter
|