From patchwork Thu Apr 18 10:12:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 16213 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f70.google.com (mail-vb0-f70.google.com [209.85.212.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AA70123974 for ; Thu, 18 Apr 2013 10:13:56 +0000 (UTC) Received: by mail-vb0-f70.google.com with SMTP id 11sf4370989vbf.1 for ; Thu, 18 Apr 2013 03:13:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=GCkFjQzN73y/aKmlDM7yIOhIjcJ+xUxG69cO4N/892o=; b=bYYGSYRAPu7e3mwfqX3gcpPiGDTNon9Tdy+dJ5ft2PYmmr4jaBYc9G631bxlEXKFNH nHlz0S4cvn9XhUYe6wfF88AEMz8DMCx/uEWW4m28QL1jVwRJpi3MFQpGK4BHNPzBQWWG b/qontjuQQHDvxl4jQA0z0ZmPPAA1XdI6qXJ7cbDyiaq0TXPPrtt8RiQYacw41sssWrH 7OqO/jeTMuxu1PO5IZ83iaOrOmqCubX1TIb5iw/9kjAc8UjBbzLc9vY45g+rmiTyQTlu gETNCpLcy/l/Ln+34ikoET0wHwvY0KxClnqo8FJBcNZzGo5LdVK0+9MdSzHz1vOVLTsn HSrA== X-Received: by 10.236.194.131 with SMTP id m3mr5246322yhn.31.1366279999656; Thu, 18 Apr 2013 03:13:19 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.106.68 with SMTP id gs4ls1420552qeb.17.gmail; Thu, 18 Apr 2013 03:13:19 -0700 (PDT) X-Received: by 10.58.90.66 with SMTP id bu2mr7695763veb.29.1366279999514; Thu, 18 Apr 2013 03:13:19 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id ex4si6234542vdb.79.2013.04.18.03.13.19 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 03:13:19 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id gf12so2298892vcb.32 for ; Thu, 18 Apr 2013 03:13:19 -0700 (PDT) X-Received: by 10.52.71.4 with SMTP id q4mr6520578vdu.8.1366279999393; Thu, 18 Apr 2013 03:13:19 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp115765veb; Thu, 18 Apr 2013 03:13:18 -0700 (PDT) X-Received: by 10.194.89.234 with SMTP id br10mr17430772wjb.43.1366279998196; Thu, 18 Apr 2013 03:13:18 -0700 (PDT) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [2a00:1450:400c:c05::232]) by mx.google.com with ESMTPS id yw4si3422138wjc.243.2013.04.18.03.13.17 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 03:13:18 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c05::232 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c05::232; Received: by mail-wi0-f178.google.com with SMTP id hq17so2686989wib.17 for ; Thu, 18 Apr 2013 03:13:17 -0700 (PDT) X-Received: by 10.180.36.48 with SMTP id n16mr32146076wij.30.1366279997791; Thu, 18 Apr 2013 03:13:17 -0700 (PDT) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPS id t7sm30483773wij.2.2013.04.18.03.13.16 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 03:13:16 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, Lee Jones Subject: [PATCH 25/32] ARM: ux500: Setup the DMA40 driver's DT node using the new DMA API Date: Thu, 18 Apr 2013 11:12:07 +0100 Message-Id: <1366279934-30761-26-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1366279934-30761-1-git-send-email-lee.jones@linaro.org> References: <1366279934-30761-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkESwBgE+7WDL7oQHbrVaza438JYybhK3N0y9ZXSMoKb1jO4RpuZXTIwg0BdtS5c9HeJvPY X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The new DMA is now available, so let's use it to setup ST-Ericsson's DMA40 driver when Device Tree is enabled. Signed-off-by: Lee Jones --- arch/arm/boot/dts/dbx5x0.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/dbx5x0.dtsi b/arch/arm/boot/dts/dbx5x0.dtsi index 0f462b7..e2fa20f 100644 --- a/arch/arm/boot/dts/dbx5x0.dtsi +++ b/arch/arm/boot/dts/dbx5x0.dtsi @@ -182,12 +182,14 @@ interrupts = <0 23 0x4>; }; - dma-controller@801C0000 { - compatible = "stericsson,db8500-dma40", - "stericsson,dma40"; + dma: dma-controller@801C0000 { + compatible = "stericsson,db8500-dma40", "stericsson,dma40"; reg = <0x801C0000 0x1000 0x40010000 0x800>; reg-names = "base", "lcpa"; interrupts = <0 25 0x4>; + + #dma-cells = <3>; + dma-channels = <0>; /* Zero means read from H/W. */ }; prcmu: prcmu@80157000 {