Debian Codegraph @

Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml

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