Sam Ravnborg | 5717f3b8 | 2020-04-08 21:51:07 +0200 | [diff] [blame] | 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 | |
Sam Ravnborg | 5717f3b8 | 2020-04-08 21:51:07 +0200 | [diff] [blame] | 9 | maintainers: |
| 10 | - Tomi Valkeinen <tomi.valkeinen@ti.com> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: panel-common.yaml# |
Rob Herring | c476d43 | 2021-12-21 08:52:09 -0400 | [diff] [blame] | 14 | - $ref: /schemas/spi/spi-peripheral-props.yaml# |
Sam Ravnborg | 5717f3b8 | 2020-04-08 21:51:07 +0200 | [diff] [blame] | 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | const: lgphilips,lb035q02 |
| 19 | |
| 20 | label: true |
| 21 | enable-gpios: true |
| 22 | port: true |
| 23 | |
| 24 | required: |
| 25 | - compatible |
| 26 | - enable-gpios |
| 27 | - port |
| 28 | |
| 29 | unevaluatedProperties: false |
| 30 | |
| 31 | examples: |
| 32 | - | |
| 33 | spi { |
| 34 | #address-cells = <1>; |
| 35 | #size-cells = <0>; |
| 36 | |
| 37 | panel: panel@0 { |
| 38 | compatible = "lgphilips,lb035q02"; |
| 39 | reg = <0>; |
| 40 | spi-max-frequency = <100000>; |
| 41 | spi-cpol; |
| 42 | spi-cpha; |
| 43 | |
| 44 | label = "lcd"; |
| 45 | |
| 46 | enable-gpios = <&gpio7 7 0>; |
| 47 | |
| 48 | port { |
| 49 | lcd_in: endpoint { |
| 50 | remote-endpoint = <&dpi_out>; |
| 51 | }; |
| 52 | }; |
| 53 | }; |
| 54 | }; |
| 55 | |
| 56 | ... |