]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
hwmon: (lm92) Update documentation
authorGuenter Roeck <linux@roeck-us.net>
Sun, 28 Jul 2024 22:52:25 +0000 (15:52 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 27 Aug 2024 15:10:23 +0000 (08:10 -0700)
Update datasheet references. Replace misleading 'force parameter needed'
with 'must be instantiated explicitly'. Explain the reason for the missing
auto-detection. Mention all supported chips in Kconfig.

Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/lm92.rst
drivers/hwmon/Kconfig

index c131b923ed36e2fad4efe0452e73f3275a67d8ba..d71cdb2af339fd79edd84a1a0584566fc6b4dcf5 100644 (file)
@@ -3,29 +3,29 @@ Kernel driver lm92
 
 Supported chips:
 
-  * National Semiconductor LM92
+  * National Semiconductor / Texas Instruments LM92
 
     Prefix: 'lm92'
 
     Addresses scanned: I2C 0x48 - 0x4b
 
-    Datasheet: http://www.national.com/pf/LM/LM92.html
+    Datasheet: https://www.ti.com/lit/gpn/LM92
 
-  * National Semiconductor LM76
+  * National Semiconductor / Texas Instruments LM76
 
     Prefix: 'lm92'
 
-    Addresses scanned: none, force parameter needed
+    Addresses scanned: none, must be instantiated explicitly
 
-    Datasheet: http://www.national.com/pf/LM/LM76.html
+    Datasheet: https://www.ti.com/lit/gpn/LM76
 
-  * Maxim MAX6633/MAX6634/MAX6635
+  * Maxim /Analog Devices MAX6633/MAX6634/MAX6635
 
     Prefix: 'max6635'
 
-    Addresses scanned: none, force parameter needed
+    Addresses scanned: none, must be instantiated explicitly
 
-    Datasheet: http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3074
+    Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/max6633-max6635.pdf
 
 
 Authors:
@@ -36,13 +36,13 @@ Authors:
 Description
 -----------
 
-This driver implements support for the National Semiconductor LM92
-temperature sensor.
+This driver implements support for the National Semiconductor / Texas
+Instruments LM92 temperature sensor.
 
 Each LM92 temperature sensor supports a single temperature sensor. There are
 alarms for high, low, and critical thresholds. There's also an hysteresis to
 control the thresholds for resetting alarms.
 
-Support was added later for the LM76 and Maxim MAX6633/MAX6634/MAX6635,
-which are mostly compatible. They have not all been tested, so you
-may need to use the force parameter.
+The driver also supports LM76 and Maxim MAX6633/MAX6634/MAX6635, which are
+mostly compatible but do not have a vendor ID register and therefore must be
+instantiated explicitly.
index 437334d10d3bd3289aaa6c835b974abf6fbe7730..810c7d907235b045f0212bbf42717ce9f686ea16 100644 (file)
@@ -1514,7 +1514,7 @@ config SENSORS_LM92
        select REGMAP_I2C
        help
          If you say yes here you get support for National Semiconductor LM92
-         and Maxim MAX6635 sensor chips.
+         and LM76 as well as Maxim MAX6633/6634/6635 sensor chips.
 
          This driver can also be built as a module. If so, the module
          will be called lm92.