1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/lg,sw43408.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: LG SW43408 1080x2160 DSI panel
8
9maintainers:
10  - Caleb Connolly <caleb.connolly@linaro.org>
11
12description:
13  This panel is used on the Pixel 3, it is a 60hz OLED panel which
14  required DSC (Display Stream Compression) and has rounded corners.
15
16allOf:
17  - $ref: panel-common.yaml#
18
19properties:
20  compatible:
21    items:
22      - const: lg,sw43408
23
24  reg: true
25  port: true
26  vddi-supply: true
27  vpnl-supply: true
28  reset-gpios: true
29
30required:
31  - compatible
32  - vddi-supply
33  - vpnl-supply
34  - reset-gpios
35
36additionalProperties: false
37
38examples:
39  - |
40    #include <dt-bindings/gpio/gpio.h>
41
42    dsi {
43        #address-cells = <1>;
44        #size-cells = <0>;
45
46        panel@0 {
47            compatible = "lg,sw43408";
48            reg = <0>;
49
50            vddi-supply = <&vreg_l14a_1p88>;
51            vpnl-supply = <&vreg_l28a_3p0>;
52
53            reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
54
55            port {
56                endpoint {
57                    remote-endpoint = <&mdss_dsi0_out>;
58                };
59            };
60        };
61    };
62...
63