Configuring shunt_resistor in hwmon

Alex Qiu xqiu at google.com
Tue Jan 7 10:40:28 AEDT 2020


Hi Vijay, I don't know about the device tree yet, and I will look for info
about it. Thanks!

- Alex Qiu


On Mon, Jan 6, 2020 at 3:37 PM Vijay Khemka <vijaykhemka at fb.com> wrote:

> You should be able to define this value in device tree. Or you can
> calculate scale factor and use it in entity manager.
>
>
>
> *From: *openbmc <openbmc-bounces+vijaykhemka=fb.com at lists.ozlabs.org> on
> behalf of Alex Qiu <xqiu at google.com>
> *Date: *Monday, January 6, 2020 at 1:18 PM
> *To: *"openbmc at lists.ozlabs.org" <openbmc at lists.ozlabs.org>
> *Cc: *Josh Lehan <krellan at google.com>, Kais Belgaied <belgaied at google.com>,
> Devjit Gopalpur <devjitg at google.com>, Peter Lundgren <
> peterlundgren at google.com>
> *Subject: *Configuring shunt_resistor in hwmon
>
>
>
> Hi OpenBMC folks,
>
>
>
> Is there a way to configure the shunt_resistor value for a hwmon with
> entity-manager or other modules? We need to configure this value to make
> the INA230 report correct voltage, but for now I don't find anything in the
> code for it. Shall this be a feature to implement? Thanks!
>
>
> - Alex Qiu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200106/827db0eb/attachment.htm>


More information about the openbmc mailing list