Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp349789imu; Wed, 2 Jan 2019 21:59:00 -0800 (PST) X-Google-Smtp-Source: ALg8bN6c2hrRvxYJWpDTBduHNSVr1THV+/e+5UKmcLgT2gZKupxhFJasfZ/WUdVu0jInzsN5+Ajj X-Received: by 2002:a63:9b11:: with SMTP id r17mr16063324pgd.416.1546495140395; Wed, 02 Jan 2019 21:59:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546495140; cv=none; d=google.com; s=arc-20160816; b=MUP9m+WHZtbw7w9kFZlzTtlsQJnaHW2DJqA4hD17eewkSWesKoHlxZ4B8FHhC/bGIC IobYKp4GOwCdJgPVr1UZ2uqc5tclEHjrpme+nwLZdIHdTYQyDqaeY5v100Zy2dVioiZy d/hs6u3rhknj1pPwDm97adr5WeGnOj4MtRFuMctq2EOhIUIkTOFlOSsbk+LUk8/qnTAf 6H4WHBr2esOwjBEfOppx2D3Ii2pmuZTrs2ruGqpmrDIKBulWYgkMQEQoNKY9MeSwIhYt 0eKGRHsq3ypVUX2LZDocXl9ZJcua8Aac1p4XODciTG/Ez3vMwh5DWln+Xrw6XS645DOI MTQg== 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=pqQWrvO6W4SvJzCp4HQ3+nkhlD0A1cnT15/FyplshiU=; b=k720y3XxNV/gxe0+mjpEigxseg3SrUtSoNb6TOe/r+KZci587rER/nMF7UNUbYghqw vIys3CfhJRl7LkmWw5EqSCrOPS4ZED6n5PQ7YfuVxIMGzUwtf61u7QRxdMjQM6SleHef lb1dL0BAyoWj716Tah1lhhoDR67SzjxI1r7v9tuG2xRoXU7USpsqiYh40c4NKq+6xn5U c+gFitzB0xfQMjfDj5qSRhaDdkcN++UUUHqcl7HOcpnlIGEqk+kupU9w3yRV0LVfB/o0 JjTfVpdjY1CgJPnDsdo3DLRxWB2cKlDahKzJOyurble0cKcxhhYgfs4+dLl6F6JiXVoT WimQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=iK277fTr; 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 h70si4806304pge.221.2019.01.02.21.58.31; Wed, 02 Jan 2019 21:59:00 -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=iK277fTr; 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 S1727305AbfACCDx (ORCPT + 99 others); Wed, 2 Jan 2019 21:03:53 -0500 Received: from merlin.infradead.org ([205.233.59.134]:37424 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726146AbfACCDw (ORCPT ); Wed, 2 Jan 2019 21:03:52 -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=pqQWrvO6W4SvJzCp4HQ3+nkhlD0A1cnT15/FyplshiU=; b=iK277fTrtaN5TFe5rTft0cPfFi L0QyMuNnx3mAvQHDUdzhBFwAiwzLue/g3AwJY3moB9inQv8+/GVCjHkr7GFMCPa4tGGRfr++VwdMl YtvqooM40o7p2ppbP8fYeKmK5u3Z9tCERIin/jLKRbcaUaS93qfEpnwgIdpcTtLap37kBPBBB9WJi mbGUVtzUUjPpykO7cPpFGsbxpDebL/OmFvVkhYxEKwKbDY9Mb988ELTXSQSMFBuRY/4PUJjaVQ24c cxYVFTcez0bTtmqYaIyUbf+iaLSRQqjT7el5jFh3hG2GqMX81mcGiJR8xlxCnmkGMFMvby0jeruZd nRMRYNYA==; 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 1gesMI-0005Ay-Nq; Thu, 03 Jan 2019 02:03:43 +0000 Subject: Re: [PATCH v9 1/2] dmaengine: 8250_mtk_dma: add MediaTek uart DMA support To: Nicolas Boichat , Long Cheng Cc: Vinod Koul , Rob Herring , Mark Rutland , Ryder Lee , Sean Wang , Matthias Brugger , Dan Williams , Greg Kroah-Hartman , Jiri Slaby , Sean Wang , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-arm Mailing List , linux-mediatek@lists.infradead.org, lkml , linux-serial@vger.kernel.org, srv_heupstream@mediatek.com, Yingjoe Chen , YT Shen , Zhenbao Liu References: <1546395178-8880-1-git-send-email-long.cheng@mediatek.com> <1546395178-8880-2-git-send-email-long.cheng@mediatek.com> From: Randy Dunlap Message-ID: Date: Wed, 2 Jan 2019 18:03:32 -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: 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, While you are making changes, here are a few more: 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. > + 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. > config MTK_HSDMA > tristate "MediaTek High-Speed DMA controller support" > depends on ARCH_MEDIATEK || COMPILE_TEST thanks, -- ~Randy