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