xref: /linux/Documentation/devicetree/bindings/display/sitronix,st7567.yaml (revision 260f6f4fda93c8485c8037865c941b42b9cba5d2)
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  width-mm: true
27  height-mm: true
28  panel-timing: true
29
30required:
31  - compatible
32  - reg
33  - width-mm
34  - height-mm
35  - panel-timing
36
37additionalProperties: false
38
39examples:
40  - |
41    i2c {
42        #address-cells = <1>;
43        #size-cells = <0>;
44
45        display@3f {
46            compatible = "sitronix,st7567";
47            reg = <0x3f>;
48            width-mm = <37>;
49            height-mm = <27>;
50
51            panel-timing {
52                hactive = <128>;
53                vactive = <64>;
54                hback-porch = <0>;
55                vback-porch = <0>;
56                clock-frequency = <0>;
57                hfront-porch = <0>;
58                hsync-len = <0>;
59                vfront-porch = <0>;
60                vsync-len = <0>;
61            };
62          };
63     };
64