Skip to content

Commit 93dc611

Browse files
XenuIsWatchingnashif
authored andcommitted
drivers: i3c: fix static addr for deftgts AC
The Active Controller data struct for static addr is to always be 0x7E. This is so the active controller can be identified according to section 5.1.9.3.7 of the I3C v1.1.1 Specification. Signed-off-by: Ryan McClelland <[email protected]>
1 parent cf2ccbf commit 93dc611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i3c/i3c_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ int i3c_bus_deftgts(const struct device *dev)
719719
deftgts->active_controller.addr = config_target.dynamic_addr << 1;
720720
deftgts->active_controller.dcr = config_target.dcr;
721721
deftgts->active_controller.bcr = config_target.bcr;
722-
deftgts->active_controller.static_addr = config_target.static_addr << 1;
722+
deftgts->active_controller.static_addr = I3C_BROADCAST_ADDR << 1;
723723

724724
/*
725725
* Loop through each attached I3C device and add it to the payload

0 commit comments

Comments
 (0)