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


Groups > linux.kernel > #1514656

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

From Alexandre Bailon <abailon@baylibre.com>
Newsgroups linux.kernel
Subject [PATCH v4 1/4] dt/bindings: Add binding for the DA8xx MUSB driver
Date 2016-11-03 17:10 +0100
Message-ID <szsKu-664-37@gated-at.bofh.it> (permalink)
References <szsKt-664-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | 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>
Acked-by: Rob Herring <robh@kernel.org>
---
 .../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";
+	};
-- 
2.7.3

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


Thread

[PATCH v4 0/4] Add DT support for DA8xx Alexandre Bailon <abailon@baylibre.com> - 2016-11-03 17:10 +0100
  [PATCH v4 1/4] dt/bindings: Add binding for the DA8xx MUSB driver Alexandre Bailon <abailon@baylibre.com> - 2016-11-03 17:10 +0100
  [PATCH v4 4/4] ARM: dts: da850: Add the usb otg device node Alexandre Bailon <abailon@baylibre.com> - 2016-11-03 17:10 +0100
  [PATCH v4 2/4] usb: musb: core: added helper function for parsing DT Alexandre Bailon <abailon@baylibre.com> - 2016-11-03 17:10 +0100

csiph-web