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: 9521021 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 19268601C3 for ; Tue, 17 Jan 2017 13:52:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EE1BE28564 for ; Tue, 17 Jan 2017 13:52:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E2CF128568; Tue, 17 Jan 2017 13:52:56 +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 169F528565 for ; Tue, 17 Jan 2017 13:52:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751159AbdAQNwz (ORCPT ); Tue, 17 Jan 2017 08:52:55 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:37100 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751103AbdAQNwy (ORCPT ); Tue, 17 Jan 2017 08:52:54 -0500 Received: by mail-wm0-f47.google.com with SMTP id c206so223754147wme.0 for ; Tue, 17 Jan 2017 05:52:14 -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=rtNgmvC/tLaAhMekvBiUUIHEKasPlET7hFXFfadpjo/B6cxRkf3F4EQWAVHrzTjASp 4Aen8VDDeU+kHepQNeNHdphi9M3rtMFal3H8maBS5Q+J6pWpCadB/LXmhnIVsMsuW0GQ nh3OBCWkaX0xkJDxEWnRRLXpS12sEPSDxK2NHZDlNy4o2rmzTu23VT80OjW8jayUCTZJ pCqEMfVsq6OmcO480QIyjrp2AAQZQrD0fSU4woWpsuG8UeSiArcXf6zQWATiBDRaMEfr MfS0VdYvVH/CuBf3fN7rK+vnlVVYH35Q6vX8SzwrXf6gAZmCqfkZA15fB9Alry/H0vRe 6ebQ== X-Gm-Message-State: AIkVDXLpagtlRQoMHD/ALkodQ/NzjWit5ZzAfkUUucrpKpHZZ+a8gZbt7hGiIB2K54ebcMxD 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: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@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>;