summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorDeepak Katragadda <dkatraga@codeaurora.org>2016-04-21 16:19:15 -0700
committerJeevan Shriram <jshriram@codeaurora.org>2016-04-22 11:57:53 -0700
commit991cae31be3f9e12489666d009a52c87d3df3142 (patch)
treee5252bc5359d10dd7e1a1a3d2c35ab871887b141 /drivers/clk
parentd3c922787929248cda45436edc870f521bd7ae3b (diff)
clk: msm: clock-mmss-cobalt: Do not model the Throttle clock registers
The throttle clocks are managed by XBL and HLOS does not need to control them. Remove support for these clocks from the clock driver. CRs-Fixed: 1006824 Change-Id: I1a33b3dbde6d5526be1073874e28b12350adad5e Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/msm/clock-mmss-cobalt.c117
1 files changed, 0 insertions, 117 deletions
diff --git a/drivers/clk/msm/clock-mmss-cobalt.c b/drivers/clk/msm/clock-mmss-cobalt.c
index 777571bb7c96..95f72244c8de 100644
--- a/drivers/clk/msm/clock-mmss-cobalt.c
+++ b/drivers/clk/msm/clock-mmss-cobalt.c
@@ -2018,105 +2018,6 @@ static struct branch_clk mmss_mnoc_maxi_clk = {
},
};
-static struct branch_clk mmss_throttle_camss_ahb_clk = {
- .cbcr_reg = MMSS_THROTTLE_CAMSS_AHB_CBCR,
- .has_sibling = 1,
- .base = &virt_base,
- .c = {
- .dbg_name = "mmss_throttle_camss_ahb_clk",
- .ops = &clk_ops_branch,
- CLK_INIT(mmss_throttle_camss_ahb_clk.c),
- },
-};
-
-static struct branch_clk mmss_throttle_camss_axi_clk = {
- .cbcr_reg = MMSS_THROTTLE_CAMSS_AXI_CBCR,
- .has_sibling = 1,
- .base = &virt_base,
- .c = {
- .dbg_name = "mmss_throttle_camss_axi_clk",
- .ops = &clk_ops_branch,
- CLK_INIT(mmss_throttle_camss_axi_clk.c),
- },
-};
-
-static struct branch_clk mmss_throttle_camss_cxo_clk = {
- .cbcr_reg = MMSS_THROTTLE_CAMSS_CXO_CBCR,
- .has_sibling = 1,
- .base = &virt_base,
- .c = {
- .dbg_name = "mmss_throttle_camss_cxo_clk",
- .ops = &clk_ops_branch,
- CLK_INIT(mmss_throttle_camss_cxo_clk.c),
- },
-};
-
-static struct branch_clk mmss_throttle_mdss_ahb_clk = {
- .cbcr_reg = MMSS_THROTTLE_MDSS_AHB_CBCR,
- .has_sibling = 1,
- .base = &virt_base,
- .c = {
- .dbg_name = "mmss_throttle_mdss_ahb_clk",
- .ops = &clk_ops_branch,
- CLK_INIT(mmss_throttle_mdss_ahb_clk.c),
- },
-};
-
-static struct branch_clk mmss_throttle_mdss_axi_clk = {
- .cbcr_reg = MMSS_THROTTLE_MDSS_AXI_CBCR,
- .has_sibling = 1,
- .base = &virt_base,
- .c = {
- .dbg_name = "mmss_throttle_mdss_axi_clk",
- .ops = &clk_ops_branch,
- CLK_INIT(mmss_throttle_mdss_axi_clk.c),
- },
-};
-
-static struct branch_clk mmss_throttle_mdss_cxo_clk = {
- .cbcr_reg = MMSS_THROTTLE_MDSS_CXO_CBCR,
- .has_sibling = 1,
- .base = &virt_base,
- .c = {
- .dbg_name = "mmss_throttle_mdss_cxo_clk",
- .ops = &clk_ops_branch,
- CLK_INIT(mmss_throttle_mdss_cxo_clk.c),
- },
-};
-
-static struct branch_clk mmss_throttle_video_ahb_clk = {
- .cbcr_reg = MMSS_THROTTLE_VIDEO_AHB_CBCR,
- .has_sibling = 1,
- .base = &virt_base,
- .c = {
- .dbg_name = "mmss_throttle_video_ahb_clk",
- .ops = &clk_ops_branch,
- CLK_INIT(mmss_throttle_video_ahb_clk.c),
- },
-};
-
-static struct branch_clk mmss_throttle_video_axi_clk = {
- .cbcr_reg = MMSS_THROTTLE_VIDEO_AXI_CBCR,
- .has_sibling = 1,
- .base = &virt_base,
- .c = {
- .dbg_name = "mmss_throttle_video_axi_clk",
- .ops = &clk_ops_branch,
- CLK_INIT(mmss_throttle_video_axi_clk.c),
- },
-};
-
-static struct branch_clk mmss_throttle_video_cxo_clk = {
- .cbcr_reg = MMSS_THROTTLE_VIDEO_CXO_CBCR,
- .has_sibling = 1,
- .base = &virt_base,
- .c = {
- .dbg_name = "mmss_throttle_video_cxo_clk",
- .ops = &clk_ops_branch,
- CLK_INIT(mmss_throttle_video_cxo_clk.c),
- },
-};
-
static struct branch_clk mmss_video_subcore0_clk = {
.cbcr_reg = MMSS_VIDEO_SUBCORE0_CBCR,
.has_sibling = 0,
@@ -2305,15 +2206,6 @@ static struct mux_clk mmss_debug_mux = {
{ &mmss_camss_cphy_csid3_clk.c, 0x0090},
{ &mmss_mdss_dp_aux_clk.c, 0x009c },
{ &mmss_mdss_dp_gtc_clk.c, 0x009d },
- { &mmss_throttle_camss_ahb_clk.c, 0x00a4 },
- { &mmss_throttle_mdss_ahb_clk.c, 0x00a5 },
- { &mmss_throttle_video_ahb_clk.c, 0x00a6 },
- { &mmss_throttle_camss_cxo_clk.c, 0x00a7 },
- { &mmss_throttle_mdss_cxo_clk.c, 0x00a8 },
- { &mmss_throttle_video_cxo_clk.c, 0x00a9 },
- { &mmss_throttle_camss_axi_clk.c, 0x00aa },
- { &mmss_throttle_mdss_axi_clk.c, 0x00ab },
- { &mmss_throttle_video_axi_clk.c, 0x00ac },
{ &mmss_mdss_byte0_intf_clk.c, 0x00ad },
{ &mmss_mdss_byte1_intf_clk.c, 0x00ae },
),
@@ -2473,15 +2365,6 @@ static struct clk_lookup msm_clocks_mmss_cobalt[] = {
CLK_LIST(mmss_misc_cxo_clk),
CLK_LIST(mmss_mnoc_ahb_clk),
CLK_LIST(mmss_mnoc_maxi_clk),
- CLK_LIST(mmss_throttle_camss_ahb_clk),
- CLK_LIST(mmss_throttle_camss_axi_clk),
- CLK_LIST(mmss_throttle_camss_cxo_clk),
- CLK_LIST(mmss_throttle_mdss_ahb_clk),
- CLK_LIST(mmss_throttle_mdss_axi_clk),
- CLK_LIST(mmss_throttle_mdss_cxo_clk),
- CLK_LIST(mmss_throttle_video_ahb_clk),
- CLK_LIST(mmss_throttle_video_axi_clk),
- CLK_LIST(mmss_throttle_video_cxo_clk),
CLK_LIST(mmss_video_subcore0_clk),
CLK_LIST(mmss_video_subcore1_clk),
CLK_LIST(mmss_video_ahb_clk),