From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932372AbdKGT7O (ORCPT ); Tue, 7 Nov 2017 14:59:14 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:41361 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752719AbdKGT7N (ORCPT ); Tue, 7 Nov 2017 14:59:13 -0500 Date: Tue, 7 Nov 2017 20:59:12 +0100 From: Pavel Machek To: pali.rohar@gmail.com, sre@kernel.org, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, tony@atomide.com, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com, serge@hallyn.com, abcloriens@gmail.com, clayton@craftyguy.net, martijn@brixit.nl, sakari.ailus@linux.intel.com Subject: Re: Battery charging, battery status on Nokia N9, N950 Message-ID: <20171107195912.GA3274@amd> References: <20171103210349.GA14071@amd> <20171107195020.GA19508@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline In-Reply-To: <20171107195020.GA19508@amd> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! >=20 > > I'm fighting with battery status & battery charging on Nokia > > N9/N950. https://elinux.org/N950 contains enough info to get battery > > status (and below is first attempt at kernel implementation), but I'm > > not sure what needs to be done to charge the battery (or at least > > power phone from USB). >=20 > Nemo recovery system (2824336 Jul 25 2016 zImage-moslo) seems to > either charge phone from USB or at power it from USB. >=20 > But 4.13 does not; it seems there are two separate issue. >=20 > First, something needs to be done to enable system power from the > USB. I'm not sure what that one would be :-(. Then, it should be > possible to ask bq24153 to charge the battery. If someone has schematics or pointer to them.. for N9 or N950, that would be useful :-). Thanks, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAloCEJAACgkQMOfwapXb+vIQkwCgn6yJ7fiVto4ULJcKaXdBwMYr T9oAniAuxGTB+9D+IAzvGQ7ZT/CT+lqu =fIUS -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7--