]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i3c: master: svc: Fix npcm845 DAA process corruption
authorStanley Chu <yschu@nuvoton.com>
Thu, 6 Mar 2025 07:54:29 +0000 (15:54 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 6 Mar 2025 20:51:33 +0000 (21:51 +0100)
commit2a785307e41b5c621228e3a7ec3949af546a3e69
treea52e8bc6dc33b990110513d4d4ec53172a35ab5b
parent4dd12e944f07013ac280d7f46463c19157898bd1
i3c: master: svc: Fix npcm845 DAA process corruption

When MCONFIG.SKEW=0 and MCONFIG.ODHPP=0, the ENTDAA transaction gets
corrupted and results in a no repeated-start condition at the end of
address assignment.

Workaround: Set MCONFIG.SKEW to 1 before initiating the DAA process.
After the DAA process is completed, return MCONFIG.SKEW to its previous
value.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Link: https://lore.kernel.org/r/20250306075429.2265183-6-yschu@nuvoton.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/svc-i3c-master.c