Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1003756rdb; Wed, 6 Dec 2023 06:16:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IGuKTFqg/ztPy/QbC8lCjKTpUYiAghbswRm3QZTXqynD17tAevlnYUsTHDTtPv9lSszMslH X-Received: by 2002:a05:6a00:2d86:b0:6ce:76d1:fc21 with SMTP id fb6-20020a056a002d8600b006ce76d1fc21mr1045674pfb.17.1701872193527; Wed, 06 Dec 2023 06:16:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701872193; cv=none; d=google.com; s=arc-20160816; b=kxRnF4t85dqn2VgL9dSL28l04zKk60hSVhtFetbh6epKdmTtQmHBkYQiWSBqXPyoaB 3WzuwByjZplJ0fokuW9UIIMeD5T64AHNRp3yvDKVzvUPZpS6X3z1Mm49LCPP6JD9aPxs eZAg0iABzd/Wz4qocYxGIbXgOPhCwQJ0easvMLiuz3/YBxAKHyoSB0NzADUisXkMjk2U Qh20wS+q1wmBECf/HqM/5blYmoaw2bi50upuZhMVwlUaU6848mkv2nWl3EFlLshom3Ld 4MvocVEZacSanFQMVCE9S9usfBxkTbWxbfV5HJTFTEx+fJn0to08GyBkRgWfcxHJMGiA zO3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=epupJxbLnE3q/89ZQF8hZ0X0NAXOB0INxckkyrikmMQ=; fh=xKN1yDKVjknX+FNBABkF/JPX5DZp8w5Et6vXxo7nef8=; b=uQtWwufd3G70gJwDFMK5T3DEF1yi0P9js0v78E7DAqFZfcbDP+VlJdbqYRknT1AV7a duRLi3pLH9rm7JgaJecluHxSmxjnzJEhB+1lBRjSlsNpMakBBa8v/Wr98yN8/wn5rLR2 eTFb+ZAiHY2QSa6FqrJ47NaopJOiCXcoKSxVUy9vkCuWOyPgUm/BoLDVS5BJERx4Le++ i+fhNU5mFJwU1xeEqvFZC4D3+JRxY6R60bq1pf3LT5183MONLi6S11bQDaScMkI1xC9L 0dm0QyqWFb0Y6HNTPmlcHMZLCmojjh4eQI19bCN4y95KhQObmDgp4RH/fJFv5xs4ElQ3 d64w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=At7upStP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id z5-20020a056a00240500b006ce4de73f9bsi25466pfh.117.2023.12.06.06.16.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 06:16:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=At7upStP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 576C88088689; Wed, 6 Dec 2023 06:15:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378750AbjLFOPV (ORCPT + 99 others); Wed, 6 Dec 2023 09:15:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378710AbjLFOPQ (ORCPT ); Wed, 6 Dec 2023 09:15:16 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7E4BD4B; Wed, 6 Dec 2023 06:15:21 -0800 (PST) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B6APpo5029869; Wed, 6 Dec 2023 14:15:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=epupJxbLnE3q/89ZQF8hZ0X0NAXOB0INxckkyrikmMQ=; b=At7upStP0f1mHRsfKV5PFNav1xm2w+E/BWukjpbUH3MISrM/L9tz3BbGcG8zeBQtCUwu 0PeWnS7I+Z5c7zqEn7PkmI6kRTjZLHFfXpvmXxHe33+CIs50JVg5TKu/w4ZuFzmD7xmB SKwJ+W4KZEJQy/MIpIXgeJdJs5tCUqQ+Qtk4bVF+fRIsJBQXemi+lSHR9XgcuB8gQVe0 Dk/MWTrkxfFVYO7PrTSzFnFuWYXumrJM322VXjquVSOYsTf1wi3NSCQ49vCLJP6LNe7U 4HRc4uB8mefPSOE6ggoWZvBq4zPGhkWTXsK7Y4wqLT8059WfQpGsyJJwuE8az2s8qXlM 8A== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3utd1n20qt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 06 Dec 2023 14:15:17 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3B6EFGIU023831 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 6 Dec 2023 14:15:16 GMT Received: from hu-jinlmao-lv.qualcomm.com (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 6 Dec 2023 06:15:15 -0800 From: Mao Jinlong To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Mao Jinlong , , , , Tingwei Zhang , Yuanfang Zhang , "Tao Zhang" , Krzysztof Kozlowski Subject: [PATCH v3 4/4] arm64: dts: qcom: Fix coresight warnings in in-ports and out-ports Date: Wed, 6 Dec 2023 06:14:59 -0800 Message-ID: <20231206141502.27016-5-quic_jinlmao@quicinc.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231206141502.27016-1-quic_jinlmao@quicinc.com> References: <20231206141502.27016-1-quic_jinlmao@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 3efLkN7B-VlqC914OQNgavrAGBjTPfAC X-Proofpoint-GUID: 3efLkN7B-VlqC914OQNgavrAGBjTPfAC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-06_10,2023-12-06_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 suspectscore=0 clxscore=1015 impostorscore=0 priorityscore=1501 adultscore=0 bulkscore=0 mlxscore=0 mlxlogscore=732 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312060115 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 06 Dec 2023 06:15:49 -0800 (PST) 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 Signed-off-by: Mao Jinlong --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 5 +---- arch/arm64/boot/dts/qcom/sm8150.dtsi | 5 +---- arch/arm64/boot/dts/qcom/sm8250.dtsi | 24 ++++-------------------- 3 files changed, 6 insertions(+), 28 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index bf5e6eb9d313..c4dbca4c15f2 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -3545,11 +3545,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>; diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 97623af13464..7bae3bc6af06 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -2957,11 +2957,8 @@ replicator1_out: endpoint { }; in-ports { - #address-cells = <1>; - #size-cells = <0>; - port@1 { - reg = <1>; + port { replicator1_in: endpoint { remote-endpoint = <&replicator_out1>; }; diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index be970472f6c4..fa4e8887d53b 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -3095,11 +3095,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>; }; @@ -3142,11 +3139,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>; }; @@ -3355,11 +3348,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>; }; @@ -3443,8 +3433,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>; @@ -3710,11 +3698,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>; }; -- 2.41.0