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=-5.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 6EC6EC433E3 for ; Fri, 21 Aug 2020 12:20:20 +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 CAAC9207BB for ; Fri, 21 Aug 2020 12:20:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="Eqy6BWif"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="sc+twMc+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CAAC9207BB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.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 46DB61678; Fri, 21 Aug 2020 14:19:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 46DB61678 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1598012418; bh=mQ1hv+AwijnZGPh/O/1Xm92YOvPAB1PWPbr2CRnnio8=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Eqy6BWifj6jSoU5mpaqBwECWjz8w55JnBvZAfJkMjKOtAdsEn84uMxa/jT7fEWqAB 1UtsPrCbsT//qNqzrZTcYxjdzxyMrdnVmHh4xvSNN4ckx2tWWuX3WRtWEdLo+eR42G fxRS9nCsvEq2+MXVGMnZXomXbUZuJZzLHX4jMIT8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B8AD6F80216; Fri, 21 Aug 2020 14:19:27 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 055FCF80218; Fri, 21 Aug 2020 14:19:26 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 8511DF800D3 for ; Fri, 21 Aug 2020 14:19:19 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8511DF800D3 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="sc+twMc+" Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 991D020724; Fri, 21 Aug 2020 12:19:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598012357; bh=mQ1hv+AwijnZGPh/O/1Xm92YOvPAB1PWPbr2CRnnio8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sc+twMc+TEz/a2qBNT+l00XqltAvFPrGEJbnR4CyCNjYn9sY4DchBddc4qgIzByD9 zfMwP1ODhRmgei6YpWD/RaMiEsGBDMOSBDfUrMdKpvBgoHJ1UuFmjBrghtCvF44NGs qSRwsk76nmBopa4HW0cQ0qnjAOD1VLlrsmJjdZKE= Date: Fri, 21 Aug 2020 13:18:44 +0100 From: Mark Brown To: Kuninori Morimoto Subject: Re: More Generic Audio Graph Sound Card idea Message-ID: <20200821121844.GF4870@sirena.org.uk> References: <87k0xszlep.wl-kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FeAIMMcddNRN4P4/" Content-Disposition: inline In-Reply-To: <87k0xszlep.wl-kuninori.morimoto.gx@renesas.com> X-Cookie: divorce, n: User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Sameer Pujar , Pierre-Louis Bossart , Linux-ALSA 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" --FeAIMMcddNRN4P4/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 21, 2020 at 01:15:41PM +0900, Kuninori Morimoto wrote: > I'm thinking below style as new audio-graph-card2. > It is not tricky, thus connection judgement for normal vs DSP is easy. > Then, code can be more readable (=3D no guaranty :P) ? Having an audio-graph-card2 isn't ideal but may be required at least during development :/ Ideally we'd be able to have the new driver parse both binding formats (or rather, have the new binding format be new use cases for the same binding format) and only use -card2 while it's in development. > | Front End PCMs | SoC DSP | Back End DAIs | Audio devices | > =20 > ************* > PCM0 <------------> * * <----DAI0-----> Codec Headset > * * > PCM1 <------------> * * <----DAI1-----> Codec Speakers > * DSP * > PCM2 <------------> * * <----DAI2-----> MODEM > * * > PCM3 <------------> * * <----DAI3-----> BT > * * > * * <----DAI4-----> DMIC > * * > * * <----DAI5-----> FM > ************* I think your plan with this explicit representation of the DSP is where we want to get to, the issue is mapping this onto DPCM as it currently stands. The binding you proposed underneath looked sensible on first readthrough. --FeAIMMcddNRN4P4/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl8/u6MACgkQJNaLcl1U h9CR9Qf/RHMoOhZPwK+uJ6yqYU0P/a2VoSq5B4ForZZGXtpSPbGoo+rbD3PQG5Xv /ZXvASHFGWH6cqL6wg3FFWA3MNPpvEgRbsqKpgrbTZ159UeOE2Jy2xhn2zWJNc4P 7/l1tScURe+cWtHsXycFJj3MVtsFFjgBiDMK1OPUyt4wosZ8tJ4caKPerY141yFh WeadSY/b7qVyL7PwdH2KcbiAAf221iAiDGZym1tKeJp8nQjoFINwsyLGFPzJDYR2 dVhj4IsAfnKUzGRIzaeVR3UQBGa2XC7X0pMUAxz4E4qPqR5gzdqGYbIDjRTpXrJS I9Ka/K3S8NcRSvOCFu3GA4i53pB4Cw== =RMya -----END PGP SIGNATURE----- --FeAIMMcddNRN4P4/--