Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'juno-updates-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into next/dt

ARMv8 Juno/Vexpress updates for v4.20

1. Enablement of scatter gather mode for CoreSight TMC-ETR routing

2. Usage of updated coresight graph bindings that eliminates loads of
dtc warnings

* tag 'juno-updates-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
arm64: dts: juno: Enable coresight tmc scatter gather in ETR
arm64: dts: juno: Update entries to match latest coresight bindings

Signed-off-by: Olof Johansson <olof@lixom.net>

+108 -123
+85 -81
arch/arm64/boot/dts/arm/juno-base.dtsi
··· 115 115 clocks = <&soc_smc50mhz>; 116 116 clock-names = "apb_pclk"; 117 117 power-domains = <&scpi_devpd 0>; 118 - ports { 119 - #address-cells = <1>; 120 - #size-cells = <0>; 121 118 122 - /* input port */ 123 - port@0 { 124 - reg = <0>; 119 + in-ports { 120 + port { 125 121 etf0_in_port: endpoint { 126 - slave-mode; 127 122 remote-endpoint = <&main_funnel_out_port>; 128 123 }; 129 124 }; 125 + }; 130 126 131 - /* output port */ 132 - port@1 { 133 - reg = <0>; 127 + out-ports { 128 + port { 134 129 etf0_out_port: endpoint { 135 130 }; 136 131 }; ··· 139 144 clocks = <&soc_smc50mhz>; 140 145 clock-names = "apb_pclk"; 141 146 power-domains = <&scpi_devpd 0>; 142 - port { 143 - tpiu_in_port: endpoint { 144 - slave-mode; 145 - remote-endpoint = <&replicator_out_port0>; 147 + in-ports { 148 + port { 149 + tpiu_in_port: endpoint { 150 + remote-endpoint = <&replicator_out_port0>; 151 + }; 146 152 }; 147 153 }; 148 154 }; ··· 156 160 clocks = <&soc_smc50mhz>; 157 161 clock-names = "apb_pclk"; 158 162 power-domains = <&scpi_devpd 0>; 159 - ports { 160 - #address-cells = <1>; 161 - #size-cells = <0>; 162 163 163 - /* output port */ 164 - port@0 { 165 - reg = <0>; 164 + out-ports { 165 + port { 166 166 main_funnel_out_port: endpoint { 167 167 remote-endpoint = <&etf0_in_port>; 168 168 }; 169 169 }; 170 + }; 170 171 171 - /* input ports */ 172 - port@1 { 172 + main_funnel_in_ports: in-ports { 173 + #address-cells = <1>; 174 + #size-cells = <0>; 175 + 176 + port@0 { 173 177 reg = <0>; 174 178 main_funnel_in_port0: endpoint { 175 - slave-mode; 176 179 remote-endpoint = <&cluster0_funnel_out_port>; 177 180 }; 178 181 }; 179 182 180 - port@2 { 183 + port@1 { 181 184 reg = <1>; 182 185 main_funnel_in_port1: endpoint { 183 - slave-mode; 184 186 remote-endpoint = <&cluster1_funnel_out_port>; 185 187 }; 186 188 }; ··· 193 199 clocks = <&soc_smc50mhz>; 194 200 clock-names = "apb_pclk"; 195 201 power-domains = <&scpi_devpd 0>; 196 - port { 197 - etr_in_port: endpoint { 198 - slave-mode; 199 - remote-endpoint = <&replicator_out_port1>; 202 + arm,scatter-gather; 203 + in-ports { 204 + port { 205 + etr_in_port: endpoint { 206 + remote-endpoint = <&replicator_out_port1>; 207 + }; 200 208 }; 201 209 }; 202 210 }; ··· 212 216 clocks = <&soc_smc50mhz>; 213 217 clock-names = "apb_pclk"; 214 218 power-domains = <&scpi_devpd 0>; 215 - port { 216 - stm_out_port: endpoint { 219 + out-ports { 220 + port { 221 + stm_out_port: endpoint { 222 + }; 217 223 }; 218 224 }; 219 225 }; ··· 236 238 clocks = <&soc_smc50mhz>; 237 239 clock-names = "apb_pclk"; 238 240 power-domains = <&scpi_devpd 0>; 239 - port { 240 - cluster0_etm0_out_port: endpoint { 241 - remote-endpoint = <&cluster0_funnel_in_port0>; 241 + out-ports { 242 + port { 243 + cluster0_etm0_out_port: endpoint { 244 + remote-endpoint = <&cluster0_funnel_in_port0>; 245 + }; 242 246 }; 243 247 }; 244 248 }; ··· 252 252 clocks = <&soc_smc50mhz>; 253 253 clock-names = "apb_pclk"; 254 254 power-domains = <&scpi_devpd 0>; 255 - ports { 255 + out-ports { 256 + port { 257 + cluster0_funnel_out_port: endpoint { 258 + remote-endpoint = <&main_funnel_in_port0>; 259 + }; 260 + }; 261 + }; 262 + 263 + in-ports { 256 264 #address-cells = <1>; 257 265 #size-cells = <0>; 258 266 259 267 port@0 { 260 268 reg = <0>; 261 - cluster0_funnel_out_port: endpoint { 262 - remote-endpoint = <&main_funnel_in_port0>; 263 - }; 264 - }; 265 - 266 - port@1 { 267 - reg = <0>; 268 269 cluster0_funnel_in_port0: endpoint { 269 - slave-mode; 270 270 remote-endpoint = <&cluster0_etm0_out_port>; 271 271 }; 272 272 }; 273 273 274 - port@2 { 274 + port@1 { 275 275 reg = <1>; 276 276 cluster0_funnel_in_port1: endpoint { 277 - slave-mode; 278 277 remote-endpoint = <&cluster0_etm1_out_port>; 279 278 }; 280 279 }; ··· 296 297 clocks = <&soc_smc50mhz>; 297 298 clock-names = "apb_pclk"; 298 299 power-domains = <&scpi_devpd 0>; 299 - port { 300 - cluster0_etm1_out_port: endpoint { 301 - remote-endpoint = <&cluster0_funnel_in_port1>; 300 + out-ports { 301 + port { 302 + cluster0_etm1_out_port: endpoint { 303 + remote-endpoint = <&cluster0_funnel_in_port1>; 304 + }; 302 305 }; 303 306 }; 304 307 }; ··· 321 320 clocks = <&soc_smc50mhz>; 322 321 clock-names = "apb_pclk"; 323 322 power-domains = <&scpi_devpd 0>; 324 - port { 325 - cluster1_etm0_out_port: endpoint { 326 - remote-endpoint = <&cluster1_funnel_in_port0>; 323 + out-ports { 324 + port { 325 + cluster1_etm0_out_port: endpoint { 326 + remote-endpoint = <&cluster1_funnel_in_port0>; 327 + }; 327 328 }; 328 329 }; 329 330 }; ··· 337 334 clocks = <&soc_smc50mhz>; 338 335 clock-names = "apb_pclk"; 339 336 power-domains = <&scpi_devpd 0>; 340 - ports { 337 + out-ports { 338 + port { 339 + cluster1_funnel_out_port: endpoint { 340 + remote-endpoint = <&main_funnel_in_port1>; 341 + }; 342 + }; 343 + }; 344 + 345 + in-ports { 341 346 #address-cells = <1>; 342 347 #size-cells = <0>; 343 348 344 349 port@0 { 345 350 reg = <0>; 346 - cluster1_funnel_out_port: endpoint { 347 - remote-endpoint = <&main_funnel_in_port1>; 348 - }; 349 - }; 350 - 351 - port@1 { 352 - reg = <0>; 353 351 cluster1_funnel_in_port0: endpoint { 354 - slave-mode; 355 352 remote-endpoint = <&cluster1_etm0_out_port>; 356 353 }; 357 354 }; 358 355 359 - port@2 { 356 + port@1 { 360 357 reg = <1>; 361 358 cluster1_funnel_in_port1: endpoint { 362 - slave-mode; 363 359 remote-endpoint = <&cluster1_etm1_out_port>; 364 360 }; 365 361 }; 366 - port@3 { 362 + port@2 { 367 363 reg = <2>; 368 364 cluster1_funnel_in_port2: endpoint { 369 - slave-mode; 370 365 remote-endpoint = <&cluster1_etm2_out_port>; 371 366 }; 372 367 }; 373 - port@4 { 368 + port@3 { 374 369 reg = <3>; 375 370 cluster1_funnel_in_port3: endpoint { 376 - slave-mode; 377 371 remote-endpoint = <&cluster1_etm3_out_port>; 378 372 }; 379 373 }; ··· 393 393 clocks = <&soc_smc50mhz>; 394 394 clock-names = "apb_pclk"; 395 395 power-domains = <&scpi_devpd 0>; 396 - port { 397 - cluster1_etm1_out_port: endpoint { 398 - remote-endpoint = <&cluster1_funnel_in_port1>; 396 + out-ports { 397 + port { 398 + cluster1_etm1_out_port: endpoint { 399 + remote-endpoint = <&cluster1_funnel_in_port1>; 400 + }; 399 401 }; 400 402 }; 401 403 }; ··· 418 416 clocks = <&soc_smc50mhz>; 419 417 clock-names = "apb_pclk"; 420 418 power-domains = <&scpi_devpd 0>; 421 - port { 422 - cluster1_etm2_out_port: endpoint { 423 - remote-endpoint = <&cluster1_funnel_in_port2>; 419 + out-ports { 420 + port { 421 + cluster1_etm2_out_port: endpoint { 422 + remote-endpoint = <&cluster1_funnel_in_port2>; 423 + }; 424 424 }; 425 425 }; 426 426 }; ··· 443 439 clocks = <&soc_smc50mhz>; 444 440 clock-names = "apb_pclk"; 445 441 power-domains = <&scpi_devpd 0>; 446 - port { 447 - cluster1_etm3_out_port: endpoint { 448 - remote-endpoint = <&cluster1_funnel_in_port3>; 442 + out-ports { 443 + port { 444 + cluster1_etm3_out_port: endpoint { 445 + remote-endpoint = <&cluster1_funnel_in_port3>; 446 + }; 449 447 }; 450 448 }; 451 449 }; ··· 460 454 clock-names = "apb_pclk"; 461 455 power-domains = <&scpi_devpd 0>; 462 456 463 - ports { 457 + out-ports { 464 458 #address-cells = <1>; 465 459 #size-cells = <0>; 466 460 ··· 478 472 remote-endpoint = <&etr_in_port>; 479 473 }; 480 474 }; 481 - 482 - /* replicator input port */ 483 - port@2 { 484 - reg = <0>; 475 + }; 476 + in-ports { 477 + port { 485 478 replicator_in_port0: endpoint { 486 - slave-mode; 487 479 }; 488 480 }; 489 481 };
+18 -34
arch/arm64/boot/dts/arm/juno-cs-r1r2.dtsi
··· 7 7 clocks = <&soc_smc50mhz>; 8 8 clock-names = "apb_pclk"; 9 9 power-domains = <&scpi_devpd 0>; 10 - ports { 11 - #address-cells = <1>; 12 - #size-cells = <0>; 13 - 14 - /* output port */ 15 - port@0 { 16 - reg = <0>; 10 + out-ports { 11 + port { 17 12 csys1_funnel_out_port: endpoint { 18 13 remote-endpoint = <&etf1_in_port>; 19 14 }; 20 15 }; 21 - 22 - /* input port */ 23 - port@1 { 24 - reg = <0>; 16 + }; 17 + in-ports { 18 + port { 25 19 csys1_funnel_in_port0: endpoint { 26 - slave-mode; 27 20 }; 28 21 }; 29 22 ··· 30 37 clocks = <&soc_smc50mhz>; 31 38 clock-names = "apb_pclk"; 32 39 power-domains = <&scpi_devpd 0>; 33 - ports { 34 - #address-cells = <1>; 35 - #size-cells = <0>; 36 - 37 - /* input port */ 38 - port@0 { 39 - reg = <0>; 40 + in-ports { 41 + port { 40 42 etf1_in_port: endpoint { 41 - slave-mode; 42 43 remote-endpoint = <&csys1_funnel_out_port>; 43 44 }; 44 45 }; 45 - 46 - /* output port */ 47 - port@1 { 48 - reg = <0>; 46 + }; 47 + out-ports { 48 + port { 49 49 etf1_out_port: endpoint { 50 50 remote-endpoint = <&csys2_funnel_in_port1>; 51 51 }; ··· 53 67 clocks = <&soc_smc50mhz>; 54 68 clock-names = "apb_pclk"; 55 69 power-domains = <&scpi_devpd 0>; 56 - ports { 57 - #address-cells = <1>; 58 - #size-cells = <0>; 59 - 60 - /* output port */ 61 - port@0 { 62 - reg = <0>; 70 + out-ports { 71 + port { 63 72 csys2_funnel_out_port: endpoint { 64 73 remote-endpoint = <&replicator_in_port0>; 65 74 }; 66 75 }; 76 + }; 67 77 68 - /* input ports */ 69 - port@1 { 78 + in-ports { 79 + #address-cells = <1>; 80 + #size-cells = <0>; 81 + port@0 { 70 82 reg = <0>; 71 83 csys2_funnel_in_port0: endpoint { 72 84 slave-mode; ··· 72 88 }; 73 89 }; 74 90 75 - port@2 { 91 + port@1 { 76 92 reg = <1>; 77 93 csys2_funnel_in_port1: endpoint { 78 94 slave-mode;
+5 -8
arch/arm64/boot/dts/arm/juno.dts
··· 257 257 remote-endpoint = <&main_funnel_in_port2>; 258 258 }; 259 259 260 - &main_funnel { 261 - ports { 262 - port@3 { 263 - reg = <2>; 264 - main_funnel_in_port2: endpoint { 265 - slave-mode; 266 - remote-endpoint = <&stm_out_port>; 267 - }; 260 + &main_funnel_in_ports { 261 + port@2 { 262 + reg = <2>; 263 + main_funnel_in_port2: endpoint { 264 + remote-endpoint = <&stm_out_port>; 268 265 }; 269 266 }; 270 267 };