Commit bdb6339f authored by Mao Jinlong's avatar Mao Jinlong Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: Fix coresight warnings in in-ports and out-ports



When a node is only one in port or one out port, address-cells and
size-cells are not required in in-ports and out-ports. And the number
and reg of the port need to be removed.

Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarMao Jinlong <quic_jinlmao@quicinc.com>
Link: https://lore.kernel.org/r/20231210072633.4243-5-quic_jinlmao@quicinc.com


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent ae5ee356
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -3558,11 +3558,8 @@ etf_out: endpoint {
			};

			in-ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@1 {
					reg = <1>;
				port {
					etf_in: endpoint {
						remote-endpoint =
						  <&merge_funnel_out>;
+1 −4
Original line number Diff line number Diff line
@@ -2949,11 +2949,8 @@ replicator1_out: endpoint {
			};

			in-ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@1 {
					reg = <1>;
				port {
					replicator1_in: endpoint {
						remote-endpoint = <&replicator_out1>;
					};
+4 −20
Original line number Diff line number Diff line
@@ -3114,11 +3114,8 @@ tpda@6004000 {
			clock-names = "apb_pclk";

			out-ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;
				port {
					tpda_out_funnel_qatb: endpoint {
						remote-endpoint = <&funnel_qatb_in_tpda>;
					};
@@ -3161,11 +3158,7 @@ funnel_qatb_out_funnel_in0: endpoint {
			};

			in-ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;
				port {
					funnel_qatb_in_tpda: endpoint {
						remote-endpoint = <&tpda_out_funnel_qatb>;
					};
@@ -3374,11 +3367,8 @@ etf_out: endpoint {
			};

			in-ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;
				port {
					etf_in_funnel_swao_out: endpoint {
						remote-endpoint = <&funnel_swao_out_etf>;
					};
@@ -3462,8 +3452,6 @@ funnel@6c2d000 {
			clock-names = "apb_pclk";

			out-ports {
				#address-cells = <1>;
				#size-cells = <0>;
				port {
					tpdm_mm_out_tpda9: endpoint {
						remote-endpoint = <&tpda_9_in_tpdm_mm>;
@@ -3729,11 +3717,7 @@ funnel_apss_merg_out_funnel_in1: endpoint {
			};

			in-ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;
				port {
					funnel_apss_merg_in_funnel_apss: endpoint {
					remote-endpoint = <&funnel_apss_out_funnel_apss_merg>;
					};