Configuring shunt_resistor in hwmon
Vijay Khemka
vijaykhemka at fb.com
Tue Jan 7 10:37:37 AEDT 2020
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/69070062/attachment.htm>
More information about the openbmc
mailing list