diff options
author | Gaurav Gagrani <ggagrani@codeaurora.org> | 2015-06-11 15:25:17 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-06-16 23:04:12 -0700 |
commit | b23bd9e3a9a83569b960b0fc3cbb6505e1b4cc46 (patch) | |
tree | 604536feb8ca3fbc12029f7c667dc3fe3632c3b0 | |
parent | 3516f0cc9c8df59301d5d6174f55e71b9f9bd6dc (diff) | |
download | qcom-b23bd9e3a9a83569b960b0fc3cbb6505e1b4cc46.tar.gz |
ARM: dts: Add GPU speed config support to MSM8916
Define 'gpu-speed-config' property to support 465MHZ
GPU clock and DDR max at 595.2 Mhz.
Change-Id: I18c89b357d25618c4f1da746032ecf70bedcfeb7
Signed-off-by: Gaurav Gagrani <ggagrani@codeaurora.org>
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
-rw-r--r-- | arch/arm/boot/dts/qcom/msm8916-gpu.dtsi | 55 |
1 files changed, 51 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/qcom/msm8916-gpu.dtsi b/arch/arm/boot/dts/qcom/msm8916-gpu.dtsi index e4690c606ed..1378e0fe3a2 100644 --- a/arch/arm/boot/dts/qcom/msm8916-gpu.dtsi +++ b/arch/arm/boot/dts/qcom/msm8916-gpu.dtsi @@ -1,4 +1,4 @@ -/* Copyright (c) 2014, The Linux Foundation. All rights reserved. +/* Copyright (c) 2014-15, 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 @@ -15,12 +15,15 @@ label = "kgsl-3d0"; compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d"; reg = <0x01c00000 0x10000 - 0x01c10000 0x10000>; - reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory"; + 0x01c10000 0x10000 + 0x0005c00c 0x8>; + reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory" , "efuse_memory"; interrupts = <0 33 0>; interrupt-names = "kgsl_3d0_irq"; qcom,id = <0>; + qcom,gpu-speed-config = <2>; + qcom,chipid = <0x03000600>; qcom,initial-pwrlevel = <1>; @@ -103,7 +106,51 @@ qcom,bus-freq = <0>; }; }; - + /* Speed levels */ + qcom,gpu-speed-config@2 { + compatible = "gpu-speed-config@2"; + + /* Bus Scale Settings */ + qcom,msm-bus,name = "grp3d"; + qcom,msm-bus,num-cases = <4>; + qcom,msm-bus,num-paths = <1>; + qcom,msm-bus,vectors-KBps = + <26 512 0 0>, + <26 512 160000 1600000>, + <26 512 800000 3200000>, + <26 512 1190400 4761600>; + + qcom,gpu-pwrlevels { + #address-cells = <1>; + #size-cells = <0>; + + compatible = "qcom,gpu-pwrlevels"; + + qcom,gpu-pwrlevel@0 { + reg = <0>; + qcom,gpu-freq = <465000000>; + qcom,bus-freq = <3>; + }; + + qcom,gpu-pwrlevel@1 { + reg = <1>; + qcom,gpu-freq = <310000000>; + qcom,bus-freq = <2>; + }; + + qcom,gpu-pwrlevel@2 { + reg = <2>; + qcom,gpu-freq = <200000000>; + qcom,bus-freq = <1>; + }; + + qcom,gpu-pwrlevel@3 { + reg = <3>; + qcom,gpu-freq = <19200000>; + qcom,bus-freq = <0>; + }; + }; + }; }; }; |