ASoC: Intel: common ACPI tables - take2
Subsystems (3)
cover ASoC: Intel: common ACPI tables - take2
Last fall we started using common codec-indexed ACPI tables in sound/soc/intel/common for BYT/CHT/HSW/BDW machine drivers. This is a follow-up for all Skylake+ platforms.
The first three patches are cleanups and moves, no new functionality, the last 5 add support for GeminiLake machine drivers as well as references to SOF firmware/topology files.
Some of the ApolloLake tables map to machine drivers that haven't been submitted yet but will be submitted after the SOF core patches, I thought it was better to just go ahead with a single set of changes.
The code was pushed on
https://github.com/plbossart/sound/tree/topic/skl-acpi-tables to trigger 0day tests, with no reports received. Naveen also tested the GLK integration with his own machine driver patches submitted earlier today.
Comments welcome.
Naveen Manohar (3):
ASoC: Intel: broxton: reduce machine name for bxt_da7219_max98357a
ASoC: Intel: common: Add Geminilake Dialog+Maxim machine driver entry
ASoC: Intel: common: add Geminilake Realtek+Maxim machine driver entry
Pierre-Louis Bossart (5):
ASoC: Intel: Skylake: cleanup before moving ACPI tables
ASoC: Intel: move SKL+ codec ACPI tables to common directory
ASoC: Intel: common: add firmware/topology information for SOF
ASoC: Intel: common: add entries for SOF-based machine drivers
ASoC: Intel: common: fix copy/paste issue with SOF/broadwell topology
file
include/sound/soc-acpi-intel-match.h | 5 + sound/soc/intel/boards/bxt_da7219_max98357a.c | 4 +- sound/soc/intel/common/Makefile | 6 +- sound/soc/intel/common/soc-acpi-intel-bxt-match.c | 59 +++++++ sound/soc/intel/common/soc-acpi-intel-cnl-match.c | 32 ++++ sound/soc/intel/common/soc-acpi-intel-glk-match.c | 51 +++++++ .../intel/common/soc-acpi-intel-hsw-bdw-match.c | 2 +- sound/soc/intel/common/soc-acpi-intel-kbl-match.c | 91 +++++++++++ sound/soc/intel/common/soc-acpi-intel-skl-match.c | 47 ++++++ sound/soc/intel/skylake/skl.c | 170 ++------------------- 10 files changed, 303 insertions(+), 164 deletions(-) create mode 100644 sound/soc/intel/common/soc-acpi-intel-bxt-match.c create mode 100644 sound/soc/intel/common/soc-acpi-intel-cnl-match.c create mode 100644 sound/soc/intel/common/soc-acpi-intel-glk-match.c create mode 100644 sound/soc/intel/common/soc-acpi-intel-kbl-match.c create mode 100644 sound/soc/intel/common/soc-acpi-intel-skl-match.c
base-commit: 5544717d416d9a095edc616be789bdab69e284dc
Signature · 1 line
2.14.1
PATCH 1/8 ASoC: Intel: broxton: reduce machine name for bxt_da7219_max98357a
From: Naveen Manohar <[email protected]>
Use truncated names in bxt id table and bxt_da7219_max98357a machine as platform device id table expects names to be less then 20chars.
--- sound/soc/intel/boards/bxt_da7219_max98357a.c | 4 ++-- sound/soc/intel/skylake/skl.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
sound/soc/intel/boards/bxt_da7219_max98357a.c +2 -2
@@ -586,7 +586,7 @@ static int broxton_audio_probe(struct platform_device *pdev)static struct platform_driver broxton_audio = { .probe = broxton_audio_probe, .driver = { - .name ="bxt_da7219_max98357a_i2s" , + .name ="bxt_da7219_max98357a" , .pm = &snd_soc_pm_ops, }, };
@@ -599,4 +599,4 @@ MODULE_AUTHOR("Rohit Ainapure <[email protected]>");MODULE_AUTHOR ("Harsha Priya <[email protected]>" );MODULE_AUTHOR ("Conrad Cooke <[email protected]>" );MODULE_LICENSE ("GPL v2" ); -MODULE_ALIAS ("platform:bxt_da7219_max98357a_i2s" ); +MODULE_ALIAS ("platform:bxt_da7219_max98357a" );
sound/soc/intel/skylake/skl.c +1 -1
@@ -1093,7 +1093,7 @@ static struct snd_soc_acpi_mach sst_bxtp_devdata[] = { }, { .id = "DLGS7219", - .drv_name = "bxt_da7219_max98357a_i2s", + .drv_name = "bxt_da7219_max98357a", .fw_filename = "intel/dsp_fw_bxtn.bin", .machine_quirk = snd_soc_acpi_codec_list, .quirk_data = &bxt_codecs,
Signature · 1 line
2.14.1
PATCH 2/8 ASoC: Intel: Skylake: cleanup before moving ACPI tables
In reply to Pierre-Louis BossartThere is no need to deal with DMICs if the DSP is not present and there is no ACPI machine ID found.
Simplify before moving these ACPI tables to sound/soc/intel/common
--- sound/soc/intel/skylake/skl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
sound/soc/intel/skylake/skl.c +4 -4
@@ -500,10 +500,12 @@ static int skl_find_machine(struct skl *skl, void *driver_data) skl->mach = mach; skl->fw_name = mach->fw_filename; - pdata = skl->mach->pdata; + pdata = mach->pdata; -if (mach->pdata) +if (pdata) { skl->use_tplg_pcm = pdata->use_tplg_pcm; + pdata->dmic_num =skl_get_dmic_geo (skl); + }return 0 ; }
@@ -930,8 +932,6 @@ static int skl_probe(struct pci_dev *pci,pci_set_drvdata (skl->pci, ebus); - skl_dmic_data.dmic_num =skl_get_dmic_geo (skl); -/* check if dsp is there */ if (bus->ppcap) {/* create device for dsp clk */
Signature · 1 line
2.14.1
Mark Brown
maintainerApplied "ASoC: Intel: Skylake: cleanup before moving ACPI tables" to the asoc tree
The patch
ASoC: Intel: Skylake: cleanup before moving ACPI tables
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
5f15f267daf81a4c7c2a1cd2a0d6743ec7fc8b59Mon Sep 17 00:00:00 2001
From: Pierre-Louis Bossart <[email protected]>
Date: Mon, 18 Jun 2018 13:29:36 -0500
Subject: [PATCH] ASoC: Intel: Skylake: cleanup before moving ACPI tables
There is no need to deal with DMICs if the DSP is not present and there is no ACPI machine ID found.
Simplify before moving these ACPI tables to sound/soc/intel/common
--- sound/soc/intel/skylake/skl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
sound/soc/intel/skylake/skl.c +4 -4
@@ -500,10 +500,12 @@ static int skl_find_machine(struct skl *skl, void *driver_data) skl->mach = mach; skl->fw_name = mach->fw_filename; - pdata = skl->mach->pdata; + pdata = mach->pdata; -if (mach->pdata) +if (pdata) { skl->use_tplg_pcm = pdata->use_tplg_pcm; + pdata->dmic_num =skl_get_dmic_geo (skl); + }return 0 ; }
@@ -930,8 +932,6 @@ static int skl_probe(struct pci_dev *pci,pci_set_drvdata (skl->pci, ebus); - skl_dmic_data.dmic_num =skl_get_dmic_geo (skl); -/* check if dsp is there */ if (bus->ppcap) {/* create device for dsp clk */
Signature · 1 line
2.17.1
PATCH 3/8 ASoC: Intel: move SKL+ codec ACPI tables to common directory
In reply to Pierre-Louis BossartNo functionality change, just move to common tables to make it easier to deal with SOF and share the same machine drivers - as done previously for BYT/CHT/HSW/BDW.
--- include/sound/soc-acpi-intel-match.h | 5 + sound/soc/intel/common/Makefile | 6 +- sound/soc/intel/common/soc-acpi-intel-bxt-match.c | 35 +++++ sound/soc/intel/common/soc-acpi-intel-cnl-match.c | 29 ++++ sound/soc/intel/common/soc-acpi-intel-glk-match.c | 23 +++ sound/soc/intel/common/soc-acpi-intel-kbl-match.c | 91 ++++++++++++ sound/soc/intel/common/soc-acpi-intel-skl-match.c | 47 +++++++ sound/soc/intel/skylake/skl.c | 162 +--------------------- 8 files changed, 241 insertions(+), 157 deletions(-) create mode 100644 sound/soc/intel/common/soc-acpi-intel-bxt-match.c create mode 100644 sound/soc/intel/common/soc-acpi-intel-cnl-match.c create mode 100644 sound/soc/intel/common/soc-acpi-intel-glk-match.c create mode 100644 sound/soc/intel/common/soc-acpi-intel-kbl-match.c create mode 100644 sound/soc/intel/common/soc-acpi-intel-skl-match.c
include/sound/soc-acpi-intel-match.h +5 -0
@@ -29,5 +29,10 @@ extern struct snd_soc_acpi_mach snd_soc_acpi_intel_broadwell_machines[];extern struct snd_soc_acpi_mach snd_soc_acpi_intel_baytrail_legacy_machines[];extern struct snd_soc_acpi_mach snd_soc_acpi_intel_baytrail_machines[];extern struct snd_soc_acpi_mach snd_soc_acpi_intel_cherrytrail_machines[]; +extern struct snd_soc_acpi_mach snd_soc_acpi_intel_skl_machines[]; +extern struct snd_soc_acpi_mach snd_soc_acpi_intel_kbl_machines[]; +extern struct snd_soc_acpi_mach snd_soc_acpi_intel_bxt_machines[]; +extern struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[]; +extern struct snd_soc_acpi_mach snd_soc_acpi_intel_cnl_machines[];#endif
sound/soc/intel/common/Makefile +5 -1
@@ -3,7 +3,11 @@ snd-soc-sst-dsp-objs := sst-dsp.o snd-soc-sst-acpi-objs := sst-acpi.o snd-soc-sst-ipc-objs := sst-ipc.o snd-soc-sst-firmware-objs := sst-firmware.o -snd-soc-acpi-intel-match-objs := soc-acpi-intel-byt-match.o soc-acpi-intel-cht-match.o soc-acpi-intel-hsw-bdw-match.o +snd-soc-acpi-intel-match-objs := soc-acpi-intel-byt-match.o soc-acpi-intel-cht-match.o \ + soc-acpi-intel-hsw-bdw-match.o \ + soc-acpi-intel-skl-match.o soc-acpi-intel-kbl-match.o \ + soc-acpi-intel-bxt-match.o soc-acpi-intel-glk-match.o \ + soc-acpi-intel-cnl-match.o obj-$(CONFIG_SND_SOC_INTEL_SST) += snd-soc-sst-dsp.o snd-soc-sst-ipc.o obj-$(CONFIG_SND_SOC_INTEL_SST_ACPI) += snd-soc-sst-acpi.o
sound/soc/intel/common/soc-acpi-intel-bxt-match.c new file +35 -0
@@ -0,0 +1,35 @@ +// SPDX-License-Identifier: GPL-2.0 +/* +* soc-apci-intel-bxt-match.c - tables and support for BXT ACPI enumeration. +* +* Copyright (c) 2018, Intel Corporation. +* +*/ + +#include <sound/soc-acpi.h> +#include <sound/soc-acpi-intel-match.h> + +static struct snd_soc_acpi_codecs bxt_codecs = { + .num_codecs =1 , + .codecs = {"MX98357A" } +}; + +struct snd_soc_acpi_mach snd_soc_acpi_intel_bxt_machines[] = { + { + .id ="INT343A" , + .drv_name ="bxt_alc298s_i2s" , + .fw_filename ="intel/dsp_fw_bxtn.bin" , + }, + { + .id ="DLGS7219" , + .drv_name ="bxt_da7219_max98357a" , + .fw_filename ="intel/dsp_fw_bxtn.bin" , + .machine_quirk = snd_soc_acpi_codec_list, + .quirk_data = &bxt_codecs, + }, + {}, +}; +EXPORT_SYMBOL_GPL (snd_soc_acpi_intel_bxt_machines); + +MODULE_LICENSE ("GPL v2" ); +MODULE_DESCRIPTION ("Intel Common ACPI Match module" );
sound/soc/intel/common/soc-acpi-intel-cnl-match.c new file +29 -0
@@ -0,0 +1,29 @@ +// SPDX-License-Identifier: GPL-2.0 +/* +* soc-apci-intel-cnl-match.c - tables and support for CNL ACPI enumeration. +* +* Copyright (c) 2018, Intel Corporation. +* +*/ + +#include <sound/soc-acpi.h> +#include <sound/soc-acpi-intel-match.h> +#include "../skylake/skl.h" + +static struct skl_machine_pdata cnl_pdata = { + .use_tplg_pcm = true, +}; + +struct snd_soc_acpi_mach snd_soc_acpi_intel_cnl_machines[] = { + { + .id ="INT34C2" , + .drv_name ="cnl_rt274" , + .fw_filename ="intel/dsp_fw_cnl.bin" , + .pdata = &cnl_pdata, + }, + {}, +}; +EXPORT_SYMBOL_GPL (snd_soc_acpi_intel_cnl_machines); + +MODULE_LICENSE ("GPL v2" ); +MODULE_DESCRIPTION ("Intel Common ACPI Match module" );
sound/soc/intel/common/soc-acpi-intel-glk-match.c new file +23 -0
@@ -0,0 +1,23 @@ +// SPDX-License-Identifier: GPL-2.0 +/* +* soc-apci-intel-glk-match.c - tables and support for GLK ACPI enumeration. +* +* Copyright (c) 2018, Intel Corporation. +* +*/ + +#include <sound/soc-acpi.h> +#include <sound/soc-acpi-intel-match.h> + +struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = { + { + .id ="INT343A" , + .drv_name ="glk_alc298s_i2s" , + .fw_filename ="intel/dsp_fw_glk.bin" , + }, + {}, +}; +EXPORT_SYMBOL_GPL (snd_soc_acpi_intel_glk_machines); + +MODULE_LICENSE ("GPL v2" ); +MODULE_DESCRIPTION ("Intel Common ACPI Match module" );
sound/soc/intel/common/soc-acpi-intel-kbl-match.c new file +91 -0
91 lines not on this page · raw message
sound/soc/intel/common/soc-acpi-intel-skl-match.c new file +47 -0
47 lines not on this page · raw message
sound/soc/intel/skylake/skl.c +6 -156
192 lines not on this page · raw message
Signature · 1 line
2.14.1
Mark Brown
maintainerApplied "ASoC: Intel: move SKL+ codec ACPI tables to common directory" to the asoc tree
The patch
ASoC: Intel: move SKL+ codec ACPI tables to common directory
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
cbaa7f0bdbee1969bb311c641abbd0d2af6ba861Mon Sep 17 00:00:00 2001
From: Pierre-Louis Bossart <[email protected]>
Date: Mon, 18 Jun 2018 13:29:37 -0500
Subject: [PATCH] ASoC: Intel: move SKL+ codec ACPI tables to common directory
No functionality change, just move to common tables to make it easier to deal with SOF and share the same machine drivers - as done previously for BYT/CHT/HSW/BDW.
--- include/sound/soc-acpi-intel-match.h | 5 + sound/soc/intel/common/Makefile | 6 +- .../intel/common/soc-acpi-intel-bxt-match.c | 35 ++++ .../intel/common/soc-acpi-intel-cnl-match.c | 29 ++++ .../intel/common/soc-acpi-intel-glk-match.c | 23 +++ .../intel/common/soc-acpi-intel-kbl-match.c | 91 ++++++++++ .../intel/common/soc-acpi-intel-skl-match.c | 47 +++++ sound/soc/intel/skylake/skl.c | 162 +----------------- 8 files changed, 241 insertions(+), 157 deletions(-) create mode 100644 sound/soc/intel/common/soc-acpi-intel-bxt-match.c create mode 100644 sound/soc/intel/common/soc-acpi-intel-cnl-match.c create mode 100644 sound/soc/intel/common/soc-acpi-intel-glk-match.c create mode 100644 sound/soc/intel/common/soc-acpi-intel-kbl-match.c create mode 100644 sound/soc/intel/common/soc-acpi-intel-skl-match.c
include/sound/soc-acpi-intel-match.h +5 -0
@@ -29,5 +29,10 @@ extern struct snd_soc_acpi_mach snd_soc_acpi_intel_broadwell_machines[];extern struct snd_soc_acpi_mach snd_soc_acpi_intel_baytrail_legacy_machines[];extern struct snd_soc_acpi_mach snd_soc_acpi_intel_baytrail_machines[];extern struct snd_soc_acpi_mach snd_soc_acpi_intel_cherrytrail_machines[]; +extern struct snd_soc_acpi_mach snd_soc_acpi_intel_skl_machines[]; +extern struct snd_soc_acpi_mach snd_soc_acpi_intel_kbl_machines[]; +extern struct snd_soc_acpi_mach snd_soc_acpi_intel_bxt_machines[]; +extern struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[]; +extern struct snd_soc_acpi_mach snd_soc_acpi_intel_cnl_machines[];#endif
sound/soc/intel/common/Makefile +5 -1
@@ -3,7 +3,11 @@ snd-soc-sst-dsp-objs := sst-dsp.o snd-soc-sst-acpi-objs := sst-acpi.o snd-soc-sst-ipc-objs := sst-ipc.o snd-soc-sst-firmware-objs := sst-firmware.o -snd-soc-acpi-intel-match-objs := soc-acpi-intel-byt-match.o soc-acpi-intel-cht-match.o soc-acpi-intel-hsw-bdw-match.o +snd-soc-acpi-intel-match-objs := soc-acpi-intel-byt-match.o soc-acpi-intel-cht-match.o \ + soc-acpi-intel-hsw-bdw-match.o \ + soc-acpi-intel-skl-match.o soc-acpi-intel-kbl-match.o \ + soc-acpi-intel-bxt-match.o soc-acpi-intel-glk-match.o \ + soc-acpi-intel-cnl-match.o obj-$(CONFIG_SND_SOC_INTEL_SST) += snd-soc-sst-dsp.o snd-soc-sst-ipc.o obj-$(CONFIG_SND_SOC_INTEL_SST_ACPI) += snd-soc-sst-acpi.o
sound/soc/intel/common/soc-acpi-intel-bxt-match.c new file +35 -0
@@ -0,0 +1,35 @@ +// SPDX-License-Identifier: GPL-2.0 +/* +* soc-apci-intel-bxt-match.c - tables and support for BXT ACPI enumeration. +* +* Copyright (c) 2018, Intel Corporation. +* +*/ + +#include <sound/soc-acpi.h> +#include <sound/soc-acpi-intel-match.h> + +static struct snd_soc_acpi_codecs bxt_codecs = { + .num_codecs =1 , + .codecs = {"MX98357A" } +}; + +struct snd_soc_acpi_mach snd_soc_acpi_intel_bxt_machines[] = { + { + .id ="INT343A" , + .drv_name ="bxt_alc298s_i2s" , + .fw_filename ="intel/dsp_fw_bxtn.bin" , + }, + { + .id ="DLGS7219" , + .drv_name ="bxt_da7219_max98357a" , + .fw_filename ="intel/dsp_fw_bxtn.bin" , + .machine_quirk = snd_soc_acpi_codec_list, + .quirk_data = &bxt_codecs, + }, + {}, +}; +EXPORT_SYMBOL_GPL (snd_soc_acpi_intel_bxt_machines); + +MODULE_LICENSE ("GPL v2" ); +MODULE_DESCRIPTION ("Intel Common ACPI Match module" );
sound/soc/intel/common/soc-acpi-intel-cnl-match.c new file +29 -0
@@ -0,0 +1,29 @@ +// SPDX-License-Identifier: GPL-2.0 +/* +* soc-apci-intel-cnl-match.c - tables and support for CNL ACPI enumeration. +* +* Copyright (c) 2018, Intel Corporation. +* +*/ + +#include <sound/soc-acpi.h> +#include <sound/soc-acpi-intel-match.h> +#include "../skylake/skl.h" + +static struct skl_machine_pdata cnl_pdata = { + .use_tplg_pcm = true, +}; + +struct snd_soc_acpi_mach snd_soc_acpi_intel_cnl_machines[] = { + { + .id ="INT34C2" , + .drv_name ="cnl_rt274" , + .fw_filename ="intel/dsp_fw_cnl.bin" , + .pdata = &cnl_pdata, + }, + {}, +}; +EXPORT_SYMBOL_GPL (snd_soc_acpi_intel_cnl_machines); + +MODULE_LICENSE ("GPL v2" ); +MODULE_DESCRIPTION ("Intel Common ACPI Match module" );
sound/soc/intel/common/soc-acpi-intel-glk-match.c new file +23 -0
@@ -0,0 +1,23 @@ +// SPDX-License-Identifier: GPL-2.0 +/* +* soc-apci-intel-glk-match.c - tables and support for GLK ACPI enumeration. +* +* Copyright (c) 2018, Intel Corporation. +* +*/ + +#include <sound/soc-acpi.h> +#include <sound/soc-acpi-intel-match.h> + +struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = { + { + .id ="INT343A" , + .drv_name ="glk_alc298s_i2s" , + .fw_filename ="intel/dsp_fw_glk.bin" , + }, + {}, +}; +EXPORT_SYMBOL_GPL (snd_soc_acpi_intel_glk_machines); + +MODULE_LICENSE ("GPL v2" ); +MODULE_DESCRIPTION ("Intel Common ACPI Match module" );
sound/soc/intel/common/soc-acpi-intel-kbl-match.c new file +91 -0
91 lines not on this page · raw message
sound/soc/intel/common/soc-acpi-intel-skl-match.c new file +47 -0
47 lines not on this page · raw message
sound/soc/intel/skylake/skl.c +6 -156
192 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH 4/8 ASoC: Intel: common: Add Geminilake Dialog+Maxim machine driver entry
In reply to Pierre-Louis BossartFrom: Naveen Manohar <[email protected]>
This patch adds da7219_max98357a machine driver entry into machine table
--- sound/soc/intel/common/soc-acpi-intel-glk-match.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
sound/soc/intel/common/soc-acpi-intel-glk-match.c +12 -0
@@ -9,12 +9,24 @@#include <sound/soc-acpi.h> #include <sound/soc-acpi-intel-match.h> +static struct snd_soc_acpi_codecs glk_codecs = { + .num_codecs =1 , + .codecs = {"MX98357A" } +}; +struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = { { .id ="INT343A" , .drv_name ="glk_alc298s_i2s" , .fw_filename ="intel/dsp_fw_glk.bin" , }, + { + .id ="DLGS7219" , + .drv_name ="glk_da7219_max98357a" , + .fw_filename ="intel/dsp_fw_glk.bin" , + .machine_quirk = snd_soc_acpi_codec_list, + .quirk_data = &glk_codecs, + }, {}, };EXPORT_SYMBOL_GPL (snd_soc_acpi_intel_glk_machines);
Signature · 1 line
2.14.1
Mark Brown
maintainerApplied "ASoC: Intel: common: Add Geminilake Dialog+Maxim machine driver entry" to the asoc tree
The patch
ASoC: Intel: common: Add Geminilake Dialog+Maxim machine driver entry
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
65a33883c778befcb85ef45285763fd8ac1b2ba3Mon Sep 17 00:00:00 2001
From: Naveen Manohar <[email protected]>
Date: Mon, 18 Jun 2018 13:29:38 -0500
Subject: [PATCH] ASoC: Intel: common: Add Geminilake Dialog+Maxim machine
driver entry
This patch adds da7219_max98357a machine driver entry into machine table
--- sound/soc/intel/common/soc-acpi-intel-glk-match.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
sound/soc/intel/common/soc-acpi-intel-glk-match.c +12 -0
@@ -9,12 +9,24 @@#include <sound/soc-acpi.h> #include <sound/soc-acpi-intel-match.h> +static struct snd_soc_acpi_codecs glk_codecs = { + .num_codecs =1 , + .codecs = {"MX98357A" } +}; +struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = { { .id ="INT343A" , .drv_name ="glk_alc298s_i2s" , .fw_filename ="intel/dsp_fw_glk.bin" , }, + { + .id ="DLGS7219" , + .drv_name ="glk_da7219_max98357a" , + .fw_filename ="intel/dsp_fw_glk.bin" , + .machine_quirk = snd_soc_acpi_codec_list, + .quirk_data = &glk_codecs, + }, {}, };EXPORT_SYMBOL_GPL (snd_soc_acpi_intel_glk_machines);
Signature · 1 line
2.17.1
PATCH 5/8 ASoC: Intel: common: add firmware/topology information for SOF
In reply to Pierre-Louis BossartNo functionality change for Skylake driver, add relevant names needed by SOF for BXT/APL, GLK and CNL.
--- sound/soc/intel/common/soc-acpi-intel-bxt-match.c | 3 +++ sound/soc/intel/common/soc-acpi-intel-cnl-match.c | 3 +++ sound/soc/intel/common/soc-acpi-intel-glk-match.c | 6 ++++++ 3 files changed, 12 insertions(+)
sound/soc/intel/common/soc-acpi-intel-bxt-match.c +3 -0
@@ -26,6 +26,9 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_bxt_machines[] = { .fw_filename = "intel/dsp_fw_bxtn.bin", .machine_quirk = snd_soc_acpi_codec_list, .quirk_data = &bxt_codecs, + .sof_fw_filename = "intel/sof-apl.ri", + .sof_tplg_filename = "intel/sof-apl-da7219.tplg", + .asoc_plat_name = "0000:00:0e.0", }, {}, };
sound/soc/intel/common/soc-acpi-intel-cnl-match.c +3 -0
@@ -20,6 +20,9 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_cnl_machines[] = { .drv_name = "cnl_rt274", .fw_filename = "intel/dsp_fw_cnl.bin", .pdata = &cnl_pdata, + .sof_fw_filename = "intel/sof-cnl.ri", + .sof_tplg_filename = "intel/sof-cnl-rt274.tplg", + .asoc_plat_name = "0000:00:1f.3", }, {}, };
sound/soc/intel/common/soc-acpi-intel-glk-match.c +6 -0
@@ -19,6 +19,9 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = { .id = "INT343A", .drv_name = "glk_alc298s_i2s", .fw_filename = "intel/dsp_fw_glk.bin", + .sof_fw_filename = "intel/sof-glk.ri", + .sof_tplg_filename = "intel/sof-glk-alc298.tplg", + .asoc_plat_name = "0000:00:0e.0", }, { .id = "DLGS7219",
@@ -26,6 +29,9 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = { .fw_filename = "intel/dsp_fw_glk.bin", .machine_quirk = snd_soc_acpi_codec_list, .quirk_data = &glk_codecs, + .sof_fw_filename = "intel/sof-glk.ri", + .sof_tplg_filename = "intel/sof-glk-da7219.tplg", + .asoc_plat_name = "0000:00:0e.0", }, {}, };
Signature · 1 line
2.14.1
Mark Brown
maintainerApplied "ASoC: Intel: common: add firmware/topology information for SOF" to the asoc tree
The patch
ASoC: Intel: common: add firmware/topology information for SOF
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
e6d298fd4a4454dd121343323e3f00a27f8819a4Mon Sep 17 00:00:00 2001
From: Pierre-Louis Bossart <[email protected]>
Date: Mon, 18 Jun 2018 13:29:39 -0500
Subject: [PATCH] ASoC: Intel: common: add firmware/topology information for
SOF
No functionality change for Skylake driver, add relevant names needed by SOF for BXT/APL, GLK and CNL.
--- sound/soc/intel/common/soc-acpi-intel-bxt-match.c | 3 +++ sound/soc/intel/common/soc-acpi-intel-cnl-match.c | 3 +++ sound/soc/intel/common/soc-acpi-intel-glk-match.c | 6 ++++++ 3 files changed, 12 insertions(+)
sound/soc/intel/common/soc-acpi-intel-bxt-match.c +3 -0
@@ -26,6 +26,9 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_bxt_machines[] = { .fw_filename = "intel/dsp_fw_bxtn.bin", .machine_quirk = snd_soc_acpi_codec_list, .quirk_data = &bxt_codecs, + .sof_fw_filename = "intel/sof-apl.ri", + .sof_tplg_filename = "intel/sof-apl-da7219.tplg", + .asoc_plat_name = "0000:00:0e.0", }, {}, };
sound/soc/intel/common/soc-acpi-intel-cnl-match.c +3 -0
@@ -20,6 +20,9 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_cnl_machines[] = { .drv_name = "cnl_rt274", .fw_filename = "intel/dsp_fw_cnl.bin", .pdata = &cnl_pdata, + .sof_fw_filename = "intel/sof-cnl.ri", + .sof_tplg_filename = "intel/sof-cnl-rt274.tplg", + .asoc_plat_name = "0000:00:1f.3", }, {}, };
sound/soc/intel/common/soc-acpi-intel-glk-match.c +6 -0
@@ -19,6 +19,9 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = { .id = "INT343A", .drv_name = "glk_alc298s_i2s", .fw_filename = "intel/dsp_fw_glk.bin", + .sof_fw_filename = "intel/sof-glk.ri", + .sof_tplg_filename = "intel/sof-glk-alc298.tplg", + .asoc_plat_name = "0000:00:0e.0", }, { .id = "DLGS7219",
@@ -26,6 +29,9 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = { .fw_filename = "intel/dsp_fw_glk.bin", .machine_quirk = snd_soc_acpi_codec_list, .quirk_data = &glk_codecs, + .sof_fw_filename = "intel/sof-glk.ri", + .sof_tplg_filename = "intel/sof-glk-da7219.tplg", + .asoc_plat_name = "0000:00:0e.0", }, {}, };
Signature · 1 line
2.17.1
PATCH 6/8 ASoC: Intel: common: add Geminilake Realtek+Maxim machine driver entry
In reply to Pierre-Louis BossartFrom: Naveen Manohar <[email protected]>
This patch adds glk_rt5682_max98357a_i2s machine driver entry into machine table. Both Skylake and SOF platform drivers can use this machine drivers.
--- sound/soc/intel/common/soc-acpi-intel-glk-match.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
sound/soc/intel/common/soc-acpi-intel-glk-match.c +10 -0
@@ -33,6 +33,16 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_glk_machines[] = { .sof_tplg_filename = "intel/sof-glk-da7219.tplg", .asoc_plat_name = "0000:00:0e.0", }, + { + .id = "10EC5682", + .drv_name = "glk_rt5682_max98357a", + .fw_filename = "intel/dsp_fw_glk.bin", + .machine_quirk = snd_soc_acpi_codec_list, + .quirk_data = &glk_codecs, + .sof_fw_filename = "intel/sof-glk.ri", + .sof_tplg_filename = "intel/sof-glk-rt5682.tplg", + .asoc_plat_name = "0000:00:0e.0", + }, {}, };EXPORT_SYMBOL_GPL (snd_soc_acpi_intel_glk_machines);
Signature · 1 line
2.14.1
PATCH 7/8 ASoC: Intel: common: add entries for SOF-based machine drivers
In reply to Pierre-Louis BossartWhile we are at it, add entries for machine drivers that are used on SOF-based platforms. The drivers will be submitted upstream after the core SOF patches, but there's no harm in adding these references now.
--- sound/soc/intel/common/soc-acpi-intel-bxt-match.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)
sound/soc/intel/common/soc-acpi-intel-bxt-match.c +21 -0
@@ -30,6 +30,27 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_bxt_machines[] = { .sof_tplg_filename = "intel/sof-apl-da7219.tplg", .asoc_plat_name = "0000:00:0e.0", }, + { + .id = "104C5122", + .drv_name = "bxt-pcm512x", + .sof_fw_filename = "intel/sof-apl.ri", + .sof_tplg_filename = "intel/sof-apl-pcm512x.tplg", + .asoc_plat_name = "0000:00:0e.0", + }, + { + .id = "1AEC8804", + .drv_name = "bxt-wm8804", + .sof_fw_filename = "intel/sof-apl.ri", + .sof_tplg_filename = "intel/sof-apl-wm8804.tplg", + .asoc_plat_name = "0000:00:0e.0", + }, + { + .id = "INT34C3", + .drv_name = "bxt_tdf8532", + .sof_fw_filename = "intel/sof-apl.ri", + .sof_tplg_filename = "intel/sof-apl-tdf8532.tplg", + .asoc_plat_name = "0000:00:0e.0", + }, {}, }; EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_bxt_machines);
Signature · 1 line
2.14.1
Mark Brown
maintainerApplied "ASoC: Intel: common: add entries for SOF-based machine drivers" to the asoc tree
The patch
ASoC: Intel: common: add entries for SOF-based machine drivers
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
b45350135b9241b64cc91ccc8dddca2ee4dc25d7Mon Sep 17 00:00:00 2001
From: Pierre-Louis Bossart <[email protected]>
Date: Mon, 18 Jun 2018 13:29:41 -0500
Subject: [PATCH] ASoC: Intel: common: add entries for SOF-based machine
drivers
While we are at it, add entries for machine drivers that are used on SOF-based platforms. The drivers will be submitted upstream after the core SOF patches, but there's no harm in adding these references now.
--- .../intel/common/soc-acpi-intel-bxt-match.c | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+)
sound/soc/intel/common/soc-acpi-intel-bxt-match.c +21 -0
@@ -30,6 +30,27 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_bxt_machines[] = { .sof_tplg_filename = "intel/sof-apl-da7219.tplg", .asoc_plat_name = "0000:00:0e.0", }, + { + .id = "104C5122", + .drv_name = "bxt-pcm512x", + .sof_fw_filename = "intel/sof-apl.ri", + .sof_tplg_filename = "intel/sof-apl-pcm512x.tplg", + .asoc_plat_name = "0000:00:0e.0", + }, + { + .id = "1AEC8804", + .drv_name = "bxt-wm8804", + .sof_fw_filename = "intel/sof-apl.ri", + .sof_tplg_filename = "intel/sof-apl-wm8804.tplg", + .asoc_plat_name = "0000:00:0e.0", + }, + { + .id = "INT34C3", + .drv_name = "bxt_tdf8532", + .sof_fw_filename = "intel/sof-apl.ri", + .sof_tplg_filename = "intel/sof-apl-tdf8532.tplg", + .asoc_plat_name = "0000:00:0e.0", + }, {}, }; EXPORT_SYMBOL_GPL(snd_soc_acpi_intel_bxt_machines);
Signature · 1 line
2.17.1
PATCH 8/8 ASoC: Intel: common: fix copy/paste issue with SOF/broadwell topology file
In reply to Pierre-Louis BossartThere are two commercially-available Broadwell platforms based on I2S (Dell XPS13 and 'Samus' Pixel 2015 Chromebook).
Fix a copy/paste issue to allow each platform to enable different features if needed when SOF is enabled
--- sound/soc/intel/common/soc-acpi-intel-hsw-bdw-match.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/intel/common/soc-acpi-intel-hsw-bdw-match.c +1 -1
@@ -45,7 +45,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_broadwell_machines[] = { .drv_name = "bdw-rt5677", .fw_filename = "intel/IntcSST2.bin", .sof_fw_filename = "intel/reef-bdw.ri", - .sof_tplg_filename = "intel/reef-bdw-rt286.tplg", + .sof_tplg_filename = "intel/reef-bdw-rt5677.tplg", .asoc_plat_name = "haswell-pcm-audio", }, {
Signature · 1 line
2.14.1
Mark Brown
maintainerApplied "ASoC: Intel: common: fix copy/paste issue with SOF/broadwell topology file" to the asoc tree
The patch
ASoC: Intel: common: fix copy/paste issue with SOF/broadwell topology file
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
f0d9034b290d8bad590e843c2a1081eb47d813adMon Sep 17 00:00:00 2001
From: Pierre-Louis Bossart <[email protected]>
Date: Mon, 18 Jun 2018 13:29:42 -0500
Subject: [PATCH] ASoC: Intel: common: fix copy/paste issue with SOF/broadwell
topology file
There are two commercially-available Broadwell platforms based on I2S (Dell XPS13 and 'Samus' Pixel 2015 Chromebook).
Fix a copy/paste issue to allow each platform to enable different features if needed when SOF is enabled
--- sound/soc/intel/common/soc-acpi-intel-hsw-bdw-match.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/intel/common/soc-acpi-intel-hsw-bdw-match.c +1 -1
@@ -45,7 +45,7 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_broadwell_machines[] = { .drv_name = "bdw-rt5677", .fw_filename = "intel/IntcSST2.bin", .sof_fw_filename = "intel/reef-bdw.ri", - .sof_tplg_filename = "intel/reef-bdw-rt286.tplg", + .sof_tplg_filename = "intel/reef-bdw-rt5677.tplg", .asoc_plat_name = "haswell-pcm-audio", }, {
Signature · 1 line
2.17.1