Skip to contentSkip to conversation

ASoC: Intel: Skylake: Add nau88l25+ssm4567 machine driver

PATCH In review Vinod Koul 3 participants 9 messages Nov 5, 2015 – Nov 18, 2015

Subsystems (3)
lore
Share & tools
lore

Vinod Koul

author
#0 lore raw

cover ASoC: Intel: Skylake: Add nau88l25+ssm4567 machine driver

This series adds one more machine driver used in SKL systems where nau88l25 and ssm4567 and connected to SoC on different SSPs, so add SSP1 BE ops followed by machine driver and machine table entry

Fang, Yang A (1):
ASoC: Intel: Skylake: add adi + nau8825 machine driver entry

Harsha Priya (1):
ASoC: Intel: Skylake: Adding nau88l25+ssm4567 machine driver

Jeeja KP (1):
ASoC: Intel: Skylake: Add support for SSP1 BE cpu dai

 sound/soc/intel/Kconfig                       |  14 +
 sound/soc/intel/boards/Makefile               |   2 +
 sound/soc/intel/boards/skl_nau88l25_ssm4567.c | 368 ++++++++++++++++++++++++++
 sound/soc/intel/skylake/skl-pcm.c             |  18 ++
 sound/soc/intel/skylake/skl.c                 |   2 +
 5 files changed, 404 insertions(+)
 create mode 100644 sound/soc/intel/boards/skl_nau88l25_ssm4567.c
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/3 ASoC: Intel: Skylake: Add support for SSP1 BE cpu dai

From: Jeeja KP <[email protected]>

Adds new BE cpu dai to support SSP1 port.

---
 sound/soc/intel/skylake/skl-pcm.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
sound/soc/intel/skylake/skl-pcm.c +18 -0
index e652d58bd9a9..c8d942887348 100644
@@ -627,6 +627,24 @@ static struct snd_soc_dai_driver skl_platform_dai[] = {
 	},
 },
 {
+	.name = "SSP1 Pin",
+	.ops = &skl_be_ssp_dai_ops,
+	.playback = {
+		.stream_name = "ssp1 Tx",
+		.channels_min = HDA_STEREO,
+		.channels_max = HDA_STEREO,
+		.rates = SNDRV_PCM_RATE_48000,
+		.formats = SNDRV_PCM_FMTBIT_S16_LE,
+	},
+	.capture = {
+		.stream_name = "ssp1 Rx",
+		.channels_min = HDA_STEREO,
+		.channels_max = HDA_STEREO,
+		.rates = SNDRV_PCM_RATE_48000,
+		.formats = SNDRV_PCM_FMTBIT_S16_LE,
+	},
+},
+{
 	.name = "iDisp Pin",
 	.ops = &skl_link_dai_ops,
 	.playback = {
Signature · 1 line
1.9.1
maintainer
#2 lore raw

Applied "ASoC: Intel: Skylake: Add support for SSP1 BE cpu dai" to the asoc tree

The patch

ASoC: Intel: Skylake: Add support for SSP1 BE cpu dai

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

Quoted 1 line

From c80fd4da68cd7784a19c584d01294e362a7b61a3 Mon Sep 17 00:00:00 2001

From: Jeeja KP <[email protected]>
Date: Thu, 5 Nov 2015 22:53:06 +0530
Subject: [PATCH] ASoC: Intel: Skylake: Add support for SSP1 BE cpu dai

Adds new BE cpu dai to support SSP1 port.

---
 sound/soc/intel/skylake/skl-pcm.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
sound/soc/intel/skylake/skl-pcm.c +18 -0
index e652d58bd9a9..c8d942887348 100644
@@ -627,6 +627,24 @@ static struct snd_soc_dai_driver skl_platform_dai[] = {
 	},
 },
 {
+	.name = "SSP1 Pin",
+	.ops = &skl_be_ssp_dai_ops,
+	.playback = {
+		.stream_name = "ssp1 Tx",
+		.channels_min = HDA_STEREO,
+		.channels_max = HDA_STEREO,
+		.rates = SNDRV_PCM_RATE_48000,
+		.formats = SNDRV_PCM_FMTBIT_S16_LE,
+	},
+	.capture = {
+		.stream_name = "ssp1 Rx",
+		.channels_min = HDA_STEREO,
+		.channels_max = HDA_STEREO,
+		.rates = SNDRV_PCM_RATE_48000,
+		.formats = SNDRV_PCM_FMTBIT_S16_LE,
+	},
+},
+{
 	.name = "iDisp Pin",
 	.ops = &skl_link_dai_ops,
 	.playback = {
Signature · 1 line
2.6.2
author
#3 lore raw

PATCH 2/3 ASoC: Intel: Skylake: Adding nau88l25+ssm4567 machine driver

In reply to Vinod Koul

From: Harsha Priya <[email protected]>

Add i2s machine driver with NAU88L25 and SSM4567 codecs

---
 sound/soc/intel/Kconfig                       |  14 +
 sound/soc/intel/boards/Makefile               |   2 +
 sound/soc/intel/boards/skl_nau88l25_ssm4567.c | 368 ++++++++++++++++++++++++++
 3 files changed, 384 insertions(+)
 create mode 100644 sound/soc/intel/boards/skl_nau88l25_ssm4567.c
sound/soc/intel/Kconfig +14 -0
index 13a762172b5d..814b26bbad58 100644
@@ -155,3 +155,17 @@ config SND_SOC_INTEL_SKL_RT286_MACH
 	   with RT286 I2S audio codec.
 	   Say Y if you have such a device
 	   If unsure select "N".
+
+config SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH
+	tristate "ASoC Audio driver for SKL with NAU88L25 and SSM4567 in I2S Mode"
+	depends on X86_INTEL_LPSS && I2C
+	select SND_SOC_INTEL_SST
+	select SND_SOC_INTEL_SKYLAKE
+	select SND_SOC_NAU8825
+	select SND_SOC_SSM4567
+	select SND_SOC_DMIC
+	help
+	  This adds support for ASoC Onboard Codec I2S machine driver. This will
+	  create an alsa sound card for NAU88L25 + SSM4567.
+	  Say Y if you have such a device
+	  If unsure select "N".
sound/soc/intel/boards/Makefile +2 -0
index 371c4565cad8..a59f76277cee 100644
@@ -7,6 +7,7 @@ snd-soc-sst-cht-bsw-rt5672-objs := cht_bsw_rt5672.o
 snd-soc-sst-cht-bsw-rt5645-objs := cht_bsw_rt5645.o
 snd-soc-sst-cht-bsw-max98090_ti-objs := cht_bsw_max98090_ti.o
 snd-soc-skl_rt286-objs := skl_rt286.o
+snd-soc-skl_nau88l25_ssm4567-objs := skl_nau88l25_ssm4567.o
 
 obj-$(CONFIG_SND_SOC_INTEL_HASWELL_MACH) += snd-soc-sst-haswell.o
 obj-$(CONFIG_SND_SOC_INTEL_BYT_RT5640_MACH) += snd-soc-sst-byt-rt5640-mach.o
@@ -17,3 +18,4 @@ obj-$(CONFIG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH) += snd-soc-sst-cht-bsw-rt5672.o
 obj-$(CONFIG_SND_SOC_INTEL_CHT_BSW_RT5645_MACH) += snd-soc-sst-cht-bsw-rt5645.o
 obj-$(CONFIG_SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH) += snd-soc-sst-cht-bsw-max98090_ti.o
 obj-$(CONFIG_SND_SOC_INTEL_SKL_RT286_MACH) += snd-soc-skl_rt286.o
+obj-$(CONFIG_SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH) += snd-soc-skl_nau88l25_ssm4567.o
sound/soc/intel/boards/skl_nau88l25_ssm4567.c new file +368 -0

368 lines not on this page · raw message

Signature · 1 line
1.9.1
#4 lore raw

Re: [PATCH 2/3] ASoC: Intel: Skylake: Adding nau88l25+ssm4567 machine driver

Hi

Quoted 3 lines · Vinod Koul

From: Harsha Priya <[email protected]>

Add i2s machine driver with NAU88L25 and SSM4567 codecs

The mainline driver name is NAU8825. I suggest to stay consistent with the codec name.

Nuvoton's documentation mostly refers the codec by name NAU8825 though NAU88L25 is used as well.

author
#5 lore raw

Re: [PATCH 2/3] ASoC: Intel: Skylake: Adding nau88l25+ssm4567 machine driver

Quoted 6 lines · Anatol Pomozov

Hi

Quoted 2 lines · Vinod Koul

From: Harsha Priya <[email protected]>

Quoted 7 lines
Quoted 1 line

Add i2s machine driver with NAU88L25 and SSM4567 codecs

The mainline driver name is NAU8825. I suggest to stay consistent with the codec name.

Nuvoton's documentation mostly refers the codec by name NAU8825 though NAU88L25 is used as well.

Sound okay, will update the comment here

Signature · 1 line
~Vinod
maintainer
#6 lore raw

Applied "ASoC: Intel: Skylake: Adding nau88l25+ssm4567 machine driver" to the asoc tree

In reply to Vinod Koul

The patch

ASoC: Intel: Skylake: Adding nau88l25+ssm4567 machine driver

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

Quoted 1 line

From a86d505783e42d2f824e32489a1f2b0c3454d9fe Mon Sep 17 00:00:00 2001

From: Harsha Priya <[email protected]>
Date: Thu, 5 Nov 2015 22:53:07 +0530
Subject: [PATCH] ASoC: Intel: Skylake: Adding nau88l25+ssm4567 machine driver

Add i2s machine driver with NAU88L25 and SSM4567 codecs

---
 sound/soc/intel/Kconfig                       |  14 +
 sound/soc/intel/boards/Makefile               |   2 +
 sound/soc/intel/boards/skl_nau88l25_ssm4567.c | 368 ++++++++++++++++++++++++++
 3 files changed, 384 insertions(+)
 create mode 100644 sound/soc/intel/boards/skl_nau88l25_ssm4567.c
sound/soc/intel/Kconfig +14 -0
index 2903823ebee1..aee2a5c75e0d 100644
@@ -155,3 +155,17 @@ config SND_SOC_INTEL_SKL_RT286_MACH
 	   with RT286 I2S audio codec.
 	   Say Y if you have such a device
 	   If unsure select "N".
+
+config SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH
+	tristate "ASoC Audio driver for SKL with NAU88L25 and SSM4567 in I2S Mode"
+	depends on X86_INTEL_LPSS && I2C
+	select SND_SOC_INTEL_SST
+	select SND_SOC_INTEL_SKYLAKE
+	select SND_SOC_NAU8825
+	select SND_SOC_SSM4567
+	select SND_SOC_DMIC
+	help
+	  This adds support for ASoC Onboard Codec I2S machine driver. This will
+	  create an alsa sound card for NAU88L25 + SSM4567.
+	  Say Y if you have such a device
+	  If unsure select "N".
sound/soc/intel/boards/Makefile +2 -0
index 371c4565cad8..a59f76277cee 100644
@@ -7,6 +7,7 @@ snd-soc-sst-cht-bsw-rt5672-objs := cht_bsw_rt5672.o
 snd-soc-sst-cht-bsw-rt5645-objs := cht_bsw_rt5645.o
 snd-soc-sst-cht-bsw-max98090_ti-objs := cht_bsw_max98090_ti.o
 snd-soc-skl_rt286-objs := skl_rt286.o
+snd-soc-skl_nau88l25_ssm4567-objs := skl_nau88l25_ssm4567.o
 
 obj-$(CONFIG_SND_SOC_INTEL_HASWELL_MACH) += snd-soc-sst-haswell.o
 obj-$(CONFIG_SND_SOC_INTEL_BYT_RT5640_MACH) += snd-soc-sst-byt-rt5640-mach.o
@@ -17,3 +18,4 @@ obj-$(CONFIG_SND_SOC_INTEL_CHT_BSW_RT5672_MACH) += snd-soc-sst-cht-bsw-rt5672.o
 obj-$(CONFIG_SND_SOC_INTEL_CHT_BSW_RT5645_MACH) += snd-soc-sst-cht-bsw-rt5645.o
 obj-$(CONFIG_SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH) += snd-soc-sst-cht-bsw-max98090_ti.o
 obj-$(CONFIG_SND_SOC_INTEL_SKL_RT286_MACH) += snd-soc-skl_rt286.o
+obj-$(CONFIG_SND_SOC_INTEL_SKL_NAU88L25_SSM4567_MACH) += snd-soc-skl_nau88l25_ssm4567.o
sound/soc/intel/boards/skl_nau88l25_ssm4567.c new file +368 -0

368 lines not on this page · raw message

Signature · 1 line
2.6.2
author
#7 lore raw

PATCH 3/3 ASoC: Intel: Skylake: add adi + nau8825 machine driver entry

In reply to Vinod Koul

From: "Fang, Yang A" <[email protected]>

This patch adds skl_nau8825_ssn4567_i2s machine driver into machine table

---
 sound/soc/intel/skylake/skl.c | 2 ++
 1 file changed, 2 insertions(+)
sound/soc/intel/skylake/skl.c +2 -0
index 390f839d6168..8ead864f354a 100644
@@ -587,6 +587,8 @@ static void skl_remove(struct pci_dev *pci)
 
 static struct sst_acpi_mach sst_skl_devdata[] = {
 	{ "INT343A", "skl_alc286s_i2s", "intel/dsp_fw_release.bin", NULL, NULL, NULL },
+	{ "INT343B", "skl_nau88l25_ssm4567_i2s", "intel/dsp_fw_release.bin",
+				NULL, NULL, NULL },
 	{}
 };
 
Signature · 1 line
1.9.1
maintainer
#8 lore raw

Applied "ASoC: Intel: Skylake: add adi + nau8825 machine driver entry" to the asoc tree

The patch

ASoC: Intel: Skylake: add adi + nau8825 machine driver entry

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

Quoted 1 line

From 02cc23555dfeec9ab87340f052541dd906fb440c Mon Sep 17 00:00:00 2001

From: "Fang, Yang A" <[email protected]>
Date: Thu, 5 Nov 2015 22:53:08 +0530
Subject: [PATCH] ASoC: Intel: Skylake: add adi + nau8825 machine driver entry

This patch adds skl_nau8825_ssn4567_i2s machine driver into machine table

---
 sound/soc/intel/skylake/skl.c | 2 ++
 1 file changed, 2 insertions(+)
sound/soc/intel/skylake/skl.c +2 -0
index 390f839d6168..8ead864f354a 100644
@@ -587,6 +587,8 @@ static void skl_remove(struct pci_dev *pci)
 
 static struct sst_acpi_mach sst_skl_devdata[] = {
 	{ "INT343A", "skl_alc286s_i2s", "intel/dsp_fw_release.bin", NULL, NULL, NULL },
+	{ "INT343B", "skl_nau88l25_ssm4567_i2s", "intel/dsp_fw_release.bin",
+				NULL, NULL, NULL },
 	{}
 };
 
Signature · 1 line
2.6.2