ilitek,ili9163c (on mipi-dbi bus)

Description

Ilitek ILI9163C display controller

The Ilitek ILI9163C is a 262K colors TFT-LCD controller
with a maximum 240RGBx320 resolution.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

gamset

uint8-array

Select the desired Gamma curve for the current display.
A maximum of 4 fixed gamma curves can be selected.
- 0x01: Gamma curve 1 (default)
- 0x02: Gamma curve 2
- 0x04: Gamma curve 3
- 0x08: Gamma curve 4

Default value: [0x1]

frmctr1

uint8-array

Frame rate control (in normal mode / full colors) (FRMCTR1) register value.
The driver default pair provides a balanced refresh configuration
that avoids visible flicker.

Default value: [0xe, 0x14]

gamarsel

uint8-array

Gamma adjustment register value.
- 0x00: No gamma adjustment (default)
- 0x01: Apply positive and negative gamma adjustments (pgamctrl and ngamctrl).

Default value: [0x0]

pgamctrl

uint8-array

Positive gamma correction (PGAMCTRL) register values.
The driver default values are set to zero to provide a neutral starting
point for the positive gamma curve.

Default value: [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]

ngamctrl

uint8-array

Negative gamma correction (NGAMCTRL) register values.
The driver default values are set to zero to provide a neutral starting
point for the negative gamma curve.

Default value: [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]

pwctrl1

uint8-array

Power control 1 - GVDD and voltage.
Default values: 0x0A sets GVDD to 4.8V, and 0x05 sets the voltage to 2.5V.

Default value: [0xa, 0x5]

pwctrl2

uint8-array

Power control 2 - AVDD, VCL, VGH and VGL supply power level.
Default value: 0x05 sets VGH to 3×AVDD and VGL to -3×AVDD.

Default value: [0x5]

pwctrl3

string

Power control 3 - amount of current in Operation amplifier.
The driver default `Least` is set to reduce power
consumption while remaining sufficient for typical operation.

Default value: Least

Legal values: Least, Small, Medium Low, Medium, Medium High, Large

pwctrl4

string

Power control 4 - amount of current in Operational amplifier in Idle.
The driver default `Least` is set to reduce power
consumption while remaining sufficient for typical operation.

Default value: Least

Legal values: Least, Small, Medium Low, Medium, Medium High, Large

pwctrl5

string

Power control 5 - amount of current in Operational amplifier in Partial mode.
The driver default `Small` keeps partial-mode consumption low while still
supporting normal partial refresh behavior.

Default value: Small

Legal values: Least, Small, Medium Low, Medium, Medium High, Large

vmctrl1

uint8-array

VCOM control 1 - Set VCOMH Voltage.
The driver default values are set to provide a VCOMH voltage that is
compatible with a wide range of panels.

Default value: [0x43, 0x4d]

vmctrl2

uint8-array

VCOM control 2 - Set VCOMH Voltage.
The driver default values are set to keep VCOM tuning centered around
a stable, broadly compatible setting.

Default value: [0x40]

rotation

int

Display rotation (CW) in degrees. If not defined, rotation is off by default.

Legal values: 0, 90, 180, 270

display-inversion

boolean

Display inversion mode. Every bit is inverted from the frame memory to the display.

pixel-format

int

Initial Pixel format of this controller's output data, which is sent
to a panel directly or to an adapter.
See dt-bindings/display/panel.h for a list of pixel format.

This property is required.

height

int

Height of the panel driven by the controller, with the units in pixels.

This property is required.

width

int

Width of the panel driven by the controller, with the units in pixels.

This property is required.

duplex

int

SPI Duplex mode, full or half. By default it's always full duplex thus 0
as this is, by far, the most common mode.
Selecting half duplex allows to use SPI MOSI as a bidirectional line,
typically used when only one data line is connected.
Use the macros, not the actual enum value. Here is the concordance
list (see dt-bindings/spi/spi.h)
  0    SPI_FULL_DUPLEX
  2048 SPI_HALF_DUPLEX

mipi-cpol

boolean

SPI clock polarity which indicates the clock idle state.
If it is used, the clock idle state is logic high; otherwise, low.

mipi-cpha

boolean

SPI clock phase that indicates on which edge data is sampled.
If it is used, data is sampled on the second edge; otherwise, on the first edge.

mipi-hold-cs

boolean

In some cases, it is necessary for the master to manage SPI chip select
under software control, so that multiple spi transactions can be performed
without releasing it. A typical use case is variable length SPI packets
where the first spi transaction reads the length and the second spi transaction
reads length bytes.

mipi-max-frequency

int

Maximum clock frequency of device's MIPI interface in Hz

mipi-mode

string

MIPI DBI mode in use. These definitions should match those in
dt-bindings/mipi_dbi/mipi_dbi.h

Legal values: MIPI_DBI_MODE_SPI_3WIRE, MIPI_DBI_MODE_SPI_4WIRE, MIPI_DBI_MODE_6800_BUS_16_BIT, MIPI_DBI_MODE_6800_BUS_9_BIT, MIPI_DBI_MODE_6800_BUS_8_BIT, MIPI_DBI_MODE_8080_BUS_16_BIT, MIPI_DBI_MODE_8080_BUS_9_BIT, MIPI_DBI_MODE_8080_BUS_8_BIT

color-coding

string

Color coding for MIPI DBI Type A or Type B(6800/8080) interface. These definitions
should match those in dt-bindings/mipi_dbi/mipi_dbi.h

Legal values: MIPI_DBI_MODE_RGB332, MIPI_DBI_MODE_RGB444, MIPI_DBI_MODE_RGB565, MIPI_DBI_MODE_RGB666_1, MIPI_DBI_MODE_RGB666_2, MIPI_DBI_MODE_RGB888_1, MIPI_DBI_MODE_RGB888_2

te-mode

string

MIPI DBI tearing enable signal mode. Defaults to disabled.

Default value: MIPI_DBI_TE_NO_EDGE

Legal values: MIPI_DBI_TE_NO_EDGE, MIPI_DBI_TE_RISING_EDGE, MIPI_DBI_TE_FALLING_EDGE

supply-gpios

phandle-array

GPIO specifier that controls power to the device.

This property should be provided when the device has a dedicated
switch that controls power to the device.  The supply state is
entirely the responsibility of the device driver.

Contrast with vin-supply.

vin-supply

phandle

Reference to the regulator that controls power to the device.
The referenced devicetree node must have a regulator compatible.

This property should be provided when device power is supplied
by a shared regulator.  The supply state is dependent on the
request status of all devices fed by the regulator.

Contrast with supply-gpios.  If both properties are provided
then the regulator must be requested before the supply GPIOS is
set to an active state, and the supply GPIOS must be set to an
inactive state before releasing the regulator.