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