xref: /linux/Documentation/devicetree/bindings/display/panel/lg,sw43408.yaml (revision c94cd9508b1335b949fd13ebd269313c65492df0)
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:
25    maxItems: 1
26
27  port: true
28  vddi-supply: true
29  vpnl-supply: true
30  reset-gpios: true
31
32required:
33  - compatible
34  - vddi-supply
35  - vpnl-supply
36  - reset-gpios
37
38additionalProperties: false
39
40examples:
41  - |
42    #include <dt-bindings/gpio/gpio.h>
43
44    dsi {
45        #address-cells = <1>;
46        #size-cells = <0>;
47
48        panel@0 {
49            compatible = "lg,sw43408";
50            reg = <0>;
51
52            vddi-supply = <&vreg_l14a_1p88>;
53            vpnl-supply = <&vreg_l28a_3p0>;
54
55            reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
56
57            port {
58                endpoint {
59                    remote-endpoint = <&mdss_dsi0_out>;
60                };
61            };
62        };
63    };
64...
65