Skip to contentSkip to conversation

Documentation: perf: Add documentation for arm-smmu-v3-pmcg

PATCH New Ajay Kumar 1 participant 1 message Jul 13, 2020 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): CGME20200712165648epcas5p3a1e6b9f9e1fdadc6740bc1eb509285f9@epcas5p3.samsung.com

Ajay Kumar

author
#1 lore raw

PATCH 2/4 Documentation: perf: Add documentation for arm-smmu-v3-pmcg

This patch adds devicetree binding for perf/arm_smmuv3_pmu driver.

---
 .../bindings/perf/arm-smmu-v3-pmcg.txt        | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/perf/arm-smmu-v3-pmcg.txt
Documentation/devicetree/bindings/perf/arm-smmu-v3-pmcg.txt new file +21 -0
new file mode 100644
index 000000000000..a20fe68ce149
@@ -0,0 +1,21 @@
+* ARM SMMU V3 PMCG
+
+Required properties:
+
+- compatible: should be "arm-smmu-v3-pmu"
+
+- reg: (standard registers property) physical address and size
+	of the performance counters registers block.
+	If Page 1 is present, specify the same.
+
+- interrupts: (standard interrupt property) single interrupt
+	generated by the SMMU PMU control block
+
+Example:
+
+	pmcg@20002000 {
+		compatible = "arm-smmu-v3-pmu";
+		reg = <0x0 0x20002000 0x0 0x1000>,
+			<0x0 0x20022000 0x0 0xE00>; /* Page 1 */
+		interrupts = <0 181 4>;
+	};
Signature · 1 line
2.17.1