Re: [PATCH v4 3/3] hwmon: (lm75) add MAX31875 support
From: Guenter Roeck
Date: Sun Oct 25 2026 - 20:25:01 EST
On Fri, Oct 23, 2026 at 05:15:50PM +0800, John Erasmus Mari Geronimo wrote:
> Add support for the Maxim MAX31875 I2C temperature sensor by
> extending the lm75 driver. The MAX31875 features a 16-bit
> configuration register, configurable resolution (8, 9, 10, or
> 12 bits), and selectable conversion rates (125ms, 250ms, 1s, 4s).
>
> The MAX31875 has no alert polarity bit, and the bit the driver would
> use for 16-bit chips is part of its conversion rate field, so skip
> the polarity configuration for it. Also set the default resolution
> and conversion rate at probe so the driver state matches the chip.
>
> Suggested-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> Signed-off-by: John Erasmus Mari Geronimo <johnerasmusmari.geronimo@xxxxxxxxxx>
Applied.
Thanks,
Guenter