[RFC 02/19] dt-bindings: extcon: Add doc for extcon-odroid-usbotg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch adds documentation for binding of extcon-odroid-usbotg device
which is using extcon subsystem. This driver allows to detect type of
cable connected to micro-USB port on Odroid boards.

Signed-off-by: Robert Baldyga <r.baldyga@xxxxxxxxxxx>
---
 .../devicetree/bindings/extcon/extcon-odroid-usbotg.txt  | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/extcon/extcon-odroid-usbotg.txt

diff --git a/Documentation/devicetree/bindings/extcon/extcon-odroid-usbotg.txt b/Documentation/devicetree/bindings/extcon/extcon-odroid-usbotg.txt
new file mode 100644
index 0000000..3f24e00
--- /dev/null
+++ b/Documentation/devicetree/bindings/extcon/extcon-odroid-usbotg.txt
@@ -0,0 +1,16 @@
+EXTCON FOR ODROID BOARDS
+
+Required Properties:
+ - compatible: "extcon-odroid-usbotg"
+ - vbus-det-gpio: gpio pin detecting VBUS state
+
+Optional Properties:
+ - otg-id-gpio: gpio pin detecting ID pin on USB cable
+ - debounce: debounce time in milliseconds
+
+Example:
+odroid-extcon {
+	compatible = "extcon-odroid-usbotg";
+	otg-id-gpio = <&gpx1 1 0>;
+	vbus-det-gpio = <&gpx3 4 0>;
+};
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux