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

Commit 5276dad6 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: audio-ext-clk: Add support for external pll clk"

parents 330cb583 68725bb2
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)