From patchwork Wed Nov 16 10:52:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 9431267 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 E40576047D for ; Wed, 16 Nov 2016 10:54:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD9FE28EFC for ; Wed, 16 Nov 2016 10:54:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C22E228F01; Wed, 16 Nov 2016 10:54:41 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7FD7128EFC for ; Wed, 16 Nov 2016 10:54:41 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c6xqB-0001oG-Pf; Wed, 16 Nov 2016 10:53:19 +0000 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c6xpn-0001JD-PR for linux-arm-kernel@lists.infradead.org; Wed, 16 Nov 2016 10:52:57 +0000 Received: by mail-wm0-x22f.google.com with SMTP id t79so63941308wmt.0 for ; Wed, 16 Nov 2016 02:52:34 -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; bh=1dl3ST9xu6alPpSjXvSU6dN1X+b5kCmWIiL3CapDsRU=; b=101gw570iL+1yJM+un5y51jCwUtquRKwznJoQP6dvFKCZaQnZuIPc31HH+t/HT5/Fg PVU2S38AJqCgonVgy/5YxUrOPBVvoP8CBkxx3unFK92lGZLAYiVixHqiJVu937/vciCz Z/SGnH5S2ZUUUMlGlskzJVmbBbKF3DGrBKeBFu9zSj+smM8FuckXl0lzl4XbI/kgFhlz rsHlDOdEoFk/07BPNq8009MfYqTRP16UOeWxXNLzz8BYfo7NXGuPyNDvmLpUV4GQmQy8 1nFmxi3VQvgxecsgT81cA6OnUDB3ridqLVgw4G78ueH/DvgG2G4b3Kemp8p1W9PF2dYO 2QzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1dl3ST9xu6alPpSjXvSU6dN1X+b5kCmWIiL3CapDsRU=; b=LO2A9d0rmhu4rpz4ZOg/MH2stM5nUBiu8tuG3fMXKyu686jGnzMGssInMOXb4dfu0X ujTRe4rsnki3Jm/AxMdXNeTGOFZmwZQeOfoad7wzVm8h98oKBu+ixIy8Zd/RQZpgaOvN KyUuaROE8aeaddNfmSPtWopJRc/UZhZQK5+sfBmOza+BgS7KTPqSPdtfP5Sw0ss2O+F1 e1tF6cyMZi6wRCjREq+dPhtJGCz7n+RLNhHZb4GTXgDaeZvkktzFz94GC8eV2SDf38vk leOvcHOOFxghqNkt946Qt/+yA4fhNXer3qlzry9TNGIq/1+wBRk5+8q2ZSkPtqtlbXO4 lf7Q== X-Gm-Message-State: ABUngvcEUruLmBfAfXNqAan5TlujA9zoHR+dyuPwB69Eh6h3sRsqoVcwPGCFoKqkIAcq6+6H X-Received: by 10.28.230.197 with SMTP id e66mr9519188wmi.12.1479293553522; Wed, 16 Nov 2016 02:52:33 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id m9sm9444479wma.0.2016.11.16.02.52.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 Nov 2016 02:52:33 -0800 (PST) From: Alexandre Bailon To: khilman@baylibre.com, robh+dt@kernel.org, b-liu@ti.com Subject: [PATCH v5 1/3] dt/bindings: Add binding for the DA8xx MUSB driver Date: Wed, 16 Nov 2016 11:52:23 +0100 Message-Id: <1479293545-7516-2-git-send-email-abailon@baylibre.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1479293545-7516-1-git-send-email-abailon@baylibre.com> References: <1479293545-7516-1-git-send-email-abailon@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161116_025256_058021_51858DD7 X-CRM114-Status: GOOD ( 12.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-usb@vger.kernel.org, nsekhar@ti.com, linux-kernel@vger.kernel.org, Petr Kulhavy , Alexandre Bailon , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Petr Kulhavy DT binding for the TI DA8xx/OMAP-L1x/AM17xx/AM18xx MUSB driver. Signed-off-by: Petr Kulhavy Signed-off-by: Alexandre Bailon Acked-by: Rob Herring --- .../devicetree/bindings/usb/da8xx-usb.txt | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/da8xx-usb.txt diff --git a/Documentation/devicetree/bindings/usb/da8xx-usb.txt b/Documentation/devicetree/bindings/usb/da8xx-usb.txt new file mode 100644 index 0000000..ccb844a --- /dev/null +++ b/Documentation/devicetree/bindings/usb/da8xx-usb.txt @@ -0,0 +1,43 @@ +TI DA8xx MUSB +~~~~~~~~~~~~~ +For DA8xx/OMAP-L1x/AM17xx/AM18xx platforms. + +Required properties: +~~~~~~~~~~~~~~~~~~~~ + - compatible : Should be set to "ti,da830-musb". + + - reg: Offset and length of the USB controller register set. + + - interrupts: The USB interrupt number. + + - interrupt-names: Should be set to "mc". + + - dr_mode: The USB operation mode. Should be one of "host", "peripheral" or "otg". + + - phys: Phandle for the PHY device + + - phy-names: Should be "usb-phy" + +Optional properties: +~~~~~~~~~~~~~~~~~~~~ + - vbus-supply: Phandle to a regulator providing the USB bus power. + +Example: + usb_phy: usb-phy { + compatible = "ti,da830-usb-phy"; + #phy-cells = <0>; + status = "okay"; + }; + usb0: usb@200000 { + compatible = "ti,da830-musb"; + reg = <0x00200000 0x10000>; + interrupts = <58>; + interrupt-names = "mc"; + + dr_mode = "host"; + vbus-supply = <&usb_vbus>; + phys = <&usb_phy 0>; + phy-names = "usb-phy"; + + status = "okay"; + };