]> git.karo-electronics.de Git - linux-beck.git/commit
power: bq24257: Add input DPM voltage threshold setting support
authorAndreas Dannenberg <dannenberg@ti.com>
Mon, 28 Sep 2015 22:33:58 +0000 (17:33 -0500)
committerSebastian Reichel <sre@kernel.org>
Tue, 29 Sep 2015 14:54:44 +0000 (16:54 +0200)
commit138606ffe45511fa774e51df04f6da562ff9c44d
treed52b1c29b704420d3da7fed941b8e3d47937d071
parentbb2956e8e1976d876a755896f5be287cb7e766b2
power: bq24257: Add input DPM voltage threshold setting support

A new optional device property called "ti,in-dpm-voltage" is introduced
to allow configuring the input voltage threshold for the devices'
dynamic power path management (DPM) feature. In short, it can be used to
prevent the input voltage from dropping below a certain value as current
is drawn to charge the battery or supply the system.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/bq24257_charger.c