Skip to content
Commit 205e0c05 authored by Lakshmi Yadlapati's avatar Lakshmi Yadlapati Committed by Guenter Roeck
Browse files

hwmon: (pmbus/max31785) Add delay between bus accesses



The MAX31785 has shown erratic behaviour across multiple system
designs, unexpectedly clock stretching and NAKing transactions.

Experimentation shows that this seems to be triggered by a register access
directly back to back with a previous register write. Experimentation also
shows that inserting a small delay after register writes makes the issue go
away.

Use a similar solution to what the max15301 driver does to solve the same
problem. Create a custom set of bus read and write functions that make sure
that the delay is added.

Signed-off-by: default avatarLakshmi Yadlapati <lakshmiy@us.ibm.com>
Link: https://lore.kernel.org/r/20231027044346.2167548-1-lakshmiy@us.ibm.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 2358151b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment