Prechádzať zdrojové kódy

ASoC: codecs: Add support for soundwire clock for VA usecase

Add support for soundwire clock for VA usecase.

Change-Id: I1f56678ad36e4ae6c8dd458c0b7e96e847694050
Signed-off-by: Sudheer Papothi <[email protected]>
Sudheer Papothi 6 rokov pred
rodič
commit
a1351b945f
1 zmenil súbory, kde vykonal 12 pridanie a 0 odobranie
  1. 12 0
      asoc/codecs/audio-ext-clk-up.c

+ 12 - 0
asoc/codecs/audio-ext-clk-up.c

@@ -27,6 +27,7 @@ enum {
 	AUDIO_EXT_CLK_LPASS6,
 	AUDIO_EXT_CLK_LPASS7,
 	AUDIO_EXT_CLK_LPASS_CORE_HW_VOTE,
+	AUDIO_EXT_CLK_LPASS8,
 	AUDIO_EXT_CLK_LPASS_MAX,
 	AUDIO_EXT_CLK_EXTERNAL_PLL = AUDIO_EXT_CLK_LPASS_MAX,
 	AUDIO_EXT_CLK_MAX,
@@ -320,6 +321,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_lpass_mclk8",
+				.ops = &audio_ext_clk_ops,
+			},
+		},
+	},
 	{
 		.pnctrl_info = {NULL},
 		.fact = {