From patchwork Fri Jun 3 01:19:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 12868421 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 54CADC433EF for ; Fri, 3 Jun 2022 01:21:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=3OpEEvPmtob9nnRURye3xTe8inwwIUJj6RYPvngGfoQ=; b=vm7geu+b4rl17c oYqtFOBP7e+InQ6cq5YnK+/oMp5hM11whz7/u5HPmBwF4RmKha7NuKPrj5Ty0C2fBX8U/WBTqqpRt Uy+7hZBJt7KqqLq+Og+agSfESxIEyBmQ75ZcMY520jHgsMHmsiyRpHewqv6fdKaf3bJLGTp4FCE4f gMOkpzBCVI3MBkaz/wEOvHKdwY9yuU2A46uT3nVgc4NhisBgHzzNKM2KksiADUJ9DnFHdNrJF90y1 8jdquBL0NrN1E4hRPm0hbdiHj7U6Fl5n3vSDk7guaym3etHywq4vm3WtEl3dN3d4v86GQWG92aptb orhbEUfen7Y9Z9YRe3+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwvyU-005GnL-RF; Fri, 03 Jun 2022 01:19:38 +0000 Received: from mail-oa1-f52.google.com ([209.85.160.52]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwvyR-005GmN-JE for linux-arm-kernel@lists.infradead.org; Fri, 03 Jun 2022 01:19:37 +0000 Received: by mail-oa1-f52.google.com with SMTP id 586e51a60fabf-f314077115so8992865fac.1 for ; Thu, 02 Jun 2022 18:19:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=efuG/USrWvVrmhoIqcXd16O6sjAyJQXHbx6OyOwpcvw=; b=YBvEcceDO7O9n9n2mPYrL6FEBqqrPkO/xzLkdkhu2hIqmFFmmY78SBDuYwJ0Vi9M04 1WRlQLDyg4LJe8WYGZbNm8HzkI4Tlvv61BUxrHBkyavEekIRKBSdlrjhZoUObE76MT9k 1Io1f07z4AgmVsB0NK3epLxmayZ1o0/pJW1K1bDHKZczPzGhgMmr/4G/2Ja2n8xawmUr zcO2AfKk68vGQYneeL3MO2gW3bpzW0/jx4yW4QHA+1Dsv/CV4W1SMeQUywRyjVxtW+Gm derAWN40G2ZbPzyKG0DoDEW9FZiej6xzwrO+Vc+AiUQKwL0eZUvSB9JPv7yucQSWMcT3 t0Cg== X-Gm-Message-State: AOAM533+RDqpO0khlHwcISaUInpLaeTNn9Ot59zf7xmqr3Ha3hHbTL8O 3oHkTxm1GWPsfo9dYb1cKw== X-Google-Smtp-Source: ABdhPJwxTgjqpj8o2G/QIlMu1QLWhjt1AyeJO9mMNFamxK1uO6fQwKmc0PuyDPxb+N9qK5H/m0RiAw== X-Received: by 2002:a05:6870:b617:b0:f5:d766:1b70 with SMTP id cm23-20020a056870b61700b000f5d7661b70mr8981823oab.80.1654219174375; Thu, 02 Jun 2022 18:19:34 -0700 (PDT) Received: from xps15.. (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.googlemail.com with ESMTPSA id na14-20020a0568706c0e00b000f5d8d031b6sm2679746oab.49.2022.06.02.18.19.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jun 2022 18:19:34 -0700 (PDT) From: Rob Herring To: Mathieu Poirier , Mike Leach , Leo Yan , Suzuki K Poulose , Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 0/3] dt-bindings: Arm CoreSight binding schema conversions Date: Thu, 2 Jun 2022 20:19:30 -0500 Message-Id: <20220603011933.3277315-1-robh@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220602_181935_671751_5E6F9BD8 X-CRM114-Status: GOOD ( 12.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series converts all the CoreSight debug bindings to DT schema format. These bindings are at the top of the list of occurrences of bindings without a schema. For arm64 dts files: 702 ['arm,coresight-etm4x', 'arm,primecell'] 536 ['arm,coresight-cpu-debug', 'arm,primecell'] 509 ['arm,coresight-dynamic-funnel', 'arm,primecell'] 213 ['arm,coresight-tmc', 'arm,primecell'] 143 ['arm,coresight-dynamic-replicator', 'arm,primecell'] 97 ['arm,coresight-stm', 'arm,primecell'] I'll send a reply to these with the errors in dts files that this causes. I've reviewed them and they all look legit. Xilinx Zynq though has 3 clocks instead of 2. v2: - Rename other Coresight bindings to use compatible string for filename - Add missing arm,coresight-dynamic-replicator.yaml and arm,coresight-static-funnel.yaml - Update MAINTAINERS - Fix coresight.txt references Rob Rob Herring (3): dt-bindings: arm: Rename Coresight filenames to match compatible dt-bindings: arm: Convert CoreSight bindings to DT schema dt-bindings: arm: Convert CoreSight CPU debug to DT schema .../bindings/arm/arm,coresight-catu.yaml | 101 +++++ .../bindings/arm/arm,coresight-cpu-debug.yaml | 81 ++++ ...esight-cti.yaml => arm,coresight-cti.yaml} | 5 +- .../arm/arm,coresight-dynamic-funnel.yaml | 126 ++++++ .../arm/arm,coresight-dynamic-replicator.yaml | 126 ++++++ .../bindings/arm/arm,coresight-etb10.yaml | 92 ++++ .../bindings/arm/arm,coresight-etm.yaml | 156 +++++++ .../arm/arm,coresight-static-funnel.yaml | 89 ++++ .../arm/arm,coresight-static-replicator.yaml | 90 ++++ .../bindings/arm/arm,coresight-stm.yaml | 101 +++++ .../bindings/arm/arm,coresight-tmc.yaml | 131 ++++++ .../bindings/arm/arm,coresight-tpiu.yaml | 91 ++++ ...yaml => arm,embedded-trace-extension.yaml} | 3 +- ...e.yaml => arm,trace-buffer-extension.yaml} | 2 +- .../bindings/arm/coresight-cpu-debug.txt | 49 --- .../devicetree/bindings/arm/coresight.txt | 402 ------------------ Documentation/trace/coresight/coresight.rst | 2 +- MAINTAINERS | 8 +- 18 files changed, 1192 insertions(+), 463 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/arm,coresight-catu.yaml create mode 100644 Documentation/devicetree/bindings/arm/arm,coresight-cpu-debug.yaml rename Documentation/devicetree/bindings/arm/{coresight-cti.yaml => arm,coresight-cti.yaml} (98%) create mode 100644 Documentation/devicetree/bindings/arm/arm,coresight-dynamic-funnel.yaml create mode 100644 Documentation/devicetree/bindings/arm/arm,coresight-dynamic-replicator.yaml create mode 100644 Documentation/devicetree/bindings/arm/arm,coresight-etb10.yaml create mode 100644 Documentation/devicetree/bindings/arm/arm,coresight-etm.yaml create mode 100644 Documentation/devicetree/bindings/arm/arm,coresight-static-funnel.yaml create mode 100644 Documentation/devicetree/bindings/arm/arm,coresight-static-replicator.yaml create mode 100644 Documentation/devicetree/bindings/arm/arm,coresight-stm.yaml create mode 100644 Documentation/devicetree/bindings/arm/arm,coresight-tmc.yaml create mode 100644 Documentation/devicetree/bindings/arm/arm,coresight-tpiu.yaml rename Documentation/devicetree/bindings/arm/{ete.yaml => arm,embedded-trace-extension.yaml} (95%) rename Documentation/devicetree/bindings/arm/{trbe.yaml => arm,trace-buffer-extension.yaml} (94%) delete mode 100644 Documentation/devicetree/bindings/arm/coresight-cpu-debug.txt delete mode 100644 Documentation/devicetree/bindings/arm/coresight.txt Reviewed-by: Mathieu Poirier --- 2.34.1