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
9description: |
10  The panel must obey the rules for a SPI slave device as specified in
11  spi/spi-controller.yaml
12
13maintainers:
14  - Tomi Valkeinen <tomi.valkeinen@ti.com>
15
16allOf:
17  - $ref: panel-common.yaml#
18
19properties:
20  compatible:
21    const: lgphilips,lb035q02
22
23  label: true
24  enable-gpios: true
25  port: 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