From ac4034d803e0adee0dfa826fadf607f6bf4d148d Mon Sep 17 00:00:00 2001 From: Lokesh Batra Date: Tue, 8 Mar 2016 05:40:03 -0800 Subject: [PATCH] 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 --- arch/arm/boot/dts/qcom/msm8998-coresight.dtsi | 8 ++++++++ arch/arm/boot/dts/qcom/msm8998-gpu.dtsi | 8 ++++++++ 2 files changed, 16 insertions(+) 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>; -- 2.11.0