| 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 <[email protected]> |
| 11 |
- H. Nikolaus Schaller <[email protected]> |
| 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: |
| 26 |
maxItems: 1 |
| 27 |
|
| 28 |
label: true |
| 29 |
reset-gpios: true |
| 30 |
backlight: true |
| 31 |
port: true |
| 32 |
|
| 33 |
spi-cpha: true |
| 34 |
spi-cpol: true |
| 35 |
|
| 36 |
required: |
| 37 |
- compatible |
| 38 |
- port |
| 39 |
|
| 40 |
unevaluatedProperties: false |
| 41 |
|
| 42 |
examples: |
| 43 |
- | |
| 44 |
spi { |
| 45 |
#address-cells = <1>; |
| 46 |
#size-cells = <0>; |
| 47 |
|
| 48 |
panel: panel@0 { |
| 49 |
compatible = "tpo,td043mtea1"; |
| 50 |
reg = <0>; |
| 51 |
spi-max-frequency = <100000>; |
| 52 |
spi-cpol; |
| 53 |
spi-cpha; |
| 54 |
|
| 55 |
label = "lcd"; |
| 56 |
|
| 57 |
reset-gpios = <&gpio7 7 0>; |
| 58 |
|
| 59 |
port { |
| 60 |
lcd_in: endpoint { |
| 61 |
remote-endpoint = <&dpi_out>; |
| 62 |
}; |
| 63 |
}; |
| 64 |
}; |
| 65 |
}; |
| 66 |
|
| 67 |
... |