From mboxrd@z Thu Jan 1 00:00:00 1970 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 B7664C43334 for ; Mon, 13 Jun 2022 15:07:17 +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=uE904AZsaTZujP9rGyOckTIziW+D/nY/YOX2+7fBJ+E=; b=vSPs16Bp+56reP IH9PoWT4T0XLlKDD5I4AC9XWxd61u5B0evAB8xHaiojxU+0CUl7uDxSdRL6EI85hBbbyeKG+8j3fX LJE2FieUiBctgg+HqothmGIIffYdP5HRA8QAEgc+CSCyfKexfGMz335rdrGHAnifRkijcpVNJEcZE STOCEhf+w4t60+P2GbgTD6G2AqEJRUDecdgCwrmaZThMjTHXGTKvTPgMELHvzY3gJ5UZgxn4JtIm1 pmCqHvhNt69QTHFBkacplT6GD9i+AEpGVwnSpveqeid6QiUmdag25ko7boPUdQJ6qiMXaXeZaWt/G CXwoTB5DNOXiSAQNSW/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o0lda-004PBr-3r; Mon, 13 Jun 2022 15:05:55 +0000 Received: from mail-il1-f175.google.com ([209.85.166.175]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o0lUn-004LgI-Qy for linux-arm-kernel@lists.infradead.org; Mon, 13 Jun 2022 14:56:51 +0000 Received: by mail-il1-f175.google.com with SMTP id s1so4469832ilj.0 for ; Mon, 13 Jun 2022 07:56:48 -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=4w68Oz0WdFsRRgldOeQ5Pjd1X1lKelGqv7XShi7EebQ=; b=Enqkrq7akQry2hdHH5AnqbuwphNOAzyIzpCb72h9PIeatdlxJpTJB2l2rqyoQUV4a6 Bt3yJkeeMl2PFAb2LwYNnjd4Chm3n2hpWzIdMnA90y0GMmXs58h0Hsi3dDY9So8IpoKy CSjL8ZegHj5nCKnJbREQ3R6044BIYKe/yseTwKsYCj1QEJ9ciSfXwZ+nEjDX4YeuyyO9 WuV9q8F/3XnsyY5iMWFsLLdN4EDBTYOjhUnsa4OJ4PKaHgDrIz1VjPNNPd4EekKoD7ab 4xCqzOBTrrxgQxFcM1cQuWE1ZbeRKOZz6ASeY6z0To9YyzoiMujUmZyaoR2OjUo3Rs2l UfOg== X-Gm-Message-State: AJIora9ierA0LFXA/x9qMJGomCuTfPNOv2174Ut/RbNX9lZNwcQogk9S zcc5u7pcwkkON0Nz+h0YFNjz+xEnyA== X-Google-Smtp-Source: AGRyM1tWaOAHYCw0bAjRAC2vQHsWf0/Hg8K6igY8vBjeklRkX102W/LDsyxB1xqMjijSwT+p/hfpyA== X-Received: by 2002:a05:6e02:158a:b0:2d3:f1c0:6b68 with SMTP id m10-20020a056e02158a00b002d3f1c06b68mr128574ilu.38.1655132207733; Mon, 13 Jun 2022 07:56:47 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.251]) by smtp.googlemail.com with ESMTPSA id r13-20020a056638044d00b003318c717b59sm3610860jap.39.2022.06.13.07.56.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jun 2022 07:56:47 -0700 (PDT) From: Rob Herring To: Will Deacon , Mark Rutland , Krzysztof Kozlowski , Robin Murphy Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: perf: Convert Arm CCN to DT schema Date: Mon, 13 Jun 2022 08:55:54 -0600 Message-Id: <20220613145554.3727354-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-20220613_075649_931217_095C5C24 X-CRM114-Status: GOOD ( 14.00 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Convert the Arm CCN performance monitors binding to DT schema format. Signed-off-by: Rob Herring --- .../devicetree/bindings/perf/arm,ccn.yaml | 40 +++++++++++++++++++ .../devicetree/bindings/perf/arm-ccn.txt | 23 ----------- 2 files changed, 40 insertions(+), 23 deletions(-) create mode 100644 Documentation/devicetree/bindings/perf/arm,ccn.yaml delete mode 100644 Documentation/devicetree/bindings/perf/arm-ccn.txt diff --git a/Documentation/devicetree/bindings/perf/arm,ccn.yaml b/Documentation/devicetree/bindings/perf/arm,ccn.yaml new file mode 100644 index 000000000000..0b0bb2091016 --- /dev/null +++ b/Documentation/devicetree/bindings/perf/arm,ccn.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/perf/arm,ccn.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARM CCN (Cache Coherent Network) Performance Monitors + +maintainers: + - Robin Murphy + +properties: + compatible: + enum: + - arm,ccn-502 + - arm,ccn-504 + - arm,ccn-508 + - arm,ccn-512 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + ccn@20000000 { + compatible = "arm,ccn-504"; + reg = <0x20000000 0x1000000>; + interrupts = <0 181 4>; + }; +... diff --git a/Documentation/devicetree/bindings/perf/arm-ccn.txt b/Documentation/devicetree/bindings/perf/arm-ccn.txt deleted file mode 100644 index 1c53b5aa3317..000000000000 --- a/Documentation/devicetree/bindings/perf/arm-ccn.txt +++ /dev/null @@ -1,23 +0,0 @@ -* ARM CCN (Cache Coherent Network) - -Required properties: - -- compatible: (standard compatible string) should be one of: - "arm,ccn-502" - "arm,ccn-504" - "arm,ccn-508" - "arm,ccn-512" - -- reg: (standard registers property) physical address and size - (16MB) of the configuration registers block - -- interrupts: (standard interrupt property) single interrupt - generated by the control block - -Example: - - ccn@2000000000 { - compatible = "arm,ccn-504"; - reg = <0x20 0x00000000 0 0x1000000>; - interrupts = <0 181 4>; - }; -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel