From 40ad39bb1e3bd8c62e4ee3a506650c1aa5a354b8 Mon Sep 17 00:00:00 2001 From: Venkat Reddy Talla Date: Wed, 19 Mar 2014 17:10:52 +0530 Subject: 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 Reviewed-on: http://git-master/r/383844 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan Tested-by: Laxman Dewangan --- Documentation/devicetree/bindings/power_supply/lc709203f_battery.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Documentation') 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>; }; -- cgit v1.2.3