Skip to content

Commit 8452112

Browse files
naveen-manoharbroonie
authored andcommitted
ASoC: Intel: Boards: Add GLK Realtek Maxim I2S machine driver
Patch adds Geminilake I2S machine driver which uses following codecs: RT5682 and MAX98357A. Signed-off-by: Naveen Manohar <naveen.m@intel.com> Signed-off-by: Harsha Priya <harshapriya.n@intel.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent aefba45 commit 8452112

File tree

3 files changed

+659
-0
lines changed

3 files changed

+659
-0
lines changed

sound/soc/intel/boards/Kconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,20 @@ config SND_SOC_INTEL_KBL_DA7219_MAX98357A_MACH
281281
Say Y if you have such a device.
282282
If unsure select "N".
283283

284+
config SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH
285+
tristate "GLK with RT5682 and MAX98357A in I2S Mode"
286+
depends on MFD_INTEL_LPSS && I2C && ACPI
287+
select SND_SOC_RT5682
288+
select SND_SOC_MAX98357A
289+
select SND_SOC_DMIC
290+
select SND_SOC_HDAC_HDMI
291+
select SND_HDA_DSP_LOADER
292+
help
293+
This adds support for ASoC machine driver for Geminilake platforms
294+
with RT5682 + MAX98357A I2S audio codec.
295+
Say Y if you have such a device.
296+
If unsure select "N".
297+
284298
endif ## SND_SOC_INTEL_SKYLAKE
285299

286300
endif ## SND_SOC_INTEL_MACH

sound/soc/intel/boards/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ snd-soc-sst-bdw-rt5677-mach-objs := bdw-rt5677.o
66
snd-soc-sst-broadwell-objs := broadwell.o
77
snd-soc-sst-bxt-da7219_max98357a-objs := bxt_da7219_max98357a.o
88
snd-soc-sst-bxt-rt298-objs := bxt_rt298.o
9+
snd-soc-sst-glk-rt5682_max98357a-objs := glk_rt5682_max98357a.o
910
snd-soc-sst-bytcr-rt5640-objs := bytcr_rt5640.o
1011
snd-soc-sst-bytcr-rt5651-objs := bytcr_rt5651.o
1112
snd-soc-sst-cht-bsw-rt5672-objs := cht_bsw_rt5672.o
@@ -27,6 +28,7 @@ obj-$(CONFIG_SND_SOC_INTEL_BYT_RT5640_MACH) += snd-soc-sst-byt-rt5640-mach.o
2728
obj-$(CONFIG_SND_SOC_INTEL_BYT_MAX98090_MACH) += snd-soc-sst-byt-max98090-mach.o
2829
obj-$(CONFIG_SND_SOC_INTEL_BXT_DA7219_MAX98357A_MACH) += snd-soc-sst-bxt-da7219_max98357a.o
2930
obj-$(CONFIG_SND_SOC_INTEL_BXT_RT298_MACH) += snd-soc-sst-bxt-rt298.o
31+
obj-$(CONFIG_SND_SOC_INTEL_GLK_RT5682_MAX98357A_MACH) += snd-soc-sst-glk-rt5682_max98357a.o
3032
obj-$(CONFIG_SND_SOC_INTEL_BROADWELL_MACH) += snd-soc-sst-broadwell.o
3133
obj-$(CONFIG_SND_SOC_INTEL_BDW_RT5677_MACH) += snd-soc-sst-bdw-rt5677-mach.o
3234
obj-$(CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH) += snd-soc-sst-bytcr-rt5640.o

0 commit comments

Comments
 (0)