summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDeepak Katragadda <dkatraga@codeaurora.org>2015-10-07 17:24:06 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:17:03 -0700
commit2740b9fcaaa158374e8903b7b58c7dacc76bbd2e (patch)
tree89fb30a0e8992a4f8d3d83d0b7dc027cd38bc7a9 /include
parentf5e6ba4333c6876bc5c3fc7b4a401aad379bdbce (diff)
clk: msm: clock: Add GPUCC clock driver support for MSMCOBALT
Add support to model the graphics clocks on MSMCOBALT. Change-Id: I31c3dda59a0bb7e9b6b6cee8176fb46f46767629 Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/clock/msm-clocks-hwio-cobalt.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/include/dt-bindings/clock/msm-clocks-hwio-cobalt.h b/include/dt-bindings/clock/msm-clocks-hwio-cobalt.h
index d6b28cee7c07..7765618e1d36 100644
--- a/include/dt-bindings/clock/msm-clocks-hwio-cobalt.h
+++ b/include/dt-bindings/clock/msm-clocks-hwio-cobalt.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2015-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
@@ -229,3 +229,18 @@
#define GCC_MSS_SNOC_AXI_CBCR 0x8A03C
#define GCC_HLOS1_VOTE_LPASS_CORE_SMMU_CBCR 0x7D010
#define GCC_HLOS1_VOTE_LPASS_ADSP_SMMU_CBCR 0x7D014
+
+#define GPUCC_GPU_PLL0_PLL_MODE 0x00000
+#define GPUCC_GPU_PLL0_USER_CTL_MODE 0x0000C
+#define GPUCC_GPU_PLL1_PLL_MODE 0x00040
+#define GPUCC_GPU_PLL1_USER_CTL_MODE 0x0004C
+#define GPUCC_GFX3D_CMD_RCGR 0x01070
+#define GPUCC_RBBMTIMER_CMD_RCGR 0x010B0
+#define GPUCC_GFX3D_ISENSE_CMD_RCGR 0x01100
+#define GPUCC_RBCPR_CMD_RCGR 0x01030
+#define GPUCC_GFX3D_CBCR 0x01098
+#define GPUCC_RBBMTIMER_CBCR 0x010D0
+#define GPUCC_GFX3D_ISENSE_CBCR 0x01124
+#define GPUCC_CXO_CBCR 0x01020
+#define GPUCC_RBCPR_CBCR 0x01054
+#define GPUCC_DEBUG_CLK_CTL 0x00120