2017-06-12 09:41:33

by Srinivas Kandagatla

[permalink] [raw]
Subject: [PATCH] clk: gcc-msm8916: add support to 9.6MHz codec clk

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 <[email protected]>
---
drivers/clk/qcom/gcc-msm8916.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drivers/clk/qcom/gcc-msm8916.c
index 628e6ca276ec..2cfe7000fc60 100644
--- a/drivers/clk/qcom/gcc-msm8916.c
+++ b/drivers/clk/qcom/gcc-msm8916.c
@@ -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),
{ }
--
2.11.0


2017-06-20 00:47:30

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] clk: gcc-msm8916: add support to 9.6MHz codec clk

On 06/12, Srinivas Kandagatla wrote:
> 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 <[email protected]>
> ---

Applied to clk-next

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project