0001 .. SPDX-License-Identifier: GPL-2.0-or-later
0002
0003 Kernel driver max6620
0004 =====================
0005
0006 Supported chips:
0007
0008 Maxim MAX6620
0009
0010 Prefix: 'max6620'
0011
0012 Addresses scanned: none
0013
0014 Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6620.pdf
0015
0016 Authors:
0017 - L\. Grunenberg <contact@lgrunenberg.de>
0018 - Cumulus Networks <support@cumulusnetworks.com>
0019 - Shuotian Cheng <shuche@microsoft.com>
0020 - Arun Saravanan Balachandran <Arun_Saravanan_Balac@dell.com>
0021
0022 Description
0023 -----------
0024
0025 This driver implements support for Maxim MAX6620 fan controller.
0026
0027 The driver configures the fan controller in RPM mode. To give the readings more
0028 range or accuracy, the desired value can be set by a programmable register
0029 (1, 2, 4, 8, 16 or 32). Set higher values for larger speeds.
0030
0031 The driver provides the following sensor access in sysfs:
0032
0033 ================ ======= =====================================================
0034 fan[1-4]_alarm ro Fan alarm.
0035 fan[1-4]_div rw Sets the nominal RPM range of the fan. Valid values
0036 are 1, 2, 4, 8, 16 and 32.
0037 fan[1-4]_input ro Fan speed in RPM.
0038 fan[1-4]_target rw Desired fan speed in RPM.
0039 ================ ======= =====================================================
0040
0041 Usage notes
0042 -----------
0043
0044 This driver does not auto-detect devices. You will have to instantiate the
0045 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
0046 details.