^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Kernel driver max31790
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) ======================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Supported chips:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * Maxim MAX31790
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) Prefix: 'max31790'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Addresses scanned: -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Datasheet: https://pdfserv.maximintegrated.com/en/ds/MAX31790.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Author: Il Han <corone.il.han@gmail.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) This driver implements support for the Maxim MAX31790 chip.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) The MAX31790 controls the speeds of up to six fans using six independent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) PWM outputs. The desired fan speeds (or PWM duty cycles) are written
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) through the I2C interface. The outputs drive "4-wire" fans directly,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) or can be used to modulate the fan's power terminals using an external
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) pass transistor.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Tachometer inputs monitor fan tachometer logic outputs for precise (+/-1%)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) monitoring and control of fan RPM as well as detection of fan failure.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Six pins are dedicated tachometer inputs. Any of the six PWM outputs can
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) also be configured to serve as tachometer inputs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Sysfs entries
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) -------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) ================== === =======================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) fan[1-12]_input RO fan tachometer speed in RPM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) fan[1-12]_fault RO fan experienced fault
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) fan[1-6]_target RW desired fan speed in RPM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) pwm[1-6]_enable RW regulator mode, 0=disabled (duty cycle=0%), 1=manual mode, 2=rpm mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) pwm[1-6] RW read: current pwm duty cycle,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) write: target pwm duty cycle (0-255)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) ================== === =======================================================