Arm SMMUv3 Performance Monitor Counter Group
Schema identifier ($id): "http://devicetree.org/schemas/perf/arm,smmu-v3-pmcg.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Will Deacon <will@kernel.org>", "Robin Murphy <robin.murphy@arm.com>"
An SMMUv3 may have several Performance Monitor Counter Group (PMCG). They are standalone performance monitoring units that support both architected and IMPLEMENTATION DEFINED event counters.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^pmu@[0-9a-f]*"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"arm,mmu-600-pmcg"Item 2
Exact value (
const):"arm,smmu-v3-pmcg"
Rule 2
Exact value (
const):"arm,smmu-v3-pmcg"
reg — required here #
Array item rules (items) #
Item 1
Register page 0
Item 2
Register page 1, if SMMU_PMCG_CFGR.RELOC_CTRS = 1
Minimum number of items (minItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
msi-parent — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg"
At least one of these rules must match (anyOf) #
Rule 1 #
Rule 2 #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
pmu@2b420000 {
compatible = "arm,smmu-v3-pmcg";
reg = <0x2b420000 0x1000>,
<0x2b430000 0x1000>;
interrupts = <GIC_SPI 80 IRQ_TYPE_EDGE_RISING>;
msi-parent = <&its 0xff0000>;
};
pmu@2b440000 {
compatible = "arm,smmu-v3-pmcg";
reg = <0x2b440000 0x1000>,
<0x2b450000 0x1000>;
interrupts = <GIC_SPI 81 IRQ_TYPE_EDGE_RISING>;
msi-parent = <&its 0xff0000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)