From 21f1693527bb994cb9f81601ca3dccf058350590 Mon Sep 17 00:00:00 2001 From: Mallikarjun Kasoju Date: Sat, 5 Apr 2014 22:41:05 +0530 Subject: Doc: DT: add DT binding doc for palams-ldousb-in selction driver. Bug 1451748 Change-Id: I634ac9226ce763ec2518e08c74d163886e114609 Signed-off-by: Mallikarjun Kasoju Signed-off-by: Laxman Dewangan Reviewed-on: http://git-master/r/394188 GVS: Gerrit_Virtual_Submit --- .../devicetree/bindings/misc/palmas-ldousb-in.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/palmas-ldousb-in.txt (limited to 'Documentation') 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>; +}; + -- cgit v1.2.3