Commit e981364d authored by Chris Babroski's avatar Chris Babroski Committed by Andi Shyti
Browse files

i2c-mlxbf: Improve I2C bus timing configuration



Update the I2C bus timing configuration on BlueField to match the
configuration recommended and verified by the HW team.

I2C block read failures were found on BlueField 3 during communication
with a device that requires the use of repeated start conditions.
Testing showed that these failures were caused by the I2C transaction
getting aborted early due to a short bus "timeout" configuration value.
This value determines how long the clock can be held low before the I2C
transaction is aborted.

Upon further inspection, it was also found that other I2C bus timing
configuration values used by the kernel driver do not match the
configuration that is recommended by the HW team and used in the
BlueField BSP I2C drivers.

Signed-off-by: default avatarChris Babroski <cbabroski@nvidia.com>
Reviewed-by: default avatarAsmaa Mnebhi <asmaa@nvidia.com>
Reviewed-by: default avatarKhalil Blaiech <kblaiech@nvidia.com>
Link: https://lore.kernel.org/r/20250506193059.321345-2-cbabroski@nvidia.com


Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
parent 6bdc662c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment