Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1738485imu; Thu, 10 Jan 2019 02:06:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN5jW9H5de1KAB8jiQ3icEwpPsFELGmDqo/ek7PFKmv84xCeDo3zz2SUmmXC6AXXyzTA0rLQ X-Received: by 2002:a17:902:e20b:: with SMTP id ce11mr9398319plb.251.1547114810423; Thu, 10 Jan 2019 02:06:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547114810; cv=none; d=google.com; s=arc-20160816; b=jrdySLgbSNhEMYdLrjIWMuGdZRMKgc/fhwHc/nEXTZYDa+qOBLe//8Mj8VfXJ2c6bp DE9IwBIZJbhJI9STn4QZiVGzgvp2PohP5LtaeOR1oNU2IQBYDv2csPR3tctNoxyKbBh+ 3gHagbREVp4Epnfez+wEkg+vX9FPX+pjo9i+uSHhK2ePFUVEkBkK7vcOXFhs6O8ImQp1 L5ddrq8YorxlOwi9IM6QTk+CZsCzIUG8zH4u0gKb2IheM/N1Pm8pCW88t9zGJNKz+ozS /6V9Rr3+YnOZggxbAzt78/c2tj356eKz8qPVEIcmJUAEhvGMbEx91XD9w+XspUse3UJ6 HyAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id; bh=CR8OFyHAU4Q8mzy4ykXVi6EoqdWaSTv9Vobu4n4LKV8=; b=ykIpqEBTaZlxCLXU9tuZleDc0xP1Zy3p2bk2qJ1VnqPRgWh6WSXkKUAiw5Whkq5Ebj 9LdPaqpaRiboB71W5DPmFMkg0obuMlsUthUgQYEQgWqW8Y3jjHfytHgUqbc1Dcr8ZaPi QuLGoyvJNtAYtpcnXXyFQJHAhREpopKwjP0mF1tYcFJ0jmdXYbmYyHyGkm6gJ9q0HfJx cd2aCtVKkwS/ZWtyZ5c8EtwQMqKCyYQgtb+9f+MYEpZbdYcalNECkw0JEBiZgvG06IjK Z4CPILAY9SHHc4KT83W1ePdPYB6K56vaXYOytij+64lF7SbyxGFQqXAvDfO0KvEbRZOz BEhg== ARC-Authentication-Results: i=1; mx.google.com; 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 z38si5378679pga.193.2019.01.10.02.06.33; Thu, 10 Jan 2019 02:06:50 -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; 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 S1727697AbfAJIue (ORCPT + 99 others); Thu, 10 Jan 2019 03:50:34 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:56657 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727372AbfAJIue (ORCPT ); Thu, 10 Jan 2019 03:50:34 -0500 X-UUID: 70060d12bb194ef7b0aeb2f78d44d92e-20190110 X-UUID: 70060d12bb194ef7b0aeb2f78d44d92e-20190110 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1420587663; Thu, 10 Jan 2019 16:50:28 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by mtkmbs03n2.mediatek.inc (172.21.101.182) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 10 Jan 2019 16:50:26 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 10 Jan 2019 16:50:25 +0800 Message-ID: <1547110225.3831.24.camel@mhfsdcap03> Subject: Re: [PATCH v9 1/2] dmaengine: 8250_mtk_dma: add MediaTek uart DMA support From: Long Cheng To: Randy Dunlap CC: Nicolas Boichat , Vinod Koul , Rob Herring , Mark Rutland , Ryder Lee , Sean Wang , Matthias Brugger , Dan Williams , Greg Kroah-Hartman , Jiri Slaby , Sean Wang , , , linux-arm Mailing List , , lkml , , , Yingjoe Chen , "YT Shen" , Zhenbao Liu Date: Thu, 10 Jan 2019 16:50:25 +0800 In-Reply-To: References: <1546395178-8880-1-git-send-email-long.cheng@mediatek.com> <1546395178-8880-2-git-send-email-long.cheng@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-TM-SNTS-SMTP: C0E1301CD85C79D6C4D6D9D004E32AB58BE59366EFE59482B05044DE530829012000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2019-01-02 at 18:03 -0800, Randy Dunlap wrote: > Hi, > > While you are making changes, here are a few more: > hi OK, thanks for your comments. > > On 1/2/19 5:39 PM, Nicolas Boichat wrote: > > diff --git a/drivers/dma/mediatek/Kconfig b/drivers/dma/mediatek/Kconfig > > index 27bac0b..1a523c87 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 use DMA, > > When > > > + you can enable the config. the DMA engine can only be used > > The > > > + with MediaTek SoCs. > > + > above, i will modify. > Also, use tabs to indent instead of spaces. > The lines (tristate, depends, select, and help) should be indented with one tab. > The help text lines should be indented with one tab + 2 spaces. > in my patch, i already do this. So don't need modify. > > config MTK_HSDMA > > tristate "MediaTek High-Speed DMA controller support" > > depends on ARCH_MEDIATEK || COMPILE_TEST > > > thanks,