Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp822914pxb; Fri, 22 Apr 2022 11:57:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9OOewsYPoCAPLn/iepLs33I2Gi3eN2gRbz77D5A7oYrWClNwbclG16WG963fVQo4zmcJW X-Received: by 2002:a63:2b94:0:b0:3aa:74e4:d9d with SMTP id r142-20020a632b94000000b003aa74e40d9dmr4955821pgr.91.1650653859214; Fri, 22 Apr 2022 11:57:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650653859; cv=none; d=google.com; s=arc-20160816; b=lceJ6r2kT0G0HFdw1sn22s5KuWIDBtoSHIILPrJKv4fegTxSm0Ir2znliqXep6TT2g nRYudlY69EggAKc39cSxTtu4SUdjIHrnepSH9NqdJ15XyBv4mFrZoo6I/pn7BLPNvXD5 byuJHWvOUAOkz3PmfcMgoE2taSjyfWyS5tIxgVjeZsqYz7rdaKOdiFI1o84PIaU0nQvC 91BmwQYHVokTbZHMPQBTztals1SuAIAMan6Obhdyml9+OVrEfTnBzh16JevaXiSb1IMp 7UPOS5FvbFCwqzX0wAvkL0Zn76InsuTsn/K4u3w+AxZBqvQmfP/B5wzP/NKB3V39QBzB PtmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=yvn65F1RUekw9Bx+/rsXxsBORIyg71mGGo2/blFoahg=; b=mCRvJe+iIbTr6cOETJKc8LhBAiTNeKu/EpgZ50cXaoiuyeVpngKbUMTfmJElcOcBYW UkRkjrITebXGyz3U6zQz/bLNhi+y7+mhjb0c28HGoltsXpBWuya3sOY9azUHg5Qitr/z i5rPaAb/irJWzuQBuinrkXgC/5JIO0TUS2Pz0VnUvhuQcp4WfV/Dn3qzQjY+l2RMDfm3 PnY7zravjRZYREWFrXOSZsMntar1KcOrTm9oMG2rEEgNE70/KPxF/UdKZhMAbsS5d0Lp OhxyDj04ZWeQzJfudGDf4a+RuegMTbEZAu172XTP+/ywbLlrO5+6zVdIIIKXM7FmTdve VPGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fyGk2Kye; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id n7-20020a170903110700b00153b2d164f9si10254995plh.257.2022.04.22.11.57.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 11:57:39 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fyGk2Kye; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 982C811029C; Fri, 22 Apr 2022 11:20:34 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1447624AbiDVMrd (ORCPT + 99 others); Fri, 22 Apr 2022 08:47:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231286AbiDVMrc (ORCPT ); Fri, 22 Apr 2022 08:47:32 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87B7657157; Fri, 22 Apr 2022 05:44:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 36EBDB82CC4; Fri, 22 Apr 2022 12:44:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30F28C385A4; Fri, 22 Apr 2022 12:44:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650631476; bh=ki0hTvuIJuDOgNjUVtZYJlOKFfmg1R+HALk0WgFLZEU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fyGk2KyeZy2x5vXffR3TGv5cq1NK8+zSo4tmCE5iiXndE9vjI9+Pu0+s/6CxHKEWW TWUQcrX+95VluIByopjc9Q+yB2RC4cHbq0cIxmihcNLn+x7b5VK0wQ24/L6yxiiac9 TlLmGQOT4LcY8Y3oFDjHpgWdTJzMQb7KPDcP45lbD4XRlvAlFz+Z0FpbL2lo3fK49+ UG8+A0WR8SmOHRe+UfvNm2CriW3HrIbPGBU2/dc7N7OID0ZXOcnAC1D6OKv3YLOnKI PpDqDpHtrLxs6X+hHGUPsWnVxj+p1QrBFS7DmPJgHcA2sZqlKiQ1O/+p5K0+M//BHz 4/FXX9H+IAgAA== Date: Fri, 22 Apr 2022 13:44:31 +0100 From: Mark Brown To: Martin =?utf-8?Q?Povi=C5=A1er?= Cc: Martin =?utf-8?Q?Povi=C5=A1er?= , Liam Girdwood , Rob Herring , Krzysztof Kozlowski , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Kettenis , Hector Martin , Sven Peter Subject: Re: [RFC PATCH 0/5] Apple Macs machine-level ASoC driver Message-ID: References: <6D199EAB-FE14-4030-96A7-2E0E89D25FAB@cutebit.org> <6F6130F3-381C-4AB7-B618-CDC4C4A37C9B@cutebit.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bYTaVvKVekkp0dWZ" Content-Disposition: inline In-Reply-To: <6F6130F3-381C-4AB7-B618-CDC4C4A37C9B@cutebit.org> X-Cookie: Whoever dies with the most toys wins. X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --bYTaVvKVekkp0dWZ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 22, 2022 at 02:36:03PM +0200, Martin Povi=C5=A1er wrote: > > Ah, I think the confusion here is that I'm using slot and channel > > interchangably whereas you're saying that previously the driver would > > allocate two channels to each speaker with duplicate data? > I guess you could say that. Not that there=E2=80=99s duplicate data on th= e I2S > bus, but the speaker amp would previously be configured to look for the > left and right channel in the same TDM slot (see e.g. set_tdm_slot of > tas2770 [0]). (Each speaker amp drives a single speaker, but it still > has a notion of left and right channel.) Oh, I see - the speaker actually allows configuration of the slots independently. Usually the left/right thing on mono devices only does something for I2S where the bus clocking enforces that there be both left and right channels. Either configuration is fine by me TBH, if you can do that then you could just keep them mapped to the same channel then mark the control as disabled since it should have no effect. --bYTaVvKVekkp0dWZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmJioy4ACgkQJNaLcl1U h9Df+Af7BVfaaDh84vZFovAdNIOaGWSK6YJTe1gp55f0uHtkMsLtSZuiAujBSQ/w Nno/WtvJKhmcmW+4PXZQHALD/lEFCeFewb610xzQwZ138ywneO+HwyJs6LpywmeP sWrCS5aTOh7233H4pw36L5e6MQUwZ12NPZwoIDvsExmKxBf9IV5/SQGB4w3eotB3 XI0J0eUs4lt10VFnPpIsWEBdHZMrXE7mGA17k/BK+lTcyzKzgxNnEjvLjKeeXQ8D m/v6feP2laYn4Ii1P//pjhlGJrjOasW1ufDOP85HhaJeREav2IqxrIg+3fr0n2+D +J/U8+Gq0HAZBz2k2kyCOyDBpBCbuA== =/wjL -----END PGP SIGNATURE----- --bYTaVvKVekkp0dWZ--