[alsa-devel] Applied "ASoC: Intel: boards: Add IV feedback route for nau88l25_ssm4567 machine" to the asoc tree
Mark Brown
broonie at kernel.org
Wed Feb 24 09:42:34 CET 2016
The patch
ASoC: Intel: boards: Add IV feedback route for nau88l25_ssm4567 machine
has been applied to the asoc tree at
git://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
>From 5093f9287c83665b9227640aea8a8d980684246f Mon Sep 17 00:00:00 2001
From: Sathya Prakash M R <sathya.prakash.m.r at intel.com>
Date: Wed, 24 Feb 2016 11:27:41 +0530
Subject: [PATCH] ASoC: Intel: boards: Add IV feedback route for
nau88l25_ssm4567 machine
SSM4567 supports IV feedback for feedback to the speaker
protection algorithm
Signed-off-by: Sathya Prakash M R <sathya.prakash.m.r at intel.com>
Signed-off-by: Vinod Koul <vinod.koul at intel.com>
Signed-off-by: Mark Brown <broonie at kernel.org>
---
sound/soc/intel/boards/skl_nau88l25_ssm4567.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/sound/soc/intel/boards/skl_nau88l25_ssm4567.c b/sound/soc/intel/boards/skl_nau88l25_ssm4567.c
index ccc3d4a4f4b6..68caf24f9fbd 100644
--- a/sound/soc/intel/boards/skl_nau88l25_ssm4567.c
+++ b/sound/soc/intel/boards/skl_nau88l25_ssm4567.c
@@ -133,6 +133,9 @@ static const struct snd_soc_dapm_route skylake_map[] = {
{ "Right Playback", NULL, "ssp0 Tx"},
{ "ssp0 Tx", NULL, "codec0_out"},
+ /* IV feedback path */
+ { "codec0_lp_in", NULL, "ssp0 Rx"},
+
{ "Playback", NULL, "ssp1 Tx"},
{ "ssp1 Tx", NULL, "codec1_out"},
@@ -154,6 +157,14 @@ static const struct snd_soc_dapm_route skylake_map[] = {
{ "Headset Mic", NULL, "Platform Clock" },
};
+static const struct snd_soc_pcm_stream skl_ssm4567_loop_params = {
+ .formats = SNDRV_PCM_FMTBIT_S24_LE,
+ .rate_min = 48000,
+ .rate_max = 48000,
+ .channels_min = 4,
+ .channels_max = 4,
+};
+
static struct snd_soc_codec_conf ssm4567_codec_conf[] = {
{
.dev_name = "i2c-INT343B:00",
@@ -499,6 +510,16 @@ static struct snd_soc_dai_link skylake_dais[] = {
.nonatomic = 1,
.dynamic = 1,
},
+ /* Codec-codec link */
+ {
+ .name = "Skylake IV loop",
+ .stream_name = "SKL IV Loop",
+ .cpu_dai_name = "SSP0 Pin",
+ .platform_name = "0000:00:1f.3",
+ .codecs = ssm4567_codec_components,
+ .num_codecs = ARRAY_SIZE(ssm4567_codec_components),
+ .params = &skl_ssm4567_loop_params,
+ },
/* Back End DAI links */
{
--
2.7.0
More information about the Alsa-devel
mailing list