From: Daniel Tang
Date: Tue, 11 Mar 2014 05:47:40 +0000 (+0800)
Subject: devicetree: bindings: document lsi,zevio-usb
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f61a7669f3986a0031c7cc780e2ccf2ec038ae33;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git
devicetree: bindings: document lsi,zevio-usb
Add documentation for zevio-usb
Signed-off-by: Peter Chen
Signed-off-by: Daniel Tang
Signed-off-by: Greg Kroah-Hartman
---
diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-zevio.txt b/Documentation/devicetree/bindings/usb/ci-hdrc-zevio.txt
new file mode 100644
index 000000000000..abbcb2aea38c
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/ci-hdrc-zevio.txt
@@ -0,0 +1,17 @@
+* LSI Zevio USB OTG Controller
+
+Required properties:
+- compatible: Should be "lsi,zevio-usb"
+- reg: Should contain registers location and length
+- interrupts: Should contain controller interrupt
+
+Optional properties:
+- vbus-supply: regulator for vbus
+
+Examples:
+ usb0: usb@b0000000 {
+ reg = <0xb0000000 0x1000>;
+ compatible = "lsi,zevio-usb";
+ interrupts = <8>;
+ vbus-supply = <&vbus_reg>;
+ };