From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753529AbcD0LP6 (ORCPT ); Wed, 27 Apr 2016 07:15:58 -0400 Received: from mga11.intel.com ([192.55.52.93]:3325 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751266AbcD0LP4 (ORCPT ); Wed, 27 Apr 2016 07:15:56 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,541,1455004800"; d="scan'208";a="953959550" From: Andy Shevchenko To: Viresh Kumar , Vinod Koul , linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, Rob Herring , Mark Brown , Vineet Gupta , Tejun Heo Cc: Andy Shevchenko Subject: [PATCH v7 0/4] Fixes / cleanups in dw_dmac (affects on few subsystems) Date: Wed, 27 Apr 2016 14:15:36 +0300 Message-Id: <1461755740-3932-1-git-send-email-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.8.0.rc3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series (v3: http://www.spinics.net/lists/kernel/msg2215303.html) contains a number of mostly minor fixes and cleanups for the DW DMA driver. A couple of them affect the DT binding so these may need to be updated to maintain compatibility (old format is still supported though). The rest should be relatively straight-forward. This version has been tested on the following bare metal platforms: - ATNGW100 (avr32 based platform) with dmatest - Sam460ex (powerpc 44x based platform) with SATA - Intel Braswell with UART - Intel Galileo (Intel Quark based platform) with UART (SATA driver and Intel Galileo UART support are based on this series and just published recently for a review) Vinod, there are few patch sets developed on top of this one, so, the idea is to keep this in an immuutable branch / tag. Changes since v6: - leave old data_width property in the Documentation as deprecated - add Acked-by tags Changes since v5: - fixed an issue found by kbuildbot Changes since v4: - send proper set of patches - add changelog Changes since v3: - add patch 1 to check value of dma-masters property - drop the upstreamed patches - update patch 2 to keep an array for data-width property as well Changes since v2: - add patch 1 to fix master selection which was broken for long time - remove "use field-by-field initialization" patch since like Mans metioned in has mostly no value and even might increase error prone - rebase on top of recent linux-next - wide testing on several platforms Changes since v1: - zeroing struct dw_dma_slave before use - fall back to old data_width property if data-width is not found - append tags for few patches - correct title of cover letter - rebase on top of recent linux-next Andy Shevchenko (4): dmaengine: dw: platform: check nr_masters to be non-zero dmaengine: dw: revisit data_width property dmaengine: dw: keep entire platform data in struct dw_dma dmaengine: dw: pass platform data via struct dw_dma_chip Documentation/devicetree/bindings/dma/snps-dma.txt | 7 +- arch/arc/boot/dts/abilis_tb10x.dtsi | 2 +- arch/arm/boot/dts/spear13xx.dtsi | 4 +- drivers/ata/sata_dwc_460ex.c | 2 +- drivers/dma/dw/core.c | 75 ++++++++-------------- drivers/dma/dw/pci.c | 5 +- drivers/dma/dw/platform.c | 32 +++++---- drivers/dma/dw/regs.h | 5 +- include/linux/dma/dw.h | 5 +- include/linux/platform_data/dma-dw.h | 4 +- sound/soc/intel/common/sst-firmware.c | 2 +- 11 files changed, 67 insertions(+), 76 deletions(-) -- 2.8.0.rc3