From patchwork Wed Dec 6 14:14:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mao Jinlong X-Patchwork-Id: 174595 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4133139vqy; Wed, 6 Dec 2023 06:15:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IFtWxITh9yqdNtYNgTM3EDIwO5kxX66zUGimrvpqJ9+CoB8DSVJ28+48MWDOFN98jY5MMoT X-Received: by 2002:a17:90b:3509:b0:286:adca:497a with SMTP id ls9-20020a17090b350900b00286adca497amr901796pjb.2.1701872153455; Wed, 06 Dec 2023 06:15:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701872153; cv=none; d=google.com; s=arc-20160816; b=tyA0M1soI/CCks5DWi6ftbsRQHhMS7whwGCnALhJle7VFsVAu6ebs/lGT+cOg4keq/ 4ODIsD7I0/2NM8fZQ3bArGwsbW2fQDOxRWEdZ3zlINAIWOWlRmVTG2UMT4pAoo4bK0cx 79m8PCFcqS5h5Fy0iRDpxXY+Nwfir8zeCFmwxuUDgPD8UvsV//+8JFekOo1OoArFqir7 LVHKUIWyqK/L1EVfurQZlbCWoeB4a6aAvUEfckhsiAJWIs3yCRYfJEbXUsv0uNuToq1o 0lfDkWMsfmMM8e7Yyk1YrciE6VuciKQxNtR3OJGilTJZO+O6Kj7uADn4Ait/yz++pvg3 FNcw== 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=v5XQsm6qK7trqasAoR7vL+GslmEW4eUn8t0EdQ7fJrk=; fh=MygUNZBKnbpPGGcbCKyN4KGYKr5495f7YoOHGRsWT18=; b=0YtTIkmZxh71Z2U3oYw3LFP3sDss2V4MvS6bfilhYfLYQmM8KUU/tOEc1pUF6ry6z6 AuYPZO9IuBgh9UkHf6aVUl6pyJ/Xx0gZckG8d/zTPmhcdigEV5dh3TtoCyfMv5Ff0E/6 8f109A0pmXffbc6xxHd1mPEvoi5UKz/Hjkb5HOao8ixSXvveVb+NLLE4BVwfyqAokyA7 XrXCLVZuy9gJb1tJ0CCG6o12vxdCvt/hV5/2RjeDbXO9hBeJXlU6VgA3E9Rxpt+qPu3I 2jRlrOk5GR+/0WWpGgqW6Pt4W4NI+PokAGb2MH+jBHTajMtu3vkMONglONU4DL1ZG0Ju d21Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Oo+Be9Vp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id h1-20020a17090acf0100b00286e9d394d0si2552927pju.23.2023.12.06.06.15.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 06:15:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Oo+Be9Vp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 8DD87809B9C2; Wed, 6 Dec 2023 06:15:48 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378864AbjLFOPX (ORCPT + 99 others); Wed, 6 Dec 2023 09:15:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378733AbjLFOPQ (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 19133181; Wed, 6 Dec 2023 06:15:23 -0800 (PST) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B63vqle028777; Wed, 6 Dec 2023 14:15:16 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=v5XQsm6qK7trqasAoR7vL+GslmEW4eUn8t0EdQ7fJrk=; b=Oo+Be9VpVPw5dIyfECDT9IIY+JJlQh/CMfoZLgvgSmgJFtTur74eECCPbJSbIDgtS6e5 X0sOCIPZ356fEnKuK2qoo6BSDiyCAqSkWQoy8Y4Qtc/gTlnR/D/lBwHIRdUC7YRlqNTh k/r7aqA3GiR7lFMDiSbNK/9TPBNgx/YC6kYXZDt1Y9qm713P/UWmIlPFzHPy4DKgY8e5 GXWvh5pebNbD5fLjTu+s//BSlKfCw1ZnLLvhe3JFDiFpnAlxQdOl9fyhhREJw7xg2Cnq G0N0qdh1rl1qkIp7m8zD7SuhSumAXrJR+ZmMThhwISOTPN90hc8tdemjW0YzUkS4qtNb Vg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3utdadsxch-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 06 Dec 2023 14:15:16 +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 3B6EFFRS023246 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 6 Dec 2023 14:15:15 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:14 -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 v3 1/4] dt-bindings: arm: Add remote etm dt-binding Date: Wed, 6 Dec 2023 06:14:56 -0800 Message-ID: <20231206141502.27016-2-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 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-GUID: LdEiVCkRIL57D-FOcw4JlYK-vxLphdRn X-Proofpoint-ORIG-GUID: LdEiVCkRIL57D-FOcw4JlYK-vxLphdRn 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_11,2023-12-06_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 clxscore=1015 priorityscore=1501 bulkscore=0 phishscore=0 adultscore=0 impostorscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 suspectscore=0 mlxlogscore=710 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312060115 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 howler.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 (howler.vger.email [0.0.0.0]); Wed, 06 Dec 2023 06:15:49 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784542294999475856 X-GMAIL-MSGID: 1784542294999475856 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 Reviewed-by: Krzysztof Kozlowski --- .../arm/qcom,coresight-remote-etm.yaml | 51 +++++++++++++++++++ 1 file changed, 51 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..6ef4a572c52d --- /dev/null +++ b/Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml @@ -0,0 +1,51 @@ +# 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 + + 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 + - out-ports + +additionalProperties: false + +examples: + - | + etm { + compatible = "qcom,coresight-remote-etm"; + + out-ports { + port { + modem_etm0_out_funnel_modem: endpoint { + remote-endpoint = <&funnel_modem_in_modem_etm0>; + }; + }; + }; + }; +... From patchwork Wed Dec 6 14:14:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mao Jinlong X-Patchwork-Id: 174597 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4133631vqy; Wed, 6 Dec 2023 06:16:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IHbgJe0Q9a7tLQrKXpf7xQtszQLP1DNXevnxhi8fTocUJr/wJ5rj/B+p9XJ9e+39IeAbfmb X-Received: by 2002:a17:90a:e601:b0:286:6cc0:886e with SMTP id j1-20020a17090ae60100b002866cc0886emr626852pjy.91.1701872190918; Wed, 06 Dec 2023 06:16:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701872190; cv=none; d=google.com; s=arc-20160816; b=Mk7f6Cmx71o36FNXd4ZXaXBmo9N52smKKSDPKcQElRHAMmqKo3o1AOyMJkPbGDHflw oE8ukOsj0pk+vjuxK4B6+F3LG5F3KW3ThZdvJWmiznto73LThXdxuMunIE3BxaDtZvtv BMOSTR0fs63SZDMs+jnWs5NHr1bNGxdKtny4X9V1cZ+y6LZWCT7gO/XEjrD4fCphUpy8 GDWyiuyHfrx5Xz1A8g5ylKlj3zhLrFeOF656PzYSHAejerZczJvaul+YXVJZPTVu25vR SYB+ra9cZibzKG5+cgdG5BAfi11rSCKZ5fcBGcAfgnDHb29wVpjwEeuJ7orky24CYqr9 R/Fw== 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=rVGjpaG6FOohJ4YnaI6orWQWRS+3SjfnL/FLi28Fh6o=; fh=MygUNZBKnbpPGGcbCKyN4KGYKr5495f7YoOHGRsWT18=; b=uGzUIeRJWoH/aBaqcAk72ts62YehzpQhm+7/5KReHp4uqNUi4PCvGtNLAh7Wmd100z DOW7pI78vqj551hcE6huDa1nxZb4/eZCFqsICk8wD9d2NBzf5O0NrTQKLEpEaAKi3Idj cAtVKaxSsNxqAAfGE264B8mbuKuUYG9/pYpR1cptK7MP/5juXJqPHsfeDPv6LJ8pEQap YGTN0/vt9HgIv39o/w6Q9nJ2UzfYMoaJwEGKpeJ3erMtxi4VhvyTJykfNiZKPrJmVMjV /57/XcaZ+vKnM9iM/ZjUHlC7sgxwxT0dtadmrkUW3SSw4Jj0/C4Z54ZYmIcxte76gnFJ wBdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZHp6UXkD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id mq7-20020a17090b380700b00285be1801d8si11922999pjb.101.2023.12.06.06.16.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 06:16:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZHp6UXkD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 6124E80725C9; Wed, 6 Dec 2023 06:15:35 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378749AbjLFOPT (ORCPT + 99 others); Wed, 6 Dec 2023 09:15:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378679AbjLFOPQ (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 428FDD4F; Wed, 6 Dec 2023 06:15:22 -0800 (PST) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B5NmIqg015556; 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=rVGjpaG6FOohJ4YnaI6orWQWRS+3SjfnL/FLi28Fh6o=; b=ZHp6UXkDeWbG9hzB6uorKkcIZTzCwJcCvxvoSeyGcv+6Q3zH7ckbuFLWNKIgR4zEvCmj qO3dOpT9Nuz3hmTlRJTO0IJC9hKTSvs6AMKfylZJpAt3WJtJJPZ3ED2RC9MRdv8pZcvJ A7IWatzirhK3iizwL2vxz2ZDj3nBrMznQNPjsjn0r/4XVuzxeq6PNkF452j2LpjQap1W dViPXl0oNemsuqgFeau7LAdN3MjDjyzoBu02mAsMetSrbZUm9JaHqOASe/bmIxM9k7pM wOAaJHcRL59lzxz2Dx+xN4hiZTh6tOom+x2cg1YotQptLm7z8aW3Gj25jZ6j2SoCeiW8 9Q== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3utd1whyuy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 06 Dec 2023 14:15:16 +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 3B6EFFNM022206 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 6 Dec 2023 14:15:15 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" Subject: [PATCH v3 2/4] arm64: dts: qcom: msm8996: Fix 'in-ports' is a required property Date: Wed, 6 Dec 2023 06:14:57 -0800 Message-ID: <20231206141502.27016-3-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 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-GUID: bDTlfIGjph1rHZ9wHQwZ1oBUDTBMOPpt X-Proofpoint-ORIG-GUID: bDTlfIGjph1rHZ9wHQwZ1oBUDTBMOPpt 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 priorityscore=1501 lowpriorityscore=0 mlxscore=0 phishscore=0 clxscore=1015 impostorscore=0 adultscore=0 mlxlogscore=814 suspectscore=0 spamscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312060115 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 pete.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 (pete.vger.email [0.0.0.0]); Wed, 06 Dec 2023 06:15:36 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784542334332749906 X-GMAIL-MSGID: 1784542334332749906 Add the inport of funnel@3023000 to fix 'in-ports' is a required property warning. Signed-off-by: Mao Jinlong Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 6ba9da9e6a8b..fa8ec92ce490 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -444,6 +444,19 @@ memory@80000000 { reg = <0x0 0x80000000 0x0 0x0>; }; + etm { + compatible = "qcom,coresight-remote-etm"; + + 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 +2657,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 Wed Dec 6 14:14:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mao Jinlong X-Patchwork-Id: 174596 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4133491vqy; Wed, 6 Dec 2023 06:16:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IE81Ze44c68CmRSSSe/TICHkxcS6f93xiZyPp01iWaNzvyK2Jvf1VDfFnA2D+J7fR/elPep X-Received: by 2002:a17:90a:df13:b0:280:c576:31af with SMTP id gp19-20020a17090adf1300b00280c57631afmr594161pjb.40.1701872179623; Wed, 06 Dec 2023 06:16:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701872179; cv=none; d=google.com; s=arc-20160816; b=bqO4g6E7u6xqnkshKV5ZvuGpATCCnkkHBbNHaSeZXjqj+LrfIPRV3rC4Ej22X1hxr9 2SPiM/gFPNsXweel0W6+uubZp0My0gZGVNldg3P9dN1eJDUYdf3rQzfTfpZD3nvIOk26 qhX+WGjsxTKhGz2DsHdudPvK4ZyfVRtSRQXUL/Edd4roE5P6VPKB6j36wOiKB9anR/JI xnZbRiRVR+oDkbTmo9ESGkOInK39aELKXJrQ8BWwIVEh0KxLAmDTckCignrtc/XpxCuR QL5F8Se1cl/M36HR3bGWJWuMmOn0HKNwmf2PB8zimhfdcMj6JSg7vhTL1mQepM95znzR VHZw== 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=TPmSibF8Mk+BhNLaGXw6S+KAQGeI1f9BhIhe1HQGmcX3N5sEk2FJF8MWCu5al4npPG dos7so3sT8FrhU7wI+4UsXzEKIRbKD4FiTh5Q9LDgtlvC9mpy0eNEsUcmIDQHptWgRo0 DNH1GpLShvOvgt9/7pyH4I0d8ABSPe/Iw5wZX537uA7b5z2cRdS5Wlib3ITwYM2tJc5r 3L1t2KGwfASxKywpOQe+ZgHRbrxcLNrZGm3bVpx5KW4J6OIXTcjXFqowpAyLh2afXBK1 ZFF3zAnp54PSGH1TrDzTH5/iMx+wMUh2b8DyaNYICcGhkS54HaIH/ka+JtMYmGhnJqFD gvyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZQN+TmfL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id j3-20020a17090a318300b002886e186bddsi1105726pjb.178.2023.12.06.06.16.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 06:16:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZQN+TmfL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 3ADF58075157; Wed, 6 Dec 2023 06:15:35 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378690AbjLFOPP (ORCPT + 99 others); Wed, 6 Dec 2023 09:15:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378679AbjLFOPN (ORCPT ); Wed, 6 Dec 2023 09:15:13 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 128E7181; Wed, 6 Dec 2023 06:15:20 -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 3B69oRlU032454; 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=BuW1OseJwPKY8JI1CXqJtJkKqX/f/W2T31FhmqgNJFM=; b=ZQN+TmfLZhlyaIvFn+DC7hzoqa1vAl42s0Yec9cY+0UlyxJLyFqUWS33KVztPVv1ZeH6 GiQVMfJPwmX2GqXANohlTiD/2ExgejvfHTFn1zi0aj9ymLEfMFVEGaHEBysWhDeBqx8m eUHzjmZLBpIUygELn2NMi1Hx7cYKZ8+J6EM67I63YVBQvzNMloPw1LK5UYF354Yu9Zjy DgtwkBjz0ipmMJiu3W3NvlBaPsQnpD9xjhG6k5wNJ4+gfQih+XzxZVhS4BpymEDwrWMC 1TuRh87DonseGeAWp4vt67z+R3DPcpGr+87D2SMgObFgadjPYj8Q3urjhgbhzwnP6UNL WA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3utd0qj2g7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 06 Dec 2023 14:15:16 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3B6EFFQj007115 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 6 Dec 2023 14:15:15 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 3/4] arm64: dts: qcom: msm8998: Fix 'out-ports' is a required property Date: Wed, 6 Dec 2023 06:14:58 -0800 Message-ID: <20231206141502.27016-4-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 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-GUID: hKSXy1E1mPl1Ivcmrvg0vZMj2WJh--HZ X-Proofpoint-ORIG-GUID: hKSXy1E1mPl1Ivcmrvg0vZMj2WJh--HZ 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_11,2023-12-06_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 clxscore=1015 impostorscore=0 bulkscore=0 mlxlogscore=696 lowpriorityscore=0 spamscore=0 adultscore=0 priorityscore=1501 suspectscore=0 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312060115 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 fry.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 (fry.vger.email [0.0.0.0]); Wed, 06 Dec 2023 06:15:35 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784542322300982852 X-GMAIL-MSGID: 1784542322300982852 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 Wed Dec 6 14:14:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mao Jinlong X-Patchwork-Id: 174598 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4133637vqy; Wed, 6 Dec 2023 06:16:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/X/ZBf99K2V/KA8CwE9DrOMaa5QwI0pP8FEO8JXCKvRQQfI8VQyRVVthEKFK9cve81rIW X-Received: by 2002:a05:6a20:7288:b0:18f:97c:8a2a with SMTP id o8-20020a056a20728800b0018f097c8a2amr1052298pzk.85.1701872191502; Wed, 06 Dec 2023 06:16:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701872191; cv=none; d=google.com; s=arc-20160816; b=PM+dXWpmMcu79XQ9+OKPKDiWMmWBmAEp4JAARJrwZEhgeS1pWPT3lAMUuChdPoBY5K eforS37ygWFy2JsPtZ+Z9ntUKPS296lVDPWxsLLh0LlzjY9dc4pwsszwrTOPS4NU2Rz9 xPWWjPYFzb4g2FalHr33nEjM1g6WiE7k2Zt1LvgPmuYJtzaTTI8xsPdeN3lgIFkdAEl5 NVxWPAN4xsXEmEvPqUrcrU65ka5nXVZuDC76DDWTLX7N1P4KfsqiL+LQS5RhwgT4rPn9 zSF01anpTINtWAk3Y8wF3ND+OhJnuTHiW0DQYb4Ef2F16pWovbc1whunMui90PXqwxvO mO0w== 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 Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id m27-20020a634c5b000000b005c2185da898si11420228pgl.832.2023.12.06.06.16.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 06:16:31 -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 CA8218072803; Wed, 6 Dec 2023 06:15:46 -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 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:47 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784542334545238606 X-GMAIL-MSGID: 1784542334545238606 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>; };