blob: b17765b2b351be289c82d439b2651248913b4a05 [file] [log] [blame]
Tom Rini762f85b2024-07-20 11:15:10 -06001# 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 avdd-supply:
32 description: Analog voltage rail
33
34 vddio-supply:
35 description: I/O voltage rail
36
37 reset-gpios:
38 maxItems: 1
39 description: phandle of gpio for reset line - This should be active low
40
41 reg: true
42
43required:
44 - compatible
45 - reg
46 - avdd-supply
47 - vddio-supply
48 - reset-gpios
49
50unevaluatedProperties: false
51
52examples:
53 - |
54 #include <dt-bindings/gpio/gpio.h>
55
56 dsi {
57 #address-cells = <1>;
58 #size-cells = <0>;
59
60 panel@0 {
61 compatible = "lenovo,j716f-edo-rm69380", "raydium,rm69380";
62 reg = <0>;
63
64 avdd-supply = <&panel_avdd_regulator>;
65 vddio-supply = <&vreg_l14a>;
66 reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>;
67
68 ports {
69 #address-cells = <1>;
70 #size-cells = <0>;
71
72 port@0 {
73 reg = <0>;
74 panel_in_0: endpoint {
75 remote-endpoint = <&mdss_dsi0_out>;
76 };
77 };
78
79 port@1 {
80 reg = <1>;
81 panel_in_1: endpoint {
82 remote-endpoint = <&mdss_dsi1_out>;
83 };
84 };
85 };
86 };
87 };
88
89...