ASoC: amd: Kconfig: Select fch clock support with machine driver
authorAjit Kumar Pandey <AjitKumar.Pandey@amd.com>
Mon, 11 Oct 2021 05:53:53 +0000 (11:23 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 11 Oct 2021 12:19:18 +0000 (13:19 +0100)
We are using fch clock controller as parent mclk source for rt5682
codec. Add config to enable clock framework support for 48MHz fixed
clock when machine driver config is selected.

Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>
Link: https://lore.kernel.org/r/20211011055354.67719-1-AjitKumar.Pandey@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/Kconfig

index 49ff5e73e9bad53a6aa6c39b903b0d59ce942b69..a2cb50d0998072a92332515dd088f373c7c16425 100644 (file)
@@ -6,6 +6,7 @@ config SND_SOC_AMD_ACP
 
 config SND_SOC_AMD_CZ_DA7219MX98357_MACH
        tristate "AMD CZ support for DA7219, RT5682 and MAX9835"
+       select CLK_FIXED_FCH
        select SND_SOC_DA7219
        select SND_SOC_RT5682_I2C
        select SND_SOC_MAX98357A
@@ -30,6 +31,7 @@ config SND_SOC_AMD_ACP3x
 
 config SND_SOC_AMD_RV_RT5682_MACH
        tristate "AMD RV support for RT5682"
+       select CLK_FIXED_FCH
        select SND_SOC_RT5682_I2C
        select SND_SOC_MAX98357A
        select SND_SOC_CROS_EC_CODEC