summaryrefslogtreecommitdiffstats
path: root/bsp/meta-rcar/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0348-Bunch-update-of-r8a77980-v3hsk-vb-4ch.dts.patch
blob: 68985e0cb212b280c28b8ad481c0fe656a66815c (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
From c374786365b9051f341f9fbe1b3f6094a39b0c09 Mon Sep 17 00:00:00 2001
From: Andrey Dolnikov <andrey.dolnikov@cogentembedded.com>
Date: Wed, 7 Nov 2018 14:15:35 +0300
Subject: [PATCH 168/211] Bunch update of r8a77980-v3hsk-vb-4ch.dts...

...to avoid cherry-pick of patched patches...
---
 .../boot/dts/renesas/r8a77980-v3hsk-vb-4ch.dts     | 30 ++++++++++++----------
 1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-4ch.dts b/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-4ch.dts
index 406ff2f..76855c4 100644
--- a/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-4ch.dts
+++ b/arch/arm64/boot/dts/renesas/r8a77980-v3hsk-vb-4ch.dts
@@ -115,7 +115,7 @@
 		csi2_40_ep: endpoint {
 			clock-lanes = <0>;
 			data-lanes = <1 2 3 4>;
-			csi-rate = <1450>;
+			csi-rate = <1500>;
 		};
 	};
 };
@@ -130,7 +130,7 @@
 		csi2_41_ep: endpoint {
 			clock-lanes = <0>;
 			data-lanes = <1 2 3 4>;
-			csi-rate = <1450>;
+			csi-rate = <1500>;
 		};
 	};
 };
@@ -200,7 +200,7 @@
 					ov106xx_in2: endpoint {
 						clock-lanes = <0>;
 						data-lanes = <1 2 3 4>;
-						remote-endpoint = <&vin6ep0>;
+						remote-endpoint = <&vin4ep0>;
 					};
 				};
 				port@1 {
@@ -218,7 +218,7 @@
 					ov106xx_in3: endpoint {
 						clock-lanes = <0>;
 						data-lanes = <1 2 3 4>;
-						remote-endpoint = <&vin7ep0>;
+						remote-endpoint = <&vin5ep0>;
 					};
 				};
 				port@1 {
@@ -237,6 +237,8 @@
 				ti,lanes = <4>;
 				ti,forwarding-mode = "round-robin";
 				ti,cable-mode = "coax";
+				ti,vc-map = <0x1010>;
+				ti,csi1-links = <0 1>;
 				gpios = <&gpio_exp_ch0 13 GPIO_ACTIVE_LOW>;
 				POC0-gpios = <&gpio_exp_ch0 8 GPIO_ACTIVE_HIGH>;
 				POC1-gpios = <&gpio_exp_ch0 9 GPIO_ACTIVE_HIGH>;
@@ -267,7 +269,7 @@
 				};
 				port@1 {
 					ti9x4_csi0ep0: endpoint {
-						csi-rate = <1450>;
+						csi-rate = <1500>;
 						remote-endpoint = <&csi2_40_ep>;
 					};
 				};
@@ -322,7 +324,7 @@
 				clock-names = "clk_in";
 
 				assigned-clocks = <&cs2300>;
-				assigned-clock-rates = <22500000>;
+				assigned-clock-rates = <23500000>;
 			};
 		};
 
@@ -566,7 +568,7 @@
 	};
 };
 
-&vin6 {
+&vin4 {
 	status = "okay";
 
 	ports {
@@ -574,9 +576,9 @@
 		#size-cells = <0>;
 
 		port@0 {
-			vin6ep0: endpoint {
+			vin4ep0: endpoint {
 				csi,select = "csi41";
-				virtual,channel = <2>;
+				virtual,channel = <0>;
 				data-lanes = <1 2 3 4>;
 				remote-endpoint = <&ov106xx_in2>;
 			};
@@ -587,14 +589,14 @@
 			};
 		};
 		port@2 {
-			vin6_ti9x4_des0ep2: endpoint@1 {
+			vin4_ti9x4_des0ep2: endpoint@1 {
 				remote-endpoint = <&ti9x4_des0ep2>;
 			};
 		};
 	};
 };
 
-&vin7 {
+&vin5 {
 	status = "okay";
 
 	ports {
@@ -602,9 +604,9 @@
 		#size-cells = <0>;
 
 		port@0 {
-			vin7ep0: endpoint {
+			vin5ep0: endpoint {
 				csi,select = "csi41";
-				virtual,channel = <3>;
+				virtual,channel = <1>;
 				data-lanes = <1 2 3 4>;
 				remote-endpoint = <&ov106xx_in3>;
 			};
@@ -615,7 +617,7 @@
 			};
 		};
 		port@2 {
-			vin7_ti9x4_des0ep3: endpoint@1 {
+			vin5_ti9x4_des0ep3: endpoint@1 {
 				remote-endpoint = <&ti9x4_des0ep3>;
 			};
 		};
-- 
2.7.4