Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1509513

[PATCH v2 1/4] dt/bindings: Add binding for the DA8xx MUSB driver

Path csiph.com!feeder.erje.net!1.us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Alexandre Bailon <abailon@baylibre.com>
Newsgroups linux.kernel
Subject [PATCH v2 1/4] dt/bindings: Add binding for the DA8xx MUSB driver
Date Wed, 26 Oct 2016 17:10:02 +0200
Message-ID <swy02-5vO-29@gated-at.bofh.it> (permalink)
References <swy01-5vO-1@gated-at.bofh.it>
X-Original-To khilman@baylibre.com, robh+dt@kernel.org, b-liu@ti.com
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=Cp5dgJB6TEqnwRupHH7sQvCcqvZELAisxVMwAAggyAq1XjbIKV4OhSVp6wkJLIx5t8 2k1YMjzD4tZqgq8UdPTsXdxY6ELRlGoPraL/ugoMN3Tr7zabFwyVzpDZqZjkornVQ+FX 3vNb9N6ILSIwpbupLb3piG8ibKtmvT+nhISAR8WaZ4AI0cCy723kQtxUUzE5wwskcFu2 PmOV7Aanq2z7cp5fU0i3FTDGOc49gRykMbNW/KfA2WPblOrOUxtqjXyHOsJ9Ko13hq5U EhtBZX+QOacMRnr1hE5pct637xYG3Kn5KDCmV9uhu11RS9FSuSKqJ1lCR5IBwcHTvaYb HW6A==
X-Gm-Message-State ABUngvcFmLMjExbBmz2wEVkKXfkdhfHKW/RI0mi8bRRqg4LtbsPCfgWjlLzKUU87BfF1tyLG
X-Received by 10.28.138.209 with SMTP id m200mr8467545wmd.89.1477494243428; Wed, 26 Oct 2016 08:04:03 -0700 (PDT)
X-Mailer git-send-email 2.7.3
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 62
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Petr Kulhavy <petr@barix.com>, Alexandre Bailon <abailon@baylibre.com>
X-Original-Date Wed, 26 Oct 2016 17:03:54 +0200
X-Original-Message-ID <1477494237-22831-2-git-send-email-abailon@baylibre.com>
X-Original-References <1477494237-22831-1-git-send-email-abailon@baylibre.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1509513

Show key headers only | View raw


From: Petr Kulhavy <petr@barix.com>

DT binding for the TI DA8xx/OMAP-L1x/AM17xx/AM18xx MUSB driver.

Signed-off-by: Petr Kulhavy <petr@barix.com>
Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
---
 .../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";
+	};
-- 
2.7.3

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/4] Add DT support for DA8xx Alexandre Bailon <abailon@baylibre.com> - 2016-10-26 17:10 +0200
  [PATCH v2 2/4] usb: musb: core: added helper function for parsing DT Alexandre Bailon <abailon@baylibre.com> - 2016-10-26 17:10 +0200
    Re: [PATCH v2 2/4] usb: musb: core: added helper function for parsing  DT David Lechner <david@lechnology.com> - 2016-10-27 05:30 +0200
  [PATCH v2 1/4] dt/bindings: Add binding for the DA8xx MUSB driver Alexandre Bailon <abailon@baylibre.com> - 2016-10-26 17:10 +0200
  [PATCH v2 3/4] usb: musb: da8xx: Add DT support for the DA8xx driver Alexandre Bailon <abailon@baylibre.com> - 2016-10-26 17:10 +0200
    Re: [PATCH v2 3/4] usb: musb: da8xx: Add DT support for the DA8xx  driver David Lechner <david@lechnology.com> - 2016-10-27 05:30 +0200
  [PATCH v2 4/4] ARM: dts: da850: Add the usb otg device node Alexandre Bailon <abailon@baylibre.com> - 2016-10-26 17:10 +0200

csiph-web