Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp136843rdb; Tue, 5 Dec 2023 00:30:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHXjGU3M4uFsUwPtRHsSsGNF10bNXNjKC3JVxHT6Ty75vySNQ2qYxE8T/eevN5ZNHf9wbuN X-Received: by 2002:a05:6a20:918a:b0:187:c496:898b with SMTP id v10-20020a056a20918a00b00187c496898bmr3118689pzd.3.1701765052046; Tue, 05 Dec 2023 00:30:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701765052; cv=none; d=google.com; s=arc-20160816; b=KmBViPHNnavDAnx4dvltKzSVBidIntXSfwuNJZbMcdzmVgunjkZtKIG4E3GeWtL+5z cnHv/OyBF5NFpotNXYJuTiqI9xOwRqEvfTKBmEOO4Z/eDZvcLlLahAobS1eVGyRHmxwd dMPFgW/xq0ZD611znMHacDSmHrJuhZkqcicAtkIQQ6DRdIHq05j0zeLpEeZZcC1SQPt7 rxbZFpuxBC3H6tSsw0fdEmikLvL3ad80iXov5Ork66oooUms7BEX+MCcNlgXzxXjFAMB ZgOOpYSit3YDIejEeSIU8XpEEe/2VH/1HjD4GUM4jbXNPcslhicbix9nrcSJd5TnTtf1 EM+w== 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=kdTTaxiyYqndw4jrDwr3EMf4g2I/iA2wM9RIylcCZnTYKM43jG8WM8+YZMESsnkufp pEp3WySRtMfZNKFJbnEhgsZpbLuU2aYZX4prFNcLXVHuPWEETXnWvyNchjBKd57z6Mjz G5bt1Xro7H1c4C+Te9ASp1F0xqIwWVxp+X326vL1ym4Yy+5pwkxQylURZphA0c/yH3mT C+Fh0hP2Mb8QzzXe97sq891S1d/oa+CGI+CCRB6zttC99D7aBUgP+FshPrTjLquk2ulu ZAYmy5A8O5AA5zwoR09kkJxuoQA6hKiMkigfSIPN01BBeqmf/dtFumrkYuCqwpluUOGd 5C/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=XG+kxSIX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id l10-20020a170902f68a00b001d0791ce87bsi4896171plg.181.2023.12.05.00.30.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 00:30:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=XG+kxSIX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 717048099880; Tue, 5 Dec 2023 00:30:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346166AbjLEI3o (ORCPT + 99 others); Tue, 5 Dec 2023 03:29:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344767AbjLEI3d (ORCPT ); Tue, 5 Dec 2023 03:29:33 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 228F5FA; Tue, 5 Dec 2023 00:29:39 -0800 (PST) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B55Nx1A023771; Tue, 5 Dec 2023 08:29:35 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=XG+kxSIXAUZW70d53oQmOT9Zf+/B62uw442hNyvFta8Y/qN4BGmwlAr2JrfgKVA7LEAX uhfs14D484L/L0c1rWDQ67sV5pY2QIO5SP1rhbmFM9eif/ILr/L+HF51s+tAKV6O9a81 j5v+x1von/CYBSltqk4RMyDl2wdEgpCddlhUt5Ls2rFwm2Hvmd5nyLXJid6gViiv4F+y F538ghtFVDExb0Gmaq6z+pcRfzNdce0i4nVI8Ui5FYoMwhG0kuOL6mxMmign27zw7p6t fVOlt9r44CmCSLv7sBJNnbCEYtFxgLit1IdepHKRGBSGFHt2f1GHQY8SsCkO7De26p6i vw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3usdbnap41-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 05 Dec 2023 08:29:35 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3B58TYXe028167 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 5 Dec 2023 08:29:34 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; Tue, 5 Dec 2023 00:29:34 -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 v2 4/4] arm64: dts: qcom: Fix coresight warnings in in-ports and out-ports Date: Tue, 5 Dec 2023 00:29:19 -0800 Message-ID: <20231205082922.32149-5-quic_jinlmao@quicinc.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231205082922.32149-1-quic_jinlmao@quicinc.com> References: <20231205082922.32149-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: nalasex01c.na.qualcomm.com (10.47.97.35) 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: xlZoSJ10w9Wtomah5ctwUp4_rDbGFlu3 X-Proofpoint-GUID: xlZoSJ10w9Wtomah5ctwUp4_rDbGFlu3 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-05_03,2023-12-04_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 priorityscore=1501 bulkscore=0 mlxlogscore=735 phishscore=0 lowpriorityscore=0 mlxscore=0 impostorscore=0 clxscore=1015 spamscore=0 malwarescore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2312050068 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email 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 (morse.vger.email [0.0.0.0]); Tue, 05 Dec 2023 00:30:21 -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