summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/power/supply/isp1704.txt
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2016-06-17 14:12:47 +0200
committerSebastian Reichel <sre@kernel.org>2016-08-11 01:11:29 +0200
commitf3332532463fef7d56507c08b33993db398d7a91 (patch)
treee0fc566c557d70e103c51c7276c33ca57db37041 /Documentation/devicetree/bindings/power/supply/isp1704.txt
parent8c0984e5a75337df513047ec92a6c09d78e3e5cd (diff)
downloadblackbird-op-linux-f3332532463fef7d56507c08b33993db398d7a91.tar.gz
blackbird-op-linux-f3332532463fef7d56507c08b33993db398d7a91.zip
power/supply: unify DT documentation
Currently the power supply device tree documentation is spread in .../bindings/power_supply and .../bindings/power. This unifies the files for chargers and battery fuel gauges in .../bindings/power/supply and the ones for system reset/shutdown in .../bindings/power/reset (same structure as used for the drivers itself). Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/power/supply/isp1704.txt')
-rw-r--r--Documentation/devicetree/bindings/power/supply/isp1704.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/supply/isp1704.txt b/Documentation/devicetree/bindings/power/supply/isp1704.txt
new file mode 100644
index 000000000000..fa3596907967
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/supply/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