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

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: 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>

authored by

Mao Jinlong and committed by
Bjorn Andersson
bdb6339f ae5ee356

+6 -28
+1 -4
arch/arm64/boot/dts/qcom/sdm845.dtsi
··· 3558 3558 }; 3559 3559 3560 3560 in-ports { 3561 - #address-cells = <1>; 3562 - #size-cells = <0>; 3563 3561 3564 - port@1 { 3565 - reg = <1>; 3562 + port { 3566 3563 etf_in: endpoint { 3567 3564 remote-endpoint = 3568 3565 <&merge_funnel_out>;
+1 -4
arch/arm64/boot/dts/qcom/sm8150.dtsi
··· 2949 2949 }; 2950 2950 2951 2951 in-ports { 2952 - #address-cells = <1>; 2953 - #size-cells = <0>; 2954 2952 2955 - port@1 { 2956 - reg = <1>; 2953 + port { 2957 2954 replicator1_in: endpoint { 2958 2955 remote-endpoint = <&replicator_out1>; 2959 2956 };
+4 -20
arch/arm64/boot/dts/qcom/sm8250.dtsi
··· 3114 3114 clock-names = "apb_pclk"; 3115 3115 3116 3116 out-ports { 3117 - #address-cells = <1>; 3118 - #size-cells = <0>; 3119 3117 3120 - port@0 { 3121 - reg = <0>; 3118 + port { 3122 3119 tpda_out_funnel_qatb: endpoint { 3123 3120 remote-endpoint = <&funnel_qatb_in_tpda>; 3124 3121 }; ··· 3158 3161 }; 3159 3162 3160 3163 in-ports { 3161 - #address-cells = <1>; 3162 - #size-cells = <0>; 3163 - 3164 - port@0 { 3165 - reg = <0>; 3164 + port { 3166 3165 funnel_qatb_in_tpda: endpoint { 3167 3166 remote-endpoint = <&tpda_out_funnel_qatb>; 3168 3167 }; ··· 3367 3374 }; 3368 3375 3369 3376 in-ports { 3370 - #address-cells = <1>; 3371 - #size-cells = <0>; 3372 3377 3373 - port@0 { 3374 - reg = <0>; 3378 + port { 3375 3379 etf_in_funnel_swao_out: endpoint { 3376 3380 remote-endpoint = <&funnel_swao_out_etf>; 3377 3381 }; ··· 3452 3462 clock-names = "apb_pclk"; 3453 3463 3454 3464 out-ports { 3455 - #address-cells = <1>; 3456 - #size-cells = <0>; 3457 3465 port { 3458 3466 tpdm_mm_out_tpda9: endpoint { 3459 3467 remote-endpoint = <&tpda_9_in_tpdm_mm>; ··· 3717 3729 }; 3718 3730 3719 3731 in-ports { 3720 - #address-cells = <1>; 3721 - #size-cells = <0>; 3722 - 3723 - port@0 { 3724 - reg = <0>; 3732 + port { 3725 3733 funnel_apss_merg_in_funnel_apss: endpoint { 3726 3734 remote-endpoint = <&funnel_apss_out_funnel_apss_merg>; 3727 3735 };