devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 10/15] dt-bindings: qcom: Add CTI options for qcom msm8916
@ 2019-12-11 23:09 Mike Leach
  2019-12-16 21:08 ` Mathieu Poirier
  2019-12-17 11:42 ` Suzuki Kuruppassery Poulose
  0 siblings, 2 replies; 3+ messages in thread
From: Mike Leach @ 2019-12-11 23:09 UTC (permalink / raw)
  To: mike.leach, linux-arm-kernel, coresight, devicetree
  Cc: mathieu.poirier, suzuki.poulose, robh+dt, liviu.dudau,
	sudeep.holla, lorenzo.pieralisi, agross

Adds system and CPU bound CTI definitions for Qualcom msm8916 platform
(Dragonboard DB410C).
System CTIs 2-11 are omitted as no information available at present.

Signed-off-by: Mike Leach <mike.leach@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8916.dtsi | 85 +++++++++++++++++++++++++--
 1 file changed, 81 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 8686e101905c..68587968f5c0 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -8,6 +8,7 @@
 #include <dt-bindings/reset/qcom,gcc-msm8916.h>
 #include <dt-bindings/clock/qcom,rpmcc.h>
 #include <dt-bindings/thermal/thermal.h>
+#include <dt-bindings/arm/coresight-cti-dt.h>
 
 / {
 	interrupt-parent = <&intc>;
@@ -1357,7 +1358,7 @@
 			cpu = <&CPU3>;
 		};
 
-		etm@85c000 {
+		etm0: etm@85c000 {
 			compatible = "arm,coresight-etm4x", "arm,primecell";
 			reg = <0x85c000 0x1000>;
 
@@ -1375,7 +1376,7 @@
 			};
 		};
 
-		etm@85d000 {
+		etm1: etm@85d000 {
 			compatible = "arm,coresight-etm4x", "arm,primecell";
 			reg = <0x85d000 0x1000>;
 
@@ -1393,7 +1394,7 @@
 			};
 		};
 
-		etm@85e000 {
+		etm2: etm@85e000 {
 			compatible = "arm,coresight-etm4x", "arm,primecell";
 			reg = <0x85e000 0x1000>;
 
@@ -1411,7 +1412,7 @@
 			};
 		};
 
-		etm@85f000 {
+		etm3: etm@85f000 {
 			compatible = "arm,coresight-etm4x", "arm,primecell";
 			reg = <0x85f000 0x1000>;
 
@@ -1429,6 +1430,82 @@
 			};
 		};
 
+		/* System CTIs */
+		/* CTI 0 - TMC connections */
+		cti@810000 {
+			compatible = "arm,coresight-cti", "arm,primecell";
+			reg = <0x810000 0x1000>;
+
+			clocks = <&rpmcc RPM_QDSS_CLK>;
+			clock-names = "apb_pclk";
+		};
+
+		/* CTI 1 - TPIU connections */
+		cti@811000 {
+			compatible = "arm,coresight-cti", "arm,primecell";
+			reg = <0x811000 0x1000>;
+
+			clocks = <&rpmcc RPM_QDSS_CLK>;
+			clock-names = "apb_pclk";
+		};
+
+		/* CTIs 2-11 - no information - not instantiated */
+
+		/* Core CTIs; CTIs 12-15 */
+		/* CTI - CPU-0 */
+		cti@858000 {
+			compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
+				     "arm,primecell";
+			reg = <0x858000 0x1000>;
+
+			clocks = <&rpmcc RPM_QDSS_CLK>;
+			clock-names = "apb_pclk";
+
+			cpu = <&CPU0>;
+			arm,cs-dev-assoc = <&etm0>;
+
+		};
+
+		/* CTI - CPU-1 */
+		cti@859000 {
+			compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
+				     "arm,primecell";
+			reg = <0x859000 0x1000>;
+
+			clocks = <&rpmcc RPM_QDSS_CLK>;
+			clock-names = "apb_pclk";
+
+			cpu = <&CPU1>;
+			arm,cs-dev-assoc = <&etm1>;
+		};
+
+		/* CTI - CPU-2 */
+		cti@85a000 {
+			compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
+				     "arm,primecell";
+			reg = <0x85a000 0x1000>;
+
+			clocks = <&rpmcc RPM_QDSS_CLK>;
+			clock-names = "apb_pclk";
+
+			cpu = <&CPU2>;
+			arm,cs-dev-assoc = <&etm2>;
+		};
+
+		/* CTI - CPU-3 */
+		cti@85b000 {
+			compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
+				     "arm,primecell";
+			reg = <0x85b000 0x1000>;
+
+			clocks = <&rpmcc RPM_QDSS_CLK>;
+			clock-names = "apb_pclk";
+
+			cpu = <&CPU3>;
+			arm,cs-dev-assoc = <&etm3>;
+		};
+
+
 		venus: video-codec@1d00000 {
 			compatible = "qcom,msm8916-venus";
 			reg = <0x01d00000 0xff000>;
-- 
2.17.1


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

* Re: [PATCH v6 10/15] dt-bindings: qcom: Add CTI options for qcom msm8916
  2019-12-11 23:09 [PATCH v6 10/15] dt-bindings: qcom: Add CTI options for qcom msm8916 Mike Leach
@ 2019-12-16 21:08 ` Mathieu Poirier
  2019-12-17 11:42 ` Suzuki Kuruppassery Poulose
  1 sibling, 0 replies; 3+ messages in thread
From: Mathieu Poirier @ 2019-12-16 21:08 UTC (permalink / raw)
  To: Mike Leach, Andy Gross, Bjorn Andersson
  Cc: linux-arm-kernel, Coresight ML, devicetree, Suzuki K. Poulose,
	Rob Herring, Liviu Dudau, Sudeep Holla, Lorenzo Pieralisi

On Wed, 11 Dec 2019 at 16:09, Mike Leach <mike.leach@linaro.org> wrote:
>
> Adds system and CPU bound CTI definitions for Qualcom msm8916 platform
> (Dragonboard DB410C).
> System CTIs 2-11 are omitted as no information available at present.
>
> Signed-off-by: Mike Leach <mike.leach@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/msm8916.dtsi | 85 +++++++++++++++++++++++++--
>  1 file changed, 81 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> index 8686e101905c..68587968f5c0 100644
> --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
> +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
> @@ -8,6 +8,7 @@
>  #include <dt-bindings/reset/qcom,gcc-msm8916.h>
>  #include <dt-bindings/clock/qcom,rpmcc.h>
>  #include <dt-bindings/thermal/thermal.h>
> +#include <dt-bindings/arm/coresight-cti-dt.h>
>
>  / {
>         interrupt-parent = <&intc>;
> @@ -1357,7 +1358,7 @@
>                         cpu = <&CPU3>;
>                 };
>
> -               etm@85c000 {
> +               etm0: etm@85c000 {
>                         compatible = "arm,coresight-etm4x", "arm,primecell";
>                         reg = <0x85c000 0x1000>;
>
> @@ -1375,7 +1376,7 @@
>                         };
>                 };
>
> -               etm@85d000 {
> +               etm1: etm@85d000 {
>                         compatible = "arm,coresight-etm4x", "arm,primecell";
>                         reg = <0x85d000 0x1000>;
>
> @@ -1393,7 +1394,7 @@
>                         };
>                 };
>
> -               etm@85e000 {
> +               etm2: etm@85e000 {
>                         compatible = "arm,coresight-etm4x", "arm,primecell";
>                         reg = <0x85e000 0x1000>;
>
> @@ -1411,7 +1412,7 @@
>                         };
>                 };
>
> -               etm@85f000 {
> +               etm3: etm@85f000 {
>                         compatible = "arm,coresight-etm4x", "arm,primecell";
>                         reg = <0x85f000 0x1000>;
>
> @@ -1429,6 +1430,82 @@
>                         };
>                 };
>
> +               /* System CTIs */
> +               /* CTI 0 - TMC connections */
> +               cti@810000 {
> +                       compatible = "arm,coresight-cti", "arm,primecell";
> +                       reg = <0x810000 0x1000>;
> +
> +                       clocks = <&rpmcc RPM_QDSS_CLK>;
> +                       clock-names = "apb_pclk";
> +               };
> +
> +               /* CTI 1 - TPIU connections */
> +               cti@811000 {
> +                       compatible = "arm,coresight-cti", "arm,primecell";
> +                       reg = <0x811000 0x1000>;
> +
> +                       clocks = <&rpmcc RPM_QDSS_CLK>;
> +                       clock-names = "apb_pclk";
> +               };
> +
> +               /* CTIs 2-11 - no information - not instantiated */
> +
> +               /* Core CTIs; CTIs 12-15 */
> +               /* CTI - CPU-0 */
> +               cti@858000 {
> +                       compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
> +                                    "arm,primecell";
> +                       reg = <0x858000 0x1000>;
> +
> +                       clocks = <&rpmcc RPM_QDSS_CLK>;
> +                       clock-names = "apb_pclk";
> +
> +                       cpu = <&CPU0>;
> +                       arm,cs-dev-assoc = <&etm0>;
> +
> +               };
> +
> +               /* CTI - CPU-1 */
> +               cti@859000 {
> +                       compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
> +                                    "arm,primecell";
> +                       reg = <0x859000 0x1000>;
> +
> +                       clocks = <&rpmcc RPM_QDSS_CLK>;
> +                       clock-names = "apb_pclk";
> +
> +                       cpu = <&CPU1>;
> +                       arm,cs-dev-assoc = <&etm1>;
> +               };
> +
> +               /* CTI - CPU-2 */
> +               cti@85a000 {
> +                       compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
> +                                    "arm,primecell";
> +                       reg = <0x85a000 0x1000>;
> +
> +                       clocks = <&rpmcc RPM_QDSS_CLK>;
> +                       clock-names = "apb_pclk";
> +
> +                       cpu = <&CPU2>;
> +                       arm,cs-dev-assoc = <&etm2>;
> +               };
> +
> +               /* CTI - CPU-3 */
> +               cti@85b000 {
> +                       compatible = "arm,coresight-cti-v8-arch", "arm,coresight-cti",
> +                                    "arm,primecell";
> +                       reg = <0x85b000 0x1000>;
> +
> +                       clocks = <&rpmcc RPM_QDSS_CLK>;
> +                       clock-names = "apb_pclk";
> +
> +                       cpu = <&CPU3>;
> +                       arm,cs-dev-assoc = <&etm3>;
> +               };
> +
> +

Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>

>                 venus: video-codec@1d00000 {
>                         compatible = "qcom,msm8916-venus";
>                         reg = <0x01d00000 0xff000>;
> --
> 2.17.1
>

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

* Re: [PATCH v6 10/15] dt-bindings: qcom: Add CTI options for qcom msm8916
  2019-12-11 23:09 [PATCH v6 10/15] dt-bindings: qcom: Add CTI options for qcom msm8916 Mike Leach
  2019-12-16 21:08 ` Mathieu Poirier
@ 2019-12-17 11:42 ` Suzuki Kuruppassery Poulose
  1 sibling, 0 replies; 3+ messages in thread
From: Suzuki Kuruppassery Poulose @ 2019-12-17 11:42 UTC (permalink / raw)
  To: Mike Leach, linux-arm-kernel, coresight, devicetree
  Cc: mathieu.poirier, robh+dt, liviu.dudau, sudeep.holla,
	lorenzo.pieralisi, agross

On 11/12/2019 23:09, Mike Leach wrote:
> Adds system and CPU bound CTI definitions for Qualcom msm8916 platform
> (Dragonboard DB410C).
> System CTIs 2-11 are omitted as no information available at present.
> 
> Signed-off-by: Mike Leach <mike.leach@linaro.org>

Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com>

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

end of thread, other threads:[~2019-12-17 11:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-11 23:09 [PATCH v6 10/15] dt-bindings: qcom: Add CTI options for qcom msm8916 Mike Leach
2019-12-16 21:08 ` Mathieu Poirier
2019-12-17 11:42 ` Suzuki Kuruppassery Poulose

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).