]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: pmbus: pli12096bc: Add write delay
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Mon, 2 Sep 2024 07:53:16 +0000 (09:53 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 2 Sep 2024 14:34:03 +0000 (07:34 -0700)
commit3cd1ef26b01ea66f1f1c1f088fb41cf1476cb017
treefd1d061e3c17dbeae177504f9d81024adb440dad
parent9c4e67320f39c793e4abccef6bd5d66d31e4ec0c
hwmon: pmbus: pli12096bc: Add write delay

Tests on PLI12096bc showed that sometimes a small delay is necessary
after a write operation before a new operation can be processed.
If not respected the device will probably NACK the data phase of
the SMBus transaction. Tests showed that the probability to observe
transaction errors can be raised by either reading sensor data or
toggling the regulator enable.

Further tests showed that 250 microseconds, as used previously for
the CLEAR_FAULTS workaround, is sufficient.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Message-ID: <20240902075319.585656-5-patrick.rudolph@9elements.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pmbus/pli1209bc.c