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-23 18:35:23 -0800
commitfac171ac263c6435eac38b8fd7571b4cd0e50203 (patch)
tree07990fbd69b9fb13f935535fe97003d5a79e56b5
parent34a109610e2a78b56be22fa314054c09669075eb (diff)
downloadop-kernel-dev-fac171ac263c6435eac38b8fd7571b4cd0e50203.zip
op-kernel-dev-fac171ac263c6435eac38b8fd7571b4cd0e50203.tar.gz
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 0000000..fa35969
--- /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>;
+};
OpenPOWER on IntegriCloud