From patchwork Tue Dec 5 08:29:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mao Jinlong X-Patchwork-Id: 173794 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp3285584vqy; Tue, 5 Dec 2023 00:29:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IFkvpRDyXuF8yQB0u4EMIkdF8O7o9+uNLL0npmc1bir0kNvKYndRdtBNndhLbWzEkGKaEet X-Received: by 2002:a05:6a20:ae0a:b0:18c:da:ba0b with SMTP id dp10-20020a056a20ae0a00b0018c00daba0bmr4965440pzb.44.1701764989501; Tue, 05 Dec 2023 00:29:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701764989; cv=none; d=google.com; s=arc-20160816; b=FoAoCVY4OBIDkOSZAs4Lb1N0z44+CTGMoCW8tCCAHf3BMBm+i+wM8kAb/vOUNPny2C Jgka1olKVVa1naMzGHkXRosN2+VOLIhO6bPDUxF9/4p1SOPEBFjwLXBMenr6humivpV3 WekXP0Y2fNxtws6SQ2qpamwJc5amNeRu42a9IWkLUfwwcJuEz1zaJRr21dK/yhPtakm+ jHWlz9Xzvp4VHgAuEnvu2R9Zskewbvd4JYuSHGNFc0MC8fn3VZLjSVOLKv9f1tpCoWpa 4jSPYFDCPDYp0ZCEtXnEtIrGpV12F3JGPac68PnYnSreGACVgNlCjuBDpjUr3raF7Jnl 5hag== 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=4+jFZk3wOHriTAMwHwz1K9rKLnBzZeujgPEFVzfEoEc=; fh=MygUNZBKnbpPGGcbCKyN4KGYKr5495f7YoOHGRsWT18=; b=fIYY/Jytkyzxkv5nnoJcT0dtBn/V7AbApm1nxMit+6+TB5CvyHBMPkzfwnhkmA5SD5 /SqAP8+pTcuHYuLBSuDMsqZcro63KfI9s9+yjPfas4rYXUx9NtDDGFrzjGuwXmQl0nki TTPyxbfQ+nCgCjGsFeAX9tXwGB+pFFkmI8BSwNHaPrm8yG0QEyD7BW9MH+b4/An5JPhK QOxsnShNfbQV8oZrwIk3Z5fkQFc+m5LM6ZBIALPv8QtXT9RdYytIeS5CN9Oy/1xWIUtF /Rwq/gBm9JZRwV3vZC+zue1iJSlmCPwy690onTZrgs023pEcuTFCyBD0K7glrsyloxU9 3sLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="av1GxG/u"; 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id q10-20020a056a00150a00b006cdaa195ea6si1659763pfu.69.2023.12.05.00.29.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 00:29:49 -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="av1GxG/u"; 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 1A11A8040EAE; Tue, 5 Dec 2023 00:29:48 -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 S1344771AbjLEI3e (ORCPT + 99 others); Tue, 5 Dec 2023 03:29:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229712AbjLEI3b (ORCPT ); Tue, 5 Dec 2023 03:29:31 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D136AD3; Tue, 5 Dec 2023 00:29:37 -0800 (PST) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B589DvT025762; Tue, 5 Dec 2023 08:29:34 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=4+jFZk3wOHriTAMwHwz1K9rKLnBzZeujgPEFVzfEoEc=; b=av1GxG/uF7+tpLH3L022Nk/xn66XUxHzxQZoZ7yY5lJ8Z60NBx6pQcIX/FENzL4zy+OZ pdNpDiOWKD+4RWvj/BBZWc9OF1w4MYxzh86IgVztBJRHUfVvQb9CdwMO0ejDhHyDuYBs OsntiADmGEJpmOmKQRp6HBJcNGYCQpvfCKRXWRmkqfO4jKuor3QUNyucapZAUUoXb7rz dlTNPhUnclYvBdpdac/5phcvNnUm/+cGrORi/14jU7WM5t30N0Ceh+JwnmLyGJDKfbBk ETbo/swje/1UQKPMhfu0cdwxVAyoO2/21GxOITMRPCTCH6zfYHmJ/xC0cMr3t//NlHhj xQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3usfu7a647-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 05 Dec 2023 08:29:34 +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 3B58TXZt028117 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 5 Dec 2023 08:29:33 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:33 -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" Subject: [PATCH v2 1/4] dt-bindings: arm: Add remote etm dt-binding Date: Tue, 5 Dec 2023 00:29:16 -0800 Message-ID: <20231205082922.32149-2-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 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-GUID: 2vfNNuk8BaKHYhAyBYrRR1rnBo2CW9LO X-Proofpoint-ORIG-GUID: 2vfNNuk8BaKHYhAyBYrRR1rnBo2CW9LO 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 spamscore=0 adultscore=2 clxscore=1015 malwarescore=0 bulkscore=0 impostorscore=0 mlxlogscore=717 priorityscore=1501 mlxscore=0 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2312050068 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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]); Tue, 05 Dec 2023 00:29:48 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784429925727517080 X-GMAIL-MSGID: 1784429925727517080 Remote ETM(Embedded Trace Macrocell) is to capture information of the executed processor instructions of remote processors like modem. Add new coresight-remote-etm.yaml file describing the bindings required to define coresight remote etm in the device trees. Signed-off-by: Mao Jinlong --- .../arm/qcom,coresight-remote-etm.yaml | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml b/Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml new file mode 100644 index 000000000000..bc76cda33620 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml @@ -0,0 +1,60 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/qcom,coresight-remote-etm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Coresight Remote ETM(Embedded Trace Macrocell) + +maintainers: + - Jinlong Mao + - Tao Zhang + +description: + Support for ETM trace collection on remote processor using coresight + framework. Enabling this will allow turning on ETM tracing on remote + processor like modem processor via sysfs and collecting the trace + via coresight TMC sinks. + +properties: + compatible: + const: qcom,coresight-remote-etm + + qcom,inst-id: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Each kind of remote ETM has its unique instance id. The remote etm will + be enabled/disabled on remote processor based on the id send from + ap processor. + + out-ports: + $ref: /schemas/graph.yaml#/properties/ports + additionalProperties: false + + properties: + port: + description: Output connection to the CoreSight Trace bus. + $ref: /schemas/graph.yaml#/properties/port + +required: + - compatible + - qcom,inst-id + - out-ports + +additionalProperties: false + +examples: + - | + modem-etm0 { + compatible = "qcom,coresight-remote-etm"; + qcom,inst-id = <2>; + + out-ports { + port { + modem_etm0_out_funnel_modem: endpoint { + remote-endpoint = <&funnel_modem_in_modem_etm0>; + }; + }; + }; + }; +... From patchwork Tue Dec 5 08:29:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mao Jinlong X-Patchwork-Id: 173793 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp3285544vqy; Tue, 5 Dec 2023 00:29:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IGM8XjwTCi6V7LsYI1rpYJn392JsARNCRO/fcYM3gvAJmW3KlC5jLzL9UwYpJqG3gMqdMlA X-Received: by 2002:a05:6870:e6d4:b0:1fb:75a:6d40 with SMTP id s20-20020a056870e6d400b001fb075a6d40mr6088726oak.103.1701764983538; Tue, 05 Dec 2023 00:29:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701764983; cv=none; d=google.com; s=arc-20160816; b=jpf8+k8Dz+xFzAdAJmpJhyrMjVtwDtHxTqMVDWr+FzP3BohTNANIccpBhy0e+F3QqJ pN4gMj+lK9kVrnWWZ6bF8l/d67RgwxQMBtEee1Uk2EsULkSHM19fl4lZnJhAIRdBwZxn /HTFRXRgHLBII5WzFpFk213UKGA92htfxeTE5sogXmB3uoG9t2DrU8duMy3zsQ6dzEk6 YR+7P2UnWDm+DMC29zSPoHvSRz5lEg2osHiPr4521VRLef517EVJWpbMNIgXeko02Cgx J3WS8iTPXQRKdHR6ESM8ylM8XQk7jFArR1SfqMTtVrptgh5RyzsMTFNeLgL/+24leaDC F3hw== 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=0eyvHQoN7RwtHTwojYivhjN10wuWixfFe6L3oXO8mfQ=; fh=MygUNZBKnbpPGGcbCKyN4KGYKr5495f7YoOHGRsWT18=; b=DXBRGaKuLD0h685INz2oygUJHv1A3e++SAvIcK5NphaNzvPPk2poeRhvTGg4Shm2V2 nHDZhb2MG+klHAUTaGBWlIfsY7F6CplSK5gzKJrcNr6O4lgI6atFwGPuElNojEIS3tP5 Ez3V8SELzuz+t1LYj8L5iKrSaIo6jmeBC1Y1S9KV32uwH2oJdDkySJ0xdT4Y2XJ3AvoN Cb+OhmWbj8vJkQajCQXY2w4YYpHvk6RxuGfmC9zQkozHRV5/8lVs89DjIROtTOlDaGcA fzW7z7HFsGGeEpCVtt2Z53fo4DHlkY5py71HulSxR8uSEOORVIkKmA3lkAVhNZ7sXAsg zUkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kqvR+NIE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id w62-20020a636241000000b005c6707eedb1si4338314pgb.679.2023.12.05.00.29.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 00:29:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=kqvR+NIE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 52D398040EA9; Tue, 5 Dec 2023 00:29:42 -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 S231770AbjLEI3c (ORCPT + 99 others); Tue, 5 Dec 2023 03:29:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229615AbjLEI3b (ORCPT ); Tue, 5 Dec 2023 03:29:31 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBFEEC0; Tue, 5 Dec 2023 00:29:37 -0800 (PST) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B5580J1018300; 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=0eyvHQoN7RwtHTwojYivhjN10wuWixfFe6L3oXO8mfQ=; b=kqvR+NIEnroFRd3aPy+wney8xONCk8YVXnBdMm+9cvdHDbdG/zI9KEVN2F8vUyxclNnN h/JdfjlOEyboSTyQWn8lS/b27btP9Z+vOaBNtYwivLtrnEihY2AcaVLNaif2ohN4aS4y 340xLhLmuuwDK0uPaGWGt5QNk8/pWgLAn2OL/hVsx9GQ8aWG7GaMoAlBkGNCO5g63CB5 QqMAUZBFzQ2rSE4O+6M+3HnIPEgBrYEJY+BvGAescLF3Ex/wD2X4KUAM9cHtH5DAkqzQ +l3FVJbeoAPY1HRGCQO12Pj7RdsWC4UQOfVVvphu1emch3FhzL/e9XAHF7h4ccGqyD2G Xw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3usdf7jpaw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 05 Dec 2023 08:29:34 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3B58TYh8020045 (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:33 -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" Subject: [PATCH v2 2/4] arm64: dts: qcom: msm8996: Fix 'in-ports' is a required property Date: Tue, 5 Dec 2023 00:29:17 -0800 Message-ID: <20231205082922.32149-3-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 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: KJPjzGPVF7QriJ2zPAzvyLUUFxjO6kpY X-Proofpoint-GUID: KJPjzGPVF7QriJ2zPAzvyLUUFxjO6kpY 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 impostorscore=0 suspectscore=0 lowpriorityscore=0 priorityscore=1501 bulkscore=0 spamscore=0 clxscore=1015 adultscore=0 phishscore=0 malwarescore=0 mlxscore=0 mlxlogscore=817 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2312050068 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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]); Tue, 05 Dec 2023 00:29:42 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784429919399938102 X-GMAIL-MSGID: 1784429919399938102 Add the inport of funnel@3023000 to fix 'in-ports' is a required property warning. Signed-off-by: Mao Jinlong --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 6ba9da9e6a8b..e7d93d0b4f3b 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -444,6 +444,20 @@ memory@80000000 { reg = <0x0 0x80000000 0x0 0x0>; }; + modem-etm0 { + compatible = "qcom,coresight-remote-etm"; + + qcom,inst-id = <2>; + out-ports { + port { + modem_etm_out_funnel_in2: endpoint{ + remote-endpoint = + <&funnel_in2_in_modem_etm>; + }; + }; + }; + }; + psci { compatible = "arm,psci-1.0"; method = "smc"; @@ -2644,6 +2658,14 @@ funnel@3023000 { clocks = <&rpmcc RPM_QDSS_CLK>, <&rpmcc RPM_QDSS_A_CLK>; clock-names = "apb_pclk", "atclk"; + in-ports { + port { + funnel_in2_in_modem_etm: endpoint{ + remote-endpoint = + <&modem_etm_out_funnel_in2>; + }; + }; + }; out-ports { port { From patchwork Tue Dec 5 08:29:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mao Jinlong X-Patchwork-Id: 173795 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp3285592vqy; Tue, 5 Dec 2023 00:29:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHiGTWhsFzgXUliglH7J4Z9W4VtU3/o/Y1zrKmkhqUA1oX7CCqQOFvE0UGU6ecmEfDMyMi1 X-Received: by 2002:a05:6a00:e0a:b0:6cb:6880:752 with SMTP id bq10-20020a056a000e0a00b006cb68800752mr821136pfb.17.1701764992492; Tue, 05 Dec 2023 00:29:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701764992; cv=none; d=google.com; s=arc-20160816; b=I5pClJXp1XeAIVL0mh+l4sbeO+89jNJgWAsOxrV+NYBwu19997uBM6e/+hC8cOzKz/ StifcQ3U981+Y2YDr5iXx8O2wscb3nGHxbEPe61cCYBtQcGHWZkN4/MwgTTtVR4OVm3f aOB7w0MR1G6vOrRfWi2knuOL+Ch1CaZYYmA2mwCd+pI5wQPlVaOaNpFgn36oyd/E7J1s ux7GPsrto+sCRSDCxF/uNBDqVvEnYYyAYIuvvn9XogsPQdLwnoGFjtikk006oFIQUhLE jOqxRhmiOzDtUlrO7fcIrfe/c6lioQPqNXJskF1P+1TQDuktmnT0R/8h9LIqkJmOZIea R8Tw== 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=BuW1OseJwPKY8JI1CXqJtJkKqX/f/W2T31FhmqgNJFM=; fh=xKN1yDKVjknX+FNBABkF/JPX5DZp8w5Et6vXxo7nef8=; b=CUK46+kFOnHy6M7Cux5Bx6FhZ73QRsvMx14aZS1I7ha5kIBixSvJiraDerNX6faT4c QzjCeqFdGsY4xJIGLRuO0cVOH/Pvb2xPdMkgO+lrbtypdsA8/F0y65DJEv3/RuNH/THx 6oGY70ZZhZy1AzXXrpdpbx/T1OpTPNK94dqX91Lng8U9PKBwvtuGHkn93RS1HmUaoNWA RKtgRBJgJ9NWU3P/ARM16/ZkL4Wol6JN1gRFsaa5oUayjCOTyx1de9VYkFamStUDndlY CgyF1U8EB+UoLkxQkU87ubEDt57irbdjcpIagwFEKXdCTbUFTE2LHLue+A7Bt57tGOab ftng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UeWM+Vnj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id y9-20020a656c09000000b005c6667e3ce3si5009254pgu.299.2023.12.05.00.29.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 00:29:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=UeWM+Vnj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 65B388040EB9; Tue, 5 Dec 2023 00:29:51 -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 S1344784AbjLEI3g (ORCPT + 99 others); Tue, 5 Dec 2023 03:29:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231714AbjLEI3b (ORCPT ); Tue, 5 Dec 2023 03:29:31 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7201A9C; Tue, 5 Dec 2023 00:29:38 -0800 (PST) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B56TgSc015148; 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=BuW1OseJwPKY8JI1CXqJtJkKqX/f/W2T31FhmqgNJFM=; b=UeWM+VnjL8a1D/CE3rQGhvrsd7NlzEmxYe19+3dmPVO75ayRHX9H+UeZk8tCyLo+KNAd 14zmbRXXqsU0PnPD8N+kG8eyAjlheSxBelUiNAM+gpgGiPHaVvrXz4jRZ4uYayH2nicO 1N4nMk7MxlIYB64kd050A53UdUnPm8L7R1y7PAUsUoL6GNC3js8vsXP40R5VjHrseEYR pWmB/1sfkwmy7jF8718/wQkT1sUJMrrQhgf1fPohtVTOmdMRmP5SOBrlR7SNJ68R1Jku xzncBikLYI+0JO9z+0LFA0MEGrJ5HwzzQEjZrDGcu2Qr7BKvdtnKj0Z8FRdoqz0ZAJ/R ug== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3usjnqhp94-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 NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3B58TYGd029305 (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:33 -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 3/4] arm64: dts: qcom: msm8998: Fix 'out-ports' is a required property Date: Tue, 5 Dec 2023 00:29:18 -0800 Message-ID: <20231205082922.32149-4-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 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: nIbyVd5aoINqJ8PKWvz0WiL4OpPwGK-d X-Proofpoint-GUID: nIbyVd5aoINqJ8PKWvz0WiL4OpPwGK-d 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 bulkscore=0 adultscore=0 lowpriorityscore=0 clxscore=1015 mlxscore=0 suspectscore=0 priorityscore=1501 spamscore=0 impostorscore=0 mlxlogscore=700 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2312050068 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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]); Tue, 05 Dec 2023 00:29:51 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784429928583438187 X-GMAIL-MSGID: 1784429928583438187 out-ports is a required property for coresight ETM. Add out-ports for ETM nodes to fix the warning. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Mao Jinlong --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 32 +++++++++++++++++---------- 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index b485bf925ce6..ebc5ba1b369e 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -2031,9 +2031,11 @@ etm5: etm@7c40000 { cpu = <&CPU4>; - port { - etm4_out: endpoint { - remote-endpoint = <&apss_funnel_in4>; + out-ports { + port { + etm4_out: endpoint { + remote-endpoint = <&apss_funnel_in4>; + }; }; }; }; @@ -2048,9 +2050,11 @@ etm6: etm@7d40000 { cpu = <&CPU5>; - port { - etm5_out: endpoint { - remote-endpoint = <&apss_funnel_in5>; + out-ports { + port { + etm5_out: endpoint { + remote-endpoint = <&apss_funnel_in5>; + }; }; }; }; @@ -2065,9 +2069,11 @@ etm7: etm@7e40000 { cpu = <&CPU6>; - port { - etm6_out: endpoint { - remote-endpoint = <&apss_funnel_in6>; + out-ports { + port { + etm6_out: endpoint { + remote-endpoint = <&apss_funnel_in6>; + }; }; }; }; @@ -2082,9 +2088,11 @@ etm8: etm@7f40000 { cpu = <&CPU7>; - port { - etm7_out: endpoint { - remote-endpoint = <&apss_funnel_in7>; + out-ports { + port { + etm7_out: endpoint { + remote-endpoint = <&apss_funnel_in7>; + }; }; }; }; From patchwork Tue Dec 5 08:29:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mao Jinlong X-Patchwork-Id: 173796 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp3286021vqy; Tue, 5 Dec 2023 00:30:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IF2Z6CK/XEYhuihOCe9yHrGgmISEkHuEK2lMiBVnu77o9qEebP1XNVcIbbQlKTeKKLrLRwB X-Received: by 2002:a62:8453:0:b0:6cb:4c60:7398 with SMTP id k80-20020a628453000000b006cb4c607398mr735076pfd.13.1701765052030; 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 Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id f22-20020a63f116000000b00578ea9a0b93si9366946pgi.890.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 D15D78099270; Tue, 5 Dec 2023 00:30:16 -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 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:17 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784429991528509061 X-GMAIL-MSGID: 1784429991528509061 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>; };