From patchwork Mon Jan 30 17:56:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 92906 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1561703qgi; Mon, 30 Jan 2017 10:03:07 -0800 (PST) X-Received: by 10.98.35.25 with SMTP id j25mr24221197pfj.35.1485799387434; Mon, 30 Jan 2017 10:03:07 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n8si13243899pll.207.2017.01.30.10.03.07; Mon, 30 Jan 2017 10:03:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-usb-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-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753909AbdA3SDF (ORCPT + 4 others); Mon, 30 Jan 2017 13:03:05 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:36792 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752379AbdA3SDE (ORCPT ); Mon, 30 Jan 2017 13:03:04 -0500 Received: by mail-wm0-f50.google.com with SMTP id c85so225264187wmi.1 for ; Mon, 30 Jan 2017 10:03:04 -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=Dn2lKxA9tubdsvZ9MhdCUvQVI35UQAziD4SDawk+PEk=; b=N1WgamjxN5FH41N4g9i89kJw89US8GlfFbIoKqvrxLxhbfnapC600P3dVDXOHiftVN 8bpvYjbDNk5arNevhAVINWBBeH2GTP9haXOn72AnOQSFm+lfigF05Gv9Woorg1jFNMvQ E1ZQZJXEelcB78sbsrXhmcJeqsUeeAkwAII6hygDJHbZr7FzKwp966fFu5aFsf0zskGJ oTAtzJOtf4SSRxfagu5KBTXV+NoQcQQiesmcojn2zmfKO10poCfSBacsr+wGOGujCl+W X0JgPodvd0VrRNxBqf1X8mwIbbX2J0kEhV1i5TKwLl0f3T+DishkSSKUUSck9fiS1yVI ZgyA== 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=Dn2lKxA9tubdsvZ9MhdCUvQVI35UQAziD4SDawk+PEk=; b=aXdbOawvGvWCAb4Vhm2aFZgSn65UgOaUEHOsDxq3FKoEY7ncZJ/hdTfhV/27yH7CRr gMLZu1IPlIGE8JdtsIQJRX0N8KBhu/4oZHbpahW+lb11ODU5/M95vJXWqBij8lDpRRCg yf7ol0Mb5u512K4609UEnJy/Exs/bkRvCePCJG2d3t65RdtnoeVaS/opju6cxeMH6bcP AMt8esT9EVdXLpyXJVH91hj+WmJKbdegNEurUzF+oyN1CV/u3YiLu1ofV1CeFW9fK4RY R1nXXAx2FtwNIFLsrIJzbu3hMPVxcJDogqa7+BPpi47WuSP+TeSMOuS4IbO/8ASU/r+G S6eQ== X-Gm-Message-State: AIkVDXJUzFw6a4bFNw54x4FlgwHEzJQnYEACVPl9CIanbtJQtgv7RkW6Qqxfxg+5Vk1BFrEW X-Received: by 10.28.141.199 with SMTP id p190mr15842990wmd.89.1485798990541; Mon, 30 Jan 2017 09:56:30 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id y65sm19895367wmb.5.2017.01.30.09.56.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Jan 2017 09:56:30 -0800 (PST) From: Alexandre Bailon To: nsekhar@ti.com Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, khilman@baylibre.com, ptitiano@baylibre.com, tony@atomide.com, b-liu@ti.com, sergei.shtylyov@cogentembedded.com, Alexandre Bailon Subject: [PATCH v5] ARM: dts: da850: Add the CPPI 4.1 DMA to the USB OTG controller Date: Mon, 30 Jan 2017 18:56:27 +0100 Message-Id: <20170130175627.28842-1-abailon@baylibre.com> X-Mailer: git-send-email 2.10.2 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org This adds the CPPI 4.1 DMA controller to the USB OTG controller. Changes since v4: - Fix the overlaping address between usb and cppi41 nodes. Signed-off-by: Alexandre Bailon --- arch/arm/boot/dts/da850.dtsi | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" 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..70ad3e8 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -395,13 +395,38 @@ }; usb0: usb@200000 { compatible = "ti,da830-musb"; - reg = <0x200000 0x10000>; + reg = <0x200000 0x1000>; + 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";