GNU Linux-libre 5.19-rc6-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 required:
32   - compatible
33   - port
34
35 unevaluatedProperties: false
36
37 examples:
38   - |
39     spi {
40         #address-cells = <1>;
41         #size-cells = <0>;
42
43         panel: panel@0 {
44             compatible = "tpo,td043mtea1";
45             reg = <0>;
46             spi-max-frequency = <100000>;
47             spi-cpol;
48             spi-cpha;
49
50             label = "lcd";
51
52             reset-gpios = <&gpio7 7 0>;
53
54             port {
55                 lcd_in: endpoint {
56                     remote-endpoint = <&dpi_out>;
57                 };
58             };
59         };
60     };
61
62 ...