From patchwork Tue Dec 5 08:29:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mao Jinlong X-Patchwork-Id: 17551 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp3285653vqy; Tue, 5 Dec 2023 00:30:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFTNQfxIPmAh+M/CFDzeHgitKMbjI0HL4Tqghjq80qfv3Re/TBOwQlYv2nnvzk+ABkrwWa X-Received: by 2002:a17:903:5d0:b0:1d0:700b:3f77 with SMTP id kf16-20020a17090305d000b001d0700b3f77mr1125623plb.49.1701765000449; Tue, 05 Dec 2023 00:30:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701765000; cv=none; d=google.com; s=arc-20160816; b=ZZjKdJtavlwQJitRU6VrwSdQYwQGdnnu6bithnVcCDI9JPkc4+0IoElVQlkIstedx/ CA1BkpxiXgbDoto5T6HL08ChpOdj+e18k6ICEL+AqtvbQ7FbO4+6/jCtqWPFVCDgJMjq zYkwlP5S8Rehiqr9apGmoJvxuqd5Q7jMvN+4EdwL1eTvtU/3wFmR0CS6t3R6Iuwj8Hzf e3Rmw42fmBgUN3UaVRXbNsP5xasVfLhITUQvEu5O3TJ3rhaV5XsySbMk+saMu+4vE7OJ hZFhogXRvKHB3RjKWwPCktjCGh27nlTK+J5h7F58FAsfCPDd/jYHJXkr/ha8E545kOrS lgtg== 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=ORcuQYviGo8ljICe7rV/aIaRYueXRqSuWORvR+cf0YM=; fh=MygUNZBKnbpPGGcbCKyN4KGYKr5495f7YoOHGRsWT18=; b=BvV5VL/CsQZ//qUDLpXvfjdVSR99+9hDpX1SOxxEMLergiuq5PveOcaSdL7/0qiJUL LhS0X53OKVphnpzmT0k1K6+ovXOCUEPWLJ+IHxBsJgHCgEnquLDDDmY/klmzexKAEvop lU9dfatHl3zYgPb2CNAyAlyhRuD8E5wgFkjeC6cKYA6JuxcpF1gQJ17kvNcBEaLfDGJQ Zf2AVAonbF5D6bHdAnNMz2fNEerspcWWL38sgD0LaK6JdSJv3PKTG/0Ib+VhiNa5JGEI f/HJha+e72VgYPeYe1oj+DzfB2ps7qNtyn04heSmYbVoW9XG9UcCgENLj14xrVx2BAey p1xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=aRiGIxzt; 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 j7-20020a170903024700b001cfaa9ba6basi9257428plh.240.2023.12.05.00.30.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 00:30:00 -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=aRiGIxzt; 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 B90CD80A1E1A; Tue, 5 Dec 2023 00:29:54 -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 S1344829AbjLEI3l (ORCPT + 99 others); Tue, 5 Dec 2023 03:29:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344766AbjLEI3d (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 34EA110F; 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 3B56e8fu009054; 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 : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=ORcuQYviGo8ljICe7rV/aIaRYueXRqSuWORvR+cf0YM=; b=aRiGIxztHv0bacAbSw+rnQyNf7OOwFYR/S2Bux1NEWcj4pyhhjz7IWAD18kpKpvFpIx7 1rNRBxFwpBYgWRTAVkNwr5ZmZbfxIECyniVc7H5AhNP32RMCO/t7+haXmFDSL0lrgiPL txf7vlkgllEpMpLhvDOjwDXfEDKyqpWPl/Y8OQYEZCxl1zUaSxBCyxo/dH+tpVbYm4Xp xVaZWG9BCKUBBDEXH61quxKbZDGU9+SaumtlHe11c5hqiGfG8sRcAwZOqUsbaWYxbk0D l7o9jxQ+Pfom1Lpns31DxcM/Wg+2fAgOC/vd9fVZZUr4GdARyDE3y+0je0LEbTjesjLY 5A== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3usdbnap40-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 3B58TXXN020042 (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:32 -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 0/4] arm64: dts: qcom: Fix the warnings from coresight bindings Date: Tue, 5 Dec 2023 00:29:15 -0800 Message-ID: <20231205082922.32149-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: 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: z1TGejewRxbkhUCo7a_QmkgsvuSzJMsv X-Proofpoint-GUID: z1TGejewRxbkhUCo7a_QmkgsvuSzJMsv 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=503 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 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]); Tue, 05 Dec 2023 00:29:55 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784429937178151671 X-GMAIL-MSGID: 1784429937178151671 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 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 | 60 +++++++++++++++++++ arch/arm64/boot/dts/qcom/msm8996.dtsi | 22 +++++++ 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, 108 insertions(+), 40 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml