]> git.ipfire.org Git - people/ms/linux.git/commit
hwmon: (lm90) Strengthen chip detection for ADM1032, ADT7461(A), and NCT1008
authorGuenter Roeck <linux@roeck-us.net>
Sat, 11 Dec 2021 03:35:20 +0000 (19:35 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 13 Jul 2022 15:38:18 +0000 (08:38 -0700)
commit9888775be8c07e134c1c5b281ee0a4e01773aed1
tree54792d7cd8b674a1a2d304c0a2657ccf5e18c298
parenta9f3d3a80a405249e18f9bf85271e4cee5c4160f
hwmon: (lm90) Strengthen chip detection for ADM1032, ADT7461(A), and NCT1008

ADT7461A and NCT1008 support the undocumented manufacturer and chip ID
registers at 0x3e and 0x3f, and return 0x61 as chip ID. ADM1032 and
ADT7461 do not support those registers but return 0 when reading them.
Use this information to improve the accuracy of the chip detection code.

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