0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/tpo,td.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Toppoly TD Panels
0008
0009 maintainers:
0010 - Marek Belisko <marek@goldelico.com>
0011 - H. Nikolaus Schaller <hns@goldelico.com>
0012
0013 allOf:
0014 - $ref: panel-common.yaml#
0015 - $ref: /schemas/spi/spi-peripheral-props.yaml#
0016
0017 properties:
0018 compatible:
0019 enum:
0020 # Toppoly TD028TTEC1 Panel
0021 - tpo,td028ttec1
0022 # Toppoly TD043MTEA1 Panel
0023 - tpo,td043mtea1
0024
0025 reg: true
0026 label: true
0027 reset-gpios: true
0028 backlight: true
0029 port: true
0030
0031 spi-cpha: true
0032 spi-cpol: true
0033
0034 required:
0035 - compatible
0036 - port
0037
0038 unevaluatedProperties: false
0039
0040 examples:
0041 - |
0042 spi {
0043 #address-cells = <1>;
0044 #size-cells = <0>;
0045
0046 panel: panel@0 {
0047 compatible = "tpo,td043mtea1";
0048 reg = <0>;
0049 spi-max-frequency = <100000>;
0050 spi-cpol;
0051 spi-cpha;
0052
0053 label = "lcd";
0054
0055 reset-gpios = <&gpio7 7 0>;
0056
0057 port {
0058 lcd_in: endpoint {
0059 remote-endpoint = <&dpi_out>;
0060 };
0061 };
0062 };
0063 };
0064
0065 ...