xref: /linux/Documentation/devicetree/bindings/display/sitronix,st7567.yaml (revision 6f17ab9a63e670bd62a287f95e3982f99eafd77e)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/sitronix,st7567.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Sitronix ST7567 Display Controller
8
9maintainers:
10  - Javier Martinez Canillas <javierm@redhat.com>
11
12description:
13  Sitronix ST7567 is a driver and controller for monochrome
14  dot matrix LCD panels.
15
16allOf:
17  - $ref: panel/panel-common.yaml#
18
19properties:
20  compatible:
21    const: sitronix,st7567
22
23  reg:
24    maxItems: 1
25
26  sitronix,inverted:
27    type: boolean
28    description:
29      Display pixels are inverted, i.e. 0 is white and 1 is black.
30
31  width-mm: true
32  height-mm: true
33  panel-timing: true
34
35required:
36  - compatible
37  - reg
38  - width-mm
39  - height-mm
40  - panel-timing
41
42additionalProperties: false
43
44examples:
45  - |
46    i2c {
47        #address-cells = <1>;
48        #size-cells = <0>;
49
50        display@3f {
51            compatible = "sitronix,st7567";
52            reg = <0x3f>;
53            width-mm = <37>;
54            height-mm = <27>;
55
56            panel-timing {
57                hactive = <128>;
58                vactive = <64>;
59                hback-porch = <0>;
60                vback-porch = <0>;
61                clock-frequency = <0>;
62                hfront-porch = <0>;
63                hsync-len = <0>;
64                vfront-porch = <0>;
65                vsync-len = <0>;
66            };
67          };
68     };
69