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: 79189 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp3150835qge; Tue, 25 Oct 2016 07:39:42 -0700 (PDT) X-Received: by 10.36.44.14 with SMTP id i14mr1981339iti.105.1477406382792; Tue, 25 Oct 2016 07:39:42 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j5si17481600pax.188.2016.10.25.07.39.42; Tue, 25 Oct 2016 07:39:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752973AbcJYOjj (ORCPT + 7 others); Tue, 25 Oct 2016 10:39:39 -0400 Received: from mail-wm0-f45.google.com ([74.125.82.45]:35113 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758168AbcJYOjh (ORCPT ); Tue, 25 Oct 2016 10:39:37 -0400 Received: by mail-wm0-f45.google.com with SMTP id c78so167101845wme.0 for ; Tue, 25 Oct 2016 07:39:14 -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=jicryevuhiMmjkrkfdXutXLvF4J552dtWuY5HqXs0qR+2brULuKQTWUo/gNBsTNgRu hgsFbMkk4/W3yEeDr0A23lMwbgLX14C9pFK3lnZ2eWPedBdCdWAVBrv1bdUYfhSKEiO2 OhDi7yx96Nskqu+iN1PwlsWNC+DNpY0Rgm8foQKzBuzVolLEL80Oo5QfQ0oHXj97Xlyx DB2RUPw1fBZuoQB1i/A3PfFuDzkxZ8Z5eBVvOnz0974pAhwGnrbzMMf0gX0WSqDDLtl/ iH/b5EYhs1UPRlNJtfXY/bCu4WxtZJC+r46m6wdGKAXY0w8R/YITEbOy34sU5hYmUIeU gvog== X-Gm-Message-State: ABUngvenQogtixb2p5ljldXt4rTMon6L58bhB8RZfOypY3yJl7vUpoeXc1WN+5nmHX3GRy40 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 Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Petr Kulhavy , Alexandre Bailon 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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 -- 2.7.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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"; + };