mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
ASoC: audio-ext-clk: Add support for external pll clk
Add clock node to support external pll clock source. Change-Id: Ic524f61933d3834896bd113c60a0499915794d0d Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
This commit is contained in:
parent
b9c563ff6f
commit
68725bb2bf
1 changed files with 13 additions and 1 deletions
|
|
@ -29,7 +29,8 @@ enum {
|
|||
AUDIO_EXT_CLK_LPASS7,
|
||||
AUDIO_EXT_CLK_LPASS_NPA_RSC_ISLAND,
|
||||
AUDIO_EXT_CLK_LPASS_MAX,
|
||||
AUDIO_EXT_CLK_MAX = AUDIO_EXT_CLK_LPASS_MAX,
|
||||
AUDIO_EXT_CLK_EXTERNAL_PLL = AUDIO_EXT_CLK_LPASS_MAX,
|
||||
AUDIO_EXT_CLK_MAX,
|
||||
};
|
||||
|
||||
struct pinctrl_info {
|
||||
|
|
@ -325,6 +326,17 @@ static struct audio_ext_clk audio_clk_array[] = {
|
|||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
.pnctrl_info = {NULL},
|
||||
.fact = {
|
||||
.mult = 1,
|
||||
.div = 1,
|
||||
.hw.init = &(struct clk_init_data){
|
||||
.name = "audio_external_pll_clk",
|
||||
.ops = &audio_ext_clk_ops,
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
static int audio_get_pinctrl(struct platform_device *pdev)
|
||||
|
|
|
|||
Loading…
Reference in a new issue