Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp111780pxh; Thu, 7 Apr 2022 15:39:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcKFz9m1h6o9gt5mP3MnqApncLbo7AkbVxU9DB32Rr16MJZs5x9YQZllCr93lNKglhxxpt X-Received: by 2002:a17:902:7684:b0:156:25b3:ef6b with SMTP id m4-20020a170902768400b0015625b3ef6bmr16087751pll.39.1649371158776; Thu, 07 Apr 2022 15:39:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649371158; cv=none; d=google.com; s=arc-20160816; b=zqJv3vXBHwhMzB+IQRGGvD1UwLrpWEutUHUb5F4l3Ape7HHzNJMjXIIowSIOr1l78E loz/AA0lsS2D5G8Qy7uv+Rb2Um9C+0OW5SxeD6dGm+In67qfv2Ahhfdxd80oqrLNrlAc cKIY2u+qd/5RGyOr02VhNh7bJMCJ0L7VlsMYMiailD7C5vX5JACw+JGK/UflaKGnuwz+ GdOnsZpoBCBZ057RvHXldN87t41yfu90uKqq20pivh67EwcYMuCjQbGMP+chgnlUSR/w Az5F2zT3yqHqqp8UxoPVt3cz0JJyUn6GJ8r4mjeStB31Mv3HrJ1S0Dj6mX/Fk+CWBCz9 mQOw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qLiSmj7eWklfHGx9SM7JE4ya8c/QHmWwPT9EiDWsRiU=; b=gCNZ25dYL1TEj6xCDvDy/Of0GoTLxy4KG2K5f2Xqxd1LbksHeiX8LnWhF6JXRbqBir ybj2DXwKM224RWa3UcEEc/WD1bsc4NJDhyFkN4m8XoMkLxpgKbi1XMlKa5fpFgU52X5z auLgKaV61TCdVzKzpViC8ctqIxBJf0b1zaa/8MQzkhyO4PlaDsZMR2/qROKf3BVtgGnM ylMwuPrAJFAJs+lAYzTmRxb2ynVuA5R7R5o9vvHsN+4BD3Smh4Hq9IV6HevceQft6atY AVUEdLz2kvJ2jqxQ7HQphVwPBOvREORHQKwRx7tW2oAiWYflcIyIrhWINt3VdAAu2MI0 yORw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="fvM/2hwl"; 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=collabora.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id h12-20020a63c00c000000b003816043ef0fsi20763484pgg.260.2022.04.07.15.39.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 15:39:18 -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=@collabora.com header.s=mail header.b="fvM/2hwl"; 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=collabora.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C423E2EC502; Thu, 7 Apr 2022 15:09:45 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232002AbiDGWLj (ORCPT + 99 others); Thu, 7 Apr 2022 18:11:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232050AbiDGWKt (ORCPT ); Thu, 7 Apr 2022 18:10:49 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D25829AE03; Thu, 7 Apr 2022 15:03:40 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: nfraprado) with ESMTPSA id 965F41F41F77 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1649369018; bh=7REwnRCWL+X+/erOVACD0vx8O/QM9s4GDT9qZ654vt4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fvM/2hwlOx04mVlDKKzyF4XI6AmYyyNtmpW5+LxeIgJOFPind/vscDXxG1ZUJcckX yhppYDiGwrNHaK2i+k+q1+Y7mUOBHPi7+tabnHQtgo3eaaWr2zGISidJfpleXo3XK8 EUPUvNFoyelpDOLXbHz0nJfjw3we9J3Nx5WAmA5590UEOAHozbz34rWcKtof5A3Vi5 BjNU1oTfFgv0lHK4CNQq16YAnOmmoTEsZqK/B79nWawlc1V5QR/7OxFkoZ/NlFYoWE Bn1R2mZ7u9w4aMGepLglH0twlvSnhdL6+uQKkmFhhYv1jP7BKcV/gt7WJUuCdpprvc wE60jue281WFQ== Date: Thu, 7 Apr 2022 18:03:33 -0400 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: Jiaxin Yu Cc: broonie@kernel.org, robh+dt@kernel.org, tzungbi@google.com, angelogioacchino.delregno@collabora.com, aaronyu@google.com, matthias.bgg@gmail.com, trevor.wu@mediatek.com, linmq006@gmail.com, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Project_Global_Chrome_Upstream_Group@mediatek.com, Tzung-Bi Shih Subject: Re: [v9 4/4] ASoC: mediatek: mt8192: support rt1015p_rt5682s Message-ID: <20220407220333.v4enuv3mqzyrawkb@notapiano> References: <20220406100514.11269-1-jiaxin.yu@mediatek.com> <20220406100514.11269-5-jiaxin.yu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220406100514.11269-5-jiaxin.yu@mediatek.com> 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,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY,URIBL_BLOCKED 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 Hi Jiaxin, On Wed, Apr 06, 2022 at 06:05:14PM +0800, Jiaxin Yu wrote: > To support machine that only choose one of the rt5682s and rt5682 as > headset codec, adds new compatible string "mt8192_mt6359_rt1015p_rt5682s". > Meanwhile, using macros to simplifies card name and compatible name. That first sentence is particularly confusing to me. Suggestion for the commit message: Add support for using the rt5682s codec together with rt1015p on mt8192-mt6359 machines. All configurations are shared with the rt5682 codec variant, so simply select the SND_SOC_RT5682S config to ensure the codec is present and set the correct card name. The codec will be linked to by pointing to it in the headset-codec property in the devicetree. While at it, also create macros for the names of the different codec variants supported by this driver, as well as rename occurrences of rt1015p_rt5682 to rt1015p_rt5682x, since they are shared between rt5682 and rt5682s. > > Signed-off-by: Jiaxin Yu > Reviewed-by: Tzung-Bi Shih Reviewed-by: N?colas F. R. A. Prado Tested-by: N?colas F. R. A. Prado Thanks, N?colas