From patchwork Tue Jan 17 15:32:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 9521409 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 592E160244 for ; Tue, 17 Jan 2017 15:33:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 49C80285A3 for ; Tue, 17 Jan 2017 15:33:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3E49F285A7; Tue, 17 Jan 2017 15:33:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B7E5285A3 for ; Tue, 17 Jan 2017 15:33:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751065AbdAQPdN (ORCPT ); Tue, 17 Jan 2017 10:33:13 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:35150 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750990AbdAQPdH (ORCPT ); Tue, 17 Jan 2017 10:33:07 -0500 Received: by mail-wm0-f47.google.com with SMTP id r126so205792528wmr.0 for ; Tue, 17 Jan 2017 07:33:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=/PXVQ4pgcIyL2TaBb7M9mkJjZn2z9bAuQ0JCGdA8YzI=; b=AsH0ROx7/8WamXzRc/SnMRjTnXlddE9n46J87Ta+M0XVbFEjDpFR2p26o9uiLOhMan uXq9JHooYMWtykTitd8ImlmDhF6lX0+X6r3hecz+uGreyFFhH8f30ilBqQNT7CkzlVX9 uqDkylObJTyrCDAy2PSVLkM0nD7nCX7GniIv7EKFdYCUARYnfvL2sutUxiBEppGFdSo0 6j9XbCs8CRNvFDsFcaVWk9FJ/gBT+YZfh90Avw+ZXyxb9MqeYjn1+WwYOlyI/G9t/JbU g+0yq+4LoiZ3MXWhGcfgL1NGm2JDoKG3Wu7WCPxPJIUXJdd2BSORS8fGELIBb6cHuUSy scxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=/PXVQ4pgcIyL2TaBb7M9mkJjZn2z9bAuQ0JCGdA8YzI=; b=j8UT4pud5cUU6Lv4WAnxkBsfZzuL8U6pzENMOXCeuvikBhyYSsL+Zu1LhV+zFc1Snk g0CgrI7MY1I+ctnTJCbwV/QOJOy21I5wqGVuTmXYpnQFydJrDbYJVMDEnvNqwQQcs+42 vYU0QeaMUHdtL2blfYhH6hbPuHuaJf754xqjMitYMj0W83QBq1HsXk9InhZ09rfVjmTJ lWdC46lAYBHcQgHyY/Mh5UQt+oZXy0Pw4FAhntrQ0qBW7h8JGp5TYnYascZwRK7Zu4Xp eBhZ3Iolp8CUOvLF1j0tAQZ6BSHrL7kLS36vq/DTFJj0WSqH9nUTBk7eCqxyJwUev6HH lK0A== X-Gm-Message-State: AIkVDXIqtgUFKEsyFuTnxY7TATGS6ZlHoBkrWjaAat/4eYfmnVuhv6j7Dd24g+QQKCyvN1fL X-Received: by 10.223.134.15 with SMTP id 15mr27965139wrv.102.1484667180657; Tue, 17 Jan 2017 07:33:00 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id q1sm603538wmd.6.2017.01.17.07.32.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Jan 2017 07:33:00 -0800 (PST) From: Alexandre Bailon To: nsekhar@ti.com, khilman@baylibre.com, robh+dt@kernel.org Cc: vinod.koul@intel.com, dmaengine@vger.kernel.org, ptitiano@baylibre.com, tony@atomide.com, linux-omap@vger.kernel.org, b-liu@ti.com, sergei.shtylyov@cogentembedded.com, devicetree@vger.kernel.org, Alexandre Bailon Subject: [PATCH v2] ARM: dts: da850: Add the CPPI 4.1 DMA to the USB OTG controller Date: Tue, 17 Jan 2017 16:32:57 +0100 Message-Id: <20170117153257.12550-1-abailon@baylibre.com> X-Mailer: git-send-email 2.10.2 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the CPPI 4.1 DMA controller to the USB OTG controller. Signed-off-by: Alexandre Bailon --- arch/arm/boot/dts/da850.dtsi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 104155d..35f1af4 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -396,12 +396,39 @@ usb0: usb@200000 { compatible = "ti,da830-musb"; reg = <0x200000 0x10000>; + ranges; interrupts = <58>; interrupt-names = "mc"; dr_mode = "otg"; phys = <&usb_phy 0>; phy-names = "usb-phy"; status = "disabled"; + + #address-cells = <1>; + #size-cells = <1>; + + dmas = <&cppi41dma 0 0 &cppi41dma 1 0 + &cppi41dma 2 0 &cppi41dma 3 0 + &cppi41dma 0 1 &cppi41dma 1 1 + &cppi41dma 2 1 &cppi41dma 3 1>; + dma-names = + "rx1", "rx2", "rx3", "rx4", + "tx1", "tx2", "tx3", "tx4"; + + cppi41dma: dma-controller@201000 { + compatible = "ti,da8xx-cppi41"; + reg = <0x201000 0x1000 + 0x202000 0x1000 + 0x204000 0x4000>; + reg-names = "glue", "controller", + "scheduler", "queuemgr"; + interrupts = <58>; + interrupt-names = "glue"; + #dma-cells = <2>; + #dma-channels = <4>; + #dma-requests = <256>; + status = "okay"; + }; }; mdio: mdio@224000 { compatible = "ti,davinci_mdio";