Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp867060ybb; Fri, 3 Apr 2020 13:22:13 -0700 (PDT) X-Google-Smtp-Source: APiQypK+mkE8MCKHD12JuFe+ra4My6vlz85NRlC9KGqdsGZvL69sPXptR8oGfyfefB/i7GHTQlMo X-Received: by 2002:a05:6830:3090:: with SMTP id f16mr7663558ots.211.1585945332932; Fri, 03 Apr 2020 13:22:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585945332; cv=none; d=google.com; s=arc-20160816; b=gRL5wSCtS7ZM7uXSS68cX9rvmoifS3zyGx6PGMQ7/qD4CvmpTxc3cpH0kbdmO33Fj4 N5LqKEy48UHlIcoXmFlTI9KaUCIBPJwfuipBYwgebofUDRnuj2aZhChbeKTnFLwbalzA R8Uh5j+2A9cizF2TUDuOGS1S+Ar5yPLWn5XQ6fti9LNypQbewG8+XEoHKefTA1IDXDeH 4FSqvvezDyKcJH7Ze8bUShvLTwn8m9ghli6H8SFxnI8urfqvL7fmgs8izaoWHOjO+TV9 8Sp+a1NLMJKBKx1PUwIKsfdOZZqfrPgBvxfdyaqJQlZBSnB1X7B0jmk9GUeHNsWS11Li ORLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:content-transfer-encoding :mime-version:subject:from:references:in-reply-to:message-id:date :dkim-signature; bh=/JaSQN4kTBQWxlfOFxS+ffproLsGznlojxaDYNTeUqk=; b=kwrx/n3hWSuuY1a+owaT6v71rZOOwoiBO7PRl9bx0r1UpqFr2/z7u7edJpv4p8EFnU A0cMBo9aHU/nR8tfrYuDkf43nHmAtcybKF/kaT3vzeGfnfdSEZvwK0zGcIwaI2nMDaAd 02Y54mo1xUzAymnJ5IaZajTzVmvxzVid/dNehTvrYbtIN58VyoW7XHjn/NlOJllZtOHK c2q8WpPtuXcFDSARuPirdARRFuaPguoe80XUPIlcig1BrDKu6RvSpkWjpZgvd1+tyAk5 Im0ZKdfNmGyGyFrsfpYZGWcBSasJKzAyzNT61KqNA4TwgkVJsfgqkW6ggF7/nCzNmyE7 0KeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=oSDYnQkD; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d23si4007771oig.118.2020.04.03.13.22.00; Fri, 03 Apr 2020 13:22:12 -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; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=oSDYnQkD; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728525AbgDCUVB (ORCPT + 99 others); Fri, 3 Apr 2020 16:21:01 -0400 Received: from rere.qmqm.pl ([91.227.64.183]:29625 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728288AbgDCUUj (ORCPT ); Fri, 3 Apr 2020 16:20:39 -0400 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 48vBBs588rz2CH; Fri, 3 Apr 2020 22:20:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1585945237; bh=i8rERO1eokJ5ICLdJIYDblCyT0yVXlWido55eTwKoeY=; h=Date:In-Reply-To:References:From:Subject:To:Cc:From; b=oSDYnQkDQXGyzQSHchOxSC8Y7ZsUUKssppn6e/zSVApzK0dJVUe3gTarwksErAVFw Woi/UY0Y7+G86AiNopTq8Z7CURxjTqyTRs61hclmEAVHACRi966NYflqr1Jd8EVZGp bt0I5KHwRzxOHjohgPNvsVOdBDFhwC9fRNX9jKYc1nFuGSLcUXskbXpmVGyfmVTAN6 7jGgavW1lEJaMv6gW4tdUT3qTWGP2BCgls5AwNwQVxeTKNwecxuv7rEnedFNyVTz8V gVhmi3BJ6sq2Nv2g3VS2mE+zkWH2KpXn5DVugOsjqsGGAdV/fxMYBtLrOqA9c5foQ/ /hNzTwmDu+Q/A== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.2 at mail Date: Fri, 03 Apr 2020 22:20:37 +0200 Message-Id: <8a68a586e2a3e51fd5a2a3d017844c8f77b0a794.1585944770.git.mirq-linux@rere.qmqm.pl> In-Reply-To: References: From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= Subject: [PATCH v3 11/11] power: supply: core: document measurement points MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: Andrey Smirnov , Guenter Roeck , Sebastian Reichel Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document used prefixes for input/output/storage voltages and currents. Signed-off-by: Michał Mirosław --- Documentation/power/power_supply_class.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/power/power_supply_class.rst b/Documentation/power/power_supply_class.rst index 7b8c42f8b1de..c41b25aaa755 100644 --- a/Documentation/power/power_supply_class.rst +++ b/Documentation/power/power_supply_class.rst @@ -28,6 +28,12 @@ indication (including whether to use it at all) are fully controllable by user and/or specific machine defaults, per design principles of LED framework). +There are three defined points of measurement for the benefit of mobile and +UPS-like power supplies: INPUT (external power source), OUTPUT (power output +from the module), and unmarked (power flowing to/from a storage element, +eg. battery). Battery is viewed as a power source, so current flowing to +the battery (charging it) is shown negative. + Attributes/properties ~~~~~~~~~~~~~~~~~~~~~ -- 2.20.1