[PATCH] dt-bindings: pct: Convert to dtschema

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



convert the PCT Arc Performance Counter bindings to DT schema

Signed-off-by: Dorine Tipo <dorine.a.tipo@xxxxxxxxx>
---
 .../devicetree/bindings/arc/pct.yaml          | 36 +++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arc/pct.yaml

diff --git a/Documentation/devicetree/bindings/arc/pct.yaml b/Documentation/devicetree/bindings/arc/pct.yaml
new file mode 100644
index 000000000000..1f97a7c21b77
--- /dev/null
+++ b/Documentation/devicetree/bindings/arc/pct.yaml
@@ -0,0 +1,36 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/pct.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: ARC Performance Counters
+
+maintainers:
+  - Vineet Gupta <vgupta@xxxxxxxxxx>
+  - Rob Herring <robh+dt@xxxxxxxxxx>
+  - Krzysztof Kozlowski <krzysztof.kozlowski+dt@xxxxxxxxxx>
+
+description: |
+  The ARC700 can be configured with a pipeline performance monitor for counting
+  CPU and cache events like cache misses and hits. Like conventional PCT there
+  are 100+ hardware conditions dynamically mapped to up to 32 counters
+
+properties:
+  compatible:
+    const: "snps,arc700-pct"
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    pmu {
+        compatible = "snps,arc700-pct";
+    };
--
2.25.1





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux