From 8e7e2cd4a10afd419fb62fa7e5d2ee59d7d4a907 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Mon, 10 Mar 2014 20:35:55 +0530 Subject: power: bq2419x: add thermal support for charging voltage The maximum charging voltage depends on the battery temperature. Add DT porperty and mechanims to set different charging voltage for different temperature. bug 1472161 Change-Id: Ia6fa3ee84cfd1f9ad8359e8249ffb268330f90cf Signed-off-by: Laxman Dewangan Reviewed-on: http://git-master/r/379575 GVS: Gerrit_Virtual_Submit --- Documentation/devicetree/bindings/power/bq2419x-charger.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Documentation') diff --git a/Documentation/devicetree/bindings/power/bq2419x-charger.txt b/Documentation/devicetree/bindings/power/bq2419x-charger.txt index b47812c66097..71816ce693e7 100644 --- a/Documentation/devicetree/bindings/power/bq2419x-charger.txt +++ b/Documentation/devicetree/bindings/power/bq2419x-charger.txt @@ -27,12 +27,19 @@ Optional properties: will be disabled. - rtc-alarm-time : Time setting in seconds for the rtc alarm timer which wakes the board up for charging after shutdown. + - ti,temp-range: List of temperatures in degC for thermal profiling. - ti,charge-current-limit: List of fast charging current limit in mA for thermal profiling. - The value is provided as + this property is deprecated. Instead use the property name as + ti,charge-thermal-current-limit. +- ti,charge-thermal-voltage-limit: List of charging voltage limit in mV for + thermal profiling. + + The values are provided as ti,temp-range = <15 60>; ti,charge-current-limit = <2048 5200>; + ti,charge-thermal-voltage-limit = <4200 4300>; This will set chargign current limit to 2048 for <= 15 degC and -- cgit v1.2.3