From patchwork Fri Jun 30 12:03:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gowthami Thiagarajan X-Patchwork-Id: 13298093 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 EC0F1EB64D7 for ; Fri, 30 Jun 2023 12:04:50 +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:References:In-Reply-To: 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: List-Owner; bh=0aCnBBcpWWvyifWb6+yiAODwuEbG25V59yLypdhZDd8=; b=rbfbMV3QGnnqWR Ull2LLaMJi+X7P9P1t964XjQedtEZkhHweEwr62/OmwA3NPz7emTPB/+5CDjNtm9rqerv9qnGEQbr iKv+onMDJOMEGCjpxKNeEF5Yj9oR/BR1mlgw3P25uU7cM7VreFV9SC9YNdAZZ50oDDF+t9cYf3QAF 5fviFR8aqP/xUsJbfRzkPbXk6a7wcN3TQJfF6qTpaQUoxl8H3EVtdwL+cvv/IrgDee3lMIEcQyyk2 2EirOwjDhV5YiVSedzWSvODViOfvQHo+4S2Ui4sbK7Plf8GkmxIcB9tlD6jA6gakxOGbhHFufvDI5 jxZeSZs6cVSk/7hmmzEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qFCrO-003eH5-2l; Fri, 30 Jun 2023 12:04:22 +0000 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174] helo=mx0b-0016f401.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qFCrL-003eFU-0N for linux-arm-kernel@lists.infradead.org; Fri, 30 Jun 2023 12:04:21 +0000 Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35U2CEJI013689; Fri, 30 Jun 2023 05:04:07 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=AouykxsHJQ6G801BqoEOg/S/d76AYcbTjVSAsV8G8KM=; b=FTv9Kh3FB2B0lgixISOT8FVmVZhwtiR6V4sDxVnRBLJPHUsEg2hsmdjDaUB1dhCKOyW7 qZQpM9rMM6uK9kp12pxQaLfG6E2c/ZIDLKx+jLm8At3cEtdZHX4KT7NSHaROEhQeiNYf QUPZDWse+x14PSjV+EzntLGPDKToMqoB+BsxwRgoDOZS/D8gkWLym4w1zoWRproNwK4X U5Hz1+qURbdut4/h1BunIyn64HbBxsii+1KyC+Sju0/Gqlpl7PZCs2rCPb2qugAWDjCY m8021hNTNe4QEuJYBDioK94jPL7z/bYGDHZpYjx2/UAC55IjW/zWTQvgp0VW8oDdXQtk AA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3rhp2ehnm7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 30 Jun 2023 05:04:07 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Fri, 30 Jun 2023 05:04:05 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Fri, 30 Jun 2023 05:04:05 -0700 Received: from IPBU-BLR-SERVER1.marvell.com (IPBU-BLR-SERVER1.marvell.com [10.28.8.41]) by maili.marvell.com (Postfix) with ESMTP id 0F00E5B6926; Fri, 30 Jun 2023 05:04:02 -0700 (PDT) From: Gowthami Thiagarajan To: , , , CC: , , , , Gowthami Thiagarajan Subject: [PATCH 2/6] dt-bindings: perf: marvell: Add YAML schemas for Marvell PEM pmu Date: Fri, 30 Jun 2023 17:33:47 +0530 Message-ID: <20230630120351.1143773-3-gthiagarajan@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230630120351.1143773-1-gthiagarajan@marvell.com> References: <20230630120351.1143773-1-gthiagarajan@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: 6pph-w79iTQO9SxQ4LFYKH_-HRgJlkFD X-Proofpoint-GUID: 6pph-w79iTQO9SxQ4LFYKH_-HRgJlkFD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-30_05,2023-06-30_01,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230630_050419_172712_FD85D6D8 X-CRM114-Status: GOOD ( 15.61 ) 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 Add device tree bindings for Marvell PEM performance monitor unit Signed-off-by: Gowthami Thiagarajan Signed-off-by: Linu Cherian --- .../bindings/perf/marvell-odyssey-pem.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/perf/marvell-odyssey-pem.yaml diff --git a/Documentation/devicetree/bindings/perf/marvell-odyssey-pem.yaml b/Documentation/devicetree/bindings/perf/marvell-odyssey-pem.yaml new file mode 100644 index 000000000000..6af201fbccd8 --- /dev/null +++ b/Documentation/devicetree/bindings/perf/marvell-odyssey-pem.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/perf/marvell-odyssey-pem.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Marvell Odyssey PCIe interface performance monitor + +maintainers: + - Linu Cherian + - Gowthami Thiagarajan + +properties: + compatible: + items: + - enum: + - marvell,pem-pmu + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + bus { + #address-cells = <2>; + #size-cells = <2>; + + pmu@8e0000005000 { + compatible = "marvell,pem-pmu"; + reg = <0x8E00 0x00005000 0x0 0x3000>; + }; + };