diff mbox series

arm64: defconfig: Enable Qualcomm SM8250 audio config

Message ID 20201228152947.4021689-1-dmitry.baryshkov@linaro.org
State Accepted
Commit e6c88b8e434f1a856b330a7c07e4ed338e41a92e
Headers show
Series arm64: defconfig: Enable Qualcomm SM8250 audio config | expand

Commit Message

Dmitry Baryshkov Dec. 28, 2020, 3:29 p.m. UTC
Enable ASoC platform driver and condec drivers for Qualcomm SM8250
platform and devices based on it.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

---
 arch/arm64/configs/defconfig | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.29.2

Comments

Bjorn Andersson Jan. 15, 2021, 3:04 p.m. UTC | #1
On Mon 28 Dec 09:29 CST 2020, Dmitry Baryshkov wrote:

> Enable ASoC platform driver and condec drivers for Qualcomm SM8250

> platform and devices based on it.

> 

> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

> ---

>  arch/arm64/configs/defconfig | 5 +++++

>  1 file changed, 5 insertions(+)

> 

> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig

> index 838301650a79..9b1c438aa17f 100644

> --- a/arch/arm64/configs/defconfig

> +++ b/arch/arm64/configs/defconfig

> @@ -505,6 +505,7 @@ CONFIG_PINCTRL_SC7180=y

>  CONFIG_PINCTRL_SDM845=y

>  CONFIG_PINCTRL_SM8150=y

>  CONFIG_PINCTRL_SM8250=y

> +CONFIG_PINCTRL_LPASS_LPI=y


The reason for keeping the TLMM drivers builtin is because they will
otherwise prevent the UART from probing before we hit userspace (leaving
us without a console). But this should be possible to land as =m
instead?

>  CONFIG_GPIO_ALTERA=m

>  CONFIG_GPIO_DAVINCI=y

>  CONFIG_GPIO_DWAPB=y

> @@ -724,6 +725,7 @@ CONFIG_SND_SOC_QCOM=m

>  CONFIG_SND_SOC_APQ8016_SBC=m

>  CONFIG_SND_SOC_MSM8996=m

>  CONFIG_SND_SOC_SDM845=m

> +CONFIG_SND_SOC_SM8250=m

>  CONFIG_SND_SOC_ROCKCHIP=m

>  CONFIG_SND_SOC_ROCKCHIP_SPDIF=m

>  CONFIG_SND_SOC_ROCKCHIP_RT5645=m

> @@ -747,6 +749,8 @@ CONFIG_SND_SOC_TAS571X=m

>  CONFIG_SND_SOC_WCD934X=m

>  CONFIG_SND_SOC_WM8904=m

>  CONFIG_SND_SOC_WSA881X=m

> +CONFIG_SND_SOC_LPASS_WSA_MACRO=m

> +CONFIG_SND_SOC_LPASS_VA_MACRO=m

>  CONFIG_SND_SIMPLE_CARD=m

>  CONFIG_SND_AUDIO_GRAPH_CARD=m

>  CONFIG_I2C_HID=m

> @@ -932,6 +936,7 @@ CONFIG_SM_GCC_8250=y

>  CONFIG_SM_GPUCC_8150=y

>  CONFIG_SM_GPUCC_8250=y

>  CONFIG_QCOM_HFPLL=y

> +CONFIG_CLK_GFM_LPASS_SM8250=y


This clock controller seems to only provide clocks needed by audio (and
no power-domains), could we therefor instead make it =m?

Regards,
Bjorn

>  CONFIG_HWSPINLOCK=y

>  CONFIG_HWSPINLOCK_QCOM=y

>  CONFIG_ARM_MHU=y

> -- 

> 2.29.2

>
diff mbox series

Patch

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 838301650a79..9b1c438aa17f 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -505,6 +505,7 @@  CONFIG_PINCTRL_SC7180=y
 CONFIG_PINCTRL_SDM845=y
 CONFIG_PINCTRL_SM8150=y
 CONFIG_PINCTRL_SM8250=y
+CONFIG_PINCTRL_LPASS_LPI=y
 CONFIG_GPIO_ALTERA=m
 CONFIG_GPIO_DAVINCI=y
 CONFIG_GPIO_DWAPB=y
@@ -724,6 +725,7 @@  CONFIG_SND_SOC_QCOM=m
 CONFIG_SND_SOC_APQ8016_SBC=m
 CONFIG_SND_SOC_MSM8996=m
 CONFIG_SND_SOC_SDM845=m
+CONFIG_SND_SOC_SM8250=m
 CONFIG_SND_SOC_ROCKCHIP=m
 CONFIG_SND_SOC_ROCKCHIP_SPDIF=m
 CONFIG_SND_SOC_ROCKCHIP_RT5645=m
@@ -747,6 +749,8 @@  CONFIG_SND_SOC_TAS571X=m
 CONFIG_SND_SOC_WCD934X=m
 CONFIG_SND_SOC_WM8904=m
 CONFIG_SND_SOC_WSA881X=m
+CONFIG_SND_SOC_LPASS_WSA_MACRO=m
+CONFIG_SND_SOC_LPASS_VA_MACRO=m
 CONFIG_SND_SIMPLE_CARD=m
 CONFIG_SND_AUDIO_GRAPH_CARD=m
 CONFIG_I2C_HID=m
@@ -932,6 +936,7 @@  CONFIG_SM_GCC_8250=y
 CONFIG_SM_GPUCC_8150=y
 CONFIG_SM_GPUCC_8250=y
 CONFIG_QCOM_HFPLL=y
+CONFIG_CLK_GFM_LPASS_SM8250=y
 CONFIG_HWSPINLOCK=y
 CONFIG_HWSPINLOCK_QCOM=y
 CONFIG_ARM_MHU=y