[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <1426687464-2563-3-git-send-email-r.baldyga@samsung.com>
Date: Wed, 18 Mar 2015 15:04:07 +0100
From: Robert Baldyga <r.baldyga@...sung.com>
To: balbi@...com
Cc: gregkh@...uxfoundation.org, myungjoo.ham@...sung.com,
cw00.choi@...sung.com, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, m.szyprowski@...sung.com,
Robert Baldyga <r.baldyga@...sung.com>
Subject: [RFC 02/19] dt-bindings: extcon: Add doc for extcon-odroid-usbotg
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@...sung.com>
---
.../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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists