commit | 9079fef7f8c9cc6b550feb40bd527c4a5502084b | [log] [tgz] |
---|---|---|
author | Suraj Malhotra <surajmalhotra@google.com> | Thu Dec 29 22:41:34 2022 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 29 22:41:34 2022 +0000 |
tree | be906df8103bd0ce2af13b62b2e95a50b9acfdb5 | |
parent | 0620017bb4f78c014e8438db1d4960f810856a84 [diff] |
[fdf][i2c] Migrate i2c clients to service capability The i2c core driver already exports both the service capability as well as the protocol capability. This change switches clients to go through the service capability instead. Because most clients go through the ddk::I2cChannel class to connect, most drivers don't require any code changes, only component manifest updates to reflect the new service they require, and unit test update for connecting to the parent's i2c protocol. Additionally all drivers using the i2c protocol were updated to no longer colocate with their parent. Tested: device-enumeration-test Bug: 116476 Change-Id: Ia48cafddeab247c0885247eae49f2a484fa49478 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/783827 Reviewed-by: Ian Fisher <iafisher@google.com> Fuchsia-Auto-Submit: Suraj Malhotra <surajmalhotra@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.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.