solomon,ssd1320 (on i2c bus)

Vendor: Solomon Systech Limited

Description

SSD1320 160x160 dot-matrix display controller on I2C bus

Properties

Properties not inherited from the base binding file.

Name

Type

Details

oscillator-freq

int

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

This property is required.

display-offset

int

Vertical offset by com from 0 ~ 159. Typically 160 - height.

This property is required.

start-line

int

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

This property is required.

multiplex-ratio

int

Multiplex ratio from 15MUX to 159MUX. Typically same value as height - 1.

This property is required.

remap-value

int

Remap register
Has multiple configurations (see each bit setting in the datasheet) - A[1] must be 1 - Sequential (0) or Alternative (Odd/Even) SEGs (A[4]) - Disable or Enable SEG left/right remap (A[5])
A[4] is needed when display has striping.

This property is required.

phase-length

int

Phase Length for segment charging (7:4) and discharging (3:0). Good values to try first are 0x1f and 0xf1.

This property is required.

internal-iref

int

Internal or external iref. 0x0 is External, 0x10 Internal. Most displays use Internal.

Default value: 16

precharge-voltage

int

Set precharge voltage (4:0) from 0.10 x VCC to 0.5113 x VCC (0x1F). 0x1E is the reset default.

Default value: 30

vcomh-voltage

int

Set COM deselect voltage (5:3) from 0.72 x VCC (0x0) to 0.84 x VCC (0x30) 0x20 is the reset default.

Default value: 32

inversion-on

boolean

Turn on display color inverting

greyscale-enhancement

boolean

Enable low greyscale enhancement, partially undocumented.

inv-seg

boolean

Invert segment order

inv-com

boolean

Invert COM order

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.

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.