hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/arm64/boot/dts/rockchip/rk3567-evb2-lp4x-v10-dual-lvds.dts
similarity index 71%copy from kernel/arch/arm64/boot/dts/rockchip/rk3567-evb2-lp4x-v10-dual-lvds.dtscopy to kernel/arch/arm64/boot/dts/rockchip/rk3567-evb2-lp4x-v10-single-channel-lvds.dts
....@@ -13,9 +13,10 @@
1313 #include "rk3568-android.dtsi"
1414
1515 / {
16
- model = "Rockchip RK3567 EVB2 LP4X V10 Board";
17
- compatible = "rockchip,rk3567-evb2-lp4x-v10", "rockchip,rk3567";
16
+ model = "Rockchip RK3567 EVB2 LP4X V10 Board with single channel lvds";
17
+ compatible = "rockchip,rk3567-evb2-lp4x-v10-single-channel-lvds", "rockchip,rk3567";
1818
19
+ /* panel: claa070wp03xg */
1920 panel {
2021 compatible = "simple-panel";
2122 backlight = <&backlight>;
....@@ -30,17 +31,16 @@
3031
3132 display-timings {
3233 native-mode = <&timing0>;
33
-
3434 timing0: timing0 {
35
- clock-frequency = <134000000>;
36
- hactive = <1600>;
35
+ clock-frequency = <67000000>;
36
+ hactive = <800>;
3737 vactive = <1280>;
3838 hback-porch = <60>;
3939 hfront-porch = <60>;
4040 vback-porch = <4>;
4141 vfront-porch = <2>;
4242 hsync-len = <8>;
43
- vsync-len = <2>;
43
+ vsync-len = <8>;
4444 hsync-active = <0>;
4545 vsync-active = <0>;
4646 de-active = <0>;
....@@ -51,91 +51,24 @@
5151 ports {
5252 #address-cells = <1>;
5353 #size-cells = <0>;
54
-
55
- /**
56
- * Panel <----> LVDS0
57
- * Panel <----> LVDS1
58
- */
5954 port@0 {
6055 reg = <0>;
61
- dual-lvds-left-pixels;
6256 panel_in_lvds0: endpoint {
6357 remote-endpoint = <&lvds0_out_panel>;
6458 };
6559 };
66
- port@1 {
67
- reg = <1>;
68
- dual-lvds-right-pixels;
69
- panel_in_lvds1: endpoint {
70
- remote-endpoint = <&lvds1_out_panel>;
71
- };
72
- };
7360 };
7461 };
75
-};
76
-
77
-&backlight1 {
78
- status = "okay";
7962 };
8063
8164 &backlight {
8265 status = "okay";
8366 };
8467
85
-&lvds {
86
- status = "okay";
87
- dual-channel;
88
-
89
- ports {
90
- port@1 {
91
- reg = <1>;
92
- lvds0_out_panel: endpoint {
93
- remote-endpoint = <&panel_in_lvds0>;
94
- };
95
- };
96
- };
97
-};
98
-
99
-&lvds1 {
100
- status = "okay";
101
-
102
- ports {
103
- port@1 {
104
- reg = <1>;
105
- lvds1_out_panel: endpoint {
106
- remote-endpoint = <&panel_in_lvds1>;
107
- };
108
- };
109
- };
110
-};
111
-
112
-&lvds_in_vp1 {
68
+&backlight1 {
11369 status = "okay";
11470 };
11571
116
-&lvds1_in_vp1 {
117
- status = "disabled";
118
-};
119
-
120
-&lvds1_in_vp2 {
121
- status = "okay";
122
-};
123
-
124
-/* enable hdmi */
125
-&hdmi_in_vp1 {
126
- status = "okay";
127
-};
128
-
129
-/* enable video phy */
130
-&video_phy0 {
131
- status = "okay";
132
-};
133
-
134
-&video_phy1 {
135
- status = "okay";
136
-};
137
-
138
-/* disable other encoder output */
13972 &dsi0 {
14073 status = "disabled";
14174 };
....@@ -156,10 +89,33 @@
15689 status = "disabled";
15790 };
15891
159
-&rgb_in_vp2 {
92
+&hdmi_in_vp1 {
93
+ status = "okay";
94
+};
95
+
96
+&lvds0 {
97
+ status = "okay";
98
+ ports {
99
+ port@1 {
100
+ reg = <1>;
101
+ lvds0_out_panel: endpoint {
102
+ remote-endpoint = <&panel_in_lvds0>;
103
+ };
104
+ };
105
+ };
106
+};
107
+
108
+&lvds0_in_vp1 {
109
+ status = "okay";
110
+};
111
+
112
+&lvds1 {
160113 status = "disabled";
161114 };
162115
116
+&rgb_in_vp2 {
117
+ status = "disabled";
118
+};
163119
164120 &vcc3v3_lcd0_n {
165121 gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
....@@ -170,3 +126,11 @@
170126 gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
171127 enable-active-high;
172128 };
129
+
130
+&video_phy0 {
131
+ status = "okay";
132
+};
133
+
134
+&video_phy1 {
135
+ status = "okay";
136
+};