diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/misc/palmas-ldousb-in.txt | 24 |
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>; +}; + |