]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4648428ec08df9bad95e4872a394faa9f9c5f561
tree8dd7a2b510b4c49668de63f675fdd823acb8b721
parent187e0a857b20901b895a13ae37da67524e6e0209
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