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)
commitd8521f82dfb67442777a3f7ec2fdc1237384195e
treee59006100b6e53d0735bae3d08cd937b2ec61881
parent2c6cb6c557858672cafb6a5dc89a1df993420831
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