hwmon: (lm90) Add support for MAX6642
authorGuenter Roeck <linux@roeck-us.net>
Tue, 16 Nov 2021 02:10:11 +0000 (18:10 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 13 Jul 2022 15:38:18 +0000 (08:38 -0700)
commit3c1ecccbbc1389773c32fc56910cf23512fccfcd
tree3f48072fda24992541744847b98a2b71ce6f50b8
parentca6bfa3b7325518a4b41c81c89a970976771f2ea
hwmon: (lm90) Add support for MAX6642

MAX6642 is a reduced version of LM90 with no low limits and no conversion
rate register. Its alert functionality is broken, similar to many other
chips supported by the lm90 driver.

After this change, the stand-alone max6642 driver is only needed if the
lm90 driver is disabled. Make it dependent on SENSORS_LM90=n to show that
it is not needed if the lm90 driver is enabled.

A devicetree node is not added for this chip since it is quite unlikely
that such an old chip will ever be used in a devicetree based system.
It can be added later if needed.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/lm90.rst
drivers/hwmon/Kconfig
drivers/hwmon/lm90.c