summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMallikarjun Kasoju <mkasoju@nvidia.com>2014-04-05 22:41:05 +0530
committerLaxman Dewangan <ldewangan@nvidia.com>2014-04-09 21:43:04 -0700
commit21f1693527bb994cb9f81601ca3dccf058350590 (patch)
tree197ec9d1440b153429a78588534e3bdf684712ab /Documentation
parentdc2438866c8b961da5c93328a7b1966b80c4e42f (diff)
Doc: DT: add DT binding doc for palams-ldousb-in selction driver.
Bug 1451748 Change-Id: I634ac9226ce763ec2518e08c74d163886e114609 Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/394188 GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/misc/palmas-ldousb-in.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/misc/palmas-ldousb-in.txt b/Documentation/devicetree/bindings/misc/palmas-ldousb-in.txt
new file mode 100644
index 000000000000..b2b959a13ea1
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/palmas-ldousb-in.txt
@@ -0,0 +1,24 @@
+Dynamic ldousb input selection based on input voltage
+
+Required Properties:
+- compatible: Must be "ti,palmas-ldousb-in"
+- ti,ldousb-in-threshold-voltage: Threshold voltage on input to change
+ inputs i.e. IN1 or IN2.
+- ti,enable-in1-above-threshold: Boolean type. Enable IN1 above threshold.
+ If this property is not available then enable IN2 on aboe
+ threshold.
+- ti,threshold-voltage-tolerance: Switch to above threshold input if the input
+ voltage is beyond threshold + tolerance.
+- ldousb-in1-supply: IN1 regualtor supply.
+- ldousb-in2-supply: IN2 regulator supply.
+
+Example:
+palmas_ldousb_in {
+ compatible = "ti,palmas-ldousb-in";
+ ti,ldousb-in-threshold-voltage = <3500>;
+ ti,threshold-voltage-tolerance = <200>;
+ ti,enable-in1-above-threshold;
+ ldousb-in1-supply = <&palmas_smps10_out2>;
+ ldousb_in2-supply = <&vdd_ac_bat_reg>;
+};
+