lkml.org 
[lkml]   [2016]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 4/5] clk: qcom: ipq4019: Added the all frequencies for apps cpu
Date
The APPS CPU clock does not contain all the frequencies in its
frequency table so this patch adds the same.

Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
---
drivers/clk/qcom/gcc-ipq4019.c | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/drivers/clk/qcom/gcc-ipq4019.c b/drivers/clk/qcom/gcc-ipq4019.c
index 0bef36d..df159c2 100644
--- a/drivers/clk/qcom/gcc-ipq4019.c
+++ b/drivers/clk/qcom/gcc-ipq4019.c
@@ -554,11 +554,21 @@ static struct clk_rcg2 sdcc1_apps_clk_src = {
};

static const struct freq_tbl ftbl_gcc_apps_clk[] = {
- F(48000000, P_XO, 1, 0, 0),
- F(200000000, P_FEPLL200, 1, 0, 0),
- F(500000000, P_FEPLL500, 1, 0, 0),
- F(626000000, P_DDRPLLAPSS, 1, 0, 0),
- { }
+ {48000000, P_XO, 1, 0, 0},
+ {200000000, P_FEPLL200, 1, 0, 0},
+ {380000000, P_DDRPLLAPSS, 1, 0, 0},
+ {409000000, P_DDRPLLAPSS, 1, 0, 0},
+ {444000000, P_DDRPLLAPSS, 1, 0, 0},
+ {484000000, P_DDRPLLAPSS, 1, 0, 0},
+ {500000000, P_FEPLL500, 1, 0, 0},
+ {507000000, P_DDRPLLAPSS, 1, 0, 0},
+ {532000000, P_DDRPLLAPSS, 1, 0, 0},
+ {560000000, P_DDRPLLAPSS, 1, 0, 0},
+ {592000000, P_DDRPLLAPSS, 1, 0, 0},
+ {626000000, P_DDRPLLAPSS, 1, 0, 0},
+ {666000000, P_DDRPLLAPSS, 1, 0, 0},
+ {710000000, P_DDRPLLAPSS, 1, 0, 0},
+ {}
};

static struct clk_rcg2 apps_clk_src = {
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
\
 
 \ /
  Last update: 2016-06-21 16:21    [W:0.115 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site