From mboxrd@z Thu Jan 1 00:00:00 1970 From: Krzysztof Kozlowski Subject: Re: [PATCH v8 08/14] power: bq24257: Add SW-based approach for Power Good determination Date: Tue, 29 Sep 2015 15:10:31 +0900 Message-ID: <560A2B57.5030008@samsung.com> References: <1443479642-23712-1-git-send-email-dannenberg@ti.com> <1443479642-23712-9-git-send-email-dannenberg@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1443479642-23712-9-git-send-email-dannenberg-l0cyMroinI0@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Andreas Dannenberg , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Laurentiu Palcu Cc: Ramakrishna Pallala , linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-api@vger.kernel.org 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 > --- > drivers/power/bq24257_charger.c | 56 +++++++++++++++++++++++++++++++++-------- > 1 file changed, 45 insertions(+), 11 deletions(-) > Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof