GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / display / panel / tpo,td.yaml
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
7 title: Toppoly TD Panels
8
9 maintainers:
10   - Marek Belisko <marek@goldelico.com>
11   - H. Nikolaus Schaller <hns@goldelico.com>
12
13 allOf:
14   - $ref: panel-common.yaml#
15   - $ref: /schemas/spi/spi-peripheral-props.yaml#
16
17 properties:
18   compatible:
19     enum:
20         # Toppoly TD028TTEC1 Panel
21       - tpo,td028ttec1
22         # Toppoly TD043MTEA1 Panel
23       - tpo,td043mtea1
24
25   reg: true
26   label: true
27   reset-gpios: true
28   backlight: true
29   port: true
30
31   spi-cpha: true
32   spi-cpol: true
33
34 required:
35   - compatible
36   - port
37
38 unevaluatedProperties: false
39
40 examples:
41   - |
42     spi {
43         #address-cells = <1>;
44         #size-cells = <0>;
45
46         panel: panel@0 {
47             compatible = "tpo,td043mtea1";
48             reg = <0>;
49             spi-max-frequency = <100000>;
50             spi-cpol;
51             spi-cpha;
52
53             label = "lcd";
54
55             reset-gpios = <&gpio7 7 0>;
56
57             port {
58                 lcd_in: endpoint {
59                     remote-endpoint = <&dpi_out>;
60                 };
61             };
62         };
63     };
64
65 ...