Skip to content

Commit 1fa4409

Browse files
plbossartbroonie
authored andcommitted
ASoC: SOF: remove references to Haswell
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>
1 parent 8caa99b commit 1fa4409

3 files changed

Lines changed: 3 additions & 25 deletions

File tree

‎sound/soc/sof/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ config SND_SOC_SOF_ACPI
2828
select IOSF_MBI if X86 && PCI
2929
help
3030
This adds support for ACPI enumeration. This option is required
31-
to enable Intel Haswell/Broadwell/Baytrail/Cherrytrail devices
31+
to enable Intel Broadwell/Baytrail/Cherrytrail devices
3232
Say Y if you need this option
3333
If unsure select "N".
3434

‎sound/soc/sof/intel/shim.h‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#define __SOF_INTEL_SHIM_H
1313

1414
/*
15-
* SHIM registers for BYT, BSW, CHT, HSW, BDW
15+
* SHIM registers for BYT, BSW, CHT, BDW
1616
*/
1717

1818
#define SHIM_CSR (SHIM_OFFSET + 0x00)
@@ -38,7 +38,7 @@
3838
#define SHIM_PWMCTRL 0x1000
3939

4040
/*
41-
* SST SHIM register bits for BYT, BSW, CHT HSW, BDW
41+
* SST SHIM register bits for BYT, BSW, CHT, BDW
4242
* Register bit naming and functionaility can differ between devices.
4343
*/
4444

@@ -169,13 +169,11 @@ struct sof_intel_dsp_desc {
169169
extern const struct snd_sof_dsp_ops sof_tng_ops;
170170
extern const struct snd_sof_dsp_ops sof_byt_ops;
171171
extern const struct snd_sof_dsp_ops sof_cht_ops;
172-
extern const struct snd_sof_dsp_ops sof_hsw_ops;
173172
extern const struct snd_sof_dsp_ops sof_bdw_ops;
174173

175174
extern const struct sof_intel_dsp_desc byt_chip_info;
176175
extern const struct sof_intel_dsp_desc cht_chip_info;
177176
extern const struct sof_intel_dsp_desc bdw_chip_info;
178-
extern const struct sof_intel_dsp_desc hsw_chip_info;
179177
extern const struct sof_intel_dsp_desc tng_chip_info;
180178

181179
struct sof_intel_stream {

‎sound/soc/sof/sof-acpi-dev.c‎

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,6 @@ MODULE_PARM_DESC(sof_acpi_debug, "SOF ACPI debug options (0x0 all off)");
3535

3636
#define SOF_ACPI_DISABLE_PM_RUNTIME BIT(0)
3737

38-
#if IS_ENABLED(CONFIG_SND_SOC_SOF_HASWELL)
39-
static const struct sof_dev_desc sof_acpi_haswell_desc = {
40-
.machines = snd_soc_acpi_intel_haswell_machines,
41-
.resindex_lpe_base = 0,
42-
.resindex_pcicfg_base = 1,
43-
.resindex_imr_base = -1,
44-
.irqindex_host_ipc = 0,
45-
.chip_info = &hsw_chip_info,
46-
.default_fw_path = "intel/sof",
47-
.default_tplg_path = "intel/sof-tplg",
48-
.default_fw_filename = "sof-hsw.ri",
49-
.nocodec_tplg_filename = "sof-hsw-nocodec.tplg",
50-
.ops = &sof_hsw_ops,
51-
.arch_ops = &sof_xtensa_arch_ops
52-
};
53-
#endif
54-
5538
#if IS_ENABLED(CONFIG_SND_SOC_SOF_BROADWELL)
5639
static const struct sof_dev_desc sof_acpi_broadwell_desc = {
5740
.machines = snd_soc_acpi_intel_broadwell_machines,
@@ -213,9 +196,6 @@ static int sof_acpi_remove(struct platform_device *pdev)
213196
}
214197

215198
static const struct acpi_device_id sof_acpi_match[] = {
216-
#if IS_ENABLED(CONFIG_SND_SOC_SOF_HASWELL)
217-
{ "INT33C8", (unsigned long)&sof_acpi_haswell_desc },
218-
#endif
219199
#if IS_ENABLED(CONFIG_SND_SOC_SOF_BROADWELL)
220200
{ "INT3438", (unsigned long)&sof_acpi_broadwell_desc },
221201
#endif

0 commit comments

Comments
 (0)