summaryrefslogtreecommitdiff
path: root/overlays/display-lp156wf1_sn65dsi84_overlay.dtsi
blob: 093f72515eac01e35c7e238b3126f83fe38e878e (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
62
63
64
65
66
67
68
69
70
71
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
 * Copyright 2020-2022 Toradex
 */

// Display timing for LP156WF1 panel 1920x1080p60. Standard: SMPTE 274M

&lvds_ti_sn65dsi84 {
	ports {
		#address-cells = <1>;
		#size-cells = <0>;

		port@2 {
			reg = <2>;

			lvds_out_panel_odd: endpoint {
				remote-endpoint = <&panel_in_odd>;
			};
		};

		port@3 {
			reg = <3>;

			lvds_out_panel_even: endpoint {
				remote-endpoint = <&panel_in_even>;
			};
		};
	};
};

&panel_lvds {
	compatible = "panel-lvds";
	backlight = <&backlight>;
	data-mapping = "jeida-18";
	height-mm = <198>;
	width-mm = <348>;
	status = "okay";

	panel-timing {
		clock-frequency = <138500000>;
		hactive = <1920>;
		vactive = <1080>;
		hsync-len = <32>;
		hfront-porch = <48>;
		hback-porch = <80>;
		vfront-porch = <9>;
		vback-porch = <23>;
		vsync-len = <5>;
	};

	ports {
		#address-cells = <1>;
		#size-cells = <0>;

		port@0 {
			reg = <0>;
			dual-lvds-odd-pixels;
			panel_in_odd: endpoint {
				remote-endpoint = <&lvds_out_panel_odd>;
			};
		};

		port@1 {
			reg = <1>;
			dual-lvds-even-pixels;
			panel_in_even: endpoint {
				remote-endpoint = <&lvds_out_panel_even>;
			};
		};
	};
};