xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/lg,sw43408.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
17d0873ebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
27d0873ebSEmmanuel Vadot%YAML 1.2
37d0873ebSEmmanuel Vadot---
47d0873ebSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/lg,sw43408.yaml#
57d0873ebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
67d0873ebSEmmanuel Vadot
77d0873ebSEmmanuel Vadottitle: LG SW43408 1080x2160 DSI panel
87d0873ebSEmmanuel Vadot
97d0873ebSEmmanuel Vadotmaintainers:
107d0873ebSEmmanuel Vadot  - Caleb Connolly <caleb.connolly@linaro.org>
117d0873ebSEmmanuel Vadot
127d0873ebSEmmanuel Vadotdescription:
137d0873ebSEmmanuel Vadot  This panel is used on the Pixel 3, it is a 60hz OLED panel which
147d0873ebSEmmanuel Vadot  required DSC (Display Stream Compression) and has rounded corners.
157d0873ebSEmmanuel Vadot
167d0873ebSEmmanuel VadotallOf:
177d0873ebSEmmanuel Vadot  - $ref: panel-common.yaml#
187d0873ebSEmmanuel Vadot
197d0873ebSEmmanuel Vadotproperties:
207d0873ebSEmmanuel Vadot  compatible:
217d0873ebSEmmanuel Vadot    items:
227d0873ebSEmmanuel Vadot      - const: lg,sw43408
237d0873ebSEmmanuel Vadot
24*0e8011faSEmmanuel Vadot  reg:
25*0e8011faSEmmanuel Vadot    maxItems: 1
26*0e8011faSEmmanuel Vadot
277d0873ebSEmmanuel Vadot  port: true
287d0873ebSEmmanuel Vadot  vddi-supply: true
297d0873ebSEmmanuel Vadot  vpnl-supply: true
307d0873ebSEmmanuel Vadot  reset-gpios: true
317d0873ebSEmmanuel Vadot
327d0873ebSEmmanuel Vadotrequired:
337d0873ebSEmmanuel Vadot  - compatible
347d0873ebSEmmanuel Vadot  - vddi-supply
357d0873ebSEmmanuel Vadot  - vpnl-supply
367d0873ebSEmmanuel Vadot  - reset-gpios
377d0873ebSEmmanuel Vadot
387d0873ebSEmmanuel VadotadditionalProperties: false
397d0873ebSEmmanuel Vadot
407d0873ebSEmmanuel Vadotexamples:
417d0873ebSEmmanuel Vadot  - |
427d0873ebSEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
437d0873ebSEmmanuel Vadot
447d0873ebSEmmanuel Vadot    dsi {
457d0873ebSEmmanuel Vadot        #address-cells = <1>;
467d0873ebSEmmanuel Vadot        #size-cells = <0>;
477d0873ebSEmmanuel Vadot
487d0873ebSEmmanuel Vadot        panel@0 {
497d0873ebSEmmanuel Vadot            compatible = "lg,sw43408";
507d0873ebSEmmanuel Vadot            reg = <0>;
517d0873ebSEmmanuel Vadot
527d0873ebSEmmanuel Vadot            vddi-supply = <&vreg_l14a_1p88>;
537d0873ebSEmmanuel Vadot            vpnl-supply = <&vreg_l28a_3p0>;
547d0873ebSEmmanuel Vadot
557d0873ebSEmmanuel Vadot            reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
567d0873ebSEmmanuel Vadot
577d0873ebSEmmanuel Vadot            port {
587d0873ebSEmmanuel Vadot                endpoint {
597d0873ebSEmmanuel Vadot                    remote-endpoint = <&mdss_dsi0_out>;
607d0873ebSEmmanuel Vadot                };
617d0873ebSEmmanuel Vadot            };
627d0873ebSEmmanuel Vadot        };
637d0873ebSEmmanuel Vadot    };
647d0873ebSEmmanuel Vadot...
65