On Tue, Jan 10, 2023 at 09:52:37AM +0100, Ahmad Fatoum wrote: > The current wait time of 1 ms is apparently too short in some > circumstances leading to following error when communicating > with a KSZ switch with 100 kHz from an i.MX8MN I2C controller: > > ERROR: ksz9477-i2c ksz85630: error detecting KSZ9477: I/O error > > Increasing the poll time to 5ms resolved this issue: > > ksz9477-i2c ksz85630: Found KSZ9893 > ksz9477-i2c ksz85630: chip id: 0x00989360 > > Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> > --- > drivers/i2c/busses/i2c-imx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |