summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt
blob: efda9db05eec9f0d202a7ccae1e7322786e689ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Raydium RM67171 OLED LCD panel with MIPI-DSI protocol

Required properties:
- compatible: 		"raydium,rm67191"
- reg:			virtual channel for MIPI-DSI protocol
			must be <0>
- dsi-lanes:		number of DSI lanes to be used
			must be <3> or <4>
- port: 		input port node with endpoint definition as
			defined in Documentation/devicetree/bindings/graph.txt;
			the input port should be connected to a MIPI-DSI device
			driver

Optional properties:
- reset-gpio:		a GPIO spec for the RST_B GPIO pin
- display-timings:	timings for the connected panel according to [1]
- pinctrl-0		phandle to the pin settings for the reset pin
- panel-width-mm:	physical panel width [mm]
- panel-height-mm:	physical panel height [mm]
- video-mode:		Video data transfer mode
			must be <0>, <1> or <2> as
			follows:
			    <0>: Burst mode
			    <1>: Non-burst mode with sync event
			    <2>: Non-burst mode with sync pulse

[1]: Documentation/devicetree/bindings/display/display-timing.txt

Example:

	panel@0 {
		compatible = "raydium,rm67191";
		reg = <0>;
		pinctrl-0 = <&pinctrl_mipi_dsi_0_1_en>;
		reset-gpio = <&gpio1 7 GPIO_ACTIVE_HIGH>;
		dsi-lanes = <4>;
		panel-width-mm = <68>;
		panel-height-mm = <121>;
		display-timings {
			timing {
				clock-frequency = <132000000>;
				hactive = <1080>;
				vactive = <1920>;
				hback-porch = <11>;
				hfront-porch = <4>;
				vback-porch = <48>;
				vfront-porch = <20>;
				hsync-len = <5>;
				vsync-len = <12>;
				hsync-active = <0>;
				vsync-active = <0>;
				de-active = <0>;
				pixelclk-active = <0>;
			};
		};
		port {
			panel1_in: endpoint {
				remote-endpoint = <&mipi1_out>;
			};
		};
	};