From patchwork Tue Jan 24 10:22:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 92327 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1642270qgi; Tue, 24 Jan 2017 02:23:01 -0800 (PST) X-Received: by 10.84.216.73 with SMTP id f9mr51073692plj.159.1485253381722; Tue, 24 Jan 2017 02:23:01 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1si8630910pgc.326.2017.01.24.02.23.01; Tue, 24 Jan 2017 02:23:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750876AbdAXKXA (ORCPT + 4 others); Tue, 24 Jan 2017 05:23:00 -0500 Received: from mail-wm0-f41.google.com ([74.125.82.41]:38381 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750758AbdAXKW6 (ORCPT ); Tue, 24 Jan 2017 05:22:58 -0500 Received: by mail-wm0-f41.google.com with SMTP id r144so200843165wme.1 for ; Tue, 24 Jan 2017 02:22:58 -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=yG8mtSfYwGca0yq8HxWRLLNG6/598vuze3cGt5uvAE4=; b=UQrqIuApZjvQWulojSkIq6Hpub7pfRpxvF8qTvX3zGdzaMod7bNKCzt8mHu2j+AO2q UQDX/cRa/ofNkuRguOTBt1cA4++RTJy+BHk3EmOPA1d1Ge4w4VmipLRmI3WdOhjqDqyN WtAoNIiHngTKgbrmWScTKwZ5/Wn2TWJ1t1jUe+12iAi9eImc/K2QY9+gVDXpqUGkZF9p txOvrrYMRI6yiKo2fZ0ctr3oVtg2uGxz/0sE5Ha8w7kL6NCkdL0gL+UzeyKQLvNDUHqQ hpWCVDQLi25x1wHwmJ7e5Ubs6E4iOKMc9+FF+KSAlcQs8/lzoiSDnwcGvzA9UU7K0Lum chDQ== 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=yG8mtSfYwGca0yq8HxWRLLNG6/598vuze3cGt5uvAE4=; b=U0GSCoswY/XHBSZEWSIDySnNm42usaU/CQkm5/9kWbTkJfUOCHQynfVfu6xrIq9E5b aKbaNkLFndoLu04EcmEbEGNNFR+ZLWN8LXAL+uApWa2W+MIpaWohEoLMiSM4KGitRsx5 ipKmxeZ6Wm38oRiLwQhGYpXmDjlRmlnLxWMbJGYQD4G+RJIHlRjpz+lhpBpRjkYN3OT5 SESYpuL84J6TSBgaN3jfzzS5Sp5Acvv77lcgiuAlCB4nUv5NBs1Fgd9eJTlnKYT06eSH Pkev9CXVur2/EAlqoIstu8vOLiqeVnh+lWlAICizwU4Wz0JGeImI44YycFya2ClHgs7F YMnA== X-Gm-Message-State: AIkVDXJe1+MVJq8EZo4Sq8hL/2Se3oHvqeJ6/f2ix8IVDlvzo9C/pydDjP/PJHqhk+vzNYce X-Received: by 10.223.164.207 with SMTP id h15mr27268940wrb.142.1485253377217; Tue, 24 Jan 2017 02:22:57 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id o42sm19163627wrb.18.2017.01.24.02.22.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Jan 2017 02:22:56 -0800 (PST) From: Alexandre Bailon To: nsekhar@ti.com Cc: khilman@baylibre.com, ptitiano@baylibre.com, tony@atomide.com, linux-omap@vger.kernel.org, linux-usb@vger.kernel.org, b-liu@ti.com, sergei.shtylyov@cogentembedded.com, devicetree@vger.kernel.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, Alexandre Bailon Subject: [PATCH v4] ARM: dts: da850: Add the CPPI 4.1 DMA to the USB OTG controller Date: Tue, 24 Jan 2017 11:22:52 +0100 Message-Id: <20170124102252.15142-1-abailon@baylibre.com> X-Mailer: git-send-email 2.10.2 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org This adds the CPPI 4.1 DMA controller to the USB OTG controller. Changes since v3: - Don't use a wildcard for compatible property. Signed-off-by: Alexandre Bailon --- arch/arm/boot/dts/da850.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 104155d..f4a637a 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -396,12 +396,37 @@ 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,da830-cppi41"; + reg = <0x201000 0x1000 + 0x202000 0x1000 + 0x204000 0x4000>; + reg-names = "controller", + "scheduler", "queuemgr"; + interrupts = <58>; + #dma-cells = <2>; + #dma-channels = <4>; + status = "okay"; + }; }; mdio: mdio@224000 { compatible = "ti,davinci_mdio";