]> Gentwo Git Trees - linux/.git/commit
i3c: dw: Disable runtime PM on Agilex5 to avoid bus hang on IBI
authorAdrian Ng Ho Yin <adrianhoyin.ng@altera.com>
Tue, 4 Nov 2025 07:29:08 +0000 (15:29 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 8 Nov 2025 21:51:13 +0000 (22:51 +0100)
commitfba0e56ee7524995b1fc9d1e90602496fc09d80f
tree038939758480eeb3ba55625efaf0f97916d25702
parent8d1d2c408cc05021970df5dd7d41133d220cf851
i3c: dw: Disable runtime PM on Agilex5 to avoid bus hang on IBI

When running compliance tests on the Altera Agilex5 SoCFPGA platform,
the I3C bus can hang when a slave issues an IBI after the DAA process
completes. The DesignWare I3C master enters runtime suspend once DAA
finishes and stops driving SCL, preventing the IBI transfer from
completing and leaving SDA stuck low.

Add a new compatible string, "altr,agilex5-dw-i3c-master" and apply a quirk
that keep runtime PM always active on this platform by calling
pm_runtime_get_noresume() during probe.

Prevent bus hangs triggered by IBIs on Agilex5 while maintaining keep the
same behavior on other platforms.

Signed-off-by: Adrian Ng Ho Yin <adrianhoyin.ng@altera.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/482d540722a98c2809d8275445aaa544b565bf85.1762237922.git.adrianhoyin.ng@altera.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/dw-i3c-master.c