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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42856C32774 for ; Tue, 23 Aug 2022 17:56:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232262AbiHWR4J (ORCPT ); Tue, 23 Aug 2022 13:56:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233923AbiHWRzm (ORCPT ); Tue, 23 Aug 2022 13:55:42 -0400 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A694F6BD7E for ; Tue, 23 Aug 2022 08:59:36 -0700 (PDT) Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 1361082A4B; Tue, 23 Aug 2022 17:59:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1661270374; bh=WV1ptfKxfUDjjXI1EEmB5WMDP/ktXDZQKGb6xgjKHDI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=I0d6aK2lv8oCvUA8ukVZKumHTUdpT9iZn+vAKGK4TdmwXk/SvaplsuQ6TX0F7Mg8J SDWHNoZ0bcyZy2eNWRnTaxi9Z954xi3U+oojpesRsmvlqlq9RJE9GODefWYW9/8Oxp Ceo4hwe88k6u+tQ/pDR9vCRKUcM8ujGBrJrdVKqgvYzC8RXC57qS2k8NgB5eZqtlRQ jKlNr1neuFTAUtUU5OiDSJkZht9gKo8anSsjgA0ZM/pZC+6m7yi83Gt7d0Mcba0NZw 7G2zCDDBFgYzkcXO0d631EF4siuc/as5JCVPLwqS7/9zMJcVVti0arlwtkuklm3JEp B/Y1lA78wpMSw== Message-ID: <31ab3c4d-9d5e-4e09-cbeb-a764fb467264@denx.de> Date: Tue, 23 Aug 2022 17:59:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: Re: [PATCH v2] power: supply: bq25890: Add support for setting IINLIM Content-Language: en-US To: Hans de Goede , linux-pm@vger.kernel.org Cc: Andy Shevchenko , Sebastian Reichel References: <20220801025727.778218-1-marex@denx.de> From: Marek Vasut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On 8/1/22 09:15, Hans de Goede wrote: > Hi, Hi, > On 8/1/22 04:57, Marek Vasut wrote: >> Let user set input current limit via sysfs. This is useful in case there >> are multiple chargers connected to the device, each of which with its own >> arbitrary maximum current which it can provide, some of which may provide >> more than the default 500mA. In that case, userspace can listen for plug >> events generated by each charger and adjust the current limit accordingly, >> e.g. to permit battery to charge faster. >> >> Note that the IINLIM is reset every time the bq25890 is disconnected from >> a charger, so the userspace must adjust the limit repeatly on every plug >> event. >> >> Signed-off-by: Marek Vasut > > Thanks, patch looks good to me: > > Reviewed-by: Hans de Goede Can this be applied now ?