From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,UNWANTED_LANGUAGE_BODY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ADEFACA9EAB for ; Fri, 18 Oct 2019 20:19:05 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3C3282082C for ; Fri, 18 Oct 2019 20:19:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="WR5Kf694"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="RhoJI0kb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3C3282082C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id D85C8850; Fri, 18 Oct 2019 22:07:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D85C8850 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1571429305; bh=5XhF6idFbwqN+fBPatCtbFqzYw8h2Jxmwgm4WvKWeB0=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=WR5Kf694YkYFZlH5ih9Ub/SqWbhBS3cvUssq3Vrdy8o19M47899ShvQz6zOyWV3+n LOzILNM7gOvag5+JBQxDjyy+Xz5AEPkhoA4mN4LKEZrn3WWqNBsa8UThh+HThu6kcn UFLz8JFyepzOl7AHRyeA9akXNI7HNB7ZjkP+3ESw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 66D3AF80638; Fri, 18 Oct 2019 22:05:17 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A77FAF80633; Fri, 18 Oct 2019 22:05:13 +0200 (CEST) Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id F3CD3F8060D for ; Fri, 18 Oct 2019 22:05:09 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz F3CD3F8060D Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="RhoJI0kb" Received: by mail-pf1-x444.google.com with SMTP id y5so4514613pfo.4 for ; Fri, 18 Oct 2019 13:05:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0/0t86VmlmsJ+s+jfeC96BKU3vsDP4S3mozuKdo/LEY=; b=RhoJI0kb5cgmH+hJTiQ9TWUzDCOLsA+bVJChZRQOfGa+PK3iVSxfxbjAzEdC4QOhDP F41HwoCwOfQ3Rs6K9EybL9hChY5nbYlZDvzZU5OIGhnEB7RzGSdCH36VYB3Q+Gw3bLmA 5N4Z9b8pbBOEhPSy5j/F7GqaDKhpGAEOXuzJY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0/0t86VmlmsJ+s+jfeC96BKU3vsDP4S3mozuKdo/LEY=; b=GMPA/oxRHMGaXtecLjgnGdZsksXWN+UPxX2zRFtPJz8B7EFTce42IH/3zToAyI8CS7 cAFIIpQ5WgZR+pdB32v3IMatka9VTHuxsgKNk5MvoDabOjYe0aA8fXDeX/aoPbqllcEc Me0xU2pp8IBUR90HDhBxF3iimNqM0jWIYtmvUgYaXeFRciPL339FMeXutmyl47wAAmlK 2tiNbzh9Gh1yzKr4Y5r82hoibhQDE+hdZ0mMzpTDSQBHw2AS1GrXDr9xGmNWMg3s55rh hubYrea+61eqdKG6v/A9M3wB/uxd/yxkvyqdT4NomRwG0gbJg8kydXu7rm6yjQREqSPu RHPQ== X-Gm-Message-State: APjAAAWfRfXjh0xzCje+lqcKCDQpvVnUveOg5kvsGMHMnhyqvPqo9eUk PJl5UuR3J5Bndrp8vDYnLJfIIlAKBbtO X-Google-Smtp-Source: APXvYqwK9JRPG6wkduSVrlfzj1yLoVHbA4hjImXNLguHy+g4Hs8elhj6cX1lmdtEzU5HmS8aiEW+GA== X-Received: by 2002:aa7:874f:: with SMTP id g15mr8736602pfo.175.1571429107987; Fri, 18 Oct 2019 13:05:07 -0700 (PDT) Received: from localhost ([2620:15c:202:201:c87a:31ae:9107:f63d]) by smtp.gmail.com with ESMTPSA id f89sm6690103pje.20.2019.10.18.13.05.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Oct 2019 13:05:07 -0700 (PDT) From: Curtis Malainey To: alsa-devel@alsa-project.org Date: Fri, 18 Oct 2019 13:04:40 -0700 Message-Id: <20191018200449.141123-4-cujomalainey@chromium.org> X-Mailer: git-send-email 2.23.0.866.gb869b98d4c-goog In-Reply-To: <20191018200449.141123-1-cujomalainey@chromium.org> References: <20191018200449.141123-1-cujomalainey@chromium.org> MIME-Version: 1.0 Cc: Cezary Rojewski , Kuninori Morimoto , Alexios Zavras , Greg Kroah-Hartman , Takashi Iwai , Jie Yang , Pierre-Louis Bossart , Liam Girdwood , Ben Zhang , Mark Brown , Curtis Malainey , Thomas Gleixner Subject: [alsa-devel] [PATCH v2 03/12] ASoC: bdw-rt5677: Add a DAI link for rt5677 SPI PCM device X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Ben Zhang This link is needed for the RT5677 DSP to do hotwording Signed-off-by: Ben Zhang Signed-off-by: Curtis Malainey --- sound/soc/intel/boards/bdw-rt5677.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/sound/soc/intel/boards/bdw-rt5677.c b/sound/soc/intel/boards/bdw-rt5677.c index 4a4d3353e26df..eeb9a11e4e14d 100644 --- a/sound/soc/intel/boards/bdw-rt5677.c +++ b/sound/soc/intel/boards/bdw-rt5677.c @@ -74,6 +74,7 @@ static const struct snd_soc_dapm_route bdw_rt5677_map[] = { /* CODEC BE connections */ {"SSP0 CODEC IN", NULL, "AIF1 Capture"}, {"AIF1 Playback", NULL, "SSP0 CODEC OUT"}, + {"DSP Capture", NULL, "DSP Buffer"}, }; static const struct snd_kcontrol_new bdw_rt5677_controls[] = { @@ -258,6 +259,12 @@ SND_SOC_DAILINK_DEF(platform, SND_SOC_DAILINK_DEF(be, DAILINK_COMP_ARRAY(COMP_CODEC("i2c-RT5677CE:00", "rt5677-aif1"))); +/* Wake on voice interface */ +SND_SOC_DAILINK_DEFS(dsp, + DAILINK_COMP_ARRAY(COMP_CPU("spi-RT5677AA:00")), + DAILINK_COMP_ARRAY(COMP_CODEC("i2c-RT5677CE:00", "rt5677-dspbuffer")), + DAILINK_COMP_ARRAY(COMP_PLATFORM("spi-RT5677AA:00"))); + static struct snd_soc_dai_link bdw_rt5677_dais[] = { /* Front End DAI links */ { @@ -276,6 +283,13 @@ static struct snd_soc_dai_link bdw_rt5677_dais[] = { SND_SOC_DAILINK_REG(fe, dummy, platform), }, + /* Non-DPCM links */ + { + .name = "Codec DSP", + .stream_name = "Wake on Voice", + SND_SOC_DAILINK_REG(dsp), + }, + /* Back End DAI links */ { /* SSP0 - Codec */ -- 2.23.0.866.gb869b98d4c-goog _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel