From patchwork Tue Jan 17 13:45:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 9521127 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 45E466020A for ; Tue, 17 Jan 2017 14:15:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32B9A284E9 for ; Tue, 17 Jan 2017 14:15:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23F4F28569; Tue, 17 Jan 2017 14:15:21 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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 5DF6F284E9 for ; Tue, 17 Jan 2017 14:15:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750952AbdAQOPT (ORCPT ); Tue, 17 Jan 2017 09:15:19 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:34816 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750964AbdAQOPT (ORCPT ); Tue, 17 Jan 2017 09:15:19 -0500 Received: by mail-wm0-f43.google.com with SMTP id r126so202513047wmr.0 for ; Tue, 17 Jan 2017 06:15:13 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=j/Hshz2GlgToHA8WAqK13oQ+r95M7A29RUpbqkqL9B4=; b=YV7zbWaGii7LTBaNbgBxJuEgENTrAfQ07zCu7OuU/b1Rf+pmmhgkN0Vo5hrS7cqD3c ugrXxjYn9q5TMssxkI2x21/u/oSBuEklobttTPmlV7TKZ3c49sGlLUQCnIl81eHujd3K BMcx4+sG/kW/OOjt6VJWZKul51w4vACHV1Jr8hNcUitnKQ1cwHLXM5eckgxpWskRHchj VmTsoIQL271pZUqmfsmE2rz4r4hezqnzluQnBuo65mvg4mbmpolEPqt5+641XnKZuGUF L5eVbr0yU9nJoX+sRzsrAIE709qQ6b26l8ZmbJla5Xp928Nz+TVeHF73iun2dHZ7BXZV Pqcg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=j/Hshz2GlgToHA8WAqK13oQ+r95M7A29RUpbqkqL9B4=; b=DoRvQY6zro2pifmjwfP+lCaQAq/D4WrY1LfE8Kq8mCeI19CHD06tus3uz0IcxOA0p0 GSR6ckJuDochNJxXxy0BnAiDSKiBwZyRMR1J+lP0wLNiNkRMCo4dZLXa92WVa1J7Pdn0 kxjmxMnntx64dZrfQdQziX1Ksudyn/Ju0X4D2KtlTXzfEadTBCTK4azWMidMpsAMyTRg GE9Q1GshmcUZ7+imUFyWiRd9WTLTkzbCYqhAdWIkWocHQVAAnk4dd+Jy33jyO5jFJbeB Ej6ytJjNNHfJgq9carws/i34LNDwliy4zhf2BKrHHh5vdkFGnE/wtOig3G+iAksfzpTm zhZQ== X-Gm-Message-State: AIkVDXI1REqdQWc4NWZfe1Ju6uUUC5UZkAqH8xBYc/PqX0SKQOiY+6Bx7i6f0SNROI6dAs53 X-Received: by 10.28.109.218 with SMTP id b87mr15394433wmi.52.1484660751291; Tue, 17 Jan 2017 05:45:51 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id l187sm37064811wml.6.2017.01.17.05.45.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Jan 2017 05:45:50 -0800 (PST) From: Alexandre Bailon To: vinod.koul@intel.com, b-liu@ti.com, robh+dt@kernel.org Cc: dmaengine@vger.kernel.org, nsekhar@ti.com, khilman@baylibre.com, ptitiano@baylibre.com, tony@atomide.com, linux-omap@vger.kernel.org, sergei.shtylyov@cogentembedded.com, devicetree@vger.kernel.org, Alexandre Bailon Subject: [PATCH v2 2/7] usb: usb: dsps: update device tree bindings Date: Tue, 17 Jan 2017 14:45:35 +0100 Message-Id: <20170117134540.9988-3-abailon@baylibre.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170117134540.9988-1-abailon@baylibre.com> References: <20170117134540.9988-1-abailon@baylibre.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In order to make CPPI 4.1 DMA driver more generic, accesses to USBSS have been removed. So it is not required anymore to define "glue" register's address and size in DT. Update dsps device tree bindings. Signed-off-by: Alexandre Bailon --- Documentation/devicetree/bindings/usb/am33xx-usb.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/am33xx-usb.txt b/Documentation/devicetree/bindings/usb/am33xx-usb.txt index 20c2ff2..ef89010 100644 --- a/Documentation/devicetree/bindings/usb/am33xx-usb.txt +++ b/Documentation/devicetree/bindings/usb/am33xx-usb.txt @@ -54,9 +54,9 @@ node. DMA ~~~ - compatible: ti,am3359-cppi41 -- reg: offset and length of the following register spaces: USBSS, USB +- reg: offset and length of the following register spaces: USB CPPI DMA Controller, USB CPPI DMA Scheduler, USB Queue Manager -- reg-names: glue, controller, scheduler, queuemgr +- reg-names: controller, scheduler, queuemgr - #dma-cells: should be set to 2. The first number represents the endpoint number (0 … 14 for endpoints 1 … 15 on instance 0 and 15 … 29 for endpoints 1 … 15 on instance 1). The second number is 0 for RX and @@ -183,11 +183,10 @@ usb: usb@47400000 { cppi41dma: dma-controller@07402000 { compatible = "ti,am3359-cppi41"; - reg = <0x47400000 0x1000 - 0x47402000 0x1000 + reg = <0x47402000 0x1000 0x47403000 0x1000 0x47404000 0x4000>; - reg-names = "glue", "controller", "scheduler", "queuemgr"; + reg-names = "controller", "scheduler", "queuemgr"; interrupts = <17>; interrupt-names = "glue"; #dma-cells = <2>;