From: Lei Yu <yulei.sh@bytedance.com>
To: openbmc <openbmc@lists.ozlabs.org>,
Brad Bishop <bradleyb@fuzziesquirrel.com>,
Matt Spinler <spinler@us.ibm.com>,
Shawn McCarney <shawnmm@us.ibm.com>,
Jet_JC_Lee@wistron.com
Subject: Moving phosphor-power/tools/i2c into a separated repo
Date: Mon, 19 Oct 2020 17:39:31 +0800 [thread overview]
Message-ID: <CAGm54UEiiuBbBbozu2xecjq3HHBvOJo+afqOkd+ppx00XFKTOA@mail.gmail.com> (raw)
This email is to propose to move the i2c library in phosphor-power to
a separated repo.
In OpenBMC, some repos need i2c/SMBus access to various devices.
E.g.
* phosphor-power implements a C++ wrapper of libi2c in tools/i2c to talk to PSU.
* dbus-sensors is going to have a wrapper to send smbus commands.
* We have an internal (probably will be upstreamed later) repo using
i2c to communicate with a CPLD.
The one in [phosphor-power][1] is a full C++ wrapper, that supports
byte/word/block read/write, supports both I2C and SMBus
communications, and provides a mocked interface for unit tests.
It could be a good candidate for a separate repo so that it could be
shared by other repos.
What do you think?
[1]: https://github.com/openbmc/phosphor-power/tree/master/tools/i2c
--
BRs,
Lei YU
next reply other threads:[~2020-10-19 9:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-19 9:39 Lei Yu [this message]
2020-10-19 15:46 ` Moving phosphor-power/tools/i2c into a separated repo Brad Bishop
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGm54UEiiuBbBbozu2xecjq3HHBvOJo+afqOkd+ppx00XFKTOA@mail.gmail.com \
--to=yulei.sh@bytedance.com \
--cc=Jet_JC_Lee@wistron.com \
--cc=bradleyb@fuzziesquirrel.com \
--cc=openbmc@lists.ozlabs.org \
--cc=shawnmm@us.ibm.com \
--cc=spinler@us.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).