2007-05-08 23:22:00 +08:00
|
|
|
Kernel driver max6650
|
|
|
|
=====================
|
|
|
|
|
|
|
|
Supported chips:
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2011-05-26 02:43:32 +08:00
|
|
|
* Maxim MAX6650
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2007-05-08 23:22:00 +08:00
|
|
|
Prefix: 'max6650'
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2011-05-26 02:43:32 +08:00
|
|
|
Addresses scanned: none
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2007-05-08 23:22:00 +08:00
|
|
|
Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6650-MAX6651.pdf
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2011-05-26 02:43:32 +08:00
|
|
|
* Maxim MAX6651
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2011-05-26 02:43:32 +08:00
|
|
|
Prefix: 'max6651'
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2011-05-26 02:43:32 +08:00
|
|
|
Addresses scanned: none
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2011-05-26 02:43:32 +08:00
|
|
|
Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6650-MAX6651.pdf
|
2007-05-08 23:22:00 +08:00
|
|
|
|
|
|
|
Authors:
|
2019-04-17 17:46:28 +08:00
|
|
|
- Hans J. Koch <hjk@hansjkoch.de>
|
|
|
|
- John Morris <john.morris@spirentcom.com>
|
|
|
|
- Claus Gindhart <claus.gindhart@kontron.com>
|
2007-05-08 23:22:00 +08:00
|
|
|
|
|
|
|
Description
|
|
|
|
-----------
|
|
|
|
|
2011-05-26 02:43:32 +08:00
|
|
|
This driver implements support for the Maxim MAX6650 and MAX6651.
|
2007-05-08 23:22:00 +08:00
|
|
|
|
2011-05-26 02:43:32 +08:00
|
|
|
The 2 devices are very similar, but the MAX6550 has a reduced feature
|
|
|
|
set, e.g. only one fan-input, instead of 4 for the MAX6651.
|
2007-05-08 23:22:00 +08:00
|
|
|
|
|
|
|
The driver is not able to distinguish between the 2 devices.
|
|
|
|
|
|
|
|
The driver provides the following sensor accesses in sysfs:
|
|
|
|
|
2019-04-17 17:46:28 +08:00
|
|
|
=============== ======= =======================================================
|
2007-05-08 23:22:00 +08:00
|
|
|
fan1_input ro fan tachometer speed in RPM
|
|
|
|
fan2_input ro "
|
|
|
|
fan3_input ro "
|
|
|
|
fan4_input ro "
|
|
|
|
fan1_target rw desired fan speed in RPM (closed loop mode only)
|
|
|
|
pwm1_enable rw regulator mode, 0=full on, 1=open loop, 2=closed loop
|
2016-08-24 16:13:26 +08:00
|
|
|
3=off
|
2007-05-08 23:22:00 +08:00
|
|
|
pwm1 rw relative speed (0-255), 255=max. speed.
|
|
|
|
Used in open loop mode only.
|
|
|
|
fan1_div rw sets the speed range the inputs can handle. Legal
|
|
|
|
values are 1, 2, 4, and 8. Use lower values for
|
|
|
|
faster fans.
|
2019-04-17 17:46:28 +08:00
|
|
|
=============== ======= =======================================================
|
2007-05-08 23:22:00 +08:00
|
|
|
|
2011-05-26 02:43:32 +08:00
|
|
|
Usage notes
|
|
|
|
-----------
|
|
|
|
|
|
|
|
This driver does not auto-detect devices. You will have to instantiate the
|
2019-07-26 20:51:16 +08:00
|
|
|
devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
|
2011-05-26 02:43:32 +08:00
|
|
|
details.
|
|
|
|
|
2007-05-08 23:22:00 +08:00
|
|
|
Module parameters
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
If your board has a BIOS that initializes the MAX6650/6651 correctly, you can
|
|
|
|
simply load your module without parameters. It won't touch the configuration
|
|
|
|
registers then. If your board BIOS doesn't initialize the chip, or you want
|
|
|
|
different settings, you can set the following parameters:
|
|
|
|
|
|
|
|
voltage_12V: 5=5V fan, 12=12V fan, 0=don't change
|
|
|
|
prescaler: Possible values are 1,2,4,8,16, or 0 for don't change
|
|
|
|
clock: The clock frequency in Hz of the chip the driver should assume [254000]
|
|
|
|
|
|
|
|
Please have a look at the MAX6650/6651 data sheet and make sure that you fully
|
|
|
|
understand the meaning of these parameters before you attempt to change them.
|