From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B50EC433F5 for ; Fri, 5 Nov 2021 04:13:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D65B661207 for ; Fri, 5 Nov 2021 04:13:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D65B661207 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Date:CC:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kfOpFUlfXbIktnksHxY8eBq3+YjV3Q1AttwbYCUNIXY=; b=1TbWmhQJCzHgEx Xs6TpTussrpgcSH3qnl3tXT+22K8hXdja7haGU3I0eio8jUST2624Im7Bn8sZaxi3hUylrSdZMneR fqsW7fwuP7iEGeUAQtnWWkhG+YXgrOB8XJ4RLNNDMmUT9ixUO1Ckc7v1iS03YjG+EwBybMXUbGYZd 1gzY/0ICj+j5ZF2lnalFZQdKBPtyBrV++FwVK3kssBriQzbjQR4WPV0HEKTV+jx2/17x+yD6yvvXO I025SDsO91CltMGPVMnqsnXjcUdTh8J9lm3+bamv0cmg4+qK43GRzus9tTXmE97bhxPx5Ok/IkX+l /nmgvP+zQDydlyqX/Law==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1miqaO-00AYxq-C8; Fri, 05 Nov 2021 04:12:16 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1miqaI-00AYvO-OC; Fri, 05 Nov 2021 04:12:13 +0000 X-UUID: bc17709e0bd14bc9bcb20d785e60e043-20211104 X-UUID: bc17709e0bd14bc9bcb20d785e60e043-20211104 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 868305624; Thu, 04 Nov 2021 21:12:05 -0700 Received: from mtkexhb02.mediatek.inc (172.21.101.103) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 4 Nov 2021 21:12:03 -0700 Received: from mtkmbs10n1.mediatek.inc (172.21.101.34) by mtkexhb02.mediatek.inc (172.21.101.103) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 5 Nov 2021 12:11:55 +0800 Received: from mtksdccf07 (172.21.84.99) by mtkmbs10n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Fri, 5 Nov 2021 12:11:55 +0800 Message-ID: Subject: Re: [PATCH 3/4] ASoC: mediatek: mt8195: separate the common code from machine driver From: Trevor Wu To: Mark Brown CC: , , , , , , , , , Date: Fri, 5 Nov 2021 12:11:55 +0800 In-Reply-To: References: <20211103100040.11933-1-trevor.wu@mediatek.com> <20211103100040.11933-4-trevor.wu@mediatek.com> X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211104_211210_831342_F00D86EC X-CRM114-Status: GOOD ( 15.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 2021-11-04 at 15:39 +0000, Mark Brown wrote: > On Wed, Nov 03, 2021 at 06:00:39PM +0800, Trevor Wu wrote: > > Because we will add DSP support, an new machine driver for the same > > board is required. BE and codec configuration will use the same > > code > > when machine driver is designed for the same board. > > I don't follow why the DSP support requires a new driver? Shouldn't > all > systems with the DSP present be using it? We need to keep the solution without DSP, so we can replace DSP solution with non-DSP when it's required. But when we introduce SOF for DSP control, there will be more routes in machine driver and device tree usage is different from the original. So it's hard to share the same driver for these two solutions. Thanks, Trevor > _______________________________________________ > Linux-mediatek mailing list > Linux-mediatek@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-mediatek _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel