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 E732CC433E0 for ; Mon, 8 Feb 2021 17:54:21 +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 76A3F64E8A for ; Mon, 8 Feb 2021 17:54:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 76A3F64E8A 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 3A27F167A; Mon, 8 Feb 2021 18:53:28 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3A27F167A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1612806858; bh=44IGlSmiNO/ptXxnKcy68XxNRgV7v3IbiKamvOEVin4=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=TLJCXQhHEcBEWDbGoG3ZApG8+yooUvejjq0EL2bqRGlbKEhh9IP98gn2sS45qFEC6 6/+o83F6LAly10zERngggTKIcwgCH9m9bvf6cHilkTu2lYID5XDPglxrl6fYMq090b tim+dY7oyfczmfH+7RZk9sbnIrgMXfMc6lCdNtwk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id B4291F80169; Mon, 8 Feb 2021 18:53:27 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 0AA93F8022B; Mon, 8 Feb 2021 18:53:26 +0100 (CET) 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 7E9CDF80165 for ; Mon, 8 Feb 2021 18:53:23 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7E9CDF80165 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OeXaoUKn" Received: by mail.kernel.org (Postfix) with ESMTPSA id 185EE64E88; Mon, 8 Feb 2021 17:53:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612806800; bh=44IGlSmiNO/ptXxnKcy68XxNRgV7v3IbiKamvOEVin4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OeXaoUKnOrSetN5gaNi/WfUvJWgwfbvr+KsrKvlHtTiBYUNjbQnTYhuSFW4lu+3Xx GkuQOB0io1DWeRMwX/6g4UYr/fQ/7y5fBuoiHvO45mneO64+3foNaS/pc27NTOe5t4 78ym1uJK93sapCAmhzbWtLvooSDh1eD1JBvo2BCEa5ksYKYxvj/GAqvP1vMICDD0/7 qiHNoN23jFayd7xaYj2uZrVodC4nbVfFboUugYMsKf3tyLyd3oKBgyyd37YoEKiMVP z1E9WiAjMf/VHwwpFBKS8kwcR74PWeqKMJodFIN/0wdKJ5rbgFEfG7jHZgEwAIELoA y1pVTnL0rQd1Q== Date: Mon, 8 Feb 2021 17:52:28 +0000 From: Mark Brown To: Pierre-Louis Bossart Subject: Re: [PATCH] ASoC: rt1316: Add RT1316 SDCA vendor-specific driver Message-ID: <20210208175228.GJ8645@sirena.org.uk> References: <20210208090432.1078-1-shumingf@realtek.com> <20210208122337.GE8645@sirena.org.uk> <9eff4f09-b127-5912-f62f-ed1e48db2e36@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="J2uG6jHjFLimDtBY" Content-Disposition: inline In-Reply-To: <9eff4f09-b127-5912-f62f-ed1e48db2e36@linux.intel.com> X-Cookie: You will triumph over your enemy. User-Agent: Mutt/1.10.1 (2018-07-13) Cc: oder_chiou@realtek.com, jack.yu@realtek.com, alsa-devel@alsa-project.org, lars@metafoo.de, lgirdwood@gmail.com, derek.fang@realtek.com, flove@realtek.com, shumingf@realtek.com, bard.liao@intel.com, pierre-louis.bossart@intel.com 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" --J2uG6jHjFLimDtBY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 08, 2021 at 09:26:10AM -0600, Pierre-Louis Bossart wrote: > > > + rt1316->rx_mask = rx_mask; > > > + rt1316->slots = slots; > > > + /* slot_width is not used since it's irrelevant for SoundWire */ > > I wouldn't expect to see any TDM stuff at all for SoundWire? I do see > > some crept through though :/ > We only use the mask information to let codecs/amplifiers know which > channels they need to pick in a stream. This is useful e.g. when we have two > (or more) amplifiers on the same link, and you want to tell amplifierA to > use ch0 and amplifierB to use ch1. ... > In most cases though all amplifiers on Intel-based solutions extract the > same information, and the output will be dynamically selected based on > kcontrol information. This is easier to use for e.g. orientation and posture > changes. Right, this was my expectation for how this would work - dynamic control at runtime so you can do stuff like that rather than a more static setup like slot assignment is normally.. --J2uG6jHjFLimDtBY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmAhelsACgkQJNaLcl1U h9Drkgf+IZlqP3iFcqju4pXleyZRjU0S9YMzJ6G4aIHG/QdrhwMQ8l2GuS3HBsdx Xt92mFMLbaRAeyzNn/RUjDqiWPsrkvxJgfUZFMi+bsCNbFyrJ9UY8yeXHkh01ipy 5KlOsCecjA/GXd0txJzPg9RnV9oiujloSal/aEWnFRsgdUqc+RPhkW7ctDJX6ypw eVHTTQjOebUUjQ77sxk6oTbySFt4le7qCOwFhQe7zA+vlgwBmTVJZBB6S4dLXvdU 9GE2ZoXj4m+dYPjTnpmZhl3yM7PHGt3X7lq8az+ML72sshJpYOlIX0HsHE0RoL69 Zyr4Iwttaw/xyyMFl7Obw7ivckkQ2w== =CyV9 -----END PGP SIGNATURE----- --J2uG6jHjFLimDtBY--