From patchwork Tue Oct 25 14:39:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 9394607 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 64CBC60231 for ; Tue, 25 Oct 2016 14:41:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 577CF293A9 for ; Tue, 25 Oct 2016 14:41:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4AC9329623; Tue, 25 Oct 2016 14:41:52 +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 EE1A8293A9 for ; Tue, 25 Oct 2016 14:41:47 +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 1bz2tW-0007hP-H9; Tue, 25 Oct 2016 14:40:02 +0000 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bz2t5-0007WW-M6 for linux-arm-kernel@lists.infradead.org; Tue, 25 Oct 2016 14:39:39 +0000 Received: by mail-wm0-x231.google.com with SMTP id b80so167474930wme.1 for ; Tue, 25 Oct 2016 07:39:15 -0700 (PDT) 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=2iuFtD3+uk63lkurGFoOgblJKod6rk1KizTQPnPkEJI=; b=x56cuRDWfUmsMPD+MqfOckbNcn2kgG/5wYABdRw0FmClGw2GnYPjdddy91m/JClm8h l4c8BUdeHuGpXdkBfXwU/TjS/pcFjoe3/YuOezvoAsvtUzNEJmn2Xob84ujWfe2axWNX 31WH7qPrwx9XlKeiDHF8mS+XBw8wwtvkQgB2QXozQN9tfLmolMY8ZrVu0fkB1BVBcbJW pnvjK6bX2EOHEQp2WxCoBDxkzDie9plOFslTKWkXsQgThy7uw6LPFepQUPNopEZvN73q /sC9aCtxrM2Xc1nN8tG4+6/GomhGPHlh08ZxxcCPuVK58NsRIXCA1goMf8Dz1N5FweFL j3HA== 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=2iuFtD3+uk63lkurGFoOgblJKod6rk1KizTQPnPkEJI=; b=A6KzASI08ZLSwpTnLO10LSi7dXcD2FRxLrLb/pQC9ARrOrc/1L3XuIkHS4eFG1C5vW enx+gkC0zWRh3ho2CPBw9MyezA/tPSzqpEX2GBvxKYKMFKF3xm5HY5gY4NApO9NcpX/8 RhPlFbSt+8rfntUZuyd95h8PuHlkRlDunQ2k+pZjKSTE0bSI0xiPCQ0XdTZWoHAl/4i9 cP4u2NE9asFHULz7Ei2sNwDAt+2917AoWEDmr8OaOI7YhEciorSHQnhwBD3lxGp3JIFq CyFfOCTB7Zf5zJXHe5rav3Z9CYudnG9VSvonoBNSbX4HeUzjsaxShRdVCUF95RN5QS/K Z23w== X-Gm-Message-State: ABUngvf1nqKvLeqdEMpdEWImoWBhv+0dsUiR5W6rAELPrXt6+lz9TDFQyhN9+7icgtq5bCQ2 X-Received: by 10.28.26.193 with SMTP id a184mr3429481wma.93.1477406352481; Tue, 25 Oct 2016 07:39:12 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id r72sm4030723wmd.21.2016.10.25.07.39.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Oct 2016 07:39:11 -0700 (PDT) From: Alexandre Bailon To: khilman@baylibre.com, robh+dt@kernel.org, b-liu@ti.com Subject: [PATCH 1/4] dt/bindings: Add binding for the DA8xx MUSB driver Date: Tue, 25 Oct 2016 16:39:02 +0200 Message-Id: <1477406345-27192-2-git-send-email-abailon@baylibre.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1477406345-27192-1-git-send-email-abailon@baylibre.com> References: <1477406345-27192-1-git-send-email-abailon@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161025_073935_970277_CCF615B6 X-CRM114-Status: GOOD ( 13.48 ) 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, 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 --- .../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..5663d79 --- /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"; + }; + usb20: usb@1e00000 { + 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"; + };