sparkfun,serlcd (on i2c bus)

Vendor: SparkFun Electronics

Note

An implementation of a driver matching this compatible is available in drivers/auxdisplay/auxdisplay_serlcd.c.

Description

SparkFun SerLCD Dot Character VFD Controller/Driver IC

Example:
  &i2c1 {
    serlcd@72 {
      compatible = "sparkfun,serlcd";
      reg = <0x72>;
      columns = <16>;
      rows = <2>;
      command-delay-ms = <10>;
      special-command-delay-ms = <50>;
    };
  };

Properties

Properties not inherited from the base binding file.

Name

Type

Details

columns

int

Number of text columns that the display has

This property is required.

Default value: 16

Legal values: 16, 20

rows

int

Number of text rows that the display has

This property is required.

Default value: 2

Legal values: 2, 4

command-delay-ms

int

Delay in milliseconds (defaults to 10ms if not set) after a normal command was sent.
The default value is based on the original SparkFun SerLCD library
implementation which assumes 100 kbps I2C configuration. This value
might require tweaking if using I2C at a higher bitrare and/or relativily
high update frequency of the display.

Default value: 10

special-command-delay-ms

int

Delay in milliseconds (defaults to 50ms if not set) after a special command was sent.
The default value is based on the original SparkFun SerLCD library
implementation which assumes 100 kbps I2C configuration. This value
might require tweaking if using I2C at a higher bitrare and/or relativily
high update frequency of the display.

Default value: 50

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.