xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/raydium,rm67191.yaml (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
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    $ref: /schemas/types.yaml#/definitions/uint32
42    enum: [0, 1, 2]
43
44required:
45  - compatible
46  - reg
47  - dsi-lanes
48  - port
49
50additionalProperties: 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 = "raydium,rm67191";
62            reg = <0>;
63            reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
64            dsi-lanes = <4>;
65            width-mm = <68>;
66            height-mm = <121>;
67            video-mode = <1>;
68
69            port {
70                panel_in: endpoint {
71                    remote-endpoint = <&mipi_out>;
72                };
73            };
74        };
75    };
76
77...
78