Commit 6cbfa11d authored by Cezary Rojewski's avatar Cezary Rojewski Committed by Mark Brown

ASoC: Intel: Select catpt and deprecate haswell

Prevent sound/soc/intel/haswell code compile and select catpt instead as
a recommended solution. Userspace-exposed members are compatible with
what is exposed by deprecated solution thus no harm is done. The only
visible difference is the newly added 'Loopback Mute' kcontrol.
Signed-off-by: default avatarCezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200929141247.8058-15-cezary.rojewski@intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 053743f0
...@@ -47,21 +47,21 @@ config SND_SOC_INTEL_SST_FIRMWARE ...@@ -47,21 +47,21 @@ config SND_SOC_INTEL_SST_FIRMWARE
# Haswell/Broadwell/Baytrail legacy and will be set # Haswell/Broadwell/Baytrail legacy and will be set
# when these platforms are enabled # when these platforms are enabled
config SND_SOC_INTEL_HASWELL config SND_SOC_INTEL_CATPT
tristate "Haswell/Broadwell Platforms" tristate "Haswell and Broadwell"
depends on ACPI || COMPILE_TEST
depends on SND_DMA_SGBUF depends on SND_DMA_SGBUF
depends on DMADEVICES && ACPI select DW_DMAC_CORE
select SND_SOC_INTEL_SST
select SND_SOC_INTEL_SST_ACPI
select SND_SOC_INTEL_SST_FIRMWARE
select SND_SOC_ACPI_INTEL_MATCH select SND_SOC_ACPI_INTEL_MATCH
help help
If you have a Intel Haswell or Broadwell platform connected to Enable support for Intel(R) Haswell and Broadwell platforms
an I2S codec, then enable this option by saying Y or m. This is with I2S codec present. This is a recommended option.
typically used for Chromebooks. This is a recommended option. Say Y or m if you have such device.
This option is mutually exclusive with the SOF support on If unsure, say N.
Broadwell. If you want to enable SOF on Broadwell, you need to
deselect this option first. config SND_SOC_INTEL_HASWELL
tristate
select SND_SOC_INTEL_CATPT
config SND_SOC_INTEL_BAYTRAIL config SND_SOC_INTEL_BAYTRAIL
tristate "Baytrail (legacy) Platforms" tristate "Baytrail (legacy) Platforms"
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
obj-$(CONFIG_SND_SOC) += common/ obj-$(CONFIG_SND_SOC) += common/
# Platform Support # Platform Support
obj-$(CONFIG_SND_SOC_INTEL_HASWELL) += haswell/
obj-$(CONFIG_SND_SOC_INTEL_BAYTRAIL) += baytrail/ obj-$(CONFIG_SND_SOC_INTEL_BAYTRAIL) += baytrail/
obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += atom/ obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += atom/
obj-$(CONFIG_SND_SOC_INTEL_CATPT) += catpt/
obj-$(CONFIG_SND_SOC_INTEL_SKYLAKE) += skylake/ obj-$(CONFIG_SND_SOC_INTEL_SKYLAKE) += skylake/
obj-$(CONFIG_SND_SOC_INTEL_KEEMBAY) += keembay/ obj-$(CONFIG_SND_SOC_INTEL_KEEMBAY) += keembay/
......
...@@ -26,7 +26,7 @@ config SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES ...@@ -26,7 +26,7 @@ config SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES
interface. interface.
If unsure select N. If unsure select N.
if SND_SOC_INTEL_HASWELL if SND_SOC_INTEL_CATPT
config SND_SOC_INTEL_HASWELL_MACH config SND_SOC_INTEL_HASWELL_MACH
tristate "Haswell Lynxpoint" tristate "Haswell Lynxpoint"
...@@ -40,9 +40,9 @@ config SND_SOC_INTEL_HASWELL_MACH ...@@ -40,9 +40,9 @@ config SND_SOC_INTEL_HASWELL_MACH
Say Y or m if you have such a device. Say Y or m if you have such a device.
If unsure select "N". If unsure select "N".
endif ## SND_SOC_INTEL_HASWELL endif ## SND_SOC_INTEL_CATPT
if SND_SOC_INTEL_HASWELL || SND_SOC_SOF_BROADWELL if SND_SOC_INTEL_CATPT || SND_SOC_SOF_BROADWELL
config SND_SOC_INTEL_BDW_RT5650_MACH config SND_SOC_INTEL_BDW_RT5650_MACH
tristate "Broadwell with RT5650 codec" tristate "Broadwell with RT5650 codec"
...@@ -83,7 +83,7 @@ config SND_SOC_INTEL_BROADWELL_MACH ...@@ -83,7 +83,7 @@ config SND_SOC_INTEL_BROADWELL_MACH
Ultrabook platforms. Ultrabook platforms.
Say Y or m if you have such a device. This is a recommended option. Say Y or m if you have such a device. This is a recommended option.
If unsure select "N". If unsure select "N".
endif ## SND_SOC_INTEL_HASWELL || SND_SOC_SOF_BROADWELL endif ## SND_SOC_INTEL_CATPT || SND_SOC_SOF_BROADWELL
if SND_SOC_INTEL_BAYTRAIL if SND_SOC_INTEL_BAYTRAIL
......
snd-soc-catpt-objs := device.o dsp.o loader.o ipc.o messages.o pcm.o sysfs.o
# tell define_trace.h where to find the trace header
CFLAGS_device.o := -I$(src)
obj-$(CONFIG_SND_SOC_INTEL_CATPT) += snd-soc-catpt.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment