Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3620307yba; Tue, 23 Apr 2019 06:59:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqzuJIeFjuIYvxoq/U6/j/A4T27n6Uuoa8CubANatSN4ejRHRTMQLdOaUD5DaXNsbepfcvMo X-Received: by 2002:aa7:9e5b:: with SMTP id z27mr5105994pfq.186.1556027963684; Tue, 23 Apr 2019 06:59:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556027963; cv=none; d=google.com; s=arc-20160816; b=NmoGsK+lQjbdgm9K9ZQtfwOeKsgTrGtaZG8JsN5Oj4XoL5ugZ+YseaaZJLxcOffsAO 8wd9gh4k95uRF5YPS6lKDPKBTpo1R6lBoaKPXWwOvzej9V1L/rreiOACJcZtdmXQd8oY OM9b3p3+v8wCeJA3AvmgsgJsd5otxLzGUEOVdfri63FkIRddo/ppq8rircz0UdyxpsZb wxqkZukqcrh93CypWS3+38Z2l3B2BUro4d+0LyaJgdZoxclS3tcpxHolWBgLrTBCdYWz sdXwz5R7t9KADbwK9s0HH6kqCf9Wh1iXzyAPmvQ1D0Q67GmYYSX7HvnujyDUqcQn6d6f T1pA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=b3N2/4OoMblW9OL71dw8Q/ZQlcNQsTjgWgL5GJGHWvs=; b=aFCsAxgv7eiU23nQtmRSkZRxF3+dxAD7K7HjUTfYqaXWutnMfpUSx+hL6HUNYelyZK yADrH0wEHwjJnGGxJvciZhZSjv/ubk8IrfN4XfGaQyJd99AV3TRpQISdrf+Rvue91DEw U5TBPU/7aMTutGUt9Z2kItGOr0NkMsoOmW4v2GoUolhS7Wj1QzN4SlK8hRnLeEGzvD9C ZI20qgSZUPMM10k1Z1DMhljznMpz95AS1DzyfKj2cDyqvn0Fb43SDPCAddw4yigtosNk 51W1xAay1xUNW+kH1dnvKwhr49uITQp0BkmUqHAzaRk04JmLqhgILZ1kiN0UY8Uxowhi pclw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bj1si15808435plb.214.2019.04.23.06.59.06; Tue, 23 Apr 2019 06:59:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728048AbfDWN4d (ORCPT + 99 others); Tue, 23 Apr 2019 09:56:33 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:52100 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727695AbfDWN4d (ORCPT ); Tue, 23 Apr 2019 09:56:33 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id BC878278760 Subject: Re: [PATCH v5 3/3] power_supply: Add missing documentation for CHARGE_CONTROL_* properties To: Nick Crews , bleung@chromium.org, sre@kernel.org, linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, dlaurie@chromium.org, lamzin@google.com, bartfab@google.com, derat@google.com, dtor@google.com, sjg@chromium.org, jchwong@chromium.org References: <20190417214022.7jk3usygcpnls3pr@earth.universe> <20190418164314.161065-1-ncrews@chromium.org> <20190418164314.161065-3-ncrews@chromium.org> From: Enric Balletbo i Serra Message-ID: Date: Tue, 23 Apr 2019 15:56:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190418164314.161065-3-ncrews@chromium.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18/4/19 18:43, Nick Crews wrote: > The existing POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT and > POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT_MAX properties > don't have documentation. I add that documentation here. > > v5 changes: > - Split this commit out from the previous two commits. > > Signed-off-by: Nick Crews Reviewed-by: Enric Balletbo i Serra > --- > Documentation/ABI/testing/sysfs-class-power | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/Documentation/ABI/testing/sysfs-class-power b/Documentation/ABI/testing/sysfs-class-power > index a5b144f61de8..b77e30b9014e 100644 > --- a/Documentation/ABI/testing/sysfs-class-power > +++ b/Documentation/ABI/testing/sysfs-class-power > @@ -114,6 +114,25 @@ Description: > Access: Read > Valid values: Represented in microamps > > +What: /sys/class/power_supply//charge_control_limit > +Date: Oct 2012 > +Contact: linux-pm@vger.kernel.org > +Description: > + Maximum allowable charging current. Used for charge rate > + throttling for thermal cooling or improving battery health. > + > + Access: Read, Write > + Valid values: Represented in microamps > + > +What: /sys/class/power_supply//charge_control_limit_max > +Date: Oct 2012 > +Contact: linux-pm@vger.kernel.org > +Description: > + Maximum legal value for the charge_control_limit property. > + > + Access: Read > + Valid values: Represented in microamps > + > What: /sys/class/power_supply//charge_control_start_threshold > Date: April 2019 > Contact: linux-pm@vger.kernel.org >