From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jenny Tc Subject: Re: [PATCH 1/4] power_supply: Add inlmt,iterm, min/max temp props Date: Wed, 29 Jan 2014 18:38:25 +0530 Message-ID: <20140129130825.GA15355@jenny-desktop> References: <1390411194-21410-1-git-send-email-jenny.tc@intel.com> <1390411194-21410-2-git-send-email-jenny.tc@intel.com> <52E285DF.5020708@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mga09.intel.com ([134.134.136.24]:58880 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750714AbaA2FQl (ORCPT ); Wed, 29 Jan 2014 00:16:41 -0500 Content-Disposition: inline In-Reply-To: <52E285DF.5020708@gmail.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Dmitry Eremin-Solenikov Cc: "linux-kernel@vger.kernel.org" , Kim Milo , Lee Jones , Jingoo Han , Chanwoo Choi , Sachin Kamat , Rupesh Kumar , Lars-Peter Clausen , Pali =?iso-8859-1?Q?Roh=E1r?= , Mark Brown , Rhyland Klein , Pavel Machek , David Woodhouse , Tony Lindgren , Russell King , Sebastian Reichel , "aaro.koskinen@iki.fi" , "freemangordon@abv.bg" , "linux-omap@vger.kernel.org" , Anton Vorontsov On Fri, Jan 24, 2014 at 08:25:19AM -0700, Dmitry Eremin-Solenikov wrote: > On 22/01/14 21:19, Jenny TC wrote: > > Add new power supply properties for input current, charge termination > > current, min and max temperature > > > > POWER_SUPPLY_PROP_TEMP_MIN - minimum operatable temperature > > POWER_SUPPLY_PROP_TEMP_MAX - maximum operatable temperature > > What is the difference from TEMP_ALERT_MIN/TEMP_ALERT_MAX ? > There is a difference in definitions, but what is the logical difference? TEMP_ALERT_MIN/MAX is to ALERT when temperature cross the threshold. TEMP_MIN/MAX is to stop charging/discharging when cross the threshold. > > > POWER_SUPPLY_PROP_INLMT - input current limit programmed by charger. Indicates > > the input current for a charging source. > > POWER_SUPPLY_PROP_CHARGE_TERM_CUR - Charge termination current used to detect > > the end of charge condition > > For both of them: > > 1) Please don't use obscure abbreviations Agreed > 2) Is this generic enough? I.e. besides your charge manager who will > use that? Generic and all charger drivers can use this. > > -- > With best wishes > Dmitry -Jenny