diff options
| author | Suman Tatiraju <sumant@codeaurora.org> | 2016-01-26 14:23:29 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:20:00 -0700 |
| commit | dc29065dc2ed55594b85755268ec34215e813341 (patch) | |
| tree | f41e8fb6cc937b8e71b6b93aeb2db57b56c8f956 /arch | |
| parent | 51b6ab4d7bc3737ebd488ccb30c6e7365aa551c7 (diff) | |
msm: kgsl: Read speed bin information from device tree
Speed bin information is sometimes written to efuses to
specify a GPU frequency plan available on a platform. The
current code only supports reading the efuses for msm8996v3.
Hence specify it in the platform device tree node to
support multiple platforms.
CRs-Fixed: 967494
Change-Id: I5db4d5a35e2700250517ea6cac3d4d736936ce9f
Signed-off-by: Suman Tatiraju <sumant@codeaurora.org>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/boot/dts/qcom/msm8996-v3.dtsi | 3 | ||||
| -rw-r--r-- | arch/arm/boot/dts/qcom/msm8996pro.dtsi | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/qcom/msm8996-v3.dtsi b/arch/arm/boot/dts/qcom/msm8996-v3.dtsi index cd4daaf5c60d..2cab4d1acaed 100644 --- a/arch/arm/boot/dts/qcom/msm8996-v3.dtsi +++ b/arch/arm/boot/dts/qcom/msm8996-v3.dtsi @@ -1,4 +1,4 @@ -/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. +/* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -100,6 +100,7 @@ qcom,initial-pwrlevel = <5>; qcom,bus-width = <32>; + qcom,gpu-speed-bin = <0x4130 0xe0000000 29>; /* Quirks */ qcom,gpu-quirk-two-pass-use-wfi; diff --git a/arch/arm/boot/dts/qcom/msm8996pro.dtsi b/arch/arm/boot/dts/qcom/msm8996pro.dtsi index 5aab3a406a26..cc5db72cad9a 100644 --- a/arch/arm/boot/dts/qcom/msm8996pro.dtsi +++ b/arch/arm/boot/dts/qcom/msm8996pro.dtsi @@ -861,6 +861,8 @@ qcom,initial-pwrlevel = <6>; + qcom,gpu-speed-bin = <0x413c 0x30000000 28>; + qcom,gpu-pwrlevel-bins { #address-cells = <1>; #size-cells = <0>; |
