xref: /linux/Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml (revision 3daee2e4b3568f0ed88b0598df96547fcf21cb9b)
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  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
30required:
31  - compatible
32  - enable-gpios
33  - port
34
35unevaluatedProperties: false
36
37examples:
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...
63