2015-08-30 19:44:26 +08:00
|
|
|
Kernel driver max31790
|
|
|
|
======================
|
|
|
|
|
|
|
|
Supported chips:
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2015-08-30 19:44:26 +08:00
|
|
|
* Maxim MAX31790
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2015-08-30 19:44:26 +08:00
|
|
|
Prefix: 'max31790'
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2015-08-30 19:44:26 +08:00
|
|
|
Addresses scanned: -
|
2019-04-17 17:46:28 +08:00
|
|
|
|
2020-07-20 01:55:12 +08:00
|
|
|
Datasheet: https://pdfserv.maximintegrated.com/en/ds/MAX31790.pdf
|
2015-08-30 19:44:26 +08:00
|
|
|
|
|
|
|
Author: Il Han <corone.il.han@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
Description
|
|
|
|
-----------
|
|
|
|
|
|
|
|
This driver implements support for the Maxim MAX31790 chip.
|
|
|
|
|
|
|
|
The MAX31790 controls the speeds of up to six fans using six independent
|
|
|
|
PWM outputs. The desired fan speeds (or PWM duty cycles) are written
|
|
|
|
through the I2C interface. The outputs drive "4-wire" fans directly,
|
|
|
|
or can be used to modulate the fan's power terminals using an external
|
|
|
|
pass transistor.
|
|
|
|
|
|
|
|
Tachometer inputs monitor fan tachometer logic outputs for precise (+/-1%)
|
|
|
|
monitoring and control of fan RPM as well as detection of fan failure.
|
|
|
|
Six pins are dedicated tachometer inputs. Any of the six PWM outputs can
|
|
|
|
also be configured to serve as tachometer inputs.
|
|
|
|
|
|
|
|
|
|
|
|
Sysfs entries
|
|
|
|
-------------
|
|
|
|
|
2019-04-17 17:46:28 +08:00
|
|
|
================== === =======================================================
|
2015-08-30 19:44:26 +08:00
|
|
|
fan[1-12]_input RO fan tachometer speed in RPM
|
|
|
|
fan[1-12]_fault RO fan experienced fault
|
|
|
|
fan[1-6]_target RW desired fan speed in RPM
|
|
|
|
pwm[1-6]_enable RW regulator mode, 0=disabled, 1=manual mode, 2=rpm mode
|
|
|
|
pwm[1-6] RW fan target duty cycle (0-255)
|
2019-04-17 17:46:28 +08:00
|
|
|
================== === =======================================================
|