Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933369AbcKWSiZ (ORCPT ); Wed, 23 Nov 2016 13:38:25 -0500 Received: from smtprelay.synopsys.com ([198.182.47.9]:41807 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756428AbcKWSiU (ORCPT ); Wed, 23 Nov 2016 13:38:20 -0500 From: Eugeniy Paltsev To: devicetree@vger.kernel.org Cc: robh+dt@kernel.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org, andriy.shevchenko@linux.intel.com, vinod.koul@intel.com, dmaengine@vger.kernel.org, arnd@arndb.de, linux-snps-arc@lists.infradead.org, Eugeniy Paltsev Subject: [PATCH v4 0/2] DW DMAC: update device tree Date: Wed, 23 Nov 2016 21:37:46 +0300 Message-Id: <1479926268-29050-1-git-send-email-Eugeniy.Paltsev@synopsys.com> X-Mailer: git-send-email 2.5.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1622 Lines: 42 It wasn't possible to enable some features like memory-to-memory transfers or multi block transfers via DT. It is fixed by these patches. Changes for v4: * Fix setting inverted value to "dwc->nollp". My fault - I tested with wrong DTS, so DMAC was configured from autoconfig instead of device tree. Pointed by Andy Shevchenko. * Update "multi-block" diescription in documentation to be more clear. Pointed by Arnd Bergmann. Changes for v3: * Update existing platform data. We don't need to update existing DTS because default logic wasn't change: we don't set "is_nollp" if we read configuration from DT before. And we don't set it now if "multi-block" property doesn't exist in DTS. Changes for v2: * I thought about is_memcpy DT property: all known devices, which use DT for configuration, support memory-to-memory transfers. So we don't need to read it from DT. So enable it by default, if we read configuration from DT. * Use "multi-block" instead of "hw-llp" name to be more clear. * Move adding DT property and adding documentation for this property to one patch. Eugeniy Paltsev (2): DW DMAC: enable memory-to-memory transfers support DW DMAC: add multi-block property to device tree Documentation/devicetree/bindings/dma/snps-dma.txt | 3 +++ drivers/dma/dw/core.c | 2 +- drivers/dma/dw/platform.c | 11 +++++++++++ drivers/tty/serial/8250/8250_lpss.c | 2 +- include/linux/platform_data/dma-dw.h | 4 ++-- 5 files changed, 18 insertions(+), 4 deletions(-) -- 2.5.5