READ_EIN/READ_EOUT

Mike proclivis at gmail.com
Wed Jan 13 10:34:19 AEDT 2021


I did not fine use of the commands there, so unless the command comes through an interface outside this code, it is not used.

But I am curious why sidestepping hwmon? Is thus a replacement or addition?

Sent from my iPhone

> On Jan 12, 2021, at 3:54 PM, Andrew Jeffery <andrew at aj.id.au> wrote:
> 
> 
> 
>> On Tue, 12 Jan 2021, at 08:18, Mike Jones wrote:
>> Within the PMBus standard are two commands for energy: READ_EIN, READ_EOUT.
>> 
>> These commands exist on both regulators and hot swap devices.
>> 
>> - Are these functions getting used?
>> -And if so, to what purpose, examples of where to look in the layers 
>> for the usage, and any other helpful pointers
> 
> In theory you should only need to look in the kernel, but we also have a 
> userspace project that is implementing a pmbus subsystem in userspace (which is 
> unfortunate):
> 
> https://github.com/openbmc/phosphor-power
> 
> Andrew


More information about the openbmc mailing list