hwmon: (lm90) Add support for ADM1021, ADM1021A, and ADM1023
authorGuenter Roeck <linux@roeck-us.net>
Sat, 20 Nov 2021 00:21:37 +0000 (16:21 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 13 Jul 2022 15:38:18 +0000 (08:38 -0700)
commit0c6bffd4a625319d83f40a40090a5335a5bd8a8d
tree8dd7a2b510b4c49668de63f675fdd823acb8b721
parentc09472fcf9e08b650453906ec9ab70662fe57fea
hwmon: (lm90) Add support for ADM1021, ADM1021A, and ADM1023

Both chips are quite similar to other chips of this series, so add
support for them to the lm90 driver. Also mention ON Semiconductor NCT210,
which is pin and register compatible to ADM1021A.

None of the chips support the secondary manufacturer and chip ID registers
at 0x3e and 0x3f, but return 0 when reading from those registers.
Use that information to improve the accuracy of chip detection code.

Devicetree nodes are not added for the added chips since it is quite
unlikely that such old chips will ever be used in a devicetree based
system. They 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