Re: [PATCH 1/2] power_supply: max17042: Add OF support for setting thresholds

2015-06-10 Thread Sebastian Reichel
Hi, On Mon, Jun 08, 2015 at 10:11:38AM +0900, Krzysztof Kozlowski wrote: > The commit edd4ab055931 ("power: max17042_battery: add HEALTH and TEMP_* > properties support") added support for setting voltage and temperature > thresholds with platform data. For DeviceTree default of 0 was always >

Re: [PATCH 1/2] power_supply: max17042: Add OF support for setting thresholds

2015-06-10 Thread Sebastian Reichel
Hi, On Mon, Jun 08, 2015 at 10:11:38AM +0900, Krzysztof Kozlowski wrote: The commit edd4ab055931 (power: max17042_battery: add HEALTH and TEMP_* properties support) added support for setting voltage and temperature thresholds with platform data. For DeviceTree default of 0 was always used.

[PATCH 1/2] power_supply: max17042: Add OF support for setting thresholds

2015-06-07 Thread Krzysztof Kozlowski
The commit edd4ab055931 ("power: max17042_battery: add HEALTH and TEMP_* properties support") added support for setting voltage and temperature thresholds with platform data. For DeviceTree default of 0 was always used. This caused reporting battery health always as over voltage or over heated.

[PATCH 1/2] power_supply: max17042: Add OF support for setting thresholds

2015-06-07 Thread Krzysztof Kozlowski
The commit edd4ab055931 (power: max17042_battery: add HEALTH and TEMP_* properties support) added support for setting voltage and temperature thresholds with platform data. For DeviceTree default of 0 was always used. This caused reporting battery health always as over voltage or over heated.