Re: [PATCH v8 08/14] power: bq24257: Add SW-based approach for Power Good determination
From: Krzysztof Kozlowski <hidden>
Date: 2015-09-29 06:10:31
Also in:
linux-devicetree, linux-pm
From: Krzysztof Kozlowski <hidden>
Date: 2015-09-29 06:10:31
Also in:
linux-devicetree, linux-pm
W dniu 29.09.2015 o 07:33, Andreas Dannenberg pisze:
A software-based approach for determining the charger's input voltage "Power Good" state is introduced for devices like the bq24250 which don't have a dedicated hardware pin for that purpose. This SW-based approach is also used for other devices (with dedicated PG pin) as a fall back solution if that pin is not configured to be used through "pg-gpios". Signed-off-by: Andreas Dannenberg <redacted> --- drivers/power/bq24257_charger.c | 56 +++++++++++++++++++++++++++++++++-------- 1 file changed, 45 insertions(+), 11 deletions(-)
Reviewed-by: Krzysztof Kozlowski <redacted> Best regards, Krzysztof