Sitronix ST7920 LCD Display Controllers
Schema identifier ($id): "http://devicetree.org/schemas/display/sitronix,st7920.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Iker Pedrosa <ikerpedrosam@gmail.com>"
The Sitronix ST7920 is a controller for monochrome dot-matrix graphical LCDs, most commonly used for 128x64 pixel displays.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sitronix,st7920"
reg — required here #
Maximum number of items (maxItems): 1
vdd-supply — not listed as required here #
Regulator that provides 5V Vdd power supply
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
spi-max-frequency — required here #
Maximum value (maximum): 600000
Required in this object (required): "compatible", "reg", "spi-max-frequency"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
spi {
#address-cells = <1>;
#size-cells = <0>;
display@0 {
compatible = "sitronix,st7920";
reg = <0>;
vdd-supply = <®_5v>;
reset-gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
spi-max-frequency = <600000>;
spi-cs-high;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)