From fef117d47d1e3076446c04882ea7d004e742ba5b Mon Sep 17 00:00:00 2001 From: Young Kwak Date: Tue, 25 Aug 2020 21:46:09 +0900 Subject: [PATCH] ARM: dts: msm: Add tzone-names for lahaina GPU Add GPU tzone-names to get the GPU temperature on lahaina. CRs-Fixed: 2765368 Change-Id: I8acbb6aee4a98f9e1e3b3b18a77cd798dc24ff3a --- bindings/gpu/adreno.txt | 6 +++--- qcom/lahaina-gpu.dtsi | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bindings/gpu/adreno.txt b/bindings/gpu/adreno.txt index 4356056a77d9..de91a4ee875e 100644 --- a/bindings/gpu/adreno.txt +++ b/bindings/gpu/adreno.txt @@ -198,9 +198,9 @@ Optional Properties: baseAddr - base address of the qtimer memory region size - size of the qtimer region -- qcom,tsens-name: - Specify the name of GPU temperature sensor. This name will be used - to get the temperature from the thermal driver API. +- qcom,tzone-names: + Specify the names of GPU thermal zones. These will be used + to get gpu temperature from the thermal driver API. - qcom,enable-midframe-timer: Boolean. Enables the use of midframe sampling timer. This timer diff --git a/qcom/lahaina-gpu.dtsi b/qcom/lahaina-gpu.dtsi index 1292871e224f..bcd4c115d580 100644 --- a/qcom/lahaina-gpu.dtsi +++ b/qcom/lahaina-gpu.dtsi @@ -51,6 +51,8 @@ qcom,gpu-qdss-stm = <0x161c0000 0x40000>; /* base addr, size */ + qcom,tzone-names = "gpuss-0-usr", "gpuss-1-usr"; + interconnects = <&gem_noc MASTER_GFX3D &mc_virt SLAVE_EBI1>; interconnect-names = "gpu_icc_path";