0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/perf/spe-pmu.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: ARMv8.2 Statistical Profiling Extension (SPE) Performance Monitor Units (PMU)
0008
0009 maintainers:
0010 - Will Deacon <will@kernel.org>
0011
0012 description:
0013 ARMv8.2 introduces the optional Statistical Profiling Extension for collecting
0014 performance sample data using an in-memory trace buffer.
0015
0016 properties:
0017 compatible:
0018 const: arm,statistical-profiling-extension-v1
0019
0020 interrupts:
0021 maxItems: 1
0022 description: |
0023 The PPI to signal SPE events. For heterogeneous systems where SPE is only
0024 supported on a subset of the CPUs, please consult the arm,gic-v3 binding
0025 for details on describing a PPI partition.
0026
0027 additionalProperties: false
0028
0029 required:
0030 - compatible
0031 - interrupts
0032
0033 examples:
0034 - |
0035 #include <dt-bindings/interrupt-controller/arm-gic.h>
0036
0037 spe-pmu {
0038 compatible = "arm,statistical-profiling-extension-v1";
0039 interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
0040 };