[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <2de75a74ef4086090c532d3b80b7d6dcd115e45e.1569474867.git.shubhrajyoti.datta@xilinx.com>
Date: Thu, 26 Sep 2019 10:53:07 +0530
From: shubhrajyoti.datta@...il.com
To: linux-kernel@...r.kernel.org
Cc: devicetree@...r.kernel.org, robh+dt@...nel.org, arnd@...db.de,
gregkh@...uxfoundation.org, michal.simek@...inx.com,
Shubhrajyoti Datta <shubhrajyoti.datta@...inx.com>
Subject: [RFC PATCHv3 1/3] dt-bindings: misc: Add dt bindings for flex noc Performance Monitor
From: Shubhrajyoti Datta <shubhrajyoti.datta@...inx.com>
Add dt bindings for flexnoc Performance Monitor.
The flexnoc counters for read and write response and requests are
supported.
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@...inx.com>
---
.../devicetree/bindings/misc/xlnx,flexnoc.txt | 24 ++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 Documentation/devicetree/bindings/misc/xlnx,flexnoc.txt
diff --git a/Documentation/devicetree/bindings/misc/xlnx,flexnoc.txt b/Documentation/devicetree/bindings/misc/xlnx,flexnoc.txt
new file mode 100644
index 0000000..6b533bc
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/xlnx,flexnoc.txt
@@ -0,0 +1,24 @@
+* Xilinx Flexnoc Performance Monitor driver
+
+The FlexNoc Performance Monitor has counters for monitoring
+the read and the write transaction counter.
+
+Required properties:
+- compatible: "xlnx,flexnoc-pm-2.7"
+- reg : Address and length of register sets for each device in
+ "reg-names"
+- reg-names : The names of the register addresses corresponding to the
+ registers filled in "reg"
+ - funnel: base address of the funnel registers
+ - baselpd: base address of the LPD PM registers
+ - basefpd: base address FPD PM registers
+
+Example:
+++++++++
+performance-monitor@...20000 {
+ compatible = "xlnx,flexnoc-pm-2.7";
+ reg-names = "funnel", "baselpd", "basefpd";
+ reg = <0x0 0xf0920000 0x0 0x1000>,
+ <0x0 0xf0980000 0x0 0x9000>,
+ <0x0 0xf0b80000 0x0 0x9000>;
+};
--
2.1.1
Powered by blists - more mailing lists