From patchwork Tue Apr 23 15:03:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 16361 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f69.google.com (mail-qe0-f69.google.com [209.85.128.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5E8FC2391B for ; Tue, 23 Apr 2013 15:04:50 +0000 (UTC) Received: by mail-qe0-f69.google.com with SMTP id a11sf1455228qen.0 for ; Tue, 23 Apr 2013 08:04:01 -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=+e5LRNWwwh9YWZ/tgmh3ePdqn0QrGyhibxmPA/smd0s=; b=o3cwRVvrbiU5i2RJjo59I0otC0MVJXAjsbgehA3Ql1PBMD5S6uCmqJK8j2pudYvn9d 0RNWQ71X/sv+lPFmIbOHga0QkIQytagVpv12NJFyuQ5VsjHN/49E67euqX5keifZhGBj 82oIX3kr2j30cL4yt4XJVvR/c+zd7X29PO+kMbNTjrmr4gxSj1MyyqxR0Djh+fTyeAbV n6Nk6bUCCkewZoNYQFBxowz4u6baIdqACTYhW6v0CuI+pGToblYX0aipd+eAcQkTKIg8 d3lmqK9gyQHpMkx73O1CERNU3KW4oG8RfaDyjVtfjmbOm5rMkmSCyVs7iK03M1HcJdwK oMdQ== X-Received: by 10.236.139.230 with SMTP id c66mr15508317yhj.55.1366729441535; Tue, 23 Apr 2013 08:04:01 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.75.98 with SMTP id b2ls361186qew.36.gmail; Tue, 23 Apr 2013 08:04:01 -0700 (PDT) X-Received: by 10.58.28.144 with SMTP id b16mr14150696veh.43.1366729441406; Tue, 23 Apr 2013 08:04:01 -0700 (PDT) Received: from mail-ve0-x22a.google.com (mail-ve0-x22a.google.com [2607:f8b0:400c:c01::22a]) by mx.google.com with ESMTPS id e5si18693583vcu.42.2013.04.23.08.04.01 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 23 Apr 2013 08:04:01 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::22a 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:c01::22a; Received: by mail-ve0-f170.google.com with SMTP id 15so279824vea.1 for ; Tue, 23 Apr 2013 08:04:01 -0700 (PDT) X-Received: by 10.52.163.231 with SMTP id yl7mr19311314vdb.57.1366729441314; Tue, 23 Apr 2013 08:04:01 -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 nf2csp129532veb; Tue, 23 Apr 2013 08:03:57 -0700 (PDT) X-Received: by 10.194.62.18 with SMTP id u18mr13811379wjr.53.1366729434409; Tue, 23 Apr 2013 08:03:54 -0700 (PDT) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [2a00:1450:400c:c05::231]) by mx.google.com with ESMTPS id wo6si10768245wjb.157.2013.04.23.08.03.54 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 23 Apr 2013 08:03:54 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c05::231 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c05::231; Received: by mail-wi0-f177.google.com with SMTP id hj19so896833wib.16 for ; Tue, 23 Apr 2013 08:03:54 -0700 (PDT) X-Received: by 10.194.62.233 with SMTP id b9mr2054816wjs.37.1366729431866; Tue, 23 Apr 2013 08:03:51 -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 q20sm16491081wiv.7.2013.04.23.08.03.49 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 23 Apr 2013 08:03:51 -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, mian.yousaf.kaukab@stericsson.com, Lee Jones Subject: [PATCH 08/10] ARM: ux500: Populate the ux500-musb Device Tree entry Date: Tue, 23 Apr 2013 16:03:12 +0100 Message-Id: <1366729394-11406-9-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1366729394-11406-1-git-send-email-lee.jones@linaro.org> References: <1366729394-11406-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkvjfu4mo6gZlPzJYxunDqVz8Trdfpw7gP/Z8D9TTwZrOyx7H7OcJOqkGT4gqy+JZf9Ef8P X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::22a 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: , This patch provides all the information to successfully probe() and correctly configure the ux500-musb device driver for DMA. Signed-off-by: Lee Jones --- arch/arm/boot/dts/dbx5x0.dtsi | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/dbx5x0.dtsi b/arch/arm/boot/dts/dbx5x0.dtsi index 86b35a1..f4f371f 100644 --- a/arch/arm/boot/dts/dbx5x0.dtsi +++ b/arch/arm/boot/dts/dbx5x0.dtsi @@ -175,11 +175,40 @@ prcm = <&prcmu>; }; - usb@a03e0000 { + usb_per5@a03e0000 { compatible = "stericsson,db8500-musb", "mentor,musb"; reg = <0xa03e0000 0x10000>; interrupts = <0 23 0x4>; + interrupt-names = "mc"; + + mode = "otg"; + + dmas = <&dma 38 0 0x2>, /* Logical - DevToMem */ + <&dma 38 0 0x0>, /* Logical - MemToDev */ + <&dma 37 0 0x2>, /* Logical - DevToMem */ + <&dma 37 0 0x0>, /* Logical - MemToDev */ + <&dma 36 0 0x2>, /* Logical - DevToMem */ + <&dma 36 0 0x0>, /* Logical - MemToDev */ + <&dma 19 0 0x2>, /* Logical - DevToMem */ + <&dma 19 0 0x0>, /* Logical - MemToDev */ + <&dma 18 0 0x2>, /* Logical - DevToMem */ + <&dma 18 0 0x0>, /* Logical - MemToDev */ + <&dma 17 0 0x2>, /* Logical - DevToMem */ + <&dma 17 0 0x0>, /* Logical - MemToDev */ + <&dma 16 0 0x2>, /* Logical - DevToMem */ + <&dma 16 0 0x0>, /* Logical - MemToDev */ + <&dma 39 0 0x2>, /* Logical - DevToMem */ + <&dma 39 0 0x0>; /* Logical - MemToDev */ + + dma-names = "iep_1_9", "oep_1_9", + "iep_2_10", "oep_2_10", + "iep_3_11", "oep_3_11", + "iep_4_12", "oep_4_12", + "iep_5_13", "oep_5_13", + "iep_6_14", "oep_6_14", + "iep_7_15", "oep_7_15", + "iep_8", "oep_8"; }; dma: dma-controller@801C0000 {