From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH 3/4] serial: 8250-mtk: add uart DMA support Date: Thu, 16 Feb 2017 14:23:42 +0100 Message-ID: <2041319.BERnyvUuuK@wuerfel> References: <1487243251-964-1-git-send-email-long.cheng@mediatek.com> <1487243251-964-4-git-send-email-long.cheng@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <1487243251-964-4-git-send-email-long.cheng-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Cc: Long Cheng , Vinod Koul , Rob Herring , Mark Rutland , Matthias Brugger , Russell King , Dan Williams , Greg Kroah-Hartman , Jiri Slaby , dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, srv_heupstream-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org List-Id: devicetree@vger.kernel.org On Thursday, February 16, 2017 7:07:30 PM CET Long Cheng wrote: > Modify uart register to support DMA function. > > Signed-off-by: Long Cheng > --- > drivers/tty/serial/8250/8250_mtk.c | 194 +++++++++++++++++++++++++++++++++++- > 1 file changed, 193 insertions(+), 1 deletion(-) > This code looks a lot like the one in 8250_omap.c and 8250_dma.c. Could it be made more generic so we can share more of the implementation? Arnd -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html