summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2014-03-26 15:53:34 +0530
committerLaxman Dewangan <ldewangan@nvidia.com>2014-03-26 09:46:11 -0700
commit4ef0179cbbde22367b4c028d6b722c4bde52c6ec (patch)
tree08cc187e8177c22773661978ee2e84b83ebce35e /Documentation
parent7ec650cac30c1244b217c4036553aafd1d535d92 (diff)
power: power_supply_extcon: add dt support
Add DT support for the power_supply-extcon driver Added DT binding documents also. Change-Id: Id7d612032cac82eecadae6c24a3c1e0c82b60a27 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/387063
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/power_supply/power_supply_extcon.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power_supply/power_supply_extcon.txt b/Documentation/devicetree/bindings/power_supply/power_supply_extcon.txt
new file mode 100644
index 000000000000..fd4a1a476ce9
--- /dev/null
+++ b/Documentation/devicetree/bindings/power_supply/power_supply_extcon.txt
@@ -0,0 +1,11 @@
+power_supply_extcon
+~~~~~~~~~~~~~~~~
+Required properties :
+ - compatible : Should contain "power-supply-extcon".
+ - power-supply,extcon-dev: Extcon device name.
+
+Example:
+ psy_extcon {
+ compatible = "power-supply-extcon";
+ power-supply,extcon-dev = "udc-extcon";
+ };