Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: arc: convert archs-pct.txt to yaml

Convert dt-binding archs-pct from txt to yaml format.

Signed-off-by: Aryabhatta Dey <aryabhattadey35@gmail.com>
Link: https://lore.kernel.org/r/emosjjbdwimwevrf2ew2dpn5sdx254el5fanhhquouu4bz6nbe@zqyp5ra7bmhh
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

authored by

Aryabhatta Dey and committed by
Rob Herring (Arm)
4b989e6e 25b7d2cb

+33 -17
-17
Documentation/devicetree/bindings/arc/archs-pct.txt
··· 1 - * ARC HS Performance Counters 2 - 3 - The ARC HS can be configured with a pipeline performance monitor for counting 4 - CPU and cache events like cache misses and hits. Like conventional PCT there 5 - are 100+ hardware conditions dynamically mapped to up to 32 counters. 6 - It also supports overflow interrupts. 7 - 8 - Required properties: 9 - 10 - - compatible : should contain 11 - "snps,archs-pct" 12 - 13 - Example: 14 - 15 - pmu { 16 - compatible = "snps,archs-pct"; 17 - };
+33
Documentation/devicetree/bindings/arc/snps,archs-pct.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/arc/snps,archs-pct.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: ARC HS Performance Counters 8 + 9 + maintainers: 10 + - Aryabhatta Dey <aryabhattadey35@gmail.com> 11 + 12 + description: 13 + The ARC HS can be configured with a pipeline performance monitor for counting 14 + CPU and cache events like cache misses and hits. Like conventional PCT there 15 + are 100+ hardware conditions dynamically mapped to up to 32 counters. 16 + It also supports overflow interrupts. 17 + 18 + properties: 19 + compatible: 20 + const: snps,archs-pct 21 + 22 + reg: 23 + maxItems: 1 24 + 25 + clocks: 26 + maxItems: 1 27 + 28 + required: 29 + - compatible 30 + - reg 31 + - clocks 32 + 33 + additionalProperties: false