From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0730CC433E1 for ; Thu, 20 Aug 2020 07:00:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C948920724 for ; Thu, 20 Aug 2020 07:00:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iO5rU04U" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C948920724 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ucw.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JpNqE/6KZw+eG7dYwrioA+czO2oK+p0eaV1fqApyVQI=; b=iO5rU04Uactk6VR+eELFuPa/T wpBUpFS8LFH5jptqrcmc+iTRqkRpnQnrsqIrn+NMFlcQcppc+xCEYXoc6PxKJNtWMZ78FEi55yybS mqVVu56ONJ18hLr4m6/DgVINHtj3vMi2q9dpKH5vcQwwKE59ajbM3xo7dDPxwcepf9Rg1Fv+SHxW7 cgwLYEqLfN/XXSV4PMov9bGx2IxO/bF/LpcNEqmeC6hvH6dzttbP5VPFtKbNVANJZgXT1/tF7yDPO GxPqz7CNnsjAmv0Iw3TMlBc0x7kqgy5Dnlp9Mh3Ceiqgz/UWSdTUMWWkXInatPT3haYSRyXEF6J7D Q7LCDDoEg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k8eXQ-00076r-AY; Thu, 20 Aug 2020 06:59:04 +0000 Received: from jabberwock.ucw.cz ([46.255.230.98]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k8eXN-00075z-M7 for linux-arm-kernel@lists.infradead.org; Thu, 20 Aug 2020 06:59:03 +0000 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 81FCC1C0BB4; Thu, 20 Aug 2020 08:58:56 +0200 (CEST) Date: Thu, 20 Aug 2020 08:58:56 +0200 From: Pavel Machek To: Tony Lindgren Subject: Re: [RFC] Limiting charge current on Droid 4 (and N900) Message-ID: <20200820065855.GA9738@amd> References: <20200615140557.GA22781@duo.ucw.cz> <20200629155515.GR37466@atomide.com> <20200820041512.GH2994@atomide.com> MIME-Version: 1.0 In-Reply-To: <20200820041512.GH2994@atomide.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200820_025901_852158_4BFD17D9 X-CRM114-Status: GOOD ( 19.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mpartap@gmx.net, linux-pm@vger.kernel.org, merlijn@wizzup.org, martin_rysavy@centrum.cz, kernel list , sre@kernel.org, nekit1000@gmail.com, linux-omap@vger.kernel.org, "Arthur D." , linux-arm-kernel Content-Type: multipart/mixed; boundary="===============4339603659637030358==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4339603659637030358== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > Droid 4 has same problem as N900: it is often neccessary to manually > > > tweak current draw from USB, for example when using thin charging cab= le. > > >=20 > > > N900 creates unique attribute by hand, but I believe > > > POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT looks suitable. (Should N900 be > > > converted?) > > >=20 > > > Comments? Would the patch be acceptable after fixing whitespace? > >=20 > > Looks OK to me. Until we have better charger vs host vs usb3 charging h= ub > > detection in place this seems like a good thing to do. >=20 > FYI, I'm cleaning up the pending charger and battery patches to send out > for review. So that includes my earlier RFC battery status patches, and > Spinal's additions, and this patch. It will likely be several days before > I have the series ready for posting though. Thanks for heads-up. I had issue when I could not charge _empty_ droid4 battery from powerbank. Green light was blinking and current was going up and down but never stabilized. I thought I had dmesg from that but can't find it now :-(. Plus, I left D4 on charger overnight, and found battery empty in the morning. It apparently charged in the evening but then discharged. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl8+Hy8ACgkQMOfwapXb+vINSgCgwqDjvKoMVjGwrmlpzth44pKJ HuAAnRj18b8ySC+VOYnVFyO5jFV9QHol =/9vO -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI-- --===============4339603659637030358== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============4339603659637030358==--