Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4069948imw; Tue, 12 Jul 2022 00:42:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v+NjLG7dqNuRrmRxyHOIOhv45yi4bYjmbXGXjEwu9nTm4/bJBAf7+TvwkUOpy/1dqbx2Mh X-Received: by 2002:a17:90a:e7cd:b0:1f0:c82:c88f with SMTP id kb13-20020a17090ae7cd00b001f00c82c88fmr2742693pjb.100.1657611726344; Tue, 12 Jul 2022 00:42:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657611726; cv=none; d=google.com; s=arc-20160816; b=uy8tNgqqJFxtqubMpZ1HuaspAxHNTpaAURT6Q8RqMcQeeKzCz0ROhLldW5kCRyGZi3 QQ+yBxmZHQX2GQ9JrCvikoFTaDnLl4W3dhPOv56v1ol8snAB9dravWkB/4OnHtnzhiMB 7Bv9dg9noBwCt6HZ/WTtMSEfm3d0Sad5nb6MHYJxdvha2pgXuf+oduoO9X8UYVsPzoeJ HhbYQ5um+NYYdXre0cHETXmwAOOJyXdDV5vlGaCrwPFzydDeZNh5gf4xEFmEBZBfNk9l egseCBOqhMklWq52gBxSkA+RNb5fOoUjEC6uyGMISzFVlyEwWLkhAa64nrFpD9+zRviv +xWQ== 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=u34sEya+KWdKLLHefaBLXAmnhcYxARjkDSZVx8xSVRk=; b=lmOrkGePjw/vk+Pv2gMpdvVcZE1j7W7+UkOw2wV/gful7zC+BzkMDF6FUx7tOudjE4 iQaqKDHeWXa4a5C2brE4HsigzjfBKbtLTiBTxkUdUxhHPl28sYonpz9tgCd/T+hTtipk S3JC0xSddvCzWB9QFbD7b3qALptJtu7IVaV9Lvm/9XtrbA9ikwc2iJmQvHxlMDGaNlMh Z9e3iXiizWLL5UQ/UGWH841zA9M9r0pKns4iEgp22eUQnNFw6AWmOkybpY3Jg3R6QaWP izWbHN++iDeudVPgpN8qfyxs7mU3GyhovumGsjUhiux0LPPSnScESBwpauwmhtWLqIu9 U3Sg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z1-20020a170902708100b0016a0e4d84b2si11832031plk.570.2022.07.12.00.41.53; Tue, 12 Jul 2022 00:42:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232186AbiGLGw0 (ORCPT + 99 others); Tue, 12 Jul 2022 02:52:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232194AbiGLGwU (ORCPT ); Tue, 12 Jul 2022 02:52:20 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E335A8C745; Mon, 11 Jul 2022 23:52:15 -0700 (PDT) Received: from droid01-xa.amlogic.com (10.88.11.200) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2176.14; Tue, 12 Jul 2022 14:37:00 +0800 From: Jiucheng Xu To: , , , CC: Rob Herring , Krzysztof Kozlowski , Will Deacon , "Mark Rutland" , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Chris Healy , Jiucheng Xu Subject: [PATCH 4/4] dt-binding:perf: Add Amlogic DDR PMU Date: Tue, 12 Jul 2022 14:36:41 +0800 Message-ID: <20220712063641.2790997-4-jiucheng.xu@amlogic.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220712063641.2790997-1-jiucheng.xu@amlogic.com> References: <20220712063641.2790997-1-jiucheng.xu@amlogic.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.88.11.200] X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, 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 Add binding documentation for the Amlogic G12 series DDR performance monitor unit. Signed-off-by: Jiucheng Xu --- .../devicetree/bindings/perf/aml-ddr-pmu.yaml | 51 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/perf/aml-ddr-pmu.yaml diff --git a/Documentation/devicetree/bindings/perf/aml-ddr-pmu.yaml b/Documentation/devicetree/bindings/perf/aml-ddr-pmu.yaml new file mode 100644 index 000000000000..c586b4ab4009 --- /dev/null +++ b/Documentation/devicetree/bindings/perf/aml-ddr-pmu.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/perf/aml-ddr-pmu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic G12 DDR performance monitor + +maintainers: + - Jiucheng Xu + +properties: + compatible: + oneOf: + - enum: + - aml,g12-ddr-pmu + - items: + - enum: + - aml,g12-ddr-pmu + - const: aml,g12-ddr-pmu + + reg: + maxItems: 2 + + interrupts: + maxItems: 1 + +required: + - compatible + - model + - dmc_nr + - chann_nr + - reg + - interrupts + - interrupt-names + +additionalProperties: false + +examples: + - | + ddr_pmu: ddr_pmu { + compatible = "amlogic,g12-ddr-pmu"; + model = "g12a"; + dmc_nr = <1>; + chann_nr = <4>; + reg = <0x0 0xff638000 0x0 0x100 + 0x0 0xff638c00 0x0 0x100>; + interrupts = ; + interrupt-names = "ddr_pmu"; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index fd2a56a339b4..ac0a1df4622d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1055,6 +1055,7 @@ M: Jiucheng Xu S: Supported W: http://www.amlogic.com F: Documentation/admin-guide/perf/aml-ddr-pmu.rst +F: Documentation/devicetree/bindings/perf/aml-ddr-pmu.yaml F: drivers/perf/amlogic/ F: include/soc/amlogic/ -- 2.25.1