Skip to contentSkip to conversation

ASoC: Intel: sof_sdw_rt1308: add BQ params for the Dell models

PATCH In review [email protected] 2 participants 2 messages Nov 9, 2022 – Nov 11, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 3/4 ASoC: Intel: sof_sdw_rt1308: add BQ params for the Dell models

From: Shuming Fan <[email protected]>

The Dell SKU 0A5D/0A5E/0990/098F model needs the BQ params for the tweeter/woofer.

---
 sound/soc/intel/boards/sof_sdw.c              |   1 +
 .../intel/boards/sof_sdw_amp_coeff_tables.h   | 162 ++++++++++++++++++
 sound/soc/intel/boards/sof_sdw_common.h       |   2 +
 sound/soc/intel/boards/sof_sdw_rt1308.c       | 120 +++++++++++++
 4 files changed, 285 insertions(+)
 create mode 100644 sound/soc/intel/boards/sof_sdw_amp_coeff_tables.h
sound/soc/intel/boards/sof_sdw.c +1 -0
index ee9857dc3135..a3bbdc261a4a 100644
@@ -510,6 +510,7 @@ static struct sof_sdw_codec_info codec_info_list[] = {
 		.dai_name = "rt1308-aif",
 		.ops = &sof_sdw_rt1308_i2s_ops,
 		.init = sof_sdw_rt1308_init,
+		.exit = sof_sdw_rt1308_exit,
 		.codec_type = SOF_SDW_CODEC_TYPE_AMP,
 	},
 	{
sound/soc/intel/boards/sof_sdw_amp_coeff_tables.h new file +162 -0

162 lines not on this page · raw message

sound/soc/intel/boards/sof_sdw_common.h +2 -0
index e2457738a332..772af23e7497 100644
@@ -83,6 +83,7 @@ struct mc_private {
 	bool idisp_codec;
 	struct snd_soc_jack sdw_headset;
 	struct device *headset_codec_dev; /* only one headset per card */
+	struct device *amp_dev1, *amp_dev2;
 };
 
 extern unsigned long sof_sdw_quirk;
@@ -132,6 +133,7 @@ int sof_sdw_rt1308_init(struct snd_soc_card *card,
 			struct snd_soc_dai_link *dai_links,
 			struct sof_sdw_codec_info *info,
 			bool playback);
+int sof_sdw_rt1308_exit(struct snd_soc_card *card, struct snd_soc_dai_link *dai_link);
 
 /* RT1316 support */
 int sof_sdw_rt1316_init(struct snd_soc_card *card,
sound/soc/intel/boards/sof_sdw_rt1308.c +120 -0

147 lines not on this page · raw message

Signature · 1 line
2.38.1
maintainer
#1 lore raw
Quoted 5 lines · On Wed, 9 Nov 2022 17:13:06 +0800, [email protected] wrote:

From: Shuming Fan <[email protected]>

The Dell SKU 0A5D/0A5E/0990/098F model needs the BQ params for the tweeter/woofer.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[3/4] ASoC: Intel: sof_sdw_rt1308: add BQ params for the Dell models

      commit: 1b435e405d63155d2391c27054cf98237d11d0a4

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