* [PATCH] ASoC: Intel: kbl_rt5663_rt5514_max98927: Add rt5514 spi dailink
@ 2017-08-08 1:33 Harsha Priya
2017-08-10 8:50 ` kbuild test robot
2017-08-10 13:48 ` kbuild test robot
0 siblings, 2 replies; 3+ messages in thread
From: Harsha Priya @ 2017-08-08 1:33 UTC (permalink / raw)
To: tiwai, vinod.koul, broonie, alsa-devel; +Cc: Harsha Priya, Hsin-yu Chao
This patch adds a dai to rt5514-spi driver for wake on voice functionality.
Signed-off-by: Hsin-yu Chao <hychao@google.com>
Signed-off-by: Harsha Priya <harshapriya.n@intel.com>
---
sound/soc/intel/Kconfig | 1 +
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c | 9 +++++++++
2 files changed, 10 insertions(+)
diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig
index b301bff..e3ca40d 100644
--- a/sound/soc/intel/Kconfig
+++ b/sound/soc/intel/Kconfig
@@ -260,6 +260,7 @@ config SND_SOC_INTEL_KBL_RT5663_RT5514_MAX98927_MACH
select SND_SOC_INTEL_SKYLAKE
select SND_SOC_RT5663
select SND_SOC_RT5514
+ select SND_SOC_RT5514_SPI
select SND_SOC_MAX98927
select SND_SOC_HDAC_HDMI
help
diff --git a/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c b/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
index 5ec9428..b51dff6 100644
--- a/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
+++ b/sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
@@ -65,6 +65,7 @@ enum {
KBL_DPCM_AUDIO_HS_PB,
KBL_DPCM_AUDIO_ECHO_REF_CP,
KBL_DPCM_AUDIO_DMIC_CP,
+ KBL_DPCM_AUDIO_RT5514_DSP,
KBL_DPCM_AUDIO_HDMI1_PB,
KBL_DPCM_AUDIO_HDMI2_PB,
};
@@ -480,6 +481,14 @@ static int kabylake_dmic_startup(struct snd_pcm_substream *substream)
.capture_only = 1,
.nonatomic = 1,
},
+ [KBL_DPCM_AUDIO_RT5514_DSP] = {
+ .name = "rt5514 dsp",
+ .stream_name = "Wake on Voice",
+ .cpu_dai_name = "spi-PRP0001:00",
+ .platform_name = "spi-PRP0001:00",
+ .codec_name = "snd-soc-dummy",
+ .codec_dai_name = "snd-soc-dummy-dai",
+ },
[KBL_DPCM_AUDIO_DMIC_CP] = {
.name = "Kbl Audio DMIC cap",
.stream_name = "dmiccap",
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: Intel: kbl_rt5663_rt5514_max98927: Add rt5514 spi dailink
2017-08-08 1:33 [PATCH] ASoC: Intel: kbl_rt5663_rt5514_max98927: Add rt5514 spi dailink Harsha Priya
@ 2017-08-10 8:50 ` kbuild test robot
2017-08-10 13:48 ` kbuild test robot
1 sibling, 0 replies; 3+ messages in thread
From: kbuild test robot @ 2017-08-10 8:50 UTC (permalink / raw)
Cc: alsa-devel, Hsin-yu Chao, tiwai, vinod.koul, broonie, kbuild-all,
Harsha Priya
[-- Attachment #1: Type: text/plain, Size: 1005 bytes --]
Hi Harsha,
[auto build test ERROR on asoc/for-next]
[also build test ERROR on next-20170809]
[cannot apply to v4.13-rc4]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Harsha-Priya/ASoC-Intel-kbl_rt5663_rt5514_max98927-Add-rt5514-spi-dailink/20170810-120934
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: x86_64-randconfig-s3-08101540 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
>> ERROR: "__spi_register_driver" [sound/soc/codecs/snd-soc-rt5514-spi.ko] undefined!
>> ERROR: "spi_sync" [sound/soc/codecs/snd-soc-rt5514-spi.ko] undefined!
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 26673 bytes --]
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: Intel: kbl_rt5663_rt5514_max98927: Add rt5514 spi dailink
2017-08-08 1:33 [PATCH] ASoC: Intel: kbl_rt5663_rt5514_max98927: Add rt5514 spi dailink Harsha Priya
2017-08-10 8:50 ` kbuild test robot
@ 2017-08-10 13:48 ` kbuild test robot
1 sibling, 0 replies; 3+ messages in thread
From: kbuild test robot @ 2017-08-10 13:48 UTC (permalink / raw)
Cc: alsa-devel, Hsin-yu Chao, tiwai, vinod.koul, broonie, kbuild-all,
Harsha Priya
[-- Attachment #1: Type: text/plain, Size: 1281 bytes --]
Hi Harsha,
[auto build test ERROR on asoc/for-next]
[also build test ERROR on next-20170810]
[cannot apply to v4.13-rc4]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Harsha-Priya/ASoC-Intel-kbl_rt5663_rt5514_max98927-Add-rt5514-spi-dailink/20170810-120934
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: x86_64-randconfig-ne0-08101909 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
sound/soc/codecs/rt5514-spi.o: In function `spi_sync_transfer.constprop.2':
>> rt5514-spi.c:(.text+0x4b2): undefined reference to `spi_sync'
sound/soc/codecs/rt5514-spi.o: In function `rt5514_spi_burst_read':
rt5514-spi.c:(.text+0x747): undefined reference to `spi_sync'
sound/soc/codecs/rt5514-spi.o: In function `rt5514_spi_driver_init':
>> rt5514-spi.c:(.init.text+0x1a): undefined reference to `__spi_register_driver'
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32056 bytes --]
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-08-10 13:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-08 1:33 [PATCH] ASoC: Intel: kbl_rt5663_rt5514_max98927: Add rt5514 spi dailink Harsha Priya
2017-08-10 8:50 ` kbuild test robot
2017-08-10 13:48 ` kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).