Sitronix ST7567 Display Controller
Schema identifier ($id): "http://devicetree.org/schemas/display/sitronix,st7567.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Javier Martinez Canillas <javierm@redhat.com>"
Sitronix ST7567 is a driver and controller for monochrome dot matrix LCD panels.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):panel/panel-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sitronix,st7567"
reg — required here #
Maximum number of items (maxItems): 1
sitronix,inverted — not listed as required here #
Value type (type): "boolean"
Display pixels are inverted, i.e. 0 is white and 1 is black.
width-mm — required here #
true — No constraints added by this property rule.
height-mm — required here #
true — No constraints added by this property rule.
panel-timing — required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "width-mm", "height-mm", "panel-timing"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
display@3f {
compatible = "sitronix,st7567";
reg = <0x3f>;
width-mm = <37>;
height-mm = <27>;
panel-timing {
hactive = <128>;
vactive = <64>;
hback-porch = <0>;
vback-porch = <0>;
clock-frequency = <0>;
hfront-porch = <0>;
hsync-len = <0>;
vfront-porch = <0>;
vsync-len = <0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)