commit | 0a30e78c1fc11d21122ebaae502bde0481e7add2 | [log] [tgz] |
---|---|---|
author | Gurjant Kalsi <gkalsi@google.com> | Tue Dec 20 02:58:52 2022 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 20 02:58:52 2022 +0000 |
tree | 8b758996f99f8cf847cbe412cb7152794c35bc17 | |
parent | 3d915549ebfa0ee8011ee1bbcab76c4f71abb764 [diff] |
[i2c] Add friendly names for i2c channels. Add a friendly name for each i2c channel akin to gpio so that i2c devices can be referred to by friendly name instead of topological path. A follow up CL will add friendly names to select board drivers and also implement the accompanying functionality for i2cutil. Test: Accompanying tests & also testing using an upcoming i2cutil. Bug: 115480 Change-Id: Ibaa33f1b7eb5d3ec7a790fb6c84a8655d1052fc8 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/773340 API-Review: Christopher Anderson <cja@google.com> API-Review: Jocelyn Dang <jocelyndang@google.com> Reviewed-by: Xushen Ma <xushen@google.com> Reviewed-by: Jocelyn Dang <jocelyndang@google.com> Commit-Queue: Gurjant Kalsi <gkalsi@google.com> Reviewed-by: Braden Kell <bradenkell@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.