Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

XenuIsWatching
Copy link
Member

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.

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>
decsny
decsny previously requested changes Mar 21, 2025
Comment on lines +34 to +40
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.
Copy link
Member

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

Copy link
Member

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?

Copy link
Member Author

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, fine

@decsny decsny dismissed their stale review March 21, 2025 23:41

maybe block is not needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants