dt: Binding documentation for isp1704 charger
authorSebastian Reichel <sre@debian.org>
Sun, 1 Dec 2013 01:00:11 +0000 (02:00 +0100)
committerAnton Vorontsov <anton@enomsg.org>
Tue, 24 Dec 2013 02:35:23 +0000 (18:35 -0800)
Add devicetree binding documentation for isp1704-charger.

Signed-off-by: Sebastian Reichel <sre@debian.org>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Documentation/devicetree/bindings/power/isp1704.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/power/isp1704.txt b/Documentation/devicetree/bindings/power/isp1704.txt
new file mode 100644 (file)
index 0000000..fa35969
--- /dev/null
@@ -0,0 +1,17 @@
+Binding for NXP ISP1704 USB Charger Detection
+
+Required properties:
+- compatible: Should contain one of the following:
+ * "nxp,isp1704"
+- nxp,enable-gpio: Should contain a phandle + gpio-specifier
+  to the GPIO pin connected to the chip's enable pin.
+- usb-phy: Should contain a phandle to the USB PHY
+  the ISP1704 is connected to.
+
+Example:
+
+isp1704 {
+       compatible = "nxp,isp1704";
+       nxp,enable-gpio = <&gpio3 3 GPIO_ACTIVE_LOW>;
+       usb-phy = <&usb2_phy>;
+};