clk: gcc-msm8916: add support to 9.6MHz codec clk
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 12 Jun 2017 09:41:22 +0000 (10:41 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 20 Jun 2017 00:43:49 +0000 (17:43 -0700)
MCLK for internal audio codec is expected to be at 9.6MHz by default.
This patch adds support to 9.6MHz to make the default case possible.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/gcc-msm8916.c

index 628e6ca276ec827c865b0d53dfa9281cc57db43c..2cfe7000fc60465028bc55567dedbfd540d0729e 100644 (file)
@@ -1430,6 +1430,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(19200000, P_XO, 1, 0, 0),
        F(11289600, P_EXT_MCLK, 1, 0, 0),
        { }