Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp98321pxh; Thu, 7 Apr 2022 15:13:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3rx0yE/CWQh7VjKefn1PhO9nXtLbqfip4tSRY5j6MFJXS4twbNjk4AsRdhFSNvuDJqbCJ X-Received: by 2002:a17:90a:7841:b0:1c7:e8ad:ea25 with SMTP id y1-20020a17090a784100b001c7e8adea25mr18269850pjl.25.1649369596234; Thu, 07 Apr 2022 15:13:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649369596; cv=none; d=google.com; s=arc-20160816; b=hTPT3lA5JMsstm5kk8psJCKFqtauqNMs/KgMBPZmSx3wHveL59zO8JNfW50+Hthmld QxA1yRZi9Ud72XQFhYzEdo6ZN5ReBK5AZcyDJyFTIRgfJ2ThW+QSTkXK7EdB3Upn2Av0 mPBcZ8PaSpwoQRcogvnGTBSa0ItQnOcJS1bJucq7D9TYVuijHAzt4sRLw9GaiyGByvHy F2T8S1l/ycLCiIrA29kGSqILieD3GRbLoQC8Opg/C47IkvAIjrtEQjvCLvglMpVXxK8A gqfNUuNNLb8L2H1ynInoiT0GsNNScuJ/uhq0BqRXzOdKw2sw7ccvNhWO/USzlafRve1d zr1Q== 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=zFqy7dum42Jlku3esNMJT6RUqjxmyE80CTZuDcYGTd0=; b=Z1Le4v7qn2uSAF0VUyho40VblEqkLA/iomACPG/epug9ZtUUCld5qzWwof9snweFuW mLL8OrdFvRXCnrY6It6TJY303nOfJQGVAjhY8mODY6MbhQvX/gkZ88541PIC/v+SFo7L DRQOkwIsYNl5lJv+ScanlKZo8Fjxt1sjTWmNxxOl4ppN88ItF7kp/l9UQGMU9I89Gcj3 +9Vwyv8AYSC7WprEDEXkWV27dQM4bmMC5IJ+b6ySYpz43W/3YSbHOXRqDHkdjoOKNBDw xXepuUzZce4tsfDD9TFGPGfbGDMG6jj5svVvyi8ErQQ1i3KPF61OESqOGRC/v63ldTwS Tj+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=eXzCjkye; 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 c4-20020a170902d90400b00153b2d16568si748437plz.368.2022.04.07.15.13.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 15:13:16 -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=eXzCjkye; 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 573C332981; Thu, 7 Apr 2022 14:33:25 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231639AbiDGVfS (ORCPT + 99 others); Thu, 7 Apr 2022 17:35:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231734AbiDGVfP (ORCPT ); Thu, 7 Apr 2022 17:35:15 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42ADA1AFE82; Thu, 7 Apr 2022 14:33:09 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: nfraprado) with ESMTPSA id 1897E1F40E5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1649367188; bh=8GlPAfGYieXFDHwj1kt1VOOH/7K8TRIq3Qg/GHUoxL8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eXzCjkyebsDGZC5jw5o2VqSrkIcfotEzXyaJCHcVoCGm6aDc0rqbcBeP4iC4zg1/m wbUx23L7T2YosToMSLzQgzClQ+mXQg+W+JLPDH7mPSMgN/P4qJCFIthSChXS4wnP4s D4+1x90dWcwtI6ORq3fxvMaM9IExI521e5gY4OKJg25pDlPVzS3kkM1J/9VC4bMaiP 4LulHZB/vFJZgfD3l/Ec6wty6zzmWN+Tr5xPeiIBU2UeRM40DMdGtsZNnIGIczQofL IFI4+OKOhF6pRIn53GMM0Lulrx7nsQTJE5vTgdFizl9dubBZKWFPWqbqRN+qznSJA/ dFD97YB0WAKHg== Date: Thu, 7 Apr 2022 17:33:01 -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 3/4] ASoC: mediatek: mt8192: refactor for I2S8/I2S9 DAI links of headset Message-ID: <20220407213301.wsm5qvtxgtkehj27@notapiano> References: <20220406100514.11269-1-jiaxin.yu@mediatek.com> <20220406100514.11269-4-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-4-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:13PM +0800, Jiaxin Yu wrote: > MT8192 platform use rt5682 codec, so through the snd_soc_of_get_dai_link_codecs() > to complete the configuration of I2S8/I2S9 dai_link's codecs. Likewise, suggestion for the commit message: As part of the refactoring to allow the same machine driver to be used for the rt1015(p) and rt5682(s) codecs on the MT8192 platform, parse the rt5682(s) codec from the headset-codec property in the devicetree and wire it to the I2S8 and I2S9 backends. > > 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