From patchwork Thu Apr 18 10:12:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 16214 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f71.google.com (mail-vb0-f71.google.com [209.85.212.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0928423974 for ; Thu, 18 Apr 2013 10:13:58 +0000 (UTC) Received: by mail-vb0-f71.google.com with SMTP id w16sf4370698vbb.2 for ; Thu, 18 Apr 2013 03:13:21 -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=zlKOdmUTc02DxnK802MxX2G4y8fQkKaKrzpdM8F1ztY=; b=o9XCLHA3VQr2EXgFFMqsjvI3Y7pbABg6ZaK2oO6OSQG2d6bvG8/XZ/p1y1jL2XUl/9 k4iqnG4Va6TT899BMJfdS5GKQKH64PSLpS/Rv+sM5XPg5r15MtHzqCkIT7dNdeZib4v2 IYAT9Km/HFrc/ixL2+00xTtSDn5brFj6+lwnV+/NZ/0oEjt5eyQLgqGY/TdWLKIJW8xa hHA0Z2/uRisoyv7DQ9gnUdcEOCKB79FShg5GnE2F14kGAcxWo1AgfUa7MoAXwUI9iuiI daT63garMuv7dQXphupSH50937zRYIM8ImthjC1bPr/9Gnm+Q+sKQNBPS5NYklEXsi1p bycQ== X-Received: by 10.224.207.2 with SMTP id fw2mr7562853qab.6.1366280001046; Thu, 18 Apr 2013 03:13:21 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.73.196 with SMTP id n4ls1336163qev.46.gmail; Thu, 18 Apr 2013 03:13:20 -0700 (PDT) X-Received: by 10.52.26.16 with SMTP id h16mr6548126vdg.47.1366280000897; Thu, 18 Apr 2013 03:13:20 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id ec8si6249535vdb.33.2013.04.18.03.13.20 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 03:13:20 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.175 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.175; Received: by mail-vc0-f175.google.com with SMTP id lf11so96433vcb.6 for ; Thu, 18 Apr 2013 03:13:20 -0700 (PDT) X-Received: by 10.52.228.71 with SMTP id sg7mr6348980vdc.51.1366280000704; Thu, 18 Apr 2013 03:13:20 -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 nf2csp115769veb; Thu, 18 Apr 2013 03:13:20 -0700 (PDT) X-Received: by 10.180.189.205 with SMTP id gk13mr32084656wic.25.1366279999787; Thu, 18 Apr 2013 03:13:19 -0700 (PDT) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [2a00:1450:400c:c05::22e]) by mx.google.com with ESMTPS id by10si3431541wib.74.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: 2a00:1450:400c:c05::22e is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c05::22e; Received: by mail-wi0-f174.google.com with SMTP id m6so3777342wiv.1 for ; Thu, 18 Apr 2013 03:13:19 -0700 (PDT) X-Received: by 10.180.94.133 with SMTP id dc5mr35718870wib.1.1366279999405; Thu, 18 Apr 2013 03:13:19 -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.17 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Apr 2013 03:13:18 -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 26/32] ARM: ux500: Supply UART's DMA configuration via Device Tree Date: Thu, 18 Apr 2013 11:12:08 +0100 Message-Id: <1366279934-30761-27-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: ALoCoQmgGzc7NUrm+RkprTlLkgbmX4Vy+Us3sx7PGGdSG33lXGvITWDefq18oKq0Upfs4ZG32A80 X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.175 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. 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 e2fa20f..bd0fe5f 100644 --- a/arch/arm/boot/dts/dbx5x0.dtsi +++ b/arch/arm/boot/dts/dbx5x0.dtsi @@ -569,18 +569,35 @@ compatible = "arm,pl011", "arm,primecell"; reg = <0x80120000 0x1000>; interrupts = <0 11 0x4>; + + dmas = <&dma 0 13 0x8>, /* Logical - DevToMem */ + <&dma 0 13 0x4>; /* Logical - MemToDev */ + dma-names = "rx", "tx"; + status = "disabled"; }; + uart@80121000 { compatible = "arm,pl011", "arm,primecell"; reg = <0x80121000 0x1000>; interrupts = <0 19 0x4>; + + dmas = <&dma 0 12 0x8>, /* Logical - DevToMem */ + <&dma 0 12 0x4>; /* Logical - MemToDev */ + dma-names = "rx", "tx"; + status = "disabled"; }; + uart@80007000 { compatible = "arm,pl011", "arm,primecell"; reg = <0x80007000 0x1000>; interrupts = <0 26 0x4>; + + dmas = <&dma 0 11 0x8>, /* Logical - DevToMem */ + <&dma 0 11 0x4>; /* Logical - MemToDev */ + dma-names = "rx", "tx"; + status = "disabled"; };