From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751952AbcBKVXq (ORCPT ); Thu, 11 Feb 2016 16:23:46 -0500 Received: from smtp12.smtpout.orange.fr ([80.12.242.134]:32007 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751681AbcBKVXm (ORCPT ); Thu, 11 Feb 2016 16:23:42 -0500 X-ME-Helo: belgarion.home X-ME-Date: Thu, 11 Feb 2016 22:23:39 +0100 X-ME-IP: 109.222.219.121 From: Robert Jarzmik To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Vinod Koul Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org Subject: [PATCH 0/4] Fix pxa dma requestor lines Date: Thu, 11 Feb 2016 22:23:14 +0100 Message-Id: <1455225798-9510-1-git-send-email-robert.jarzmik@free.fr> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This serie aims at fixing a bug which arose in the pxa_dma driver, which needs to know the number of requestor lines which are connected to the DMA IP. The current implementation of pxa_dma is limited to 32 lines, which pxa27x has 75 lines and pxa3xx has 100 of them. As a consequence, DMA clients with a requestor greater that 32 are not working, namely the pxa_camera driver. The proposed fix by Vinod is to make the driver aware of the number of lines, which is done by this patchset. I'd like to have this reviewed and then taken through the PXA tree. For this I'll need : - Rob/Grant/Kumar/Ian ack on patch 1/4 - Haojian's ack on patch 2/4 - Vinod's ack on patch 4/4 Thanks in advance. -- Robert Robert Jarzmik (4): dma: mmp_pdma: Add the #requestors DT property documentation dmaengine: mmp-pdma: add number of requestors ARM: pxa: add the number of DMA requestor lines dmaengine: pxa_dma: fix the maximum requestor line Documentation/devicetree/bindings/dma/mmp-dma.txt | 2 ++ arch/arm/boot/dts/pxa27x.dtsi | 1 + arch/arm/boot/dts/pxa3xx.dtsi | 1 + arch/arm/mach-pxa/devices.c | 3 ++- arch/arm/mach-pxa/pxa25x.c | 2 +- arch/arm/mach-pxa/pxa27x.c | 2 +- arch/arm/mach-pxa/pxa3xx.c | 2 +- arch/arm/plat-pxa/include/plat/dma.h | 2 +- drivers/dma/pxa_dma.c | 33 +++++++++++++++-------- include/linux/platform_data/mmp_dma.h | 1 + 10 files changed, 33 insertions(+), 16 deletions(-) -- 2.1.4