Skip to content

Commit 640a3b7

Browse files
jannauwilldeacon
authored andcommitted
dt-bindings: arm-pmu: Add PMU compatible strings for Apple M2 cores
The PMUs on the Apple M2 cores avalanche and blizzard CPU are compatible with M1 ones. As on M1 we don't know exactly what the counters count so use a distinct compatible for each micro-architecture. Apple's PMU counter description omits a counter for M2 so there is some variation on the interpretation of the counters. Signed-off-by: Janne Grunau <j@jannau.net> Acked-by: Rob Herring <robh@kernel.org> Reviewed-by: Hector Martin <marcan@marcan.st> Link: https://lore.kernel.org/r/20230214-apple_m2_pmu-v1-1-9c9213ab9b63@jannau.net Signed-off-by: Will Deacon <will@kernel.org>
1 parent 16e1583 commit 640a3b7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • Documentation/devicetree/bindings/arm

Documentation/devicetree/bindings/arm/pmu.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ properties:
2020
items:
2121
- enum:
2222
- apm,potenza-pmu
23+
- apple,avalanche-pmu
24+
- apple,blizzard-pmu
2325
- apple,firestorm-pmu
2426
- apple,icestorm-pmu
2527
- arm,armv8-pmuv3 # Only for s/w models

0 commit comments

Comments
 (0)