zephyr/drivers/i3c
Ryan McClelland f2d549d55b drivers: i3c: cdns: fixup attachment and addr assignment for daa
The ENTDAA does not have a way to assign DA that are with a PID. It will
assign DAs that were in it's RRs in the order that they win arbitration.
Assign only available addresses in to it's RRs before ENTDAA.

Cleanup the attach api to no longer require a addr argument and remove
the helper function `i3c_determine_default_addr`. This now looks at if
it has a static address or if it already has a dynamic address (such as
from DEFTGTS) and will register the address if either exist with
precidence of dynamic addr over static addr.

This also fixes up the look up for if a device already has a dynamic
addr to find which pos of the RRs is it is in.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2024-10-10 20:22:01 -04:00
..
CMakeLists.txt drivers: i3c: npcx: introduce NPCX I3C driver 2024-04-24 19:40:28 +00:00
Kconfig drivers: i3c: add KConfig to perform rstact during bus init 2024-07-27 15:18:18 +03:00
Kconfig.cdns
Kconfig.npcx drivers: i3c: npcx: introduce NPCX I3C driver 2024-04-24 19:40:28 +00:00
Kconfig.nxp
Kconfig.test
i3c_ccc.c drivers: i3c: add ccc setbuscon 2024-09-30 16:56:04 -05:00
i3c_cdns.c drivers: i3c: cdns: fixup attachment and addr assignment for daa 2024-10-10 20:22:01 -04:00
i3c_common.c drivers: i3c: cdns: fixup attachment and addr assignment for daa 2024-10-10 20:22:01 -04:00
i3c_handlers.c build: namespace the generated headers with `zephyr/` 2024-05-28 22:03:55 +02:00
i3c_ibi_workq.c drivers: i3c: add ccc deftgts 2024-09-10 21:52:18 -04:00
i3c_mcux.c drivers: i3c: add iterate through i3c/i2c devices macros 2024-09-25 04:04:13 -04:00
i3c_npcx.c drivers: i3c: add iterate through i3c/i2c devices macros 2024-09-25 04:04:13 -04:00
i3c_shell.c drivers: i3c: shell: add shell cmd for ccc setbuscon 2024-09-30 16:56:04 -05:00
i3c_test.c