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 7title: Toppoly TD Panels 8 9description: | 10 The panel must obey the rules for a SPI slave device as specified in 11 spi/spi-controller.yaml 12 13maintainers: 14 - Marek Belisko <marek@goldelico.com> 15 - H. Nikolaus Schaller <hns@goldelico.com> 16 17allOf: 18 - $ref: panel-common.yaml# 19 20properties: 21 compatible: 22 enum: 23 # Toppoly TD028TTEC1 Panel 24 - tpo,td028ttec1 25 # Toppoly TD043MTEA1 Panel 26 - tpo,td043mtea1 27 28 reg: true 29 label: true 30 reset-gpios: true 31 backlight: true 32 port: true 33 34required: 35 - compatible 36 - port 37 38unevaluatedProperties: false 39 40examples: 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... 66