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=-3.8 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 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 53CC3C433DF for ; Thu, 20 Aug 2020 04:16:01 +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 230C32054F for ; Thu, 20 Aug 2020 04:16:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fvGpZcMV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 230C32054F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com 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-Transfer-Encoding: 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-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=HPNCASp5UDOUSsq9p5+EKSwXxlSgYpue3hHpDw6AN1A=; b=fvGpZcMVy3vicAuNHnC5TZHyO putbwQ6tf14GxxiXakDr50T2WCkmbYngF0yIXpd79UckKX93zg/V+Y7QcVnJ9M/JNO5r/Vt2hvBUQ ji9ohCnaEIWqbA0nEydaDp9S5Z2VHtAbTFl4X2k4czuHDtsbpjukbBNwi4/6gKqbLHDmdccsyNjZ1 toW83wPhYVJI5SCNDDdHeFLluK08y9A7PX2bCxcSGzUuQFaW0GeKULIavZ4enmHtlYaEJwqCsV43s 6FINf0veiTyf73aFFdkSpSeqt7Na7f5ypzJ5XPW1MpkaKePFY68zXfzA2aWTFqHLdJSetzc4HhKoN 8xgVmmyCg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k8byV-0000g2-T3; Thu, 20 Aug 2020 04:14:51 +0000 Received: from muru.com ([72.249.23.125]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k8byT-0000f6-0n for linux-arm-kernel@lists.infradead.org; Thu, 20 Aug 2020 04:14:49 +0000 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 99986807A; Thu, 20 Aug 2020 04:14:44 +0000 (UTC) Date: Thu, 20 Aug 2020 07:15:12 +0300 From: Tony Lindgren To: Pavel Machek Subject: Re: [RFC] Limiting charge current on Droid 4 (and N900) Message-ID: <20200820041512.GH2994@atomide.com> References: <20200615140557.GA22781@duo.ucw.cz> <20200629155515.GR37466@atomide.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200629155515.GR37466@atomide.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200820_001449_103795_0F97940C X-CRM114-Status: GOOD ( 11.77 ) 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org * Tony Lindgren [200629 18:46]: > * Pavel Machek [200615 07:06]: > > 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 cable. > > > > N900 creates unique attribute by hand, but I believe > > POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT looks suitable. (Should N900 be > > converted?) > > > > Comments? Would the patch be acceptable after fixing whitespace? > > Looks OK to me. Until we have better charger vs host vs usb3 charging hub > detection in place this seems like a good thing to do. 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. Regards, Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel