xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/raydium,rm69380.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/raydium,rm69380.yaml#
57d0873ebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
67d0873ebSEmmanuel Vadot
77d0873ebSEmmanuel Vadottitle: Raydium RM69380-based DSI display panels
87d0873ebSEmmanuel Vadot
97d0873ebSEmmanuel Vadotmaintainers:
107d0873ebSEmmanuel Vadot  - David Wronek <david@mainlining.org>
117d0873ebSEmmanuel Vadot
127d0873ebSEmmanuel Vadotdescription:
137d0873ebSEmmanuel Vadot  The Raydium RM69380 is a generic DSI panel IC used to control
147d0873ebSEmmanuel Vadot  OLED panels.
157d0873ebSEmmanuel Vadot
167d0873ebSEmmanuel VadotallOf:
177d0873ebSEmmanuel Vadot  - $ref: panel-common-dual.yaml#
187d0873ebSEmmanuel Vadot
197d0873ebSEmmanuel Vadotproperties:
207d0873ebSEmmanuel Vadot  compatible:
217d0873ebSEmmanuel Vadot    items:
227d0873ebSEmmanuel Vadot      - enum:
237d0873ebSEmmanuel Vadot          - lenovo,j716f-edo-rm69380
247d0873ebSEmmanuel Vadot      - const: raydium,rm69380
257d0873ebSEmmanuel Vadot    description: This indicates the panel manufacturer of the panel
267d0873ebSEmmanuel Vadot      that is in turn using the RM69380 panel driver. The compatible
277d0873ebSEmmanuel Vadot      string determines how the RM69380 panel driver shall be configured
287d0873ebSEmmanuel Vadot      to work with the indicated panel. The raydium,rm69380 compatible shall
297d0873ebSEmmanuel Vadot      always be provided as a fallback.
307d0873ebSEmmanuel Vadot
31*0e8011faSEmmanuel Vadot  reg:
32*0e8011faSEmmanuel Vadot    maxItems: 1
33*0e8011faSEmmanuel Vadot
347d0873ebSEmmanuel Vadot  avdd-supply:
357d0873ebSEmmanuel Vadot    description: Analog voltage rail
367d0873ebSEmmanuel Vadot
377d0873ebSEmmanuel Vadot  vddio-supply:
387d0873ebSEmmanuel Vadot    description: I/O voltage rail
397d0873ebSEmmanuel Vadot
407d0873ebSEmmanuel Vadot  reset-gpios:
417d0873ebSEmmanuel Vadot    maxItems: 1
427d0873ebSEmmanuel Vadot    description: phandle of gpio for reset line - This should be active low
437d0873ebSEmmanuel Vadot
447d0873ebSEmmanuel Vadotrequired:
457d0873ebSEmmanuel Vadot  - compatible
467d0873ebSEmmanuel Vadot  - reg
477d0873ebSEmmanuel Vadot  - avdd-supply
487d0873ebSEmmanuel Vadot  - vddio-supply
497d0873ebSEmmanuel Vadot  - reset-gpios
507d0873ebSEmmanuel Vadot
517d0873ebSEmmanuel VadotunevaluatedProperties: false
527d0873ebSEmmanuel Vadot
537d0873ebSEmmanuel Vadotexamples:
547d0873ebSEmmanuel Vadot  - |
557d0873ebSEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
567d0873ebSEmmanuel Vadot
577d0873ebSEmmanuel Vadot    dsi {
587d0873ebSEmmanuel Vadot        #address-cells = <1>;
597d0873ebSEmmanuel Vadot        #size-cells = <0>;
607d0873ebSEmmanuel Vadot
617d0873ebSEmmanuel Vadot        panel@0 {
627d0873ebSEmmanuel Vadot            compatible = "lenovo,j716f-edo-rm69380", "raydium,rm69380";
637d0873ebSEmmanuel Vadot            reg = <0>;
647d0873ebSEmmanuel Vadot
657d0873ebSEmmanuel Vadot            avdd-supply = <&panel_avdd_regulator>;
667d0873ebSEmmanuel Vadot            vddio-supply = <&vreg_l14a>;
677d0873ebSEmmanuel Vadot            reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>;
687d0873ebSEmmanuel Vadot
697d0873ebSEmmanuel Vadot            ports {
707d0873ebSEmmanuel Vadot                #address-cells = <1>;
717d0873ebSEmmanuel Vadot                #size-cells = <0>;
727d0873ebSEmmanuel Vadot
737d0873ebSEmmanuel Vadot                port@0 {
747d0873ebSEmmanuel Vadot                    reg = <0>;
757d0873ebSEmmanuel Vadot                    panel_in_0: endpoint {
767d0873ebSEmmanuel Vadot                        remote-endpoint = <&mdss_dsi0_out>;
777d0873ebSEmmanuel Vadot                    };
787d0873ebSEmmanuel Vadot                };
797d0873ebSEmmanuel Vadot
807d0873ebSEmmanuel Vadot                port@1 {
817d0873ebSEmmanuel Vadot                    reg = <1>;
827d0873ebSEmmanuel Vadot                    panel_in_1: endpoint {
837d0873ebSEmmanuel Vadot                        remote-endpoint = <&mdss_dsi1_out>;
847d0873ebSEmmanuel Vadot                    };
857d0873ebSEmmanuel Vadot                };
867d0873ebSEmmanuel Vadot            };
877d0873ebSEmmanuel Vadot        };
887d0873ebSEmmanuel Vadot    };
897d0873ebSEmmanuel Vadot
907d0873ebSEmmanuel Vadot...
91