]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ASoC: SOF: remove references to Haswell
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 17 Dec 2019 20:22:27 +0000 (14:22 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 18 Dec 2019 19:51:40 +0000 (19:51 +0000)
There are no known commercial devices using Haswell, and there is no
support for Haswell in SOF so remove remaining definitions and
structures.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191217202231.18259-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/Kconfig
sound/soc/sof/intel/shim.h
sound/soc/sof/sof-acpi-dev.c

index 71a0fc075a63d88cf5f10ccc58d9a8af6e725e73..827b0ec92522f63f95d562214cff2a9ef5e613f7 100644 (file)
@@ -28,7 +28,7 @@ config SND_SOC_SOF_ACPI
        select IOSF_MBI if X86 && PCI
        help
          This adds support for ACPI enumeration. This option is required
-         to enable Intel Haswell/Broadwell/Baytrail/Cherrytrail devices
+         to enable Intel Broadwell/Baytrail/Cherrytrail devices
          Say Y if you need this option
          If unsure select "N".
 
index f7a3f62e45d44bbcec9adc60476e70e26891b3f3..daaf3364c177389e0990e5dab472b98eb091d697 100644 (file)
@@ -12,7 +12,7 @@
 #define __SOF_INTEL_SHIM_H
 
 /*
- * SHIM registers for BYT, BSW, CHT, HSW, BDW
+ * SHIM registers for BYT, BSW, CHT, BDW
  */
 
 #define SHIM_CSR               (SHIM_OFFSET + 0x00)
@@ -38,7 +38,7 @@
 #define SHIM_PWMCTRL           0x1000
 
 /*
- * SST SHIM register bits for BYT, BSW, CHT HSW, BDW
+ * SST SHIM register bits for BYT, BSW, CHT, BDW
  * Register bit naming and functionaility can differ between devices.
  */
 
@@ -169,13 +169,11 @@ struct sof_intel_dsp_desc {
 extern const struct snd_sof_dsp_ops sof_tng_ops;
 extern const struct snd_sof_dsp_ops sof_byt_ops;
 extern const struct snd_sof_dsp_ops sof_cht_ops;
-extern const struct snd_sof_dsp_ops sof_hsw_ops;
 extern const struct snd_sof_dsp_ops sof_bdw_ops;
 
 extern const struct sof_intel_dsp_desc byt_chip_info;
 extern const struct sof_intel_dsp_desc cht_chip_info;
 extern const struct sof_intel_dsp_desc bdw_chip_info;
-extern const struct sof_intel_dsp_desc hsw_chip_info;
 extern const struct sof_intel_dsp_desc tng_chip_info;
 
 struct sof_intel_stream {
index d8ed6bfa5ce78cb04f9f83ab98deb745266d8867..9100d7c70bb25f8af3f237ce35d19a586599dcee 100644 (file)
@@ -35,23 +35,6 @@ MODULE_PARM_DESC(sof_acpi_debug, "SOF ACPI debug options (0x0 all off)");
 
 #define SOF_ACPI_DISABLE_PM_RUNTIME BIT(0)
 
-#if IS_ENABLED(CONFIG_SND_SOC_SOF_HASWELL)
-static const struct sof_dev_desc sof_acpi_haswell_desc = {
-       .machines = snd_soc_acpi_intel_haswell_machines,
-       .resindex_lpe_base = 0,
-       .resindex_pcicfg_base = 1,
-       .resindex_imr_base = -1,
-       .irqindex_host_ipc = 0,
-       .chip_info = &hsw_chip_info,
-       .default_fw_path = "intel/sof",
-       .default_tplg_path = "intel/sof-tplg",
-       .default_fw_filename = "sof-hsw.ri",
-       .nocodec_tplg_filename = "sof-hsw-nocodec.tplg",
-       .ops = &sof_hsw_ops,
-       .arch_ops = &sof_xtensa_arch_ops
-};
-#endif
-
 #if IS_ENABLED(CONFIG_SND_SOC_SOF_BROADWELL)
 static const struct sof_dev_desc sof_acpi_broadwell_desc = {
        .machines = snd_soc_acpi_intel_broadwell_machines,
@@ -213,9 +196,6 @@ static int sof_acpi_remove(struct platform_device *pdev)
 }
 
 static const struct acpi_device_id sof_acpi_match[] = {
-#if IS_ENABLED(CONFIG_SND_SOC_SOF_HASWELL)
-       { "INT33C8", (unsigned long)&sof_acpi_haswell_desc },
-#endif
 #if IS_ENABLED(CONFIG_SND_SOC_SOF_BROADWELL)
        { "INT3438", (unsigned long)&sof_acpi_broadwell_desc },
 #endif