| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/display/panel/lgphilips,lb035q02.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: LG.Philips LB035Q02 Panel |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Tomi Valkeinen <[email protected]> |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: panel-common.yaml# |
| 14 |
- $ref: /schemas/spi/spi-peripheral-props.yaml# |
| 15 |
|
| 16 |
properties: |
| 17 |
compatible: |
| 18 |
const: lgphilips,lb035q02 |
| 19 |
|
| 20 |
reg: |
| 21 |
maxItems: 1 |
| 22 |
|
| 23 |
label: true |
| 24 |
enable-gpios: true |
| 25 |
port: true |
| 26 |
|
| 27 |
spi-cpha: true |
| 28 |
spi-cpol: true |
| 29 |
|
| 30 |
required: |
| 31 |
- compatible |
| 32 |
- enable-gpios |
| 33 |
- port |
| 34 |
|
| 35 |
unevaluatedProperties: false |
| 36 |
|
| 37 |
examples: |
| 38 |
- | |
| 39 |
spi { |
| 40 |
#address-cells = <1>; |
| 41 |
#size-cells = <0>; |
| 42 |
|
| 43 |
panel: panel@0 { |
| 44 |
compatible = "lgphilips,lb035q02"; |
| 45 |
reg = <0>; |
| 46 |
spi-max-frequency = <100000>; |
| 47 |
spi-cpol; |
| 48 |
spi-cpha; |
| 49 |
|
| 50 |
label = "lcd"; |
| 51 |
|
| 52 |
enable-gpios = <&gpio7 7 0>; |
| 53 |
|
| 54 |
port { |
| 55 |
lcd_in: endpoint { |
| 56 |
remote-endpoint = <&dpi_out>; |
| 57 |
}; |
| 58 |
}; |
| 59 |
}; |
| 60 |
}; |
| 61 |
|
| 62 |
... |