From patchwork Thu Oct 27 09:34:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 9399183 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 1A8E460231 for ; Thu, 27 Oct 2016 10:56:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0A8522A092 for ; Thu, 27 Oct 2016 10:56:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F32122A0B9; Thu, 27 Oct 2016 10:56:44 +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 CE01F2A0A1 for ; Thu, 27 Oct 2016 10:56:43 +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 1bziL5-0003J6-4R; Thu, 27 Oct 2016 10:55:15 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bziKo-00022w-AX for linux-arm-kernel@lists.infradead.org; Thu, 27 Oct 2016 10:55:07 +0000 Received: by mail-wm0-x22c.google.com with SMTP id b80so25833030wme.1 for ; Thu, 27 Oct 2016 03:54:37 -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=qFz3zOvy3AnGZD85l2FWasqilDMcnZHehsgUg0zDcWI=; b=hsW5qKnkSi827P09s+03uhed+ZXwWhZphue13foc+J2VPMeQZ7/wtlJDrm8ZuItRKY 6l5bVwBwDtb3VcEV8x5MOeU50YDfTgbsoAKDZLXVkXBwAs2gOyokZbBocHxj/1U8vEps eVg6oMNouvcHeiTyHL1wVZ2URfjhbLobIZIAFxQKRvoib+qTQlrB7awFGqszb9LrhLue c0yEpn2ISqx/JZ6lWJbH5wAggAU4qCdsEEVAn5yWruZlBiyIMCdFO8yy2I2R67Y7y4WS bhywizSTp6yOrij5MYJjK9vfMPpmWAut1kN+OXR42nin8X6qWHjmlT/SWHojMZyLMJfv 0SuQ== 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=qFz3zOvy3AnGZD85l2FWasqilDMcnZHehsgUg0zDcWI=; b=mfbLtNIWBRtEWPe7LH2JV62GpM2PzxWDAUSRS1d4kDYfvdUSDckl0bCfjS9q1T9c6F DvO+klDxffrZ+KPjZI5iXxDwLLg6OIaAUvtndQrhHMnQTkzv8w/Ji9WraJCxiB98rkOc bXcjbC8Bshm1jUYE2QF1lgoWMUH8plKxu0kkbycsMdWJzp+EmUuxitFyG1YcvVgfvm93 jGzWv2YZEdyDDZTAgXEoU6VxTVnGbCro2O2V9Zx80uA2db1D4vJP01dRf0eJvGQQxXDC cV4uG6RkJAA6jm0XVCWnthZStEHgNQXLpcn14BW5v8t8oDjLimCj5Y0ToeBXjjKdwKxm QmzQ== X-Gm-Message-State: ABUngvfPZOW5PYUQM+cSK9PFPV4dqo86nZfWdpTy0JyLSyZG46pzLunx8NKOr1tKhwKIWezv X-Received: by 10.194.100.169 with SMTP id ez9mr6010745wjb.9.1477560861564; Thu, 27 Oct 2016 02:34:21 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id im3sm7412558wjb.13.2016.10.27.02.34.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Oct 2016 02:34:21 -0700 (PDT) From: Alexandre Bailon To: khilman@baylibre.com, robh+dt@kernel.org, b-liu@ti.com Subject: [PATCH v3 1/4] dt/bindings: Add binding for the DA8xx MUSB driver Date: Thu, 27 Oct 2016 11:34:04 +0200 Message-Id: <1477560847-8929-2-git-send-email-abailon@baylibre.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1477560847-8929-1-git-send-email-abailon@baylibre.com> References: <1477560847-8929-1-git-send-email-abailon@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161027_035458_923317_A1E2C69D X-CRM114-Status: GOOD ( 12.83 ) 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 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"; + };