asoc: codecs: add support for bt swr clock
Add support for BT Soundwire clock. Change-Id: I27879c2f04144b81fcaf057db1810fb9b80267b4 Signed-off-by: Vangala, Amarnath <quic_avangala@quicinc.com>
This commit is contained in:

committed by
Amarnath Vangala

parent
fd9066b9b0
commit
77c4aea5e9
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/* Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/kernel.h>
|
||||
@@ -38,6 +38,9 @@ enum {
|
||||
AUDIO_EXT_CLK_LPASS11,
|
||||
AUDIO_EXT_CLK_LPASS12,
|
||||
AUDIO_EXT_CLK_LPASS13,
|
||||
AUDIO_EXT_CLK_LPASS14,
|
||||
AUDIO_EXT_CLK_LPASS15,
|
||||
AUDIO_EXT_CLK_LPASS16,
|
||||
AUDIO_EXT_CLK_LPASS_MAX,
|
||||
AUDIO_EXT_CLK_EXTERNAL_PLL = AUDIO_EXT_CLK_LPASS_MAX,
|
||||
AUDIO_EXT_CLK_MAX,
|
||||
@@ -473,6 +476,39 @@ 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_mclk14",
|
||||
.ops = &audio_ext_clk_ops,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
.pnctrl_info = {NULL},
|
||||
.fact = {
|
||||
.mult = 1,
|
||||
.div = 1,
|
||||
.hw.init = &(struct clk_init_data){
|
||||
.name = "audio_lpass_mclk15",
|
||||
.ops = &audio_ext_clk_ops,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
.pnctrl_info = {NULL},
|
||||
.fact = {
|
||||
.mult = 1,
|
||||
.div = 1,
|
||||
.hw.init = &(struct clk_init_data){
|
||||
.name = "audio_lpass_mclk16",
|
||||
.ops = &audio_ext_clk_ops,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
.pnctrl_info = {NULL},
|
||||
.fact = {
|
||||
|
Reference in New Issue
Block a user