solomon,ssd1331 (on mipi-dbi bus)

Vendor: Solomon Systech Limited

Description

SSD1331 display controller

Properties

Properties not inherited from the base binding file.

Name

Type

Details

display-offset

int

Vertical offset by com from 0 ~ 63. Typically 64 - height.

This property is required.

start-line

int

Start line of display RAM to be displayed by selecting a value from 0 to 63. Typically 0.

This property is required.

multiplex-ratio

int

Multiplex ratio from 16MUX to 64MUX, ranges from 15 to 63. Typically same value as height - 1.

This property is required.

phase-length

int

Phase 2 Period (7:4) and Phase 1 Period (3:0).

This property is required.

oscillator-freq

int

Front clock divider (3:0) / oscillator frequency (7:4). If you get weird scanlines, increase oscillator frequency and play with phase length values, for example set this to 0xF0. Note this increases power consumption.

This property is required.

precharge-time-a

int

Set precharge time for segments A. Typically around 0x70.

This property is required.

precharge-time-b

int

Set precharge time for segments B. Typically around 0x70.

This property is required.

precharge-time-c

int

Set precharge time for segments C. Typically around 0x70.

This property is required.

precharge-voltage

int

Set precharge voltage. A[5:1], from 0 (0.10 x VCC) to 0x3E (0.5 x VCC)

This property is required.

vcomh-voltage

int

Set COM deselect voltage. A[5:1]. 0.44, 0.52, 0.61, 0.71, 0.83 x VCC.

This property is required.

Legal values: 0, 16, 32, 48, 62

current-att

int

Set Master current attenuation. A[3:0], from 1/16 to 16/16.

This property is required.

remap-value

int

Remap register
Has multiple configurations (see each bit setting in the datasheet) - A[0] HTiled or VTiled. Must be 0 for this driver. - A[1] Invert segment order - A[2] Invert ABC segment order - A[3] Left-Right Swap COMs - A[4] Invert COM order - A[5] Stripped odd/even display - A[7:6] Set color format. Must be 0x1 for this driver.

This property is required.

power-save

boolean

Enable Power Save mode

inversion-on

boolean

Turn on display color inverting

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'

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'

te-delay

int

Delay in microseconds to wait before transmitting display data after a
tearing enable synchronization signal is seen. Defaults to 0 since most
controllers will not need a delay.

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.

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.