-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i2c: Update terminology to match i2c spec #43166
Conversation
dfbab3b
to
f132ecd
Compare
This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time. |
ca024e7
to
7cdfa65
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs rebase.
A couple of nits, but otherwise looks great.
The i2c terminology has been updated as such master is now controller, and slave is now target. Updates all doc comments and doc pages to use updated terminology. Does not change types or API definitions. Signed-off-by: Tom Burdick <[email protected]>
@MaureenHelm marking the 10bit flag with __DEPRECATED_MACRO has caused additional CI failures, reverting as its been marked deprecated for awhile without the __DEPRECATED_MACRO, and is unrelated to the terminology change. I can create another PR that addresses that |
b768483
to
1d6938d
Compare
Updates the API and types to match updated I2C terminology. Replaces master with controller and slave with target. Updates all drivers to match the changed macros, types, and API signatures. Signed-off-by: Tom Burdick <[email protected]>
Updates the API overview page describing that the i2c API has been modified for 3.2. Signed-off-by: Tom Burdick <[email protected]>
@teburd - looks good, just missing one copyright notice. |
@cfriedt that was missing before |
Updates the terms from master to controller, and slave to target
along with all APIs and usage of those APIs.
The new terminology matches well with our coding guidelines of inclusive
language.
This does not rename internal terminology used in each driver but all
public facing APIs, types, and macros use the new terms.
Fixes #27033