xref: /linux/Documentation/devicetree/bindings/display/panel/tpo,td.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/tpo,td.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Toppoly TD Panels
8
9maintainers:
10  - Marek Belisko <marek@goldelico.com>
11  - H. Nikolaus Schaller <hns@goldelico.com>
12
13allOf:
14  - $ref: panel-common.yaml#
15  - $ref: /schemas/spi/spi-peripheral-props.yaml#
16
17properties:
18  compatible:
19    enum:
20        # Toppoly TD028TTEC1 Panel
21      - tpo,td028ttec1
22        # Toppoly TD043MTEA1 Panel
23      - tpo,td043mtea1
24
25  reg:
26    maxItems: 1
27
28  label: true
29  reset-gpios: true
30  backlight: true
31  port: true
32
33  spi-cpha: true
34  spi-cpol: true
35
36required:
37  - compatible
38  - port
39
40unevaluatedProperties: false
41
42examples:
43  - |
44    spi {
45        #address-cells = <1>;
46        #size-cells = <0>;
47
48        panel: panel@0 {
49            compatible = "tpo,td043mtea1";
50            reg = <0>;
51            spi-max-frequency = <100000>;
52            spi-cpol;
53            spi-cpha;
54
55            label = "lcd";
56
57            reset-gpios = <&gpio7 7 0>;
58
59            port {
60                lcd_in: endpoint {
61                    remote-endpoint = <&dpi_out>;
62                };
63            };
64        };
65    };
66
67...
68