From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754325AbbLEQ5P (ORCPT ); Sat, 5 Dec 2015 11:57:15 -0500 Received: from mail-lf0-f45.google.com ([209.85.215.45]:33304 "EHLO mail-lf0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753965AbbLEQ5N (ORCPT ); Sat, 5 Dec 2015 11:57:13 -0500 From: Anton Bondarenko To: broonie@kernel.org, b38343@freescale.com, s.hauer@pengutronix.de Cc: linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, vladimir_zapolskiy@mentor.com, jiada_wang@mentor.com Subject: [PATCH v5 00/11] Improvements for SPI IMX driver for Freescale IMX51, IMX53 and IMX6 Date: Sat, 5 Dec 2015 17:56:58 +0100 Message-Id: <1449334629-4715-1-git-send-email-anton.bondarenko.sama@gmail.com> X-Mailer: git-send-email 2.6.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A number of patches to impove or add the implementation for the spi-imx driver related to Freescale IMX51, IMX53 and IMX6. It would also possible some of patches can be applied for other Freescale controllers using spi-imx driver but could not be tested due to lack of hardware. Changes since V4: * Split [PATCH v4 01] into several smaller commits * Change [PATCH v4 01] into workaround to disable DMA for transfer which len mod WML not equal 0 * Rework some patches to isolate changes in one place Anton Bondarenko (11): spi: imx: terminate RX DMA transaction in case of TX DMA timeout spi: imx: reorder HW operations enable order to avoid possible RX data loss spi: imx: replace multiple watermarks with single for RX, TX and RXT spi: imx: add function to check for IMX51 family controller spi: imx: Add support for loopback for ECSPI controllers spi: imx: return error from dma channel request spi: imx: defer spi initialization, if DMA engine is spi: imx: allow only WML aligned transfers to use DMA spi: imx: remove dead RX DMA tail handling code spi: imx: replace fixed timeout with calculated spi: imx: add support for all SPI word width for DMA drivers/spi/spi-imx.c | 249 ++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 179 insertions(+), 70 deletions(-) -- 2.6.3 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anton Bondarenko Subject: [PATCH v5 00/11] Improvements for SPI IMX driver for Freescale IMX51, IMX53 and IMX6 Date: Sat, 5 Dec 2015 17:56:58 +0100 Message-ID: <1449334629-4715-1-git-send-email-anton.bondarenko.sama@gmail.com> Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, vladimir_zapolskiy-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org, jiada_wang-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org To: broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, b38343-KZfg59tc24xl57MIdRCFDg@public.gmane.org, s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org Return-path: Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: A number of patches to impove or add the implementation for the spi-imx driver related to Freescale IMX51, IMX53 and IMX6. It would also possible some of patches can be applied for other Freescale controllers using spi-imx driver but could not be tested due to lack of hardware. Changes since V4: * Split [PATCH v4 01] into several smaller commits * Change [PATCH v4 01] into workaround to disable DMA for transfer which len mod WML not equal 0 * Rework some patches to isolate changes in one place Anton Bondarenko (11): spi: imx: terminate RX DMA transaction in case of TX DMA timeout spi: imx: reorder HW operations enable order to avoid possible RX data loss spi: imx: replace multiple watermarks with single for RX, TX and RXT spi: imx: add function to check for IMX51 family controller spi: imx: Add support for loopback for ECSPI controllers spi: imx: return error from dma channel request spi: imx: defer spi initialization, if DMA engine is spi: imx: allow only WML aligned transfers to use DMA spi: imx: remove dead RX DMA tail handling code spi: imx: replace fixed timeout with calculated spi: imx: add support for all SPI word width for DMA drivers/spi/spi-imx.c | 249 ++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 179 insertions(+), 70 deletions(-) -- 2.6.3 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: anton.bondarenko.sama@gmail.com (Anton Bondarenko) Date: Sat, 5 Dec 2015 17:56:58 +0100 Subject: [PATCH v5 00/11] Improvements for SPI IMX driver for Freescale IMX51, IMX53 and IMX6 Message-ID: <1449334629-4715-1-git-send-email-anton.bondarenko.sama@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org A number of patches to impove or add the implementation for the spi-imx driver related to Freescale IMX51, IMX53 and IMX6. It would also possible some of patches can be applied for other Freescale controllers using spi-imx driver but could not be tested due to lack of hardware. Changes since V4: * Split [PATCH v4 01] into several smaller commits * Change [PATCH v4 01] into workaround to disable DMA for transfer which len mod WML not equal 0 * Rework some patches to isolate changes in one place Anton Bondarenko (11): spi: imx: terminate RX DMA transaction in case of TX DMA timeout spi: imx: reorder HW operations enable order to avoid possible RX data loss spi: imx: replace multiple watermarks with single for RX, TX and RXT spi: imx: add function to check for IMX51 family controller spi: imx: Add support for loopback for ECSPI controllers spi: imx: return error from dma channel request spi: imx: defer spi initialization, if DMA engine is spi: imx: allow only WML aligned transfers to use DMA spi: imx: remove dead RX DMA tail handling code spi: imx: replace fixed timeout with calculated spi: imx: add support for all SPI word width for DMA drivers/spi/spi-imx.c | 249 ++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 179 insertions(+), 70 deletions(-) -- 2.6.3