* [PATCH v2] coresight: adding basic support for Spreadtrum SC9836
@ 2015-03-25 12:52 ` Chunyan Zhang
0 siblings, 0 replies; 7+ messages in thread
From: Chunyan Zhang @ 2015-03-25 12:52 UTC (permalink / raw)
To: arm, arnd
Cc: mathieu.poirier, will.deacon, mark.rutland, robh+dt, pawel.moll,
ijc+devicetree, galak, catalin.marinas, kaixu.xia, zhizhou.zhang,
orsonzhai, zhang.lyra, devicetree, linux-arm-kernel,
linux-kernel
Support only for ETF, FUNNEL, STM are included currently.
Support for ETM, TPIU and the replicator linked to it are not included in
this version patch.
Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
---
Change for v2:
- Corrected the TMC whose space is wrongly used as ETB in v1.
- Removed "coresight-default-sink" from the DT.
---
arch/arm64/boot/dts/sprd/sc9836.dtsi | 55 ++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/arch/arm64/boot/dts/sprd/sc9836.dtsi b/arch/arm64/boot/dts/sprd/sc9836.dtsi
index f92f1b4..ee34e1a 100644
--- a/arch/arm64/boot/dts/sprd/sc9836.dtsi
+++ b/arch/arm64/boot/dts/sprd/sc9836.dtsi
@@ -45,6 +45,61 @@
};
};
+ etf@10003000 {
+ compatible = "arm,coresight-tmc", "arm,primecell";
+ reg = <0 0x10003000 0 0x1000>;
+ clocks = <&clk26mhz>;
+ clock-names = "apb_pclk";
+ port {
+ etf_in: endpoint {
+ slave-mode;
+ remote-endpoint = <&funnel_out_port0>;
+ };
+ };
+ };
+
+ funnel@10001000 {
+ compatible = "arm,coresight-funnel", "arm,primecell";
+ reg = <0 0x10001000 0 0x1000>;
+ clocks = <&clk26mhz>;
+ clock-names = "apb_pclk";
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ /* funnel output port */
+ port@0 {
+ reg = <0>;
+ funnel_out_port0: endpoint {
+ remote-endpoint = <&etf_in>;
+ };
+ };
+
+ /* funnel input port 0~3 is reserved for ETMs */
+ port@1 {
+ reg = <4>;
+ funnel_in_port4: endpoint {
+ slave-mode;
+ remote-endpoint = <&stm_out>;
+ };
+ };
+ };
+ };
+
+ stm@10006000 {
+ compatible = "arm,coresight-stm", "arm,primecell";
+ reg = <0 0x10006000 0 0x1000>,
+ <0 0x01000000 0 0x180000>;
+ reg-names = "stm-base", "stm-stimulus-base";
+ clocks = <&clk26mhz>;
+ clock-names = "apb_pclk";
+ port {
+ stm_out: endpoint {
+ remote-endpoint = <&funnel_in_port4>;
+ };
+ };
+ };
+
gic: interrupt-controller@12001000 {
compatible = "arm,gic-400";
reg = <0 0x12001000 0 0x1000>,
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v2] coresight: adding basic support for Spreadtrum SC9836
@ 2015-03-25 12:52 ` Chunyan Zhang
0 siblings, 0 replies; 7+ messages in thread
From: Chunyan Zhang @ 2015-03-25 12:52 UTC (permalink / raw)
To: linux-arm-kernel
Support only for ETF, FUNNEL, STM are included currently.
Support for ETM, TPIU and the replicator linked to it are not included in
this version patch.
Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
---
Change for v2:
- Corrected the TMC whose space is wrongly used as ETB in v1.
- Removed "coresight-default-sink" from the DT.
---
arch/arm64/boot/dts/sprd/sc9836.dtsi | 55 ++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/arch/arm64/boot/dts/sprd/sc9836.dtsi b/arch/arm64/boot/dts/sprd/sc9836.dtsi
index f92f1b4..ee34e1a 100644
--- a/arch/arm64/boot/dts/sprd/sc9836.dtsi
+++ b/arch/arm64/boot/dts/sprd/sc9836.dtsi
@@ -45,6 +45,61 @@
};
};
+ etf at 10003000 {
+ compatible = "arm,coresight-tmc", "arm,primecell";
+ reg = <0 0x10003000 0 0x1000>;
+ clocks = <&clk26mhz>;
+ clock-names = "apb_pclk";
+ port {
+ etf_in: endpoint {
+ slave-mode;
+ remote-endpoint = <&funnel_out_port0>;
+ };
+ };
+ };
+
+ funnel at 10001000 {
+ compatible = "arm,coresight-funnel", "arm,primecell";
+ reg = <0 0x10001000 0 0x1000>;
+ clocks = <&clk26mhz>;
+ clock-names = "apb_pclk";
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ /* funnel output port */
+ port at 0 {
+ reg = <0>;
+ funnel_out_port0: endpoint {
+ remote-endpoint = <&etf_in>;
+ };
+ };
+
+ /* funnel input port 0~3 is reserved for ETMs */
+ port at 1 {
+ reg = <4>;
+ funnel_in_port4: endpoint {
+ slave-mode;
+ remote-endpoint = <&stm_out>;
+ };
+ };
+ };
+ };
+
+ stm at 10006000 {
+ compatible = "arm,coresight-stm", "arm,primecell";
+ reg = <0 0x10006000 0 0x1000>,
+ <0 0x01000000 0 0x180000>;
+ reg-names = "stm-base", "stm-stimulus-base";
+ clocks = <&clk26mhz>;
+ clock-names = "apb_pclk";
+ port {
+ stm_out: endpoint {
+ remote-endpoint = <&funnel_in_port4>;
+ };
+ };
+ };
+
gic: interrupt-controller at 12001000 {
compatible = "arm,gic-400";
reg = <0 0x12001000 0 0x1000>,
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2] coresight: adding basic support for Spreadtrum SC9836
2015-03-25 12:52 ` Chunyan Zhang
@ 2015-04-03 19:51 ` Olof Johansson
-1 siblings, 0 replies; 7+ messages in thread
From: Olof Johansson @ 2015-04-03 19:51 UTC (permalink / raw)
To: Chunyan Zhang
Cc: arm, arnd, mathieu.poirier, will.deacon, mark.rutland, robh+dt,
pawel.moll, ijc+devicetree, galak, catalin.marinas, kaixu.xia,
zhizhou.zhang, orsonzhai, zhang.lyra, devicetree,
linux-arm-kernel, linux-kernel
On Wed, Mar 25, 2015 at 08:52:11PM +0800, Chunyan Zhang wrote:
> Support only for ETF, FUNNEL, STM are included currently.
> Support for ETM, TPIU and the replicator linked to it are not included in
> this version patch.
>
> Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
> ---
> Change for v2:
> - Corrected the TMC whose space is wrongly used as ETB in v1.
> - Removed "coresight-default-sink" from the DT.
> ---
Appled but with subject:
arm64: dts: sprd: adding coresight entries to Spreadtrum SC9836
-Olof
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2] coresight: adding basic support for Spreadtrum SC9836
@ 2015-04-03 19:51 ` Olof Johansson
0 siblings, 0 replies; 7+ messages in thread
From: Olof Johansson @ 2015-04-03 19:51 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Mar 25, 2015 at 08:52:11PM +0800, Chunyan Zhang wrote:
> Support only for ETF, FUNNEL, STM are included currently.
> Support for ETM, TPIU and the replicator linked to it are not included in
> this version patch.
>
> Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
> ---
> Change for v2:
> - Corrected the TMC whose space is wrongly used as ETB in v1.
> - Removed "coresight-default-sink" from the DT.
> ---
Appled but with subject:
arm64: dts: sprd: adding coresight entries to Spreadtrum SC9836
-Olof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] coresight: adding basic support for Spreadtrum SC9836
2015-04-03 19:51 ` Olof Johansson
(?)
@ 2015-04-07 12:17 ` Mathieu Poirier
-1 siblings, 0 replies; 7+ messages in thread
From: Mathieu Poirier @ 2015-04-07 12:17 UTC (permalink / raw)
To: Olof Johansson
Cc: Chunyan Zhang, arm, Arnd Bergmann, Will Deacon, Mark Rutland,
Rob Herring, Paweł Moll, Ian Campbell, Kumar Gala,
Catalin Marinas, Kaixu Xia, Zhizhou, Orson Zhai, Lyra Zhang,
devicetree, linux-arm-kernel, linux-kernel
On 3 April 2015 at 13:51, Olof Johansson <olof@lixom.net> wrote:
> On Wed, Mar 25, 2015 at 08:52:11PM +0800, Chunyan Zhang wrote:
>> Support only for ETF, FUNNEL, STM are included currently.
>> Support for ETM, TPIU and the replicator linked to it are not included in
>> this version patch.
>>
>> Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
>> ---
>> Change for v2:
>> - Corrected the TMC whose space is wrongly used as ETB in v1.
>> - Removed "coresight-default-sink" from the DT.
>> ---
>
> Appled but with subject:
>
> arm64: dts: sprd: adding coresight entries to Spreadtrum SC9836
>
>
Olof,
I did not take this patch in my coresight tree yet as introduction of
the coresight STM driver and bindings in mainline has been delayed.
That patch should likely be reverted on your side and I'll take care
of it when we have a solution on the STM driver.
Thanks,
Mathieu
>
> -Olof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2] coresight: adding basic support for Spreadtrum SC9836
@ 2015-04-07 12:17 ` Mathieu Poirier
0 siblings, 0 replies; 7+ messages in thread
From: Mathieu Poirier @ 2015-04-07 12:17 UTC (permalink / raw)
To: Olof Johansson
Cc: Chunyan Zhang, arm-DgEjT+Ai2ygdnm+yROfE0A, Arnd Bergmann,
Will Deacon, Mark Rutland, Rob Herring, Paweł Moll,
Ian Campbell, Kumar Gala, Catalin Marinas, Kaixu Xia, Zhizhou,
Orson Zhai, Lyra Zhang, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
On 3 April 2015 at 13:51, Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org> wrote:
> On Wed, Mar 25, 2015 at 08:52:11PM +0800, Chunyan Zhang wrote:
>> Support only for ETF, FUNNEL, STM are included currently.
>> Support for ETM, TPIU and the replicator linked to it are not included in
>> this version patch.
>>
>> Signed-off-by: Chunyan Zhang <zhang.chunyan-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
>> ---
>> Change for v2:
>> - Corrected the TMC whose space is wrongly used as ETB in v1.
>> - Removed "coresight-default-sink" from the DT.
>> ---
>
> Appled but with subject:
>
> arm64: dts: sprd: adding coresight entries to Spreadtrum SC9836
>
>
Olof,
I did not take this patch in my coresight tree yet as introduction of
the coresight STM driver and bindings in mainline has been delayed.
That patch should likely be reverted on your side and I'll take care
of it when we have a solution on the STM driver.
Thanks,
Mathieu
>
> -Olof
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v2] coresight: adding basic support for Spreadtrum SC9836
@ 2015-04-07 12:17 ` Mathieu Poirier
0 siblings, 0 replies; 7+ messages in thread
From: Mathieu Poirier @ 2015-04-07 12:17 UTC (permalink / raw)
To: linux-arm-kernel
On 3 April 2015 at 13:51, Olof Johansson <olof@lixom.net> wrote:
> On Wed, Mar 25, 2015 at 08:52:11PM +0800, Chunyan Zhang wrote:
>> Support only for ETF, FUNNEL, STM are included currently.
>> Support for ETM, TPIU and the replicator linked to it are not included in
>> this version patch.
>>
>> Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
>> ---
>> Change for v2:
>> - Corrected the TMC whose space is wrongly used as ETB in v1.
>> - Removed "coresight-default-sink" from the DT.
>> ---
>
> Appled but with subject:
>
> arm64: dts: sprd: adding coresight entries to Spreadtrum SC9836
>
>
Olof,
I did not take this patch in my coresight tree yet as introduction of
the coresight STM driver and bindings in mainline has been delayed.
That patch should likely be reverted on your side and I'll take care
of it when we have a solution on the STM driver.
Thanks,
Mathieu
>
> -Olof
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-04-07 12:17 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25 12:52 [PATCH v2] coresight: adding basic support for Spreadtrum SC9836 Chunyan Zhang
2015-03-25 12:52 ` Chunyan Zhang
2015-04-03 19:51 ` Olof Johansson
2015-04-03 19:51 ` Olof Johansson
2015-04-07 12:17 ` Mathieu Poirier
2015-04-07 12:17 ` Mathieu Poirier
2015-04-07 12:17 ` Mathieu Poirier
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.