From patchwork Wed Dec 6 14:14:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mao Jinlong X-Patchwork-Id: 17625 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4133090vqy; Wed, 6 Dec 2023 06:15:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IENjzW1pDOSBo0I6mG8uDUzubvUaxYgxSv88NfK2wU76M8bogm0py03c3zYVVyu15JXbaf7 X-Received: by 2002:a05:6a20:748c:b0:18b:246a:d43d with SMTP id p12-20020a056a20748c00b0018b246ad43dmr1195338pzd.15.1701872149622; Wed, 06 Dec 2023 06:15:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701872149; cv=none; d=google.com; s=arc-20160816; b=nlKCmzaOOMSP/9KaZ7kv/vo4Ex+NuHKnYCyUgGSvNOc3X0hDm/psVAF+JhgHAIwboM uviuDQQYDlKar3abqYfqKBRMM/8IA6neRJ5uNB+4DSxL4cBh6AyLn898mOrtesGq6lEz 8jgjlDuHgwiTlVf40G6Cc1aALSXImk+MCtu+flGGLU2E1P4yn3l1A3y8bf5pG9Csa+JV lNLyfhAu7+if3lkX7u9x7PSjYqk8GzG9D3cgNlpY/K7XzqUQwH/CCCxFZ1o7MTvPJ/qC 9fXpxN9lDtDOwAGVZZkrGRYJGS/10S2GWZJ8dMkENhuddFDzX7XqD8VwIkOA5bcRuZns zk9A== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=rfC6QjvK2AD6O9lM1e23BZ1sFVDqmw9mNyfJ4MSv5W0=; fh=MygUNZBKnbpPGGcbCKyN4KGYKr5495f7YoOHGRsWT18=; b=ch2ke/WL4iPLDM+41SyIjVnvnqW7QuMll/yA4fjnuqtR1xtgKtVUiXXZ1/WidXto+H 9M2JgFfs2L/1P+bmqdpvBoqOKUqc6d5NYCAZI0iHtvKNLC1szASfmP/fIbJnRjDIbINP wN6WUmzNJfrcQN9QE8FFfngJa8JVtBGvdIFrhi+cH6OkK1JGSNRWPlcabyFTxGb90jJF FqeaRLZV3zNMP/qxrdzRMD7SHd36keETgtOYTe/LJju0yO9i0wOdf8hyewATvkreBdXo HM3WED0fubro+omktv3JxBjS8ZkWtBf4rw4GuijyEF9vQcoXg/Jayhwovl2MA4jpE8KP RALA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=erqz6JWb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id 20-20020a631354000000b005b8fb1da631si11472334pgt.897.2023.12.06.06.15.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 06:15:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=erqz6JWb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id AF2D98076161; Wed, 6 Dec 2023 06:15:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378734AbjLFOPQ (ORCPT + 99 others); Wed, 6 Dec 2023 09:15:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378699AbjLFOPP (ORCPT ); Wed, 6 Dec 2023 09:15:15 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BED8D49; Wed, 6 Dec 2023 06:15:21 -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 3B6A270b023818; 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 : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=rfC6QjvK2AD6O9lM1e23BZ1sFVDqmw9mNyfJ4MSv5W0=; b=erqz6JWblo4UDdYYTJGdDaNXG+i6Un528XBzGc1P0790QU/4XJznu5pG8CkoZS3t0CRh vCgmiI+oQwlmiUbNb1NEIM1hYo8SzyWaGtbQEGPv/4g6RJyTfD5S25enkEuuZEa4B/qw mPsfAXzOH7YmaAy2iNC/E9Y7vRvKLkREnmYEAcxfoaSQMwU7VnmnhTgkZpz+Mqtpv+v6 DOP8lplC7KH34fRb+0gLcbL6kqB56/jWtdCWXou6liPtFxGb7Yu6KYDEEhrD3Y11iNYH XvjO4OyknMVCCBZ5t2ZCLleVo3z7AhNNqQ7w44R48PZCGiV/3fUuSwO8OrAQqTnO9ke1 eQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3utdadsxcg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 06 Dec 2023 14:15:15 +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 3B6EFEQb023823 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 6 Dec 2023 14:15:14 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 0/4] arm64: dts: qcom: Fix the warnings from coresight bindings Date: Wed, 6 Dec 2023 06:14:55 -0800 Message-ID: <20231206141502.27016-1-quic_jinlmao@quicinc.com> X-Mailer: git-send-email 2.41.0 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: XcoTnA5RBi_MQXrDxnohHXAzSD1Y-8aQ X-Proofpoint-ORIG-GUID: XcoTnA5RBi_MQXrDxnohHXAzSD1Y-8aQ 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=473 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 agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 06 Dec 2023 06:15:30 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784542291146862577 X-GMAIL-MSGID: 1784542291146862577 Fix all warnings in Qualcomm boards coming from Coresight bindings. There are warnings below after running dtbs_check. The patches are to fix them for Qcom boards. funnel@3023000: 'in-ports' is a required property etm@7c40000: 'out-ports' is a required property etf@6047000: in-ports: '#address-cells', '#size-cells', 'port@1' do not match any of the regexes: 'pinctrl-[0-9]+' replicator@604a000: in-ports: '#address-cells', '#size-cells', 'port@1' do not match any of the regexes: 'pinctrl-[0-9]+' funnel@6c2d000: out-ports: '#address-cells', '#size-cells' do not match any of the regexes: 'pinctrl-[0-9]+' Warning (graph_child_address): /soc@0/tpda@6004000/out-ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary Warning (graph_child_address): /soc@0/funnel@6005000/in-ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary Warning (graph_child_address): /soc@0/etf@6b05000/in-ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary Warning (graph_child_address): /soc@0/funnel@7810000/in-ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary Changes since V2: 1. Remove qcom,inst-id for remote etm. 2. Modify the node name of remote etm dt node. 3. Add space between 'endpoint' and the opening brace. Changes since V1: 1. Add new dt binding for remote etm. 2. Add new dt node modem-etm in msm8996.dtsi Mao Jinlong (4): dt-bindings: arm: Add remote etm dt-binding arm64: dts: qcom: msm8996: Fix 'in-ports' is a required property arm64: dts: qcom: msm8998: Fix 'out-ports' is a required property arm64: dts: qcom: Fix coresight warnings in in-ports and out-ports .../arm/qcom,coresight-remote-etm.yaml | 51 +++++++++++++++++++ arch/arm64/boot/dts/qcom/msm8996.dtsi | 21 ++++++++ arch/arm64/boot/dts/qcom/msm8998.dtsi | 32 +++++++----- arch/arm64/boot/dts/qcom/sdm845.dtsi | 5 +- arch/arm64/boot/dts/qcom/sm8150.dtsi | 5 +- arch/arm64/boot/dts/qcom/sm8250.dtsi | 24 ++------- 6 files changed, 98 insertions(+), 40 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml