Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4623410imu; Tue, 18 Dec 2018 19:31:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/UTLG22JSu8S2crttSJUKCMrrl4KGn5is1LAe+8GO/wmjKryZVmKuCuCgsqrlvY/7fEfS81 X-Received: by 2002:a62:1f9d:: with SMTP id l29mr18997982pfj.14.1545190307061; Tue, 18 Dec 2018 19:31:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545190307; cv=none; d=google.com; s=arc-20160816; b=OFfUR4kmPCSKm+9p/ryT4XoMuybdCn0+H2tAdaAaTqNtiYLtHRNR4F/bNe3xXm+urp n9+DTdO0rOtxGHgiBKJF8VD4+dnZdDHomL9izUXDyNoeTX7aR1whfF2HO0JMZU9CRHsJ Y9P+HgVxxDmjAPoHHf/DXtsmi7HnykVcc2EVSLQIceChpSsc0IG6DFoxnH3acrPq/th5 dRKhL8xjLL38AHQNBhhfQYPSoj2a3Uk8UXfxEiJqifUsfkq58L95K9M20JMh4Sz2FWCw 0GhXkudc75T3lVxC4TMO8RdYXRwTrCGCQtcCvsatWlK6ScMEVDZu7EY7cL0QDq4Ae5AD lnrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=5peKips6igA2cfm29XGmOjqLZ3etZ1w6zwOuOvsb2NU=; b=WGDmzv9SuaSwbKF2m7sN4j4ixbxBQwbQHvf18QO4vAOM7wfSP6pRTQbedPeLcYCI+l xNyV8OhTYKJYXJVlShrC/RF0QesR2wkWuNK5RwDXVlJJ7LQHWZS7Dm8pBrfSmszjsONi GkGoxhFSqqQPRtyaIHcFeEVPmZhfUTCRYMmNVH1wC8EIvsfmtBIjQ8hQvmRyGQQtmr6C IXEM/C4kS+aoCw6qqg+4I/BrhClZBzfmmqAxz6ib1r67476x3EjO+4/WyvrmCxS/4unY jjk4gR72huYaCUKPyQ8wj98y+23rm6UewSkChaizpT8YcETxLi02a1BPD9WY7s+xHJ67 oCCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=sqpQLKJ2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h5si14435706pgc.237.2018.12.18.19.31.31; Tue, 18 Dec 2018 19:31:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=sqpQLKJ2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727577AbeLSDMu (ORCPT + 99 others); Tue, 18 Dec 2018 22:12:50 -0500 Received: from merlin.infradead.org ([205.233.59.134]:45484 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726706AbeLSDMu (ORCPT ); Tue, 18 Dec 2018 22:12:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=5peKips6igA2cfm29XGmOjqLZ3etZ1w6zwOuOvsb2NU=; b=sqpQLKJ2SfYIAdeKqTlaxGhmC1 KT8NP27uIudDC1Ffb2WdjJcfDsqkkoo/2CDdy19k4tAIADG36fRGfdfrtjU2BXO8nXqbtn1KJDuqZ BFLgQcqSOUpaN6QEYeyQgk3pSxEDkhCfQ/4jlmhlpbmWOSjld6QcBP7yqOz3Nki5twe5S4ihqH7PG quwFScF1YzjPwje4XBnESf33nquSgQxqX3V/57KqXaAq0dM7nUuMdfrgDv9OENTnvg+lkh5pzdh7o MkI4ZSbo/B6VvEpXtvfG9F2SKqXyaw1W4KLG6DsslepiFpoO3VSJR9k2K31GSgEGMSG68N+nZShK5 N4glaxQQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZSHo-0004s5-LB; Wed, 19 Dec 2018 03:12:40 +0000 Subject: Re: [PATCH v6 1/2] dmaengine: 8250_mtk_dma: add MediaTek uart DMA support To: Long Cheng , Vinod Koul , Rob Herring , Mark Rutland , Ryder Lee Cc: Matthias Brugger , Dan Williams , Greg Kroah-Hartman , Jiri Slaby , Sean Wang , Sean Wang , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, srv_heupstream@mediatek.com, Yingjoe Chen , YT Shen References: <1545186022-3712-1-git-send-email-long.cheng@mediatek.com> <1545186022-3712-2-git-send-email-long.cheng@mediatek.com> From: Randy Dunlap Message-ID: <46c746fc-b400-ec6e-d6b1-899c3d594b19@infradead.org> Date: Tue, 18 Dec 2018 19:12:33 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <1545186022-3712-2-git-send-email-long.cheng@mediatek.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, A few small corrections... On 12/18/18 6:20 PM, Long Cheng wrote: > diff --git a/drivers/dma/mediatek/Kconfig b/drivers/dma/mediatek/Kconfig > index 27bac0b..2c082c9 100644 > --- a/drivers/dma/mediatek/Kconfig > +++ b/drivers/dma/mediatek/Kconfig > @@ -1,4 +1,15 @@ > > +config DMA_MTK_UART > + tristate "MediaTek SoCs APDMA support for UART" > + depends on OF && SERIAL_8250_MT6577 > + select DMA_ENGINE > + select DMA_VIRTUAL_CHANNELS > + help > + Support for the UART DMA engine found on MediaTek MTK SoCs. > + when SERIAL_8250_MT6577 is enabled, and if you want to using DMA, When to use DMA, > + you can enable the config. the DMA engine just only be used The DMA engine can only be used > + with MediaTek SoCs. > + cheers, -- ~Randy