ASoC: Intel: Add Baytrail byt-max98090 machine driver
Subsystems (3)
PATCH v2 1/1 ASoC: Intel: Add Baytrail byt-max98090 machine driver
Add machine driver and ACPI probing for Baytrail SST with MAX98090 codec.
Jack detect code from Kevin Strasser <[email protected]>, GPIO resolving from Mika Westerberg <[email protected]> and fixes and cleanups from Liam Girdwood <[email protected]>.
---
This is for for-next branch since depends on commit f025d3b9c64e("ASoC:
jack: Add support for GPIO descriptor defined jack pins"). Or merge topic/gpio or for-next to topic/intel before applying.
v2:
- Needless DAPM calls removed from init
- Using snd_soc_pm_ops for suspend/resume
- Using new GPIO descriptors support from ASoC jack
- devm_snd_soc_register_card
- Bogus Kconfig symbol removed from Makefile
- Various cleanups
--- sound/soc/intel/Kconfig | 9 ++ sound/soc/intel/Makefile | 2 + sound/soc/intel/byt-max98090.c | 203 +++++++++++++++++++++++++++++++++++++++++ sound/soc/intel/sst-acpi.c | 1 + 4 files changed, 215 insertions(+) create mode 100644 sound/soc/intel/byt-max98090.c
sound/soc/intel/Kconfig +9 -0
@@ -49,3 +49,12 @@ config SND_SOC_INTEL_BYT_RT5640_MACH help This adds audio driver for Intel Baytrail platform based boards with the RT5640 audio codec. + +config SND_SOC_INTEL_BYT_MAX98090_MACH + tristate "ASoC Audio driver for Intel Baytrail with MAX98090 codec" + depends on SND_SOC_INTEL_SST && X86_INTEL_LPSS + select SND_SOC_INTEL_BAYTRAIL + select SND_SOC_MAX98090 + help + This adds audio driver for Intel Baytrail platform based boards + with the MAX98090 audio codec.
sound/soc/intel/Makefile +2 -0
@@ -23,6 +23,8 @@ obj-$(CONFIG_SND_SOC_INTEL_BAYTRAIL) += snd-soc-sst-baytrail-pcm.o # Machine support snd-soc-sst-haswell-objs := haswell.o snd-soc-sst-byt-rt5640-mach-objs := byt-rt5640.o +snd-soc-sst-byt-max98090-mach-objs := byt-max98090.o obj-$(CONFIG_SND_SOC_INTEL_HASWELL_MACH) += snd-soc-sst-haswell.o obj-$(CONFIG_SND_SOC_INTEL_BYT_RT5640_MACH) += snd-soc-sst-byt-rt5640-mach.o +obj-$(CONFIG_SND_SOC_INTEL_BYT_MAX98090_MACH) += snd-soc-sst-byt-max98090-mach.o
sound/soc/intel/byt-max98090.c new file +203 -0
203 lines not on this page · raw message
sound/soc/intel/sst-acpi.c +1 -0
@@ -247,6 +247,7 @@ static struct sst_acpi_desc sst_acpi_broadwell_desc = {static struct sst_acpi_mach baytrail_machines[] = { {"10EC5640" ,"byt-rt5640" ,"intel/fw_sst_0f28.bin-i2s_master" }, + {"193C9890" ,"byt-max98090" ,"intel/fw_sst_0f28.bin-i2s_master" }, {} };
Signature · 1 line
2.0.0.rc2
Quoted 5 lines · Jarkko Nikula
Add machine driver and ACPI probing for Baytrail SST with MAX98090 codec.
Jack detect code from Kevin Strasser <[email protected]>, GPIO resolving from Mika Westerberg <[email protected]> and fixes and cleanups from Liam Girdwood <[email protected]>.
Applied, thanks.