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