[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdaa6ZOt7U+iLwjrTGx87BdgXX6wbW2Ab_bHye_TNzi9Tg@mail.gmail.com>
Date: Fri, 10 Mar 2023 09:23:06 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Sebastian Reichel <sre@...nel.org>
Cc: Matti Vaittinen <mazziesaccount@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
devicetree@...r.kernel.org
Subject: Re: [PATCHv1 04/11] power: supply: generic-adc-battery: fix unit scaling
On Thu, Mar 9, 2023 at 11:50 PM Sebastian Reichel <sre@...nel.org> wrote:
> power-supply properties are reported in µV, µA and µW.
> The IIO API provides mV, mA, mW, so the values need to
> be multiplied by 1000.
>
> Signed-off-by: Sebastian Reichel <sre@...nel.org>
Fixes: tag?
Cc: stable@...r.kernel.org
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
This code can not have seen much testing.
Yours,
Linus Walleij
Powered by blists - more mailing lists