]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm90) Add support for ON Semiconductor NCT218
authorGuenter Roeck <linux@roeck-us.net>
Mon, 13 Dec 2021 19:26:54 +0000 (11:26 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 13 Jul 2022 15:38:18 +0000 (08:38 -0700)
commite6e45a30de4d715de5721f899a69ca6d315a68a8
treee59006100b6e53d0735bae3d08cd937b2ec61881
parent29fc6ba847757f0076e9f560af4b3589f8830a44
hwmon: (lm90) Add support for ON Semiconductor NCT218

NCT218 is compatible to NCT72 and NCT214. It also supports PEC (packet
error checking). Similar to NCT72 and NCT214, PEC support is undocumented.

Unlike NCT214 and NCT72, NCT218 does not support the undocumented secondary
chip and manufacturer ID registers at 0x3e and 0x3f and returns 0x00 when
reading those registers. The value for the chip revision register is not
documented but was observed to be 0xca. Use that information to improve
chip detection accuracy.

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