xref: /linux/Documentation/devicetree/bindings/display/panel/tpo,td.yaml (revision 06f054b1fee83415fe35204845708988fc16ef22)
177aeb2d7SSam Ravnborg# SPDX-License-Identifier: GPL-2.0
277aeb2d7SSam Ravnborg%YAML 1.2
377aeb2d7SSam Ravnborg---
477aeb2d7SSam Ravnborg$id: http://devicetree.org/schemas/display/panel/tpo,td.yaml#
577aeb2d7SSam Ravnborg$schema: http://devicetree.org/meta-schemas/core.yaml#
677aeb2d7SSam Ravnborg
777aeb2d7SSam Ravnborgtitle: Toppoly TD Panels
877aeb2d7SSam Ravnborg
977aeb2d7SSam Ravnborgmaintainers:
1077aeb2d7SSam Ravnborg  - Marek Belisko <marek@goldelico.com>
1177aeb2d7SSam Ravnborg  - H. Nikolaus Schaller <hns@goldelico.com>
1277aeb2d7SSam Ravnborg
1377aeb2d7SSam RavnborgallOf:
1477aeb2d7SSam Ravnborg  - $ref: panel-common.yaml#
15c476d430SRob Herring  - $ref: /schemas/spi/spi-peripheral-props.yaml#
1677aeb2d7SSam Ravnborg
1777aeb2d7SSam Ravnborgproperties:
1877aeb2d7SSam Ravnborg  compatible:
1977aeb2d7SSam Ravnborg    enum:
2077aeb2d7SSam Ravnborg        # Toppoly TD028TTEC1 Panel
2177aeb2d7SSam Ravnborg      - tpo,td028ttec1
2277aeb2d7SSam Ravnborg        # Toppoly TD043MTEA1 Panel
2377aeb2d7SSam Ravnborg      - tpo,td043mtea1
2477aeb2d7SSam Ravnborg
25*6b2358ffSKrzysztof Kozlowski  reg:
26*6b2358ffSKrzysztof Kozlowski    maxItems: 1
27*6b2358ffSKrzysztof Kozlowski
2877aeb2d7SSam Ravnborg  label: true
2977aeb2d7SSam Ravnborg  reset-gpios: true
3077aeb2d7SSam Ravnborg  backlight: true
3177aeb2d7SSam Ravnborg  port: true
3277aeb2d7SSam Ravnborg
33233363abSKrzysztof Kozlowski  spi-cpha: true
34233363abSKrzysztof Kozlowski  spi-cpol: true
35233363abSKrzysztof Kozlowski
3677aeb2d7SSam Ravnborgrequired:
3777aeb2d7SSam Ravnborg  - compatible
3877aeb2d7SSam Ravnborg  - port
3977aeb2d7SSam Ravnborg
4077aeb2d7SSam RavnborgunevaluatedProperties: false
4177aeb2d7SSam Ravnborg
4277aeb2d7SSam Ravnborgexamples:
4377aeb2d7SSam Ravnborg  - |
4477aeb2d7SSam Ravnborg    spi {
4577aeb2d7SSam Ravnborg        #address-cells = <1>;
4677aeb2d7SSam Ravnborg        #size-cells = <0>;
4777aeb2d7SSam Ravnborg
4877aeb2d7SSam Ravnborg        panel: panel@0 {
4977aeb2d7SSam Ravnborg            compatible = "tpo,td043mtea1";
5077aeb2d7SSam Ravnborg            reg = <0>;
5177aeb2d7SSam Ravnborg            spi-max-frequency = <100000>;
5277aeb2d7SSam Ravnborg            spi-cpol;
5377aeb2d7SSam Ravnborg            spi-cpha;
5477aeb2d7SSam Ravnborg
5577aeb2d7SSam Ravnborg            label = "lcd";
5677aeb2d7SSam Ravnborg
5777aeb2d7SSam Ravnborg            reset-gpios = <&gpio7 7 0>;
5877aeb2d7SSam Ravnborg
5977aeb2d7SSam Ravnborg            port {
6077aeb2d7SSam Ravnborg                lcd_in: endpoint {
6177aeb2d7SSam Ravnborg                    remote-endpoint = <&dpi_out>;
6277aeb2d7SSam Ravnborg                };
6377aeb2d7SSam Ravnborg            };
6477aeb2d7SSam Ravnborg        };
6577aeb2d7SSam Ravnborg    };
6677aeb2d7SSam Ravnborg
6777aeb2d7SSam Ravnborg...
68