From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161205AbcFQMon (ORCPT ); Fri, 17 Jun 2016 08:44:43 -0400 Received: from mga02.intel.com ([134.134.136.20]:14232 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933681AbcFQMlT (ORCPT ); Fri, 17 Jun 2016 08:41:19 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,483,1459839600"; d="scan'208";a="1004276981" From: Andy Shevchenko To: "Bryan O'Donoghue" , Peter Hurley , linux-serial@vger.kernel.org, Vinod Koul , linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, Greg Kroah-Hartman , ismo.puustinen@intel.com, Heikki Krogerus Cc: Andy Shevchenko Subject: [PATCH v7 00/11] serial: 8250: split LPSS to 8250_lpss, enable DMA on Quark Date: Fri, 17 Jun 2016 15:41:00 +0300 Message-Id: <1466167271-11902-1-git-send-email-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.8.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is combined series of two things: - split out the Intel LPSS specific driver from 8250_pci into 8250_lpss - enable DMA support on Intel Quark UART The patch has been tested on few Intel SoCs / platforms. In any case I would like to ask Bryan to do independent test. This is targeting serial subsystem, and it has necessary Ack from Vinod. The series can be reached in the branch located at [2]. [1] http://www.spinics.net/lists/kernel/msg2244475.html [2] https://bitbucket.org/andy-shev/linux/branch/topic%2Fdw%2Fqrk Bryan, since this series doesn't include any DMA management quirks I didn't address it. It is a matter of the following series which I would send later. Since v6: - protect the code against SERIAL_8250_DMA=n && DW_DMAC_CORE=m Since v5: - add Vinod's Ack tag - rebase on top of latest linux-next Since v4: - fix an issue what kernel test bot reported (lkp) - add a list of supported SoC to Kconfig (Bryan) - rename polarity -> hs_polarity (Bryan) Since v3: - rebase on top of recent tty-next branch - add Reviewed-by tag from Bryan Since v2: - add tags - rebase on top of new version of [1] Since v1: - address most of Peter's comments (mostly changelog to patch 8) - add tag to patch 5 - drop patch 6 from the series to be separately dealt with Andy Shevchenko (11): dmaengine: dw: keep copy of custom slave config in dwc dmaengine: dw: provide probe(), remove() stubs for users dmaengine: dw: set polarity of handshake interface dmaengine: dw: override LLP support if asked in platform data serial: 8250_dma: switch to new dmaengine_terminate_* API serial: 8250_dma: adjust DMA address of the UART serial: 8250: enable AFE on ports where FIFO is 16 bytes serial: 8250_lpss: split LPSS driver to separate module serial: 8250_lpss: move Quark code from PCI driver serial: 8250_lpss: enable MSI for Intel Quark serial: 8250_lpss: enable DMA on Intel Quark UART drivers/dma/dw/core.c | 43 ++-- drivers/dma/dw/regs.h | 5 +- drivers/tty/serial/8250/8250.h | 5 + drivers/tty/serial/8250/8250_dma.c | 14 +- drivers/tty/serial/8250/8250_lpss.c | 379 +++++++++++++++++++++++++++++++++++ drivers/tty/serial/8250/8250_pci.c | 257 +----------------------- drivers/tty/serial/8250/8250_port.c | 9 +- drivers/tty/serial/8250/Kconfig | 16 +- drivers/tty/serial/8250/Makefile | 1 + include/linux/dma/dw.h | 5 + include/linux/platform_data/dma-dw.h | 4 + 11 files changed, 452 insertions(+), 286 deletions(-) create mode 100644 drivers/tty/serial/8250/8250_lpss.c -- 2.8.1