From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761258AbcJ1QB2 (ORCPT ); Fri, 28 Oct 2016 12:01:28 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:33309 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755847AbcJ1QBY (ORCPT ); Fri, 28 Oct 2016 12:01:24 -0400 From: Eugeniy Paltsev To: dmaengine@vger.kernel.org Cc: linux-kernel@vger.kernel.org, vinod.koul@intel.com, dan.j.williams@intel.com, andriy.shevchenko@linux.intel.com, vireshk@kernel.org, linux-snps-arc@lists.infradead.org, Eugeniy Paltsev Subject: [PATCH v3 0/3] dmaengine: DW DMAC: split pdata to hardware properties Date: Fri, 28 Oct 2016 18:59:59 +0300 Message-Id: <1477670402-23943-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 This series is to address a proposal by Andy in these threads: http://www.spinics.net/lists/dmaengine/msg11506.html http://www.spinics.net/lists/dmaengine/msg11541.html Split platform data to actual hardware properties, and platform quirks. Now we able to use quirks and hardware properties separately from different sources (pdata, device tree or autoconfig registers) Changes for v3: - Split changes to separate patches. - Add "DW_DMA_IS_LLP_SUPPORTED" flag and get rid of "dwc->nollp" as separate variable. - Make "dw_dma_slave" documentation comments more clear about quirks. "is_memcpy" and "is_private" are quirks, "is_nollp" is regular pdata property. Eugeniy Paltsev (3): dmaengine: DW DMAC: split pdata to hardware properties and platform quirks dmaengine: DW DMAC: convert to unified device property API dmaengine: DW DMAC: move "nollp" to "dwc->flags" drivers/dma/dw/core.c | 34 +++++++++++++---------- drivers/dma/dw/platform.c | 53 +++++++++++++++++++----------------- drivers/dma/dw/regs.h | 2 +- include/linux/platform_data/dma-dw.h | 5 ++++ 4 files changed, 54 insertions(+), 40 deletions(-) -- 2.5.5