Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp903651pxb; Fri, 22 Apr 2022 13:55:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytHr4Ns/G2LW2YK9+ym0xWUXWcdkgxEeFO3WrAguK5mkwPwa1KsHWivFWNrDT2hIJ7Yyzt X-Received: by 2002:a17:90a:7c04:b0:1d7:d7e6:2916 with SMTP id v4-20020a17090a7c0400b001d7d7e62916mr6552482pjf.25.1650660941433; Fri, 22 Apr 2022 13:55:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650660941; cv=none; d=google.com; s=arc-20160816; b=hP3CS+NWL6syHg3zD3az2ohJ6zuwIRgRZv6HpPBem85PFqMr+slmsPIecozGzZzKgo BN//BRgJXb+CiBA3o0p8kXZpjSg3kWiyIoZfzSltPFVbP8NrvxWE9x0ZusR8eQNRCkwm kR4zCMpveur7OzzS7A8M4kewvT2TswjvAMUg7Nmfv7t1GB7eGDUFVOW10NC7Tix0uIV6 3mRkX1TW+IMMJOmV5CsY+guH/6nLMVsaiVrLKSYW7avWUPqnoVagPmO9EGbwYnkbalUJ hPDs9J3dsijyLK3Bl4IUu7TZKp6uDp8tdReG9UXc11upppf/tWF3J0XsLP8VFSJh3Qbr qrhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=Rr2b05NP3wGMyQRhBvV1IUry/zX4H2Dk7P7NRyvj4Tc=; b=M44eO5iSHXbJ2QlBRt7/tHLI/EX2g1M54MAd1krA7KL/v27/NbavurhFKnN5DCm9D6 +4YjP99qfay358xYR1A+N7Gn/6XWceHlmY7En6CwGkb0AQAD7MCq8IGRCc8xQVzEI6Ct boSxQK/9lo4Vi+rNGn2SUy+4q5ocnmy3nyY9z93E4afvf2IkDj5nMZOQSNeRHFI6YEsw enE41ZomYy5kWj76OtBoXyS0faJK5RzMYxiWF6GYIaKgxOSqauLH/jT05c1ptNWTXjcs T8BTyPI0OtryED52Fq5Fm0DHl1F+VpdF/B75fYOschSyinh0tvrV1E/MmFf5RMZgIVg1 BH5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cutebit.org header.s=mail header.b=S2seNKR6; 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=cutebit.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id a21-20020a630b55000000b003a2e4a3b2d3si9435317pgl.163.2022.04.22.13.55.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 13:55:41 -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=@cutebit.org header.s=mail header.b=S2seNKR6; 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=cutebit.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B77E032038D; Fri, 22 Apr 2022 12:51:00 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234036AbiDVM5m (ORCPT + 99 others); Fri, 22 Apr 2022 08:57:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233872AbiDVM4w (ORCPT ); Fri, 22 Apr 2022 08:56:52 -0400 Received: from hutie.ust.cz (hutie.ust.cz [185.8.165.127]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D72B52B00; Fri, 22 Apr 2022 05:53:58 -0700 (PDT) Content-Type: text/plain; charset=utf-8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cutebit.org; s=mail; t=1650632035; bh=Rr2b05NP3wGMyQRhBvV1IUry/zX4H2Dk7P7NRyvj4Tc=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=S2seNKR6yDu5lByMYBXtbttAJdb1b0jPUip8DgWFAkRfkxD3ictQ41YsHmflWx7Jt ZD8Gqu1wZkLj4wbBUECqLWYLgwPXkly6M/+vFY+k4B81Erg0Fdt7CREtFGbIoACJlI LHvoYzn8dmLlHQFq0Wf1Gr97+ZrFIpCXzoHBcxCs= Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: Re: [RFC PATCH 0/5] Apple Macs machine-level ASoC driver From: =?utf-8?Q?Martin_Povi=C5=A1er?= In-Reply-To: Date: Fri, 22 Apr 2022 14:53:54 +0200 Cc: =?utf-8?Q?Martin_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 Content-Transfer-Encoding: quoted-printable Message-Id: <3CD969AD-7316-4D83-AD92-CC85ED817125@cutebit.org> References: <6D199EAB-FE14-4030-96A7-2E0E89D25FAB@cutebit.org> <6F6130F3-381C-4AB7-B618-CDC4C4A37C9B@cutebit.org> To: Mark Brown X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no 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 > On 22. 4. 2022, at 14:44, Mark Brown wrote: >=20 > On Fri, Apr 22, 2022 at 02:36:03PM +0200, Martin Povi=C5=A1er wrote: >=20 >>> 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? >=20 >> I guess you could say that. Not that there=E2=80=99s duplicate data = on the 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.) >=20 > 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. Well but is there some established way to mark a control as disabled? Another issue here is that if I disable it I can=E2=80=99t leave the = routing control in it=E2=80=99s default value, which is =E2=80=98I2C Offset=E2=80=99= and makes the speaker amp ignore the slot mapping.