dt-bindings: perf: Add compatible for Arm DSU-110
authorRobin Murphy <robin.murphy@arm.com>
Tue, 14 Dec 2021 14:16:17 +0000 (14:16 +0000)
committerRob Herring <robh@kernel.org>
Tue, 14 Dec 2021 20:41:40 +0000 (14:41 -0600)
DSU-110 is the newest and shiniest for Armv9. Its programmer's model is
largely identical to the previous generation of DSUs, so we can treat it
as compatible, but it does have a a handful of extra IMP-DEF PMU events
to call its own. Thanks to the new notion of core complexes, the maximum
number of supported CPUs goes up as well.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/51a8060493e1220886dcd468fad9a2b603607297.1639490264.git.robin.murphy@arm.com
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml

index 9c0cc6d1587483a58ff7afe2df3661e431c2b506..aef63a542f3456a52a39fde163cd7e113d2f457c 100644 (file)
@@ -21,7 +21,11 @@ description:
 
 properties:
   compatible:
-    const: arm,dsu-pmu
+    oneOf:
+      - const: arm,dsu-pmu
+      - items:
+          - const: arm,dsu-110-pmu
+          - const: arm,dsu-pmu
 
   interrupts:
     items:
@@ -30,7 +34,7 @@ properties:
   cpus:
     $ref: /schemas/types.yaml#/definitions/phandle-array
     minItems: 1
-    maxItems: 8
+    maxItems: 12
     description: List of phandles for the CPUs connected to this DSU instance.
 
 required: