[pmbusplus] userspace i2c, pmbus interactions

Andrew Jeffery andrew at aj.id.au
Tue Apr 27 11:27:03 AEST 2021



On Sat, 24 Apr 2021, at 07:52, Jason Ling wrote:
> Hi all,
> 
> What started as an attempt to create a simple command line tool to 
> perform pmbus device upgrades over i2c has turned into the start of a 
> user-space i2c library (with some pmbus support).
> 
> I've already reused this library in some other obmc applications and 
> it's been fairly well unit-tested. It also comes with all the public 
> interfaces mocked (so you can unit test your own code).
> 
> The idea is that more and more classes get added that will support 
> different pmbus devices. 
> General idea is that each device that gets support can expose methods 
> to allow device upgrade, black box retrieval, etc..
> 
> Anyways, wanted to gauge community interest in this so I can determine 
> how motivated I should be to upstream it.

How does this interact with the efforts in the phosphor-power repo?

https://github.com/openbmc/phosphor-power

Can we exploit your library there? Can your library utilise work from 
phosphor-power?

Andrew


More information about the openbmc mailing list