arm64: dts: qcom: Fix coresight warnings in in-ports and out-ports
authorMao Jinlong <quic_jinlmao@quicinc.com>
Sun, 10 Dec 2023 07:26:31 +0000 (23:26 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Feb 2024 20:14:24 +0000 (20:14 +0000)
[ Upstream commit bdb6339fd46b8702ea7411b0b414587b86a40562 ]

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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
Link: https://lore.kernel.org/r/20231210072633.4243-5-quic_jinlmao@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sdm845.dtsi
arch/arm64/boot/dts/qcom/sm8150.dtsi
arch/arm64/boot/dts/qcom/sm8250.dtsi

index 63f6515692e8c94b5d7da306d9e56216a6bb7eda..234d7875cd8e102f66b9c4310b3017e1ffdaff82 100644 (file)
                        };
 
                        in-ports {
-                               #address-cells = <1>;
-                               #size-cells = <0>;
 
-                               port@1 {
-                                       reg = <1>;
+                               port {
                                        etf_in: endpoint {
                                                remote-endpoint =
                                                  <&merge_funnel_out>;
index f7e35e22001823e0d37f8cc334d283440eb13768..26b6d84548a560ce805f4a1976ca2dfad08141db 100644 (file)
                        };
 
                        in-ports {
-                               #address-cells = <1>;
-                               #size-cells = <0>;
 
-                               port@1 {
-                                       reg = <1>;
+                               port {
                                        replicator1_in: endpoint {
                                                remote-endpoint = <&replicator_out1>;
                                        };
index 1a98481d0c7f4f27f22d9e2ece4fefc0d55f8bcd..64a656dcfa1f52a14a87b9b83ff399ec438d577d 100644 (file)
                        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>;
                                        };
                        };
 
                        in-ports {
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-
-                               port@0 {
-                                       reg = <0>;
+                               port {
                                        funnel_qatb_in_tpda: endpoint {
                                                remote-endpoint = <&tpda_out_funnel_qatb>;
                                        };
                        };
 
                        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>;
                                        };
                        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>;
                        };
 
                        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>;
                                        };