summaryrefslogtreecommitdiff
path: root/Documentation/hwmon/max6620.rst
diff options
context:
space:
mode:
authorArun Saravanan Balachandran <Arun_Saravanan_Balac@dell.com>2021-09-13 13:40:15 +0000
committerGuenter Roeck <linux@roeck-us.net>2021-10-12 07:22:37 -0700
commite8ac01e5db329cf4ac2b36ef66b9d877330a990c (patch)
tree470cc662a5af313fc6c5240b36b231caf94044cd /Documentation/hwmon/max6620.rst
parentd73287eed73fa024af704e269eca542e3bb213bb (diff)
downloadlinux-riscv-e8ac01e5db329cf4ac2b36ef66b9d877330a990c.tar.gz
linux-riscv-e8ac01e5db329cf4ac2b36ef66b9d877330a990c.tar.bz2
linux-riscv-e8ac01e5db329cf4ac2b36ef66b9d877330a990c.zip
hwmon: Add Maxim MAX6620 hardware monitoring driver
Add hardware monitoring driver for Maxim MAX6620 Fan controller Originally-from: L. Grunenberg <contact@lgrunenberg.de> Originally-from: Cumulus Networks <support@cumulusnetworks.com> Originally-from: Shuotian Cheng <shuche@microsoft.com> Signed-off-by: Arun Saravanan Balachandran <Arun_Saravanan_Balac@dell.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon/max6620.rst')
-rw-r--r--Documentation/hwmon/max6620.rst46
1 files changed, 46 insertions, 0 deletions
diff --git a/Documentation/hwmon/max6620.rst b/Documentation/hwmon/max6620.rst
new file mode 100644
index 000000000000..84c1c44d3de4
--- /dev/null
+++ b/Documentation/hwmon/max6620.rst
@@ -0,0 +1,46 @@
+.. SPDX-License-Identifier: GPL-2.0-or-later
+
+Kernel driver max6620
+=====================
+
+Supported chips:
+
+ Maxim MAX6620
+
+ Prefix: 'max6620'
+
+ Addresses scanned: none
+
+ Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6620.pdf
+
+Authors:
+ - L\. Grunenberg <contact@lgrunenberg.de>
+ - Cumulus Networks <support@cumulusnetworks.com>
+ - Shuotian Cheng <shuche@microsoft.com>
+ - Arun Saravanan Balachandran <Arun_Saravanan_Balac@dell.com>
+
+Description
+-----------
+
+This driver implements support for Maxim MAX6620 fan controller.
+
+The driver configures the fan controller in RPM mode. To give the readings more
+range or accuracy, the desired value can be set by a programmable register
+(1, 2, 4, 8, 16 or 32). Set higher values for larger speeds.
+
+The driver provides the following sensor access in sysfs:
+
+================ ======= =====================================================
+fan[1-4]_alarm ro Fan alarm.
+fan[1-4]_div rw Sets the nominal RPM range of the fan. Valid values
+ are 1, 2, 4, 8, 16 and 32.
+fan[1-4]_input ro Fan speed in RPM.
+fan[1-4]_target rw Desired fan speed in RPM.
+================ ======= =====================================================
+
+Usage notes
+-----------
+
+This driver does not auto-detect devices. You will have to instantiate the
+devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
+details.