summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLokesh Batra <lbatra@codeaurora.org>2016-03-08 05:40:03 -0800
committerCarter Cooper <ccooper@codeaurora.org>2016-12-07 13:55:10 -0700
commitac4034d803e0adee0dfa826fadf607f6bf4d148d (patch)
treefe6e5d7e36b9f670fa0c7bb3b7f0c59e059e9764
parent256de04b8de29c89f91ad1eba1e7522d3ac9177d (diff)
ARM: dts: msm: Add GPU coresight properties for msm8998
Add properties in the GPU device tree for coresight. Define GPU name and its funnel connections. CR-fixed: 988516 Change-Id: Ibf2e369c2a4732ebc7471ee103bc8d5d934247ec Signed-off-by: Lokesh Batra <lbatra@codeaurora.org>
-rw-r--r--arch/arm/boot/dts/qcom/msm8998-coresight.dtsi8
-rw-r--r--arch/arm/boot/dts/qcom/msm8998-gpu.dtsi8
2 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/msm8998-coresight.dtsi b/arch/arm/boot/dts/qcom/msm8998-coresight.dtsi
index aeb6bf6141d8..75a90b0499e1 100644
--- a/arch/arm/boot/dts/qcom/msm8998-coresight.dtsi
+++ b/arch/arm/boot/dts/qcom/msm8998-coresight.dtsi
@@ -277,6 +277,14 @@
<&funnel_apss_merg_out_funnel_in1>;
};
};
+ port@6 {
+ reg = <7>;
+ funnel_in1_in_gfx: endpoint {
+ slave-mode;
+ remote-endpoint =
+ <&gfx_out_funnel_in1>;
+ };
+ };
};
};
diff --git a/arch/arm/boot/dts/qcom/msm8998-gpu.dtsi b/arch/arm/boot/dts/qcom/msm8998-gpu.dtsi
index 8739e8f22549..c85493d54e35 100644
--- a/arch/arm/boot/dts/qcom/msm8998-gpu.dtsi
+++ b/arch/arm/boot/dts/qcom/msm8998-gpu.dtsi
@@ -122,6 +122,14 @@
vddcx-supply = <&gdsc_gpu_cx>;
vdd-supply = <&gdsc_gpu_gx>;
+ /* Trace bus */
+ coresight-name = "coresight-gfx";
+ port {
+ gfx_out_funnel_in1: endpoint {
+ remote-endpoint = <&funnel_in1_in_gfx>;
+ };
+ };
+
/* GPU Mempools */
qcom,gpu-mempools {
#address-cells= <1>;