Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nds32: Add document for NDS32 PMU.

The document for how to add NDS32 PMU
in devicetree.

Signed-off-by: Nickhu <nickhu@andestech.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>

authored by

Nickhu and committed by
Greentime Hu
cf26edd8 c8b34461

+17
+17
Documentation/devicetree/bindings/perf/nds32v3-pmu.txt
··· 1 + * NDS32 Performance Monitor Units 2 + 3 + NDS32 core have a PMU for counting cpu and cache events like cache misses. 4 + The NDS32 PMU representation in the device tree should be done as under: 5 + 6 + Required properties: 7 + 8 + - compatible : 9 + "andestech,nds32v3-pmu" 10 + 11 + - interrupts : The interrupt number for NDS32 PMU is 13. 12 + 13 + Example: 14 + pmu{ 15 + compatible = "andestech,nds32v3-pmu"; 16 + interrupts = <13>; 17 + }