[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230630120351.1143773-3-gthiagarajan@marvell.com>
Date: Fri, 30 Jun 2023 17:33:47 +0530
From: Gowthami Thiagarajan <gthiagarajan@...vell.com>
To: <will@...nel.org>, <mark.rutland@....com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
CC: <sgoutham@...vell.com>, <bbhushan2@...vell.com>,
<gcherian@...vell.com>, <lcherian@...vell.com>,
Gowthami Thiagarajan <gthiagarajan@...vell.com>
Subject: [PATCH 2/6] dt-bindings: perf: marvell: Add YAML schemas for Marvell PEM pmu
Add device tree bindings for Marvell PEM performance monitor unit
Signed-off-by: Gowthami Thiagarajan <gthiagarajan@...vell.com>
Signed-off-by: Linu Cherian <lcherian@...vell.com>
---
.../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 <lcherian@...vell.com>
+ - Gowthami Thiagarajan <gthiagarajan@...vell.com>
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - marvell,pem-pmu
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ bus {
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ pmu@...000005000 {
+ compatible = "marvell,pem-pmu";
+ reg = <0x8E00 0x00005000 0x0 0x3000>;
+ };
+ };
--
2.25.1
Powered by blists - more mailing lists