]> 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)
commitb21b20b26f4d6d0377ffffd297c4bedb9b42ca89
treee59006100b6e53d0735bae3d08cd937b2ec61881
parentfb7939cc8bdd6b4165b50f5b66de7ba651682cbd
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