summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@debian.org>2013-12-01 02:00:11 +0100
committerAnton Vorontsov <anton@enomsg.org>2013-12-24 03:35:23 +0100
commitfac171ac263c6435eac38b8fd7571b4cd0e50203 (patch)
tree07990fbd69b9fb13f935535fe97003d5a79e56b5
parentisp1704_charger: Add DT support (diff)
downloadlinux-fac171ac263c6435eac38b8fd7571b4cd0e50203.tar.xz
linux-fac171ac263c6435eac38b8fd7571b4cd0e50203.zip
dt: Binding documentation for isp1704 charger
Add devicetree binding documentation for isp1704-charger. Signed-off-by: Sebastian Reichel <sre@debian.org> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
-rw-r--r--Documentation/devicetree/bindings/power/isp1704.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/isp1704.txt b/Documentation/devicetree/bindings/power/isp1704.txt
new file mode 100644
index 000000000000..fa3596907967
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/isp1704.txt
@@ -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>;
+};