power: bq24257: Allow manual setting of input current limit
authorAndreas Dannenberg <dannenberg@ti.com>
Mon, 28 Sep 2015 22:33:55 +0000 (17:33 -0500)
committerSebastian Reichel <sre@kernel.org>
Tue, 29 Sep 2015 14:52:56 +0000 (16:52 +0200)
commiteb9fbcc6693ad73745198bbfc7c2b0e881580f59
treee09fcb76f1924b4c5516bdb9411db13cba26ca00
parent7ef62365c61572085e63e8a7c3483bacfff6e541
power: bq24257: Allow manual setting of input current limit

A new optional device property called "ti,current-limit" is introduced
to allow disabling the D+/D- USB signal-based charger type auto-
detection algorithm used to set the input current limit and instead to
use a fixed input current limit.

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