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=-4.0 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 790CBC49ED6 for ; Mon, 9 Sep 2019 16:54:43 +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 0716021479 for ; Mon, 9 Sep 2019 16:54:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="hCCkH33z"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="cL+Wmncy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0716021479 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com 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 B92C2166E; Mon, 9 Sep 2019 18:53:50 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B92C2166E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1568048080; bh=2vXjhB86CFyCOgSe1nGXjxQrkslKOf4Wz/PM8aVbKsw=; h=References:In-Reply-To:From:Date:To:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=hCCkH33zN7Bdx/vbm30etHJ8rlVxFJLLzbOwYGv2kPhp/5IqkSu02tfV2uLxqTbzT EER6khHbeMAbym3UIyjiRJcsSss9trIq2E9mm3Ub9Z7A4JQS/rx6lpnSpEVoKIe9YS Rw8dxTm1UE9RCVNigN/e6XBGkALTu9/aTxetdEsw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 57FD9F804FE; Mon, 9 Sep 2019 18:53:39 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3843FF80507; Mon, 9 Sep 2019 18:53:37 +0200 (CEST) Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) (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 84319F800C9 for ; Mon, 9 Sep 2019 18:53:34 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 84319F800C9 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="cL+Wmncy" Received: by mail-qk1-x744.google.com with SMTP id q203so13773741qke.1 for ; Mon, 09 Sep 2019 09:53:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Z/RE3sZOS52OCIJSlMNFYYijY8PwSY3et1eyqWvBz8k=; b=cL+Wmncy6oma6eGrC+nFfOyFGs5a34R1pq28OBucKpjREQbhoJ83FOvJ6z+ttgaLR5 uzO/ozehjX2/sP4emaM8xvhUcorC8O8636W0riEg2SWgZxMtZ7C/BpzZ8Udmr37EIS2H SFXWtMomfYQZGQuQH819eu2PB+vqPIhdZG7HFPe6YY6GYIrSvgLB93RuqEEkw+L8MRrK 8VDDHPoeU4ZnPfWr6hIOmNwtEd/SSU7T19jZf1zziEXgty7MOid+F2XIQZpmK+YrrYzM M5Q+bZQoI/D77ZKFw71MyYxdjavBaZt0cTROWM0rEotLxurT8aGwA7OcST6j4iRxS1DW 9IqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Z/RE3sZOS52OCIJSlMNFYYijY8PwSY3et1eyqWvBz8k=; b=iL4o0f5oetNWc89W7GETEpeEMN3AmcGW9hLDDfZftxEpQmVO79opjN0b+ruM0rWdEG EnoACoQEXmlJgx/NIWw6rboh1Dootl5iH/XoGHH3itQcA75E1/m0xJD5WuSBsj+JwPxr URqF90d6o9nXqA17IL6DCzHhRV9jTJguH5NCSomX3YaZtjfmKSXJn6JTbc96SDr4LhcJ nAkYbSgs9sFJUUN66hwtPRAFfzoOoBOf5W6hKr3E1BTsTQ3tycVG2eSFcMekX0t/0Scc 7a90YH1sV8dN16e2/E9xlhTFZ24sla8a24Y9D5a1OlC59B97TCq0yuqsnNxf4WmtNa6A XKYw== X-Gm-Message-State: APjAAAW2eCOgZUAk+uCw9GjaamVnc14QPsegF+gCM0PGAuP9CBL+zKkN zVX1yCIyDEsaIRdxBhUgdMo/tIq0YXqPq+SiYb8VwUFv+VU= X-Google-Smtp-Source: APXvYqxwAZWroFLVcfNe343lPZl/2BAtJmVCE09I7A+LHZAT9SAMZDwd0/vQQYCdGUC+XgcEuerMW04kWt78xvxzLLo= X-Received: by 2002:a37:8b46:: with SMTP id n67mr24488223qkd.36.1568048012633; Mon, 09 Sep 2019 09:53:32 -0700 (PDT) MIME-Version: 1.0 References: <20190906194636.217881-1-cujomalainey@chromium.org> <20190906194636.217881-7-cujomalainey@chromium.org> <87y2yy5nl8.wl-kuninori.morimoto.gx@renesas.com> In-Reply-To: <87y2yy5nl8.wl-kuninori.morimoto.gx@renesas.com> From: Curtis Malainey Date: Mon, 9 Sep 2019 09:53:21 -0700 Message-ID: To: Kuninori Morimoto Cc: Cezary Rojewski , Takashi Iwai , Jie Yang , ALSA development , Pierre-Louis Bossart , Liam Girdwood , Ben Zhang , Mark Brown , Steve Winslow , Curtis Malainey , Thomas Gleixner , Allison Randal Subject: Re: [alsa-devel] [RFC 06/15] 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" On Sun, Sep 8, 2019 at 5:18 PM Kuninori Morimoto wrote: > > > Hi Curtis > > > From: Ben Zhang > > > > This link is needed for the RT5677 DSP to do hotwording > > > > Signed-off-by: Ben Zhang > > Signed-off-by: Curtis Malainey > > --- > (snip) > > +/* Wake on voice interface */ > > +SND_SOC_DAILINK_DEF(fe_dsp, > > + DAILINK_COMP_ARRAY(COMP_CPU("spi-RT5677AA:00"))); > > + > > +SND_SOC_DAILINK_DEF(platform_dsp, > > + DAILINK_COMP_ARRAY(COMP_PLATFORM("spi-RT5677AA:00"))); > > + > > +SND_SOC_DAILINK_DEF(be_dsp, > > + DAILINK_COMP_ARRAY(COMP_CODEC("i2c-RT5677CE:00", "rt5677-dspbuffer"))); > > + > (snip) > > + /* Non-DPCM links */ > > + { > > + .name = "Codec DSP", > > + .stream_name = "Wake on Voice", > > + SND_SOC_DAILINK_REG(fe_dsp, be_dsp, platform_dsp), > > + }, > > If you don't need to re-use CPU/Codec/Platform definition, > I guess you can use more short version? > > 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"))); > > struct snd_soc_dai_link link = { > ... > SND_SOC_DAILINK_REG(dsp), > }; > Updated, thanks! _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel