Re: [PATCH v2 06/11] arm: dts: hip04: Update coresight bindings for hardware ports

2018-09-21 Thread Wei Xu
Hi Suzuki,

On 2018/9/12 14:53, Suzuki K Poulose wrote:
> Switch to the new the hardware port bindings.
> 
> Cc: Wei Xu 
> Cc: Mathieu Poirier 
> Signed-off-by: Suzuki K Poulose 

Thanks!
Applied to the hisilicon dt tree.

Best Regards,
Wei

> ---
>  arch/arm/boot/dts/hip04.dtsi | 346 ++-
>  1 file changed, 176 insertions(+), 170 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/hip04.dtsi b/arch/arm/boot/dts/hip04.dtsi
> index 44044f275115..0f917b272ff3 100644
> --- a/arch/arm/boot/dts/hip04.dtsi
> +++ b/arch/arm/boot/dts/hip04.dtsi
> @@ -277,10 +277,11 @@
>  
>   clocks = <_375m>;
>   clock-names = "apb_pclk";
> - port {
> - etb0_in_port: endpoint@0 {
> - slave-mode;
> - remote-endpoint = <_out_port0>;
> + in-ports {
> + port {
> + etb0_in_port: endpoint@0 {
> + remote-endpoint = 
> <_out_port0>;
> + };
>   };
>   };
>   };
> @@ -291,10 +292,11 @@
>  
>   clocks = <_375m>;
>   clock-names = "apb_pclk";
> - port {
> - etb1_in_port: endpoint@0 {
> - slave-mode;
> - remote-endpoint = <_out_port0>;
> + in-ports {
> + port {
> + etb1_in_port: endpoint@0 {
> + remote-endpoint = 
> <_out_port0>;
> + };
>   };
>   };
>   };
> @@ -305,10 +307,11 @@
>  
>   clocks = <_375m>;
>   clock-names = "apb_pclk";
> - port {
> - etb2_in_port: endpoint@0 {
> - slave-mode;
> - remote-endpoint = <_out_port0>;
> + in-ports {
> + port {
> + etb2_in_port: endpoint@0 {
> + remote-endpoint = 
> <_out_port0>;
> + };
>   };
>   };
>   };
> @@ -319,10 +322,11 @@
>  
>   clocks = <_375m>;
>   clock-names = "apb_pclk";
> - port {
> - etb3_in_port: endpoint@0 {
> - slave-mode;
> - remote-endpoint = <_out_port0>;
> + in-ports {
> + port {
> + etb3_in_port: endpoint@0 {
> + remote-endpoint = 
> <_out_port0>;
> + };
>   };
>   };
>   };
> @@ -333,10 +337,11 @@
>  
>   clocks = <_375m>;
>   clock-names = "apb_pclk";
> - port {
> - tpiu_in_port: endpoint@0 {
> - slave-mode;
> - remote-endpoint = <_out_port0>;
> + in-ports {
> + port {
> + tpiu_in_port: endpoint@0 {
> + remote-endpoint = <_out_port0>;
> + };
>   };
>   };
>   };
> @@ -347,7 +352,7 @@
>*/
>   compatible = "arm,coresight-replicator";
>  
> - ports {
> + out-ports {
>   #address-cells = <1>;
>   #size-cells = <0>;
>  
> @@ -365,12 +370,11 @@
>   remote-endpoint = <_in_port0>;
>   };
>   };
> + };
>  
> - /* replicator input port */
> - port@2 {
> - reg = <0>;
> + in-ports {
> + port {
>   replicator0_in_port0: endpoint {
> - slave-mode;
>   remote-endpoint = <_out_port0>;
>   };
>   };
> @@ -383,7 +387,7 @@
>*/
>   compatible = "arm,coresight-replicator";
>  
> - ports {
> + out-ports {
>   #address-cells = <1>;
>   #size-cells = <0>;
>  
> @@ -401,12 +405,11 @@
>   remote-endpoint = <_in_port1>;
>   };
>   };
> + };
>  
> - /* replicator input port */
> - port@2 {
> - reg = <0>;
> + in-ports {
> + port {
>   replicator1_in_port0: endpoint {
> -  

Re: [PATCH v2 06/11] arm: dts: hip04: Update coresight bindings for hardware ports

2018-09-21 Thread Wei Xu
Hi Suzuki,

On 2018/9/12 14:53, Suzuki K Poulose wrote:
> Switch to the new the hardware port bindings.
> 
> Cc: Wei Xu 
> Cc: Mathieu Poirier 
> Signed-off-by: Suzuki K Poulose 

Thanks!
Applied to the hisilicon dt tree.

Best Regards,
Wei

> ---
>  arch/arm/boot/dts/hip04.dtsi | 346 ++-
>  1 file changed, 176 insertions(+), 170 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/hip04.dtsi b/arch/arm/boot/dts/hip04.dtsi
> index 44044f275115..0f917b272ff3 100644
> --- a/arch/arm/boot/dts/hip04.dtsi
> +++ b/arch/arm/boot/dts/hip04.dtsi
> @@ -277,10 +277,11 @@
>  
>   clocks = <_375m>;
>   clock-names = "apb_pclk";
> - port {
> - etb0_in_port: endpoint@0 {
> - slave-mode;
> - remote-endpoint = <_out_port0>;
> + in-ports {
> + port {
> + etb0_in_port: endpoint@0 {
> + remote-endpoint = 
> <_out_port0>;
> + };
>   };
>   };
>   };
> @@ -291,10 +292,11 @@
>  
>   clocks = <_375m>;
>   clock-names = "apb_pclk";
> - port {
> - etb1_in_port: endpoint@0 {
> - slave-mode;
> - remote-endpoint = <_out_port0>;
> + in-ports {
> + port {
> + etb1_in_port: endpoint@0 {
> + remote-endpoint = 
> <_out_port0>;
> + };
>   };
>   };
>   };
> @@ -305,10 +307,11 @@
>  
>   clocks = <_375m>;
>   clock-names = "apb_pclk";
> - port {
> - etb2_in_port: endpoint@0 {
> - slave-mode;
> - remote-endpoint = <_out_port0>;
> + in-ports {
> + port {
> + etb2_in_port: endpoint@0 {
> + remote-endpoint = 
> <_out_port0>;
> + };
>   };
>   };
>   };
> @@ -319,10 +322,11 @@
>  
>   clocks = <_375m>;
>   clock-names = "apb_pclk";
> - port {
> - etb3_in_port: endpoint@0 {
> - slave-mode;
> - remote-endpoint = <_out_port0>;
> + in-ports {
> + port {
> + etb3_in_port: endpoint@0 {
> + remote-endpoint = 
> <_out_port0>;
> + };
>   };
>   };
>   };
> @@ -333,10 +337,11 @@
>  
>   clocks = <_375m>;
>   clock-names = "apb_pclk";
> - port {
> - tpiu_in_port: endpoint@0 {
> - slave-mode;
> - remote-endpoint = <_out_port0>;
> + in-ports {
> + port {
> + tpiu_in_port: endpoint@0 {
> + remote-endpoint = <_out_port0>;
> + };
>   };
>   };
>   };
> @@ -347,7 +352,7 @@
>*/
>   compatible = "arm,coresight-replicator";
>  
> - ports {
> + out-ports {
>   #address-cells = <1>;
>   #size-cells = <0>;
>  
> @@ -365,12 +370,11 @@
>   remote-endpoint = <_in_port0>;
>   };
>   };
> + };
>  
> - /* replicator input port */
> - port@2 {
> - reg = <0>;
> + in-ports {
> + port {
>   replicator0_in_port0: endpoint {
> - slave-mode;
>   remote-endpoint = <_out_port0>;
>   };
>   };
> @@ -383,7 +387,7 @@
>*/
>   compatible = "arm,coresight-replicator";
>  
> - ports {
> + out-ports {
>   #address-cells = <1>;
>   #size-cells = <0>;
>  
> @@ -401,12 +405,11 @@
>   remote-endpoint = <_in_port1>;
>   };
>   };
> + };
>  
> - /* replicator input port */
> - port@2 {
> - reg = <0>;
> + in-ports {
> + port {
>   replicator1_in_port0: endpoint {
> -  

[PATCH v2 06/11] arm: dts: hip04: Update coresight bindings for hardware ports

2018-09-12 Thread Suzuki K Poulose
Switch to the new the hardware port bindings.

Cc: Wei Xu 
Cc: Mathieu Poirier 
Signed-off-by: Suzuki K Poulose 
---
 arch/arm/boot/dts/hip04.dtsi | 346 ++-
 1 file changed, 176 insertions(+), 170 deletions(-)

diff --git a/arch/arm/boot/dts/hip04.dtsi b/arch/arm/boot/dts/hip04.dtsi
index 44044f275115..0f917b272ff3 100644
--- a/arch/arm/boot/dts/hip04.dtsi
+++ b/arch/arm/boot/dts/hip04.dtsi
@@ -277,10 +277,11 @@
 
clocks = <_375m>;
clock-names = "apb_pclk";
-   port {
-   etb0_in_port: endpoint@0 {
-   slave-mode;
-   remote-endpoint = <_out_port0>;
+   in-ports {
+   port {
+   etb0_in_port: endpoint@0 {
+   remote-endpoint = 
<_out_port0>;
+   };
};
};
};
@@ -291,10 +292,11 @@
 
clocks = <_375m>;
clock-names = "apb_pclk";
-   port {
-   etb1_in_port: endpoint@0 {
-   slave-mode;
-   remote-endpoint = <_out_port0>;
+   in-ports {
+   port {
+   etb1_in_port: endpoint@0 {
+   remote-endpoint = 
<_out_port0>;
+   };
};
};
};
@@ -305,10 +307,11 @@
 
clocks = <_375m>;
clock-names = "apb_pclk";
-   port {
-   etb2_in_port: endpoint@0 {
-   slave-mode;
-   remote-endpoint = <_out_port0>;
+   in-ports {
+   port {
+   etb2_in_port: endpoint@0 {
+   remote-endpoint = 
<_out_port0>;
+   };
};
};
};
@@ -319,10 +322,11 @@
 
clocks = <_375m>;
clock-names = "apb_pclk";
-   port {
-   etb3_in_port: endpoint@0 {
-   slave-mode;
-   remote-endpoint = <_out_port0>;
+   in-ports {
+   port {
+   etb3_in_port: endpoint@0 {
+   remote-endpoint = 
<_out_port0>;
+   };
};
};
};
@@ -333,10 +337,11 @@
 
clocks = <_375m>;
clock-names = "apb_pclk";
-   port {
-   tpiu_in_port: endpoint@0 {
-   slave-mode;
-   remote-endpoint = <_out_port0>;
+   in-ports {
+   port {
+   tpiu_in_port: endpoint@0 {
+   remote-endpoint = <_out_port0>;
+   };
};
};
};
@@ -347,7 +352,7 @@
 */
compatible = "arm,coresight-replicator";
 
-   ports {
+   out-ports {
#address-cells = <1>;
#size-cells = <0>;
 
@@ -365,12 +370,11 @@
remote-endpoint = <_in_port0>;
};
};
+   };
 
-   /* replicator input port */
-   port@2 {
-   reg = <0>;
+   in-ports {
+   port {
replicator0_in_port0: endpoint {
-   slave-mode;
remote-endpoint = <_out_port0>;
};
};
@@ -383,7 +387,7 @@
 */
compatible = "arm,coresight-replicator";
 
-   ports {
+   out-ports {
#address-cells = <1>;
#size-cells = <0>;
 
@@ -401,12 +405,11 @@
remote-endpoint = <_in_port1>;
};
};
+   };
 
-   /* replicator input port */
-   port@2 {
-   reg = <0>;
+   in-ports {
+   port {
replicator1_in_port0: endpoint {
-   slave-mode;
remote-endpoint = <_out_port0>;
};
};
@@ -419,11 +422,10 @@
 */
  

[PATCH v2 06/11] arm: dts: hip04: Update coresight bindings for hardware ports

2018-09-12 Thread Suzuki K Poulose
Switch to the new the hardware port bindings.

Cc: Wei Xu 
Cc: Mathieu Poirier 
Signed-off-by: Suzuki K Poulose 
---
 arch/arm/boot/dts/hip04.dtsi | 346 ++-
 1 file changed, 176 insertions(+), 170 deletions(-)

diff --git a/arch/arm/boot/dts/hip04.dtsi b/arch/arm/boot/dts/hip04.dtsi
index 44044f275115..0f917b272ff3 100644
--- a/arch/arm/boot/dts/hip04.dtsi
+++ b/arch/arm/boot/dts/hip04.dtsi
@@ -277,10 +277,11 @@
 
clocks = <_375m>;
clock-names = "apb_pclk";
-   port {
-   etb0_in_port: endpoint@0 {
-   slave-mode;
-   remote-endpoint = <_out_port0>;
+   in-ports {
+   port {
+   etb0_in_port: endpoint@0 {
+   remote-endpoint = 
<_out_port0>;
+   };
};
};
};
@@ -291,10 +292,11 @@
 
clocks = <_375m>;
clock-names = "apb_pclk";
-   port {
-   etb1_in_port: endpoint@0 {
-   slave-mode;
-   remote-endpoint = <_out_port0>;
+   in-ports {
+   port {
+   etb1_in_port: endpoint@0 {
+   remote-endpoint = 
<_out_port0>;
+   };
};
};
};
@@ -305,10 +307,11 @@
 
clocks = <_375m>;
clock-names = "apb_pclk";
-   port {
-   etb2_in_port: endpoint@0 {
-   slave-mode;
-   remote-endpoint = <_out_port0>;
+   in-ports {
+   port {
+   etb2_in_port: endpoint@0 {
+   remote-endpoint = 
<_out_port0>;
+   };
};
};
};
@@ -319,10 +322,11 @@
 
clocks = <_375m>;
clock-names = "apb_pclk";
-   port {
-   etb3_in_port: endpoint@0 {
-   slave-mode;
-   remote-endpoint = <_out_port0>;
+   in-ports {
+   port {
+   etb3_in_port: endpoint@0 {
+   remote-endpoint = 
<_out_port0>;
+   };
};
};
};
@@ -333,10 +337,11 @@
 
clocks = <_375m>;
clock-names = "apb_pclk";
-   port {
-   tpiu_in_port: endpoint@0 {
-   slave-mode;
-   remote-endpoint = <_out_port0>;
+   in-ports {
+   port {
+   tpiu_in_port: endpoint@0 {
+   remote-endpoint = <_out_port0>;
+   };
};
};
};
@@ -347,7 +352,7 @@
 */
compatible = "arm,coresight-replicator";
 
-   ports {
+   out-ports {
#address-cells = <1>;
#size-cells = <0>;
 
@@ -365,12 +370,11 @@
remote-endpoint = <_in_port0>;
};
};
+   };
 
-   /* replicator input port */
-   port@2 {
-   reg = <0>;
+   in-ports {
+   port {
replicator0_in_port0: endpoint {
-   slave-mode;
remote-endpoint = <_out_port0>;
};
};
@@ -383,7 +387,7 @@
 */
compatible = "arm,coresight-replicator";
 
-   ports {
+   out-ports {
#address-cells = <1>;
#size-cells = <0>;
 
@@ -401,12 +405,11 @@
remote-endpoint = <_in_port1>;
};
};
+   };
 
-   /* replicator input port */
-   port@2 {
-   reg = <0>;
+   in-ports {
+   port {
replicator1_in_port0: endpoint {
-   slave-mode;
remote-endpoint = <_out_port0>;
};
};
@@ -419,11 +422,10 @@
 */