[PATCH 2/6] dt-bindings: perf: marvell: Add YAML schemas for Marvell PEM pmu
Gowthami Thiagarajan
gthiagarajan at marvell.com
Fri Jun 30 05:03:47 PDT 2023
Add device tree bindings for Marvell PEM performance monitor unit
Signed-off-by: Gowthami Thiagarajan <gthiagarajan at marvell.com>
Signed-off-by: Linu Cherian <lcherian at marvell.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 at marvell.com>
+ - Gowthami Thiagarajan <gthiagarajan at marvell.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 at 8e0000005000 {
+ compatible = "marvell,pem-pmu";
+ reg = <0x8E00 0x00005000 0x0 0x3000>;
+ };
+ };
--
2.25.1
More information about the linux-arm-kernel
mailing list