aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon/lm90.rst
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2021-12-02 16:19:27 -0800
committerGuenter Roeck <linux@roeck-us.net>2022-07-13 08:38:18 -0700
commit0707dda69d85a3c6f5155e5c33e92b49f389e552 (patch)
tree206a920fad0da7aaa69105662ddf56b6b285b6f1 /Documentation/hwmon/lm90.rst
parenthwmon: (lm90) Add support for additional chip revision of NCT1008 (diff)
downloadlinux-dev-0707dda69d85a3c6f5155e5c33e92b49f389e552.tar.xz
linux-dev-0707dda69d85a3c6f5155e5c33e92b49f389e552.zip
hwmon: (lm90) Fix/Add detection of G781-1
When support for G781 was added, chips with ID 0x01 were found at I2C addresses 0x4c and 0x4d. The G781 datasheet (version 1.3 from October 2003) says that the device ID for G781-1 is 0x03, not 0x01. Also, the datasheet states that the chip at I2C address is G781 and the chip at I2C address 0x4d is G781-1. A G781-1 at I2C address 0x4d was now found to have a chip ID of 0x03 as suggested by the datasheet. Accept both 0x01 and 0x03 chip IDs at both addresses to ensure that all variants of G781 are detected properly. While at it, improve chip detection accuracy by reading two additional registers and ensuring that only expected bits are set in those registers. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon/lm90.rst')
0 files changed, 0 insertions, 0 deletions