xref: /linux/Documentation/devicetree/bindings/display/panel/raydium,rm69380.yaml (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
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/raydium,rm69380.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Raydium RM69380-based DSI display panels
8
9maintainers:
10  - David Wronek <david@mainlining.org>
11
12description:
13  The Raydium RM69380 is a generic DSI panel IC used to control
14  OLED panels.
15
16allOf:
17  - $ref: panel-common-dual.yaml#
18
19properties:
20  compatible:
21    items:
22      - enum:
23          - lenovo,j716f-edo-rm69380
24      - const: raydium,rm69380
25    description: This indicates the panel manufacturer of the panel
26      that is in turn using the RM69380 panel driver. The compatible
27      string determines how the RM69380 panel driver shall be configured
28      to work with the indicated panel. The raydium,rm69380 compatible shall
29      always be provided as a fallback.
30
31  reg:
32    maxItems: 1
33
34  avdd-supply:
35    description: Analog voltage rail
36
37  vddio-supply:
38    description: I/O voltage rail
39
40  reset-gpios:
41    maxItems: 1
42    description: phandle of gpio for reset line - This should be active low
43
44required:
45  - compatible
46  - reg
47  - avdd-supply
48  - vddio-supply
49  - reset-gpios
50
51unevaluatedProperties: false
52
53examples:
54  - |
55    #include <dt-bindings/gpio/gpio.h>
56
57    dsi {
58        #address-cells = <1>;
59        #size-cells = <0>;
60
61        panel@0 {
62            compatible = "lenovo,j716f-edo-rm69380", "raydium,rm69380";
63            reg = <0>;
64
65            avdd-supply = <&panel_avdd_regulator>;
66            vddio-supply = <&vreg_l14a>;
67            reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>;
68
69            ports {
70                #address-cells = <1>;
71                #size-cells = <0>;
72
73                port@0 {
74                    reg = <0>;
75                    panel_in_0: endpoint {
76                        remote-endpoint = <&mdss_dsi0_out>;
77                    };
78                };
79
80                port@1 {
81                    reg = <1>;
82                    panel_in_1: endpoint {
83                        remote-endpoint = <&mdss_dsi1_out>;
84                    };
85                };
86            };
87        };
88    };
89
90...
91