aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0107-V3H-device-tree-Add-VIP-devices-IRQs.patch
blob: 7198428049fa5731a1fde2c55196d7592108ac65 (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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
From 2ef84c77a4c536dc1996c2e6ca2dc3cfa743fe7e Mon Sep 17 00:00:00 2001
From: Andrey Dolnikov <andrey.dolnikov@cogentembedded.com>
Date: Fri, 9 Mar 2018 15:50:29 +0300
Subject: [PATCH] V3H device tree: Add VIP devices IRQs.

---
 arch/arm64/boot/dts/renesas/r8a7798.dtsi | 110 ++++++++++++++++++++++++++++---
 1 file changed, 100 insertions(+), 10 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a7798.dtsi b/arch/arm64/boot/dts/renesas/r8a7798.dtsi
index 6412a24..b8b0665 100644
--- a/arch/arm64/boot/dts/renesas/r8a7798.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7798.dtsi
@@ -1627,72 +1627,162 @@
 			rse;
 		};
 
-		disp {
+		vip_disp_status {
 			compatible = "generic-uio";
 			reg = <0 0xe7a00000 0 0x10000>;
+			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 101>;
 			power-domains = <&sysc R8A7798_PD_A3VIP>;
 		};
 
-		umf {
+		vip_disp_error {
+			compatible = "generic-uio";
+			reg = <0 0xe7a00000 0 0x10000>;
+			interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 101>;
+			power-domains = <&sysc R8A7798_PD_A3VIP>;
+		};
+
+		vip_umf_status {
 			compatible = "generic-uio";
 			reg = <0 0xe7a10000 0 0x10000>;
+			interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 102>;
 			power-domains = <&sysc R8A7798_PD_A3VIP1>;
 		};
 
-		smd_ps {
+		vip_umf_error {
+			compatible = "generic-uio";
+			reg = <0 0xe7a10000 0 0x10000>;
+			interrupts = <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 102>;
+			power-domains = <&sysc R8A7798_PD_A3VIP1>;
+		};
+
+		vip_smd_ps_status {
+			compatible = "generic-uio";
+			reg = <0 0xe7a20000 0 0x10000>;
+			interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 1102>;
+			power-domains = <&sysc R8A7798_PD_A3VIP1>;
+		};
+
+		vip_smd_ps_error {
 			compatible = "generic-uio";
 			reg = <0 0xe7a20000 0 0x10000>;
+			interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 1102>;
 			power-domains = <&sysc R8A7798_PD_A3VIP1>;
 		};
 
-		smd_est {
+		vip_smd_est_status {
 			compatible = "generic-uio";
 			reg = <0 0xe7a30000 0 0x10000>;
+			interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 1101>;
 			power-domains = <&sysc R8A7798_PD_A3VIP1>;
 		};
 
-		smd_post {
+		vip_smd_est_error {
+			compatible = "generic-uio";
+			reg = <0 0xe7a30000 0 0x10000>;
+			interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 1101>;
+			power-domains = <&sysc R8A7798_PD_A3VIP1>;
+		};
+
+		vip_smd_post_status {
+			compatible = "generic-uio";
+			reg = <0 0xe7a40000 0 0x10000>;
+			interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 1100>;
+			power-domains = <&sysc R8A7798_PD_A3VIP1>;
+		};
+
+		vip_smd_post_error {
 			compatible = "generic-uio";
 			reg = <0 0xe7a40000 0 0x10000>;
+			interrupts = <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 1100>;
 			power-domains = <&sysc R8A7798_PD_A3VIP1>;
 		};
 
-		cle0 {
+		vip_cle0_status {
 			compatible = "generic-uio";
 			reg = <0 0xe7a50000 0 0x10000>;
+			interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 1004>;
 			power-domains = <&sysc R8A7798_PD_A3VIP2>;
 		};
 
-		cle1 {
+		vip_cle0_error {
+			compatible = "generic-uio";
+			reg = <0 0xe7a50000 0 0x10000>;
+			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 1004>;
+			power-domains = <&sysc R8A7798_PD_A3VIP2>;
+		};
+
+		vip_cle1_status {
 			compatible = "generic-uio";
 			reg = <0 0xe7a60000 0 0x10000>;
+			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 1003>;
 			power-domains = <&sysc R8A7798_PD_A3VIP2>;
 		};
 
-		cle2 {
+		vip_cle1_error {
+			compatible = "generic-uio";
+			reg = <0 0xe7a60000 0 0x10000>;
+			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 1003>;
+			power-domains = <&sysc R8A7798_PD_A3VIP2>;
+		};
+
+		vip_cle2_status {
+			compatible = "generic-uio";
+			reg = <0 0xe7a70000 0 0x10000>;
+			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 1002>;
+			power-domains = <&sysc R8A7798_PD_A3VIP2>;
+		};
+
+		vip_cle2_error {
 			compatible = "generic-uio";
 			reg = <0 0xe7a70000 0 0x10000>;
+			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 1002>;
 			power-domains = <&sysc R8A7798_PD_A3VIP2>;
 		};
 
-		cle3 {
+		vip_cle3_status {
 			compatible = "generic-uio";
 			reg = <0 0xe7a80000 0 0x10000>;
+			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 1001>;
 			power-domains = <&sysc R8A7798_PD_A3VIP2>;
 		};
 
-		cle4 {
+		vip_cle3_erorr {
+			compatible = "generic-uio";
+			reg = <0 0xe7a80000 0 0x10000>;
+			interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 1001>;
+			power-domains = <&sysc R8A7798_PD_A3VIP2>;
+		};
+
+		vip_cle4_status {
+			compatible = "generic-uio";
+			reg = <0 0xe7a90000 0 0x10000>;
+			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 1000>;
+			power-domains = <&sysc R8A7798_PD_A3VIP2>;
+		};
+
+		vip_cle4_error {
 			compatible = "generic-uio";
 			reg = <0 0xe7a90000 0 0x10000>;
+			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&cpg CPG_MOD 1000>;
 			power-domains = <&sysc R8A7798_PD_A3VIP2>;
 		};
-- 
2.7.4