From patchwork Fri May 3 14:31:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 16635 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ye0-f197.google.com (mail-ye0-f197.google.com [209.85.213.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 73ADB23905 for ; Fri, 3 May 2013 14:33:34 +0000 (UTC) Received: by mail-ye0-f197.google.com with SMTP id q11sf2493424yen.4 for ; Fri, 03 May 2013 07:33:24 -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=AuMjgh+cu9wNaJ5HRMa4IgzGRv0pM0SNat6ASk71FKU=; b=ZcHhHXj5FMJVNGDMuvTC8TBAK6iUCLxsdWb9mNuC0Ztm3SawTic1tHv6h1snxcDy78 b7U4EpWGT4RDbogbyEYttjjH6nxFN/gGYs9hiAVl+ogFvwZHaVAva/P9ptahgCkJ3LhA 93TE5ihnOBHsd69qk6UcK6O7VwNwrzXg7hFOjP4Cc2Hn+T/wWA0r3cCmrx/amu/pymW6 eifejkw6AJOikuh44Xy0ARgTM6ZmEphbl/OR/ZOdlyOnqi6HM7Xq4H36Gd91oq/vZed5 vdutPhJlM44XgdGgGbgXrZvAiIfIeH2Yd4y68zvo8zi0WIRAOtLZlsz0242jUx7a8fi+ 51Nw== X-Received: by 10.58.37.195 with SMTP id a3mr7176659vek.35.1367591604569; Fri, 03 May 2013 07:33:24 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.107.70 with SMTP id ha6ls1682926qeb.81.gmail; Fri, 03 May 2013 07:33:24 -0700 (PDT) X-Received: by 10.52.119.175 with SMTP id kv15mr3122214vdb.23.1367591604229; Fri, 03 May 2013 07:33:24 -0700 (PDT) Received: from mail-vb0-x22d.google.com (mail-vb0-x22d.google.com [2607:f8b0:400c:c02::22d]) by mx.google.com with ESMTPS id f7si5164812vcs.42.2013.05.03.07.33.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 07:33:24 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22d is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::22d; Received: by mail-vb0-f45.google.com with SMTP id 12so1401041vbf.18 for ; Fri, 03 May 2013 07:33:24 -0700 (PDT) X-Received: by 10.58.144.170 with SMTP id sn10mr3714260veb.7.1367591604138; Fri, 03 May 2013 07:33:24 -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 nf2csp25141veb; Fri, 3 May 2013 07:33:23 -0700 (PDT) X-Received: by 10.180.183.210 with SMTP id eo18mr40898291wic.17.1367591603221; Fri, 03 May 2013 07:33:23 -0700 (PDT) Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [2a00:1450:400c:c00::236]) by mx.google.com with ESMTPS id ey4si3618014wid.1.2013.05.03.07.33.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 07:33:23 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c00::236 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c00::236; Received: by mail-wg0-f54.google.com with SMTP id x12so1725710wgg.9 for ; Fri, 03 May 2013 07:33:22 -0700 (PDT) X-Received: by 10.194.92.231 with SMTP id cp7mr14329834wjb.3.1367591602822; Fri, 03 May 2013 07:33:22 -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 ESMTPSA id o3sm17516019wia.2.2013.05.03.07.33.20 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 May 2013 07:33:22 -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, srinidhi.kasagar@stericsson.com, Lee Jones Subject: [PATCH 03/63] ARM: ux500: Supply UART's DMA configuration via Device Tree Date: Fri, 3 May 2013 15:31:49 +0100 Message-Id: <1367591569-32197-4-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1367591569-32197-1-git-send-email-lee.jones@linaro.org> References: <1367591569-32197-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmvN1IrU/sTHa8K8cZmiPKHernhYWOSfBV1FhnGSfD/A6pNcZq6B715FLn8jkdVJkXpsETn X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22d 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: , When requesting a channel, a DMA client needs to pass some pieces of information such as; request channel, device type, channel type and direction etc. Normally we do this in the form of platform data, but when DT is enabled we need to pass it using the driver's bindings instead. Acked-by: Linus Walleij Signed-off-by: Lee Jones --- arch/arm/boot/dts/dbx5x0.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/dbx5x0.dtsi b/arch/arm/boot/dts/dbx5x0.dtsi index 8a82b18..d595e2c 100644 --- a/arch/arm/boot/dts/dbx5x0.dtsi +++ b/arch/arm/boot/dts/dbx5x0.dtsi @@ -568,18 +568,35 @@ compatible = "arm,pl011", "arm,primecell"; reg = <0x80120000 0x1000>; interrupts = <0 11 0x4>; + + dmas = <&dma 13 0 0x2>, /* Logical - DevToMem */ + <&dma 13 0 0x0>; /* Logical - MemToDev */ + dma-names = "rx", "tx"; + status = "disabled"; }; + uart@80121000 { compatible = "arm,pl011", "arm,primecell"; reg = <0x80121000 0x1000>; interrupts = <0 19 0x4>; + + dmas = <&dma 12 0 0x2>, /* Logical - DevToMem */ + <&dma 12 0 0x0>; /* Logical - MemToDev */ + dma-names = "rx", "tx"; + status = "disabled"; }; + uart@80007000 { compatible = "arm,pl011", "arm,primecell"; reg = <0x80007000 0x1000>; interrupts = <0 26 0x4>; + + dmas = <&dma 11 0 0x2>, /* Logical - DevToMem */ + <&dma 11 0 0x0>; /* Logical - MemToDev */ + dma-names = "rx", "tx"; + status = "disabled"; };