[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230812142518.778259-3-gthiagarajan@marvell.com>
Date: Sat, 12 Aug 2023 19:55:14 +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>, <robh+dt@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>, <conor+dt@...nel.org>,
<devicetree@...r.kernel.org>
CC: <sgoutham@...vell.com>, <bbhushan2@...vell.com>,
<lcherian@...vell.com>,
Gowthami Thiagarajan <gthiagarajan@...vell.com>
Subject: [PATCH v2 2/6] dt-bindings: perf: Add Marvell PEM performance monitor unit
Add binding documentation for Marvell PEM performance monitor unit.
Signed-off-by: Linu Cherian <lcherian@...vell.com>
Signed-off-by: Gowthami Thiagarajan <gthiagarajan@...vell.com>
---
v1->v2
- Changed DT binding file name to match with compatible
- Added respective document in MAINTAINERS
.../perf/marvell,odyssey-pem-pmu.yaml | 38 +++++++++++++++++++
MAINTAINERS | 1 +
2 files changed, 39 insertions(+)
create mode 100644 Documentation/devicetree/bindings/perf/marvell,odyssey-pem-pmu.yaml
diff --git a/Documentation/devicetree/bindings/perf/marvell,odyssey-pem-pmu.yaml b/Documentation/devicetree/bindings/perf/marvell,odyssey-pem-pmu.yaml
new file mode 100644
index 000000000000..a761fc09565b
--- /dev/null
+++ b/Documentation/devicetree/bindings/perf/marvell,odyssey-pem-pmu.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-pmu.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Marvell PCIe interface performance monitor
+
+maintainers:
+ - Linu Cherian <lcherian@...vell.com>
+ - Gowthami Thiagarajan <gthiagarajan@...vell.com>
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - marvell,odyssey-pem-pmu
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ bus {
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ pmu@...000005000 {
+ compatible = "marvell,odyssey-pem-pmu";
+ reg = <0x8e00 0x00005000 0x0 0x3000>;
+ };
+ };
diff --git a/MAINTAINERS b/MAINTAINERS
index 9eaabaa60317..192a69d2fad6 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -12582,6 +12582,7 @@ MARVELL PEM PMU DRIVER
M: Linu Cherian <lcherian@...vell.com>
M: Gowthami Thiagarajan <gthiagarajan@...vell.com>
S: Supported
+F: Documentation/devicetree/bindings/perf/marvell,odyssey-pem-pmu.yaml
F: drivers/perf/marvell_pem_pmu.c
MARVELL PRESTERA ETHERNET SWITCH DRIVER
--
2.25.1
Powered by blists - more mailing lists