[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c0a80d2db642b1d9547ff412d91baa9927b68aac.1539745993.git.nickhu@andestech.com>
Date: Thu, 18 Oct 2018 16:43:17 +0800
From: Nickhu <nickhu@...estech.com>
To: <greentime@...estech.com>, <linux-kernel@...r.kernel.org>,
<robh+dt@...nel.org>, <mark.rutland@....com>,
<deanbo422@...il.com>, <peterz@...radead.org>, <mingo@...hat.com>,
<acme@...nel.org>, <alexander.shishkin@...ux.intel.com>,
<jolsa@...hat.com>, <namhyung@...nel.org>, <arnd@...db.de>,
<sboyd@...eaurora.org>, <geert@...ux-m68k.org>,
<zong@...estech.com>, <ebiederm@...ssion.com>,
<akpm@...ux-foundation.org>, <gregkh@...uxfoundation.org>,
<pombredanne@...b.com>, <tglx@...utronix.de>,
<kstewart@...uxfoundation.org>, <devicetree@...r.kernel.org>
CC: Nickhu <nickhu@...estech.com>, <green.hu@...il.com>
Subject: [PATCH 5/5] nds32: Add document for NDS32 PMU.
The document for how to add NDS32 PMU
in devicetree.
Signed-off-by: Nickhu <nickhu@...estech.com>
---
Documentation/devicetree/bindings/nds32/pmu.txt | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 Documentation/devicetree/bindings/nds32/pmu.txt
diff --git a/Documentation/devicetree/bindings/nds32/pmu.txt b/Documentation/devicetree/bindings/nds32/pmu.txt
new file mode 100644
index 000000000000..02762b850e59
--- /dev/null
+++ b/Documentation/devicetree/bindings/nds32/pmu.txt
@@ -0,0 +1,17 @@
+* NDS32 Performance Monitor Units
+
+NDS32 core have a PMU for counting cpu and cache events like cache misses.
+The NDS32 PMU representation in the device tree should be done as under:
+
+Required properties:
+
+- compatilbe :
+ "andestech,atcpmu"
+
+- interrupts : The interrupt number for NDS32 PMU is 13.
+
+Example:
+pmu{
+ compatible = "andestech,atcpmu";
+ interrupts = <13>;
+}
--
2.17.0
Powered by blists - more mailing lists