1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/panel/raydium,rm67191.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Raydium RM67171 OLED LCD panel with MIPI-DSI protocol
8
9maintainers:
10  - Robert Chiras <robert.chiras@nxp.com>
11
12allOf:
13  - $ref: panel-common.yaml#
14
15properties:
16  compatible:
17    const: raydium,rm67191
18
19  reg: true
20  port: true
21  reset-gpios: true
22  width-mm: true
23  height-mm: true
24
25  dsi-lanes:
26    description: Number of DSI lanes to be used must be <3> or <4>
27    $ref: /schemas/types.yaml#/definitions/uint32
28    enum: [3, 4]
29
30  v3p3-supply:
31    description: phandle to 3.3V regulator that powers the VDD_3V3 pin
32
33  v1p8-supply:
34    description: phandle to 1.8V regulator that powers the VDD_1V8 pin
35
36  video-mode:
37    description: |
38      0 - burst-mode
39      1 - non-burst with sync event
40      2 - non-burst with sync pulse
41    enum: [0, 1, 2]
42
43required:
44  - compatible
45  - reg
46  - dsi-lanes
47  - port
48
49additionalProperties: false
50
51examples:
52  - |
53    #include <dt-bindings/gpio/gpio.h>
54
55    dsi {
56        #address-cells = <1>;
57        #size-cells = <0>;
58
59        panel@0 {
60            compatible = "raydium,rm67191";
61            reg = <0>;
62            reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
63            dsi-lanes = <4>;
64            width-mm = <68>;
65            height-mm = <121>;
66            video-mode = <1>;
67
68            port {
69                panel_in: endpoint {
70                    remote-endpoint = <&mipi_out>;
71                };
72            };
73        };
74    };
75
76...
77