diff options
author | Louis Li <louli@nvidia.com> | 2013-12-24 14:48:56 +0800 |
---|---|---|
committer | Laxman Dewangan <ldewangan@nvidia.com> | 2014-01-06 22:05:45 -0800 |
commit | 22c283f6272cc9ad0abf3b32969b8bed07276f63 (patch) | |
tree | ef1cd289e511e8cc08f1e0dc9fc47415121b903f /Documentation | |
parent | ea0a18696d24213fe4f8db1546b8d6ea1134f482 (diff) |
power: bq27441: Add device tree support
Bug 1429354
Change-Id: Ie2aa61c9498129f35d5f1011abdb6cd1a0c97126
Signed-off-by: Louis Li <louli@nvidia.com>
Reviewed-on: http://git-master/r/349460
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/power_supply/bq27441_battery.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power_supply/bq27441_battery.txt b/Documentation/devicetree/bindings/power_supply/bq27441_battery.txt new file mode 100644 index 000000000000..349cb4239166 --- /dev/null +++ b/Documentation/devicetree/bindings/power_supply/bq27441_battery.txt @@ -0,0 +1,29 @@ +bq27441 battery +~~~~~~~~~~~~~~~~ + +Required properties : + - compatible : Should contain "ti,bq27441". + - ti,tz-name : Thermal zone name. +Optional properties : + - ti,design-capacity : The designed battery capacity used for + gauge's predictions. in mAh. + - ti,design-energy : The designed battery energy. in mWh. + - ti,taper-rate : The current threshold below which your charger + IC is set to stop charging once it considers the battery to be + full. in mA. + - ti,terminate-voltage : Should be set to the minimum operating + voltage of your system. This is the target where the gauge + typically reports 0% capacity. in mV. + - ti,v-at-chg-term : Voltage at charge termination. in mV. + +Example: + + bq27441@55 { + compatible = "ti,bq27441"; + ti,design-capacity = <7800>; + ti,design-energy = <28314>; + ti,taper-rate = <167>; + ti,terminate-voltage = <3150>; + ti,v-at-chg-term = <4200>; + ti,tz-name = "battery-temp"; + }; |