convert the PCT Arc Performance Counter bindings to DT schema Signed-off-by: Dorine Tipo <dorine.a.t...@gmail.com> --- .../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 <vgu...@kernel.org> + - Rob Herring <robh...@kernel.org> + - Krzysztof Kozlowski <krzysztof.kozlowski...@linaro.org> + +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 _______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc