summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/arm/spe-pmu.txt
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2016-09-22 13:48:19 +0300
committerWill Deacon <will.deacon@arm.com>2017-10-18 14:53:33 +0300
commit4b8b77a4ec807a5f14e02e84b1bb7a2fd43768c0 (patch)
treed73cb5b0113e48b4de3651e39609e98175029346 /Documentation/devicetree/bindings/arm/spe-pmu.txt
parentb0c57e1071b51746ef0c960166f4527a3b3f0b6d (diff)
downloadlinux-4b8b77a4ec807a5f14e02e84b1bb7a2fd43768c0.tar.xz
dt-bindings: Document devicetree binding for ARM SPE
This patch documents the devicetree binding in use for ARM SPE. Cc: Rob Herring <robh@kernel.org> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'Documentation/devicetree/bindings/arm/spe-pmu.txt')
-rw-r--r--Documentation/devicetree/bindings/arm/spe-pmu.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/spe-pmu.txt b/Documentation/devicetree/bindings/arm/spe-pmu.txt
new file mode 100644
index 000000000000..93372f2a7df9
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/spe-pmu.txt
@@ -0,0 +1,20 @@
+* ARMv8.2 Statistical Profiling Extension (SPE) Performance Monitor Units (PMU)
+
+ARMv8.2 introduces the optional Statistical Profiling Extension for collecting
+performance sample data using an in-memory trace buffer.
+
+** SPE Required properties:
+
+- compatible : should be one of:
+ "arm,statistical-profiling-extension-v1"
+
+- interrupts : Exactly 1 PPI must be listed. For heterogeneous systems where
+ SPE is only supported on a subset of the CPUs, please consult
+ the arm,gic-v3 binding for details on describing a PPI partition.
+
+** Example:
+
+spe-pmu {
+ compatible = "arm,statistical-profiling-extension-v1";
+ interrupts = <GIC_PPI 05 IRQ_TYPE_LEVEL_HIGH &part1>;
+};