Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1693432rdb; Thu, 7 Dec 2023 06:31:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IF8lC5YZZAjUmSAEM+QnyKj70uXEcQnkvEGCr+VYAzom/VOExUR+RFXo/X/R9D5+bfdLgaq X-Received: by 2002:a17:902:ca0d:b0:1d0:c2ef:a6f7 with SMTP id w13-20020a170902ca0d00b001d0c2efa6f7mr1826785pld.73.1701959479714; Thu, 07 Dec 2023 06:31:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701959479; cv=none; d=google.com; s=arc-20160816; b=Qz5tzLd3n1cG3an8l6iHxSgorjIvPGHbvZbK3YxTSjpLDTGmk3VvUKkJX6wnHq1DTM j14jXPmtmvLqVkDzgXec/DK2YHV1lzCIDmiHLc/CN/bwz0gXKJhfg4CT7uC0j2LiFp8f XY5rUkBZEgleKxwNKQmRPO6VfZERgPCm8zLxEaXjtGTZGtYXSo1nq5gFsuTqYZ1ZjgKX Nd6qFGqQbUepGaNZU2lRKC8DPvMdbCn2IWGXl4OTrvG8XFGP4+I1AwSqbfPMJ6WCeine WZQIS2TdxyPdzYQGhi7LyA8igIAseoUFKQ7uF1WnwstwqedK4AvHttI+1SGzAci9vHw0 8ovQ== 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; bh=LSRDRy2je5bhVbk5SpBOU+QZvxmILXFmOs+ZSfUHP/U=; fh=LEO9njN/iG3CAnMTWOkvH4/2b3hRw66S28RT747gvp8=; b=ox4JI49fd8F69H/QNLuHU4PQpsvv+nFVf9sfb5vAIsd7mwnzSGtLVSEA4dcPg6c60E Te6/ezi3w9N19mRH+BF/qU3cT/+ivBNtjKTUYqazFqnYIrtrl0erKFqbDfhJmDLhNJlK JVP5aAgSoBMdeUQrg+Ql2eOrXrpvPvIrR3nHDun/nsUkYa+8hqFwPpDyPqFYzKOEndPE kQCYrAxtoQ8iUWekFXtCfpQ9UGFj8pFo85OmdUUADd8elMBEJESQZnzHI2ApeJerf8df nzlZq4cINUqcuzgKff+ryD4DD+/nRsLogGX53h+d7mIqWWUdxVwvmEg/19ZAmeo+uI3q OHPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id jc21-20020a17090325d500b001cfcd2e1294si1199522plb.241.2023.12.07.06.31.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:31:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 31759807EDB2; Thu, 7 Dec 2023 06:31:18 -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 S1443214AbjLGOas convert rfc822-to-8bit (ORCPT + 99 others); Thu, 7 Dec 2023 09:30:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443309AbjLGOan (ORCPT ); Thu, 7 Dec 2023 09:30:43 -0500 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46ABB93; Thu, 7 Dec 2023 06:30:49 -0800 (PST) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 05E24819E; Thu, 7 Dec 2023 22:30:48 +0800 (CST) Received: from EXMBX072.cuchost.com (172.16.6.82) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 7 Dec 2023 22:30:48 +0800 Received: from localhost.localdomain (202.188.176.82) by EXMBX072.cuchost.com (172.16.6.82) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 7 Dec 2023 22:30:40 +0800 From: Ji Sheng Teoh To: Jonathan Corbet , Will Deacon , "Mark Rutland" , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , Dan Williams , "Ilkka Koskinen" , Jonathan Cameron , Dave Jiang CC: Ji Sheng Teoh , Ley Foon Tan , , , , , Conor Dooley Subject: [PATCH v5 2/3] dt-bindings: perf: starfive: Add JH8100 StarLink PMU Date: Thu, 7 Dec 2023 22:29:39 +0800 Message-ID: <20231207142940.1794032-3-jisheng.teoh@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231207142940.1794032-1-jisheng.teoh@starfivetech.com> References: <20231207142940.1794032-1-jisheng.teoh@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [202.188.176.82] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX072.cuchost.com (172.16.6.82) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,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]); Thu, 07 Dec 2023 06:31:18 -0800 (PST) Add device tree binding for StarFive's JH8100 StarLink PMU (Performance Monitor Unit). Signed-off-by: Ji Sheng Teoh Reviewed-by: Conor Dooley --- .../perf/starfive,jh8100-starlink-pmu.yaml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/perf/starfive,jh8100-starlink-pmu.yaml diff --git a/Documentation/devicetree/bindings/perf/starfive,jh8100-starlink-pmu.yaml b/Documentation/devicetree/bindings/perf/starfive,jh8100-starlink-pmu.yaml new file mode 100644 index 000000000000..915c6b814026 --- /dev/null +++ b/Documentation/devicetree/bindings/perf/starfive,jh8100-starlink-pmu.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/perf/starfive,jh8100-starlink-pmu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH8100 StarLink PMU + +maintainers: + - Ji Sheng Teoh + +description: + StarFive's JH8100 StarLink PMU integrates one or more CPU cores with a + shared L3 memory system. The PMU support overflow interrupt, up to + 16 programmable 64bit event counters, and an independent 64bit cycle + counter. StarFive's JH8100 StarLink PMU is accessed via MMIO. + +properties: + compatible: + const: starfive,jh8100-starlink-pmu + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + pmu@12900000 { + compatible = "starfive,jh8100-starlink-pmu"; + reg = <0x0 0x12900000 0x0 0x10000>; + interrupts = <34>; + }; + }; -- 2.25.1