All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v13 9/9] arm64: dts: qcom: msm8916: Add debug unit
@ 2017-05-25 16:04 ` Leo Yan
  0 siblings, 0 replies; 7+ messages in thread
From: Leo Yan @ 2017-05-25 16:04 UTC (permalink / raw)
  To: Jonathan Corbet, Mathieu Poirier, Rob Herring, Mark Rutland,
	Wei Xu, Catalin Marinas, Will Deacon, Andy Gross, David Brown,
	Greg Kroah-Hartman, Suzuki K Poulose, linux-doc, linux-kernel,
	linux-arm-kernel, devicetree, linux-arm-msm, linux-soc,
	Stephen Boyd, Mike Leach
  Cc: Leo Yan

Add debug unit on Qualcomm msm8916 based platforms, including the
DragonBoard 410c board.

Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Leo Yan <leo.yan@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index ab30939..17691ab 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -1116,6 +1116,38 @@
 			};
 		};
 
+		debug@850000 {
+			compatible = "arm,coresight-cpu-debug","arm,primecell";
+			reg = <0x850000 0x1000>;
+			clocks = <&rpmcc RPM_QDSS_CLK>;
+			clock-names = "apb_pclk";
+			cpu = <&CPU0>;
+		};
+
+		debug@852000 {
+			compatible = "arm,coresight-cpu-debug","arm,primecell";
+			reg = <0x852000 0x1000>;
+			clocks = <&rpmcc RPM_QDSS_CLK>;
+			clock-names = "apb_pclk";
+			cpu = <&CPU1>;
+		};
+
+		debug@854000 {
+			compatible = "arm,coresight-cpu-debug","arm,primecell";
+			reg = <0x854000 0x1000>;
+			clocks = <&rpmcc RPM_QDSS_CLK>;
+			clock-names = "apb_pclk";
+			cpu = <&CPU2>;
+		};
+
+		debug@856000 {
+			compatible = "arm,coresight-cpu-debug","arm,primecell";
+			reg = <0x856000 0x1000>;
+			clocks = <&rpmcc RPM_QDSS_CLK>;
+			clock-names = "apb_pclk";
+			cpu = <&CPU3>;
+		};
+
 		etm@85c000 {
 			compatible = "arm,coresight-etm4x", "arm,primecell";
 			reg = <0x85c000 0x1000>;
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v13 9/9] arm64: dts: qcom: msm8916: Add debug unit
@ 2017-05-25 16:04 ` Leo Yan
  0 siblings, 0 replies; 7+ messages in thread
From: Leo Yan @ 2017-05-25 16:04 UTC (permalink / raw)
  To: linux-arm-kernel

Add debug unit on Qualcomm msm8916 based platforms, including the
DragonBoard 410c board.

Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Leo Yan <leo.yan@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index ab30939..17691ab 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -1116,6 +1116,38 @@
 			};
 		};
 
+		debug at 850000 {
+			compatible = "arm,coresight-cpu-debug","arm,primecell";
+			reg = <0x850000 0x1000>;
+			clocks = <&rpmcc RPM_QDSS_CLK>;
+			clock-names = "apb_pclk";
+			cpu = <&CPU0>;
+		};
+
+		debug at 852000 {
+			compatible = "arm,coresight-cpu-debug","arm,primecell";
+			reg = <0x852000 0x1000>;
+			clocks = <&rpmcc RPM_QDSS_CLK>;
+			clock-names = "apb_pclk";
+			cpu = <&CPU1>;
+		};
+
+		debug at 854000 {
+			compatible = "arm,coresight-cpu-debug","arm,primecell";
+			reg = <0x854000 0x1000>;
+			clocks = <&rpmcc RPM_QDSS_CLK>;
+			clock-names = "apb_pclk";
+			cpu = <&CPU2>;
+		};
+
+		debug at 856000 {
+			compatible = "arm,coresight-cpu-debug","arm,primecell";
+			reg = <0x856000 0x1000>;
+			clocks = <&rpmcc RPM_QDSS_CLK>;
+			clock-names = "apb_pclk";
+			cpu = <&CPU3>;
+		};
+
 		etm at 85c000 {
 			compatible = "arm,coresight-etm4x", "arm,primecell";
 			reg = <0x85c000 0x1000>;
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH v13 9/9] arm64: dts: qcom: msm8916: Add debug unit
  2017-05-25 16:04 ` Leo Yan
@ 2017-05-30 10:44   ` Leo Yan
  -1 siblings, 0 replies; 7+ messages in thread
From: Leo Yan @ 2017-05-30 10:44 UTC (permalink / raw)
  To: Jonathan Corbet, Mathieu Poirier, Rob Herring, Mark Rutland,
	Wei Xu, Catalin Marinas, Will Deacon, Andy Gross, David Brown,
	Greg Kroah-Hartman, Suzuki K Poulose, linux-doc, linux-kernel,
	linux-arm-kernel, devicetree, linux-arm-msm, linux-soc,
	Stephen Boyd, Mike Leach
  Cc: Nicolas Dechesne

Hi Andy, David,

[ + Nico ]

On Fri, May 26, 2017 at 12:04:13AM +0800, Leo Yan wrote:
> Add debug unit on Qualcomm msm8916 based platforms, including the
> DragonBoard 410c board.

Could you take a look for this patch? After get your ACK I think
Mathieu could help pick up this patch through coresight repository.

If you want me to send a separate patch to you directly, also is okay.
Please let me know which is your preferring.

Thanks,
Leo Yan

> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
> Signed-off-by: Leo Yan <leo.yan@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/msm8916.dtsi | 32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> index ab30939..17691ab 100644
> --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> @@ -1116,6 +1116,38 @@
>  			};
>  		};
>  
> +		debug@850000 {
> +			compatible = "arm,coresight-cpu-debug","arm,primecell";
> +			reg = <0x850000 0x1000>;
> +			clocks = <&rpmcc RPM_QDSS_CLK>;
> +			clock-names = "apb_pclk";
> +			cpu = <&CPU0>;
> +		};
> +
> +		debug@852000 {
> +			compatible = "arm,coresight-cpu-debug","arm,primecell";
> +			reg = <0x852000 0x1000>;
> +			clocks = <&rpmcc RPM_QDSS_CLK>;
> +			clock-names = "apb_pclk";
> +			cpu = <&CPU1>;
> +		};
> +
> +		debug@854000 {
> +			compatible = "arm,coresight-cpu-debug","arm,primecell";
> +			reg = <0x854000 0x1000>;
> +			clocks = <&rpmcc RPM_QDSS_CLK>;
> +			clock-names = "apb_pclk";
> +			cpu = <&CPU2>;
> +		};
> +
> +		debug@856000 {
> +			compatible = "arm,coresight-cpu-debug","arm,primecell";
> +			reg = <0x856000 0x1000>;
> +			clocks = <&rpmcc RPM_QDSS_CLK>;
> +			clock-names = "apb_pclk";
> +			cpu = <&CPU3>;
> +		};
> +
>  		etm@85c000 {
>  			compatible = "arm,coresight-etm4x", "arm,primecell";
>  			reg = <0x85c000 0x1000>;
> -- 
> 2.7.4
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v13 9/9] arm64: dts: qcom: msm8916: Add debug unit
@ 2017-05-30 10:44   ` Leo Yan
  0 siblings, 0 replies; 7+ messages in thread
From: Leo Yan @ 2017-05-30 10:44 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Andy, David,

[ + Nico ]

On Fri, May 26, 2017 at 12:04:13AM +0800, Leo Yan wrote:
> Add debug unit on Qualcomm msm8916 based platforms, including the
> DragonBoard 410c board.

Could you take a look for this patch? After get your ACK I think
Mathieu could help pick up this patch through coresight repository.

If you want me to send a separate patch to you directly, also is okay.
Please let me know which is your preferring.

Thanks,
Leo Yan

> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
> Signed-off-by: Leo Yan <leo.yan@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/msm8916.dtsi | 32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> index ab30939..17691ab 100644
> --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> @@ -1116,6 +1116,38 @@
>  			};
>  		};
>  
> +		debug at 850000 {
> +			compatible = "arm,coresight-cpu-debug","arm,primecell";
> +			reg = <0x850000 0x1000>;
> +			clocks = <&rpmcc RPM_QDSS_CLK>;
> +			clock-names = "apb_pclk";
> +			cpu = <&CPU0>;
> +		};
> +
> +		debug at 852000 {
> +			compatible = "arm,coresight-cpu-debug","arm,primecell";
> +			reg = <0x852000 0x1000>;
> +			clocks = <&rpmcc RPM_QDSS_CLK>;
> +			clock-names = "apb_pclk";
> +			cpu = <&CPU1>;
> +		};
> +
> +		debug at 854000 {
> +			compatible = "arm,coresight-cpu-debug","arm,primecell";
> +			reg = <0x854000 0x1000>;
> +			clocks = <&rpmcc RPM_QDSS_CLK>;
> +			clock-names = "apb_pclk";
> +			cpu = <&CPU2>;
> +		};
> +
> +		debug at 856000 {
> +			compatible = "arm,coresight-cpu-debug","arm,primecell";
> +			reg = <0x856000 0x1000>;
> +			clocks = <&rpmcc RPM_QDSS_CLK>;
> +			clock-names = "apb_pclk";
> +			cpu = <&CPU3>;
> +		};
> +
>  		etm at 85c000 {
>  			compatible = "arm,coresight-etm4x", "arm,primecell";
>  			reg = <0x85c000 0x1000>;
> -- 
> 2.7.4
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v13 9/9] arm64: dts: qcom: msm8916: Add debug unit
  2017-05-25 16:04 ` Leo Yan
  (?)
@ 2017-06-01 13:14     ` Andy Gross
  -1 siblings, 0 replies; 7+ messages in thread
From: Andy Gross @ 2017-06-01 13:14 UTC (permalink / raw)
  To: Leo Yan
  Cc: Jonathan Corbet, Mathieu Poirier, Rob Herring, Mark Rutland,
	Wei Xu, Catalin Marinas, Will Deacon, David Brown,
	Greg Kroah-Hartman, Suzuki K Poulose,
	linux-doc-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA,
	linux-soc-u79uwXL29TY76Z2rM5mHXA, Stephen Boyd, Mike Leach

On Fri, May 26, 2017 at 12:04:13AM +0800, Leo Yan wrote:
> Add debug unit on Qualcomm msm8916 based platforms, including the
> DragonBoard 410c board.
> 
> Reviewed-by: Mathieu Poirier <mathieu.poirier-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> Signed-off-by: Leo Yan <leo.yan-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>

Looks fine.

Acked-by: Andy Gross <andy.gross-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
--
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

* Re: [PATCH v13 9/9] arm64: dts: qcom: msm8916: Add debug unit
@ 2017-06-01 13:14     ` Andy Gross
  0 siblings, 0 replies; 7+ messages in thread
From: Andy Gross @ 2017-06-01 13:14 UTC (permalink / raw)
  To: Leo Yan
  Cc: Jonathan Corbet, Mathieu Poirier, Rob Herring, Mark Rutland,
	Wei Xu, Catalin Marinas, Will Deacon, David Brown,
	Greg Kroah-Hartman, Suzuki K Poulose, linux-doc, linux-kernel,
	linux-arm-kernel, devicetree, linux-arm-msm, linux-soc,
	Stephen Boyd, Mike Leach

On Fri, May 26, 2017 at 12:04:13AM +0800, Leo Yan wrote:
> Add debug unit on Qualcomm msm8916 based platforms, including the
> DragonBoard 410c board.
> 
> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
> Signed-off-by: Leo Yan <leo.yan@linaro.org>

Looks fine.

Acked-by: Andy Gross <andy.gross@linaro.org>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v13 9/9] arm64: dts: qcom: msm8916: Add debug unit
@ 2017-06-01 13:14     ` Andy Gross
  0 siblings, 0 replies; 7+ messages in thread
From: Andy Gross @ 2017-06-01 13:14 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, May 26, 2017 at 12:04:13AM +0800, Leo Yan wrote:
> Add debug unit on Qualcomm msm8916 based platforms, including the
> DragonBoard 410c board.
> 
> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
> Signed-off-by: Leo Yan <leo.yan@linaro.org>

Looks fine.

Acked-by: Andy Gross <andy.gross@linaro.org>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-06-01 13:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-25 16:04 [PATCH v13 9/9] arm64: dts: qcom: msm8916: Add debug unit Leo Yan
2017-05-25 16:04 ` Leo Yan
2017-05-30 10:44 ` Leo Yan
2017-05-30 10:44   ` Leo Yan
     [not found] ` <1495728253-30970-1-git-send-email-leo.yan-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-06-01 13:14   ` Andy Gross
2017-06-01 13:14     ` Andy Gross
2017-06-01 13:14     ` Andy Gross

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.