]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: amd: enable machine driver build for Jadeite platform
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Fri, 1 Jul 2022 11:41:07 +0000 (17:11 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 5 Jul 2022 12:00:46 +0000 (13:00 +0100)
Enable machine driver build for Jadeite platform using ES8336 Codec.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20220701114107.1105948-6-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/Kconfig
sound/soc/amd/Makefile

index 1381aec230481f58af3cac2c63d0f3b412b5cfd8..c373f08234623b212b6181e31ba091b890ee1117 100644 (file)
@@ -23,6 +23,19 @@ config SND_SOC_AMD_CZ_RT5645_MACH
        help
         This option enables machine driver for rt5645.
 
+config SND_SOC_AMD_ST_ES8336_MACH
+       tristate "AMD ST support for ES8336"
+       select SND_SOC_ACPI
+       select SND_SOC_ES8316
+       depends on SND_SOC_AMD_ACP
+       depends on ACPI || COMPILE_TEST
+       depends on I2C || COMPILE_TEST
+       help
+        This option enables machine driver for Jadeite platform
+        using es8336 codec.
+        Say m if you have such a device.
+        If unsure select "N".
+
 config SND_SOC_AMD_ACP3x
        tristate "AMD Audio Coprocessor-v3.x support"
        depends on X86 && PCI
index 4b1f77930a4a8e6eaed527188d76025706f0c95a..8823f6f28611947c736408c8a7bbe7077aa30a4e 100644 (file)
@@ -2,12 +2,14 @@
 acp_audio_dma-objs := acp-pcm-dma.o
 snd-soc-acp-da7219mx98357-mach-objs := acp-da7219-max98357a.o
 snd-soc-acp-rt5645-mach-objs := acp-rt5645.o
+snd-soc-acp-es8336-mach-objs := acp-es8336.o
 snd-soc-acp-rt5682-mach-objs := acp3x-rt5682-max9836.o
 snd-acp-config-objs := acp-config.o
 
 obj-$(CONFIG_SND_SOC_AMD_ACP) += acp_audio_dma.o
 obj-$(CONFIG_SND_SOC_AMD_CZ_DA7219MX98357_MACH) += snd-soc-acp-da7219mx98357-mach.o
 obj-$(CONFIG_SND_SOC_AMD_CZ_RT5645_MACH) += snd-soc-acp-rt5645-mach.o
+obj-$(CONFIG_SND_SOC_AMD_ST_ES8336_MACH) += snd-soc-acp-es8336-mach.o
 obj-$(CONFIG_SND_SOC_AMD_ACP3x) += raven/
 obj-$(CONFIG_SND_SOC_AMD_RV_RT5682_MACH) += snd-soc-acp-rt5682-mach.o
 obj-$(CONFIG_SND_SOC_AMD_RENOIR) += renoir/