]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i3c: master: svc: need check IBIWON for dynamic address assignment
authorFrank Li <Frank.Li@nxp.com>
Wed, 2 Oct 2024 14:50:35 +0000 (10:50 -0400)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 31 Oct 2024 22:53:39 +0000 (23:53 +0100)
commit6a12f56f7392cfdd2f31ef9a090ccadadae548e8
treef4c87cdaf18beda1f5ad9edcd7339107ec27080b
parente22405a812a11e5b01bfbb18c5277dd3e69ba589
i3c: master: svc: need check IBIWON for dynamic address assignment

When sending REQUEST_PROC_DAA, emit START and address 7E. Address
arbitration may occur at this time if other devices trigger HJ, IBI, or
CR events.

When IBIWON happen during a REQUEST_PROC_DAA, NACK the IBI request then
send a repeated start to continue current dynamic address assignment.

Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20241002-svc-i3c-hj-v6-3-7e6e1d3569ae@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/svc-i3c-master.c