Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 68725bb2 authored by Rohit kumar's avatar Rohit kumar Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarRohit kumar <rohitkr@codeaurora.org>
parent b9c563ff
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -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)