Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) Kernel driver max6639
^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 MAX6639
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)     Prefix: 'max6639'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)     Addresses scanned: I2C 0x2c, 0x2e, 0x2f
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)     Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6639.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Authors:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)     - He Changqing <hechangqing@semptian.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)     - Roland Stigge <stigge@antcom.de>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) This driver implements support for the Maxim MAX6639. This chip is a 2-channel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) temperature monitor with dual PWM fan speed controller. It can monitor its own
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) temperature and one external diode-connected transistor or two external
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) diode-connected transistors.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) The following device attributes are implemented via sysfs:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) ====================== ==== ===================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Attribute              R/W  Contents
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) ====================== ==== ===================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) temp1_input            R    Temperature channel 1 input (0..150 C)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) temp2_input            R    Temperature channel 2 input (0..150 C)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) temp1_fault            R    Temperature channel 1 diode fault
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) temp2_fault            R    Temperature channel 2 diode fault
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) temp1_max              RW   Set THERM temperature for input 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 			    (in C, see datasheet)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) temp2_max              RW   Set THERM temperature for input 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) temp1_crit             RW   Set ALERT temperature for input 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) temp2_crit             RW   Set ALERT temperature for input 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) temp1_emergency        RW   Set OT temperature for input 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 			    (in C, see datasheet)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) temp2_emergency        RW   Set OT temperature for input 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) pwm1                   RW   Fan 1 target duty cycle (0..255)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) pwm2                   RW   Fan 2 target duty cycle (0..255)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) fan1_input             R    TACH1 fan tachometer input (in RPM)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) fan2_input             R    TACH2 fan tachometer input (in RPM)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) fan1_fault             R    Fan 1 fault
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) fan2_fault             R    Fan 2 fault
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) temp1_max_alarm        R    Alarm on THERM temperature on channel 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) temp2_max_alarm        R    Alarm on THERM temperature on channel 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) temp1_crit_alarm       R    Alarm on ALERT temperature on channel 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) temp2_crit_alarm       R    Alarm on ALERT temperature on channel 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) temp1_emergency_alarm  R    Alarm on OT temperature on channel 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) temp2_emergency_alarm  R    Alarm on OT temperature on channel 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) ====================== ==== ===================================================