summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorVenkat Reddy Talla <vreddytalla@nvidia.com>2014-03-19 17:10:52 +0530
committerLaxman Dewangan <ldewangan@nvidia.com>2014-03-21 07:10:35 -0700
commit40ad39bb1e3bd8c62e4ee3a506650c1aa5a354b8 (patch)
treed3f1768f5f58b4a3dcb3326766c14f9156d94ed5 /Documentation
parenta0dbe14a94f159e9c2e49c5116008ad7f55f97a6 (diff)
power: lc709203f:implement interrupt feature
implement interrupt support to generate low voltage/soc events when battery voltage measured below threshold value. update binding doc with lc709203f parameters. Bug 1474634 Change-Id: I89f3b009548132d1e00bc28fb202e1f6babdfab1 Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com> Reviewed-on: http://git-master/r/383844 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/power_supply/lc709203f_battery.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power_supply/lc709203f_battery.txt b/Documentation/devicetree/bindings/power_supply/lc709203f_battery.txt
index 0a2d75200a90..cab288316776 100644
--- a/Documentation/devicetree/bindings/power_supply/lc709203f_battery.txt
+++ b/Documentation/devicetree/bindings/power_supply/lc709203f_battery.txt
@@ -17,6 +17,8 @@ Optional properties:
Kernel read maximum SoC from device for given battery. Kernel
translate the SoC to 100% before reporting to framework if it
reads equal/more than this value.
+ - onsemi,alert-low-rsoc : Alarm low RSOC programed to generate event
+ - onsemi,alert-low-voltage : Alarm low Voltage programed to generate event
Note: The device has capabilty to read battery temp through thermistor.
This also calulate SoC based on temperature of battery. If thermistor
@@ -41,4 +43,6 @@ Example:
onsemi,initial-rsoc = 0xAA55;
onsemi,kernel-threshold-soc = <5>;
onsemi,kernel-maximum-soc = <99>;
+ onsemi,alert-low-rsoc = <0x0>;
+ onsemi,alert-low-voltage = <0x0>;
};