From patchwork Wed Oct 26 15:03:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 9397441 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 2576960236 for ; Wed, 26 Oct 2016 15:06:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 073F129AE3 for ; Wed, 26 Oct 2016 15:06:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EFF8629BFD; Wed, 26 Oct 2016 15:06: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=-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 50B3729AE3 for ; Wed, 26 Oct 2016 15:06:17 +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 1bzPl6-0001k1-DT; Wed, 26 Oct 2016 15:04:52 +0000 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bzPkf-0001Lb-J8 for linux-arm-kernel@lists.infradead.org; Wed, 26 Oct 2016 15:04:29 +0000 Received: by mail-wm0-x235.google.com with SMTP id e69so36702190wmg.0 for ; Wed, 26 Oct 2016 08:04:04 -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=rWyp9jCdGZjq5soB9tigTFUgrsz+bJA/0cqpIJPFuAUH+e3AfQGW+P76Q7HekDz2S+ tzkrW8TqD4XmjG6M4PaU/wNCXhhEbzLL/Hr2tOxiEHlIAaKk/0tnOI6zO1YJFlnX0Tjd 14BI5PAhJhXuDi+0nqAqJf1mgc0FLWa+C8IWq3UbCe6J8jGeMW3fZACEW55cfq9t4/Dn VcfXnjGBdECEqnFOiSnsmqXsNBHN7V7i8GmmakvAYdWhkZEsk9g6P4ej0r0O7RnEJR6z FLnfKaUqonBu2egK0yccuQUyAzjUYdTl1YV1t1YPmqINfQl4joyiDYT0q2a8dzeYDiMS LMNQ== 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=apcddzAnhb0EYD6MZJkEBlrMKrfwuDS/aRa/bEMcghUt1wIY3ZZJ9EwxspEWr+MKSh bTBA37lLXJxixUe40LHlM9Smw0rK8hY02w7WK54RLTRQ0zjoxAkOp0C/L9/xIjS97aS0 UoQ/AtS8rJx7D9PoK8svaflUqxX1mHlfvC/k7s8YjR2eHpKsSo6yrBlWj9flcn/L9lWo lWDX0NEofC+7rX9oWGx+i3K/oZdhESlYDxvy+TcYItEL+1qyEa1mKV9cv0lBxr4GfWqo 1bDhvDeerP9FA+4LGJEc0wJmJaBlUJZnXlx5kpNUD8H2oN3kYSjGg9L3+kj/IIJMVzBT wFgw== X-Gm-Message-State: ABUngvcgMWw5AOMGeEYc9ozdS0ZI3yapjUfPH6lfA4hmST48itzm2fWlJIaLampB6yhVUE09 X-Received: by 10.28.138.209 with SMTP id m200mr8467545wmd.89.1477494243428; Wed, 26 Oct 2016 08:04:03 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id p184sm3604259wmg.3.2016.10.26.08.04.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Oct 2016 08:04:02 -0700 (PDT) From: Alexandre Bailon To: khilman@baylibre.com, robh+dt@kernel.org, b-liu@ti.com Subject: [PATCH v2 1/4] dt/bindings: Add binding for the DA8xx MUSB driver Date: Wed, 26 Oct 2016 17:03:54 +0200 Message-Id: <1477494237-22831-2-git-send-email-abailon@baylibre.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1477494237-22831-1-git-send-email-abailon@baylibre.com> References: <1477494237-22831-1-git-send-email-abailon@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161026_080425_943884_7B4F6A9D X-CRM114-Status: GOOD ( 13.02 ) 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"; + };