[PATCH 0/3] hwmon: (max31760) Fix local limits, standby and the initial fan speed

From: Stanislav Aleksandrov

Date: Sat Nov 07 2026 - 23:00:20 EST


Three fixes for the MAX31760 driver, found while bringing up the Samsung
Galaxy XR on mainline. The headset uses the chip for its two cooling
fans.

1. The local temperature max and crit limits are swapped.
2. Probe never clears the standby bit. The Galaxy XR bootloader leaves
the chip in standby, so the driver gets no temperature or fan speed
readings and can't control the fans.
3. The fan speed reads 3000000 RPM before the first measurement.

The patches were written with the help of an AI coding assistant
(Claude Code), based on the datasheet and tests on the device. I
reviewed them and tested them on the Galaxy XR.

---
Stanislav Aleksandrov (3):
hwmon: (max31760) Fix the local temperature limit registers
hwmon: (max31760) Leave standby mode at probe
hwmon: (max31760) Report 0 RPM before the first fan speed measurement

drivers/hwmon/max31760.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
---
base-commit: f4e680ffc2e50867c5b590e26a37f8801a31e486
change-id: 20261108-max31760-fixes-0af187603717

Best regards,
--
Stanislav Aleksandrov <lightofmysoul@xxxxxxxxx>