xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/raydium,rm67191.yaml (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
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    enum: [3, 4]
28
29  v3p3-supply:
30    description: phandle to 3.3V regulator that powers the VDD_3V3 pin
31
32  v1p8-supply:
33    description: phandle to 1.8V regulator that powers the VDD_1V8 pin
34
35  video-mode:
36    description: |
37      0 - burst-mode
38      1 - non-burst with sync event
39      2 - non-burst with sync pulse
40    enum: [0, 1, 2]
41
42required:
43  - compatible
44  - reg
45  - dsi-lanes
46  - port
47
48additionalProperties: false
49
50examples:
51  - |
52    #include <dt-bindings/gpio/gpio.h>
53
54    dsi {
55        #address-cells = <1>;
56        #size-cells = <0>;
57
58        panel@0 {
59            compatible = "raydium,rm67191";
60            reg = <0>;
61            reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
62            dsi-lanes = <4>;
63            width-mm = <68>;
64            height-mm = <121>;
65            video-mode = <1>;
66
67            port {
68                panel_in: endpoint {
69                    remote-endpoint = <&mipi_out>;
70                };
71            };
72        };
73    };
74
75...
76