-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
drivers: i3c: add primary controller da property #87451
base: main
Are you sure you want to change the base?
drivers: i3c: add primary controller da property #87451
Conversation
Add a way to assign the dynamic address for a primary controller. This is the address that is broadcasted out with the ccc DEFTGTS, and is the address that secondary controllers use to communicate with the primary controller. Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
7b0d0bd
to
d290963
Compare
primary-controller-da: | ||
type: int | ||
description: | | ||
This is the self assigned dynamic address of the I3C controller. This | ||
is the address is used to communicate with itself after a handoff by | ||
a secondary controller. This is only used if the controller is a primary | ||
controller. |
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.
I am not an i3c expert but this looks like maybe the property called assigned-address
in linux https://www.kernel.org/doc/Documentation/devicetree/bindings/i3c/i3c.yaml
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.
I guess it looks like assigned-address is for the i3c devices, not bus controller, but does it not make sense to use the same property name since it seems to be used for a similar thing? or would that be confusing?
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.
Using the same name would be confusing imo
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.
ok, fine
Add a way to assign the dynamic address for a primary controller. This is the address that is broadcasted out with the ccc DEFTGTS, and is the address that secondary controllers use to communicate with the primary controller.