From: Chunyan Zhang <zhang.chunyan@linaro.org>
To: mathieu.poirier@linaro.org, alexander.shishkin@linux.intel.com
Cc: mike.leach@arm.com, Michael.Williams@arm.com, al.grant@arm.com,
tor@ti.com, nicolas.guion@st.com, pratikp@codeaurora.org,
zhang.lyra@gmail.com, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-api@vger.kernel.org,
linux-doc@vger.kernel.org
Subject: [RESEND PATCH V4 3/4] coresight-stm: Bindings for System Trace Macrocell
Date: Tue, 8 Mar 2016 14:33:54 +0800 [thread overview]
Message-ID: <1457418835-31417-4-git-send-email-zhang.chunyan@linaro.org> (raw)
In-Reply-To: <1457418835-31417-1-git-send-email-zhang.chunyan@linaro.org>
From: Mathieu Poirier <mathieu.poirier@linaro.org>
The System Trace Macrocell (STM) is an IP block falling under the
CoreSight umbrella. It's main purpose it so expose stimulus channels
to any system component for the purpose of information logging.
Bindings for this IP block adds a couple of items to the current
mandatory definition for CoreSight components.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
---
.../devicetree/bindings/arm/coresight.txt | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/coresight.txt b/Documentation/devicetree/bindings/arm/coresight.txt
index 62938eb..93147c0c 100644
--- a/Documentation/devicetree/bindings/arm/coresight.txt
+++ b/Documentation/devicetree/bindings/arm/coresight.txt
@@ -19,6 +19,7 @@ its hardware characteristcs.
- "arm,coresight-etm3x", "arm,primecell";
- "arm,coresight-etm4x", "arm,primecell";
- "qcom,coresight-replicator1x", "arm,primecell";
+ - "arm,coresight-stm", "arm,primecell"; [1]
* reg: physical base address and length of the register
set(s) of the component.
@@ -36,6 +37,14 @@ its hardware characteristcs.
layout using the generic DT graph presentation found in
"bindings/graph.txt".
+* Additional required properties for System Trace Macrocells (STM):
+ * reg: along with the physical base address and length of the register
+ set as described above, another entry is required to describe the
+ mapping of the extended stimulus port area.
+
+ * reg-names: the only acceptable values are "stm-base" and
+ "stm-stimulus-base", each corresponding to the areas defined in "reg".
+
* Required properties for devices that don't show up on the AMBA bus, such as
non-configurable replicators:
@@ -202,3 +211,22 @@ Example:
};
};
};
+
+4. STM
+ stm@20100000 {
+ compatible = "arm,coresight-stm", "arm,primecell";
+ reg = <0 0x20100000 0 0x1000>,
+ <0 0x28000000 0 0x180000>;
+ reg-names = "stm-base", "stm-stimulus-base";
+
+ clocks = <&soc_smc50mhz>;
+ clock-names = "apb_pclk";
+ port {
+ stm_out_port: endpoint {
+ remote-endpoint = <&main_funnel_in_port2>;
+ };
+ };
+ };
+
+[1]. There is currently two version of STM: STM32 and STM500. Both
+have the same HW interface and as such don't need an explicit binding name.
--
1.9.1
next prev parent reply other threads:[~2016-03-08 6:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-08 6:33 [RESEND PATCH V4 0/4] Introduce CoreSight STM support Chunyan Zhang
2016-03-08 6:33 ` [RESEND PATCH V4 2/4] Documentations: Add explanations of the case for non-configurable masters Chunyan Zhang
2016-03-08 6:33 ` Chunyan Zhang [this message]
[not found] ` <1457418835-31417-1-git-send-email-zhang.chunyan-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-03-08 6:33 ` [RESEND PATCH V4 1/4] stm class: provision for statically assigned masterIDs Chunyan Zhang
2016-03-21 7:47 ` Alexander Shishkin
2016-03-21 19:04 ` Mathieu Poirier
[not found] ` <CANLsYkxsaGmkpq6cNNw+CeMDKK7wwdDoegEuG2oNPNp185_9Mg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-31 13:20 ` Alexander Shishkin
2016-03-31 16:18 ` Mathieu Poirier
2016-03-08 6:33 ` [RESEND PATCH V4 4/4] coresight-stm: adding driver for CoreSight STM component Chunyan Zhang
2016-03-14 9:53 ` Michael Williams
[not found] ` <HE1PR08MB1130236EF28E34442F362F828A880-P22sD0dWJi1S5jlqwlCNZikoKrxaZxrJvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-03-28 3:06 ` Chunyan Zhang
2016-03-25 12:48 ` Mathieu Poirier
[not found] ` <CANLsYkzDt5GLaqsY03xxe7nYTfF9W26rGWfmjwsZPM3FvDA4hg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-28 3:03 ` Chunyan Zhang
2016-03-25 12:51 ` [RESEND PATCH V4 0/4] Introduce CoreSight STM support Mathieu Poirier
[not found] ` <CANLsYkyZODA6dHpKZfx2DPaZ0qe==6T1FGgR5ajZASGmcuJXhw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-28 2:58 ` Chunyan Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1457418835-31417-4-git-send-email-zhang.chunyan@linaro.org \
--to=zhang.chunyan@linaro.org \
--cc=Michael.Williams@arm.com \
--cc=al.grant@arm.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=linux-api@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
--cc=mike.leach@arm.com \
--cc=nicolas.guion@st.com \
--cc=pratikp@codeaurora.org \
--cc=tor@ti.com \
--cc=zhang.lyra@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).