summaryrefslogtreecommitdiffstats
path: root/drivers/clk/qcom/gcc-msm8916.c
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2017-12-06 13:11:39 +0100
committerStephen Boyd <sboyd@codeaurora.org>2017-12-07 07:34:09 +0100
commitc82823913fab379da5a8d7f63033f482597383c5 (patch)
treed5d13ccd8613d1d01cf1c746dbada0bbd6a733b3 /drivers/clk/qcom/gcc-msm8916.c
parentclk: qcom: msm8916: fix mnd_width for codec_digcodec (diff)
downloadlinux-c82823913fab379da5a8d7f63033f482597383c5.tar.xz
linux-c82823913fab379da5a8d7f63033f482597383c5.zip
clk: qcom: msm8916: add 12.288 MHz support to codec dig clk
This patch adds 12.288 MHz suport to codec digital clk, this clock. Some external PA requires a 12.288 MHz to work. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/qcom/gcc-msm8916.c')
-rw-r--r--drivers/clk/qcom/gcc-msm8916.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drivers/clk/qcom/gcc-msm8916.c
index d973aeaab943..d6c7f50ba86a 100644
--- a/drivers/clk/qcom/gcc-msm8916.c
+++ b/drivers/clk/qcom/gcc-msm8916.c
@@ -1436,6 +1436,7 @@ static struct clk_branch gcc_ultaudio_stc_xo_clk = {
static const struct freq_tbl ftbl_codec_clk[] = {
F(9600000, P_XO, 2, 0, 0),
+ F(12288000, P_XO, 1, 16, 25),
F(19200000, P_XO, 1, 0, 0),
F(11289600, P_EXT_MCLK, 1, 0, 0),
{ }