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
7title: LG.Philips LB035Q02 Panel
8
9maintainers:
10  - Tomi Valkeinen <tomi.valkeinen@ti.com>
11
12allOf:
13  - $ref: panel-common.yaml#
14  - $ref: /schemas/spi/spi-peripheral-props.yaml#
15
16properties:
17  compatible:
18    const: lgphilips,lb035q02
19
20  label: true
21  enable-gpios: true
22  port: true
23
24  spi-cpha: true
25  spi-cpol: true
26
27required:
28  - compatible
29  - enable-gpios
30  - port
31
32unevaluatedProperties: false
33
34examples:
35  - |
36    spi {
37        #address-cells = <1>;
38        #size-cells = <0>;
39
40        panel: panel@0 {
41            compatible = "lgphilips,lb035q02";
42            reg = <0>;
43            spi-max-frequency = <100000>;
44            spi-cpol;
45            spi-cpha;
46
47            label = "lcd";
48
49            enable-gpios = <&gpio7 7 0>;
50
51            port {
52                lcd_in: endpoint {
53                    remote-endpoint = <&dpi_out>;
54                };
55            };
56        };
57    };
58
59...
60