Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp789970pxb; Fri, 22 Apr 2022 11:11:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVetMRgKybxTrnhi2AcIRIkZU289pCoe/HxH/HAMw95WV2wDcL8vETVxmXnYVUhlyaymnk X-Received: by 2002:a17:90a:5904:b0:1d8:5752:12f5 with SMTP id k4-20020a17090a590400b001d8575212f5mr3932489pji.182.1650651072294; Fri, 22 Apr 2022 11:11:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650651072; cv=none; d=google.com; s=arc-20160816; b=tsQJwOEJlvAGwIZBRM5PHdsvtz8hnnpNz1WiR8+dDepW22FEu4IphDtMTiyZM68wbj /rRB55oRXQbz1BB5s0Oa4lMjLysJqIJu4Mdrtfi3oss2p1GE/DlrNNdyTgLEuj0lVs7j vh2fwCAioEwQvwr7Wvs1OSgGCH2cocXtno6EGIOfryPqfbdbB5su8pAaUGgSCnTEmsZ7 238Xobx67GDDgngbyWqXZU4Hu+F6R9Q88cIZxeqr0oJyev3Uoiv2S3AlxUa15HlKlIWL JWgwas6KVU6Z2lK2qmw5ztXEaicBa2h2ImdKtCyH5GKqxJu8d0oT1Ibx2pTRRq0KBypn qIcA== 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=5FSc1JwjoEHngyoNhHED2Cmy6Oec8yOqIKnTzXJwmhw=; b=KUP1YI5vIB3tBbULwKqpCygHKTW6jDgM3qYoLds2yooc6m0tNp0Oa8VQ7By/opkDgE UNPoUBP8mAuMhyTQAkRyyh635Gsl0iL/Yjz3AlqOXAe4ABNK/zpZLDPqs5zwUC2CGzyY FhlL9Sr2WOy8ezfEShZUNWrEFW/CYyiqIvbnd9EXhkLyLt4oob/kEMXLrkFFCi24KoBi DY/wcdoQVPnGzQOZA6LrdjwxxPdwVlBuyzjWgAak7/DeFBNSLR3AXrvqxN+EhqAsPZ7c i9YC2yvAZOrHZ+S0XzeLsYH4L83JeF3El2LlMNx7uZ+NEW94PMARO4sFRoM5rb0jQaRy EUJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=N4xc6sPb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y1-20020a170902b48100b00153b2d165e8si8523036plr.496.2022.04.22.11.11.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 11:11:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=N4xc6sPb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 614C2127A6C; Fri, 22 Apr 2022 10:47:24 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1447102AbiDVLgX (ORCPT + 99 others); Fri, 22 Apr 2022 07:36:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232054AbiDVLgW (ORCPT ); Fri, 22 Apr 2022 07:36:22 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CDD0F14; Fri, 22 Apr 2022 04:33:29 -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 BC77FB82C2E; Fri, 22 Apr 2022 11:33:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4348C385A4; Fri, 22 Apr 2022 11:33:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650627206; bh=3jfuEAzvI+fireVbhLAA89FI7cLlXG2gLVIt5mnBIg8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=N4xc6sPbo+yCUgMVCAfbmL9aaI0wq2uWC3lRyQp75hx9AB4KcChx7EvF3ADbYj3re gjC5jcLuiV0rrYIRHI2hV1QJ9RN7Wef3noIirHog3grPtVx9m2FkUUx9dP+R0qYwNV G6m1sInmZfIGXe5R3kzj6N0QL39ugPMBC63JxbP3xL0Zi5tcYr9i4g5MxxEInSG30o VR5rygxQY/QCxUbIAi/iZxSHWejn0IhHm1atF2cWDlA3JlK077bU5reZv/HUHaFLZM lOp9ohClb795LjV5CoLtPsIFEU/5EVPXXXFzitBgXBLis95T1yA32uKghxdnjcCuGH P1lrjqCWbiDTQ== Date: Fri, 22 Apr 2022 12:33:20 +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: <20220331000449.41062-1-povik+lin@cutebit.org> <6D199EAB-FE14-4030-96A7-2E0E89D25FAB@cutebit.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HUPCgzDyOfBhsa/5" Content-Disposition: inline In-Reply-To: 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 --HUPCgzDyOfBhsa/5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 22, 2022 at 01:28:20PM +0200, Martin Povi=C5=A1er wrote: > > On 22. 4. 2022, at 13:19, Mark Brown wrote: > > On Fri, Apr 22, 2022 at 12:43:30PM +0200, Martin Povi=C5=A1er wrote: > >> One final thought on the playback routing controls: On systems with >2 > >> speakers, the codecs need to be assigned slots through set_tdm_slot. > >> The macaudio driver RFCed here assigns a single slot to each speaker, > >> making the effect of each speaker's routing control this: =2E.. > > I don't quite grasp the difference between the arrangement you're > > proposing and assigning a single slot to each speaker? Possibly it's > > just a reordering of the slots? > Ah, maybe what=E2=80=99s missing is the fact that the way the speaker amp= drivers > are written, if they are assigned two slots with a call to set_tdm_slot, > the first slot is considered 'left' and the second is 'right'. > So in the arrangement I am proposing the 'Left', 'Right' and 'LeftRight' > values of the routing control have the nominal effect (within the left-ri= ght > speaker pair), while in the other arrangement it is as I described above. So previously each speaker would get two slots but now it just gets one? --HUPCgzDyOfBhsa/5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmJikn8ACgkQJNaLcl1U h9Apfwf9FyqYZwZ2D2ZxnG/lVxGl4cjqMmJe5FgwZCDKQPzM3Y9o4137S0U7kLTz QM1Jf+3LJgVkdvJN/Hj3GaJPazdeXB6mMQ5o3p28PEe/ASqNKJCa6Z1UcQ5zdcaZ D89JCKjmGPoHjNWiZCSRE6k7kXhtJO5MyXxNCgXAf5bk7352nedgPmg/4PapUL82 sEV/b496dYNV/EQ6HLGey/73P3cKc6w+urEcUQKaPcFlLWjK1J9ZP+TQuBdSxBNp MjkcoQoQSNrw0PJ/rQWd++JkLimYQDwFEkaNeLWmh+K/L3/vCdun88ZtIbdeM3NL VwJzyNbDoxmUu+IBEFgYIa+SP/YvUw== =k+NI -----END PGP SIGNATURE----- --HUPCgzDyOfBhsa/5--