Lars-Peter Clausen
8d655e6523
hwmon: (ucd90320) Add minimum delay between bus accesses
...
When probing the ucd90320 access to some of the registers randomly fails.
Sometimes it NACKs a transfer, sometimes it returns just random data and
the PEC check fails.
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.
Fixes: a470f11c5b ("hwmon: (pmbus/ucd9000) Add support for UCD90320 Power Sequencer")
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Link: https://lore.kernel.org/r/20230312160312.2227405-1-lars@metafoo.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
2023-03-12 14:05:40 -07:00
..
2023-02-23 17:09:35 -08:00
2023-03-03 10:36:01 -08:00
2023-02-24 12:47:33 -08:00
2023-03-03 18:43:02 +09:00
2023-03-05 11:19:16 -08:00
2023-03-03 10:21:39 -08:00
2023-02-09 14:20:04 -08:00
2023-02-27 10:04:49 -08:00
2023-02-24 12:47:33 -08:00
2023-02-25 15:16:23 -08:00
2023-02-21 09:45:13 -08:00
2023-03-03 10:30:58 -08:00
2023-02-27 10:04:49 -08:00
2023-03-05 11:32:30 -08:00
2023-02-25 09:19:23 -08:00
2023-02-25 09:19:23 -08:00
2023-02-24 17:18:54 -08:00
2023-02-17 09:16:34 +01:00
2023-02-21 08:10:03 -08:00
2023-02-24 12:58:55 -08:00
2023-02-27 10:04:49 -08:00
2023-02-24 12:58:55 -08:00
2023-02-24 12:58:55 -08:00
2023-03-02 15:08:54 -08:00
2023-02-24 12:58:55 -08:00
2023-02-24 12:58:55 -08:00
2023-02-24 12:58:55 -08:00
2023-03-12 14:05:40 -07:00
2023-02-24 12:58:55 -08:00
2023-03-03 21:00:54 +01:00
2023-02-28 16:05:01 -08:00
2023-02-21 12:13:58 -08:00
2023-02-24 12:47:33 -08:00
2023-02-24 15:11:03 -08:00
2023-02-27 10:04:49 -08:00
2023-02-20 15:49:56 -08:00
2023-02-27 10:04:49 -08:00
2023-02-24 12:58:55 -08:00
2023-02-25 11:30:21 -08:00
2023-02-23 15:09:31 -08:00
2023-02-25 11:00:06 -08:00
2023-02-23 14:47:13 -06:00
2023-02-25 12:53:42 -08:00
2023-02-27 10:04:49 -08:00
2023-02-27 10:04:49 -08:00
2023-02-27 09:47:26 -08:00
2023-02-27 14:05:08 -08:00
2023-02-27 10:04:49 -08:00
2023-02-27 10:04:49 -08:00
2023-03-01 09:06:51 -08:00
2023-02-27 14:05:08 -08:00
2023-02-26 14:55:13 +00:00
2023-02-25 11:48:02 -08:00
2023-03-03 10:21:39 -08:00
2023-02-06 19:07:00 +01:00
2023-02-24 13:40:13 -08:00
2023-02-16 13:48:53 +01:00
2023-02-24 12:47:33 -08:00
2023-03-05 11:19:16 -08:00
2023-02-24 12:58:55 -08:00
2023-03-03 09:32:51 -08:00
2023-02-27 10:04:49 -08:00
2023-02-27 10:04:49 -08:00
2023-02-24 17:04:23 -08:00
2023-03-03 16:33:28 -08:00
2023-03-03 10:30:58 -08:00
2023-02-22 21:23:48 -08:00
2023-02-20 12:26:35 +01:00
2023-03-02 09:21:25 -08:00
2023-02-27 10:04:49 -08:00
2023-02-26 12:10:28 -08:00
2023-03-03 09:15:50 -08:00
2023-03-03 14:41:50 -08:00
2023-02-09 16:51:39 -08:00
2023-03-03 14:41:50 -08:00
2023-03-01 09:44:22 -08:00
2023-02-27 10:04:49 -08:00
2023-02-24 17:29:52 -08:00
2023-03-02 09:25:38 -08:00
2023-02-26 11:47:26 -08:00
2023-02-23 17:09:35 -08:00
2023-02-24 12:58:55 -08:00
2023-03-03 10:41:59 -08:00
2023-02-24 12:58:55 -08:00
2023-02-27 18:35:28 -08:00
2023-03-03 14:41:50 -08:00
2023-02-23 17:09:35 -08:00
2023-02-24 17:22:11 -08:00
2023-02-25 11:48:02 -08:00
2023-02-25 11:52:57 -08:00
2023-02-25 11:48:02 -08:00
2023-02-24 12:17:14 -08:00
2023-03-01 10:17:46 +01:00
2023-02-25 11:48:02 -08:00
2023-02-24 12:58:55 -08:00
2023-03-02 11:12:01 -08:00
2023-02-24 12:58:55 -08:00
2023-02-26 11:53:25 -08:00