Sitronix ST7586 Display Controller

Schema identifier ($id): "http://devicetree.org/schemas/display/sitronix,st7586.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "David Lechner <david@lechnology.com>"

Sitronix ST7586 is a driver and controller for 4-level gray scale and monochrome dot matrix LCD panels. https://topwaydisplay.com/sites/default/files/2020-04/ST7586S.pdf

Shared schema rule ($ref): panel/panel-common.yaml#

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "lego,ev3-lcd"

reg — required here #

Maximum number of items (maxItems): 1

spi-max-frequency — not listed as required here #

Maximum value (maximum): 50000000

a0-gpios — required here #

The A0 signal (for serial mode, this is the pin labeled D1 on the controller, not the pin labeled A0)

Maximum number of items (maxItems): 1

reset-gpios — required here #

true — No constraints added by this property rule.

rotation — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "a0-gpios", "reset-gpios"

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    display@0 {
        compatible = "lego,ev3-lcd";
        reg = <0>;
        spi-max-frequency = <10000000>;
        a0-gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
        reset-gpios = <&gpio 80 GPIO_ACTIVE_HIGH>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page