xref: /linux/Documentation/hwmon/max6639.rst (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
17ebd8b66SMauro Carvalho ChehabKernel driver max6639
27ebd8b66SMauro Carvalho Chehab=====================
37ebd8b66SMauro Carvalho Chehab
47ebd8b66SMauro Carvalho ChehabSupported chips:
57ebd8b66SMauro Carvalho Chehab
67ebd8b66SMauro Carvalho Chehab  * Maxim MAX6639
77ebd8b66SMauro Carvalho Chehab
87ebd8b66SMauro Carvalho Chehab    Prefix: 'max6639'
97ebd8b66SMauro Carvalho Chehab
107ebd8b66SMauro Carvalho Chehab    Addresses scanned: I2C 0x2c, 0x2e, 0x2f
117ebd8b66SMauro Carvalho Chehab
12*06f7d6e7SMarcello Sylvester Bauer    Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX6639-MAX6639F.pdf
137ebd8b66SMauro Carvalho Chehab
147ebd8b66SMauro Carvalho ChehabAuthors:
157ebd8b66SMauro Carvalho Chehab    - He Changqing <hechangqing@semptian.com>
167ebd8b66SMauro Carvalho Chehab    - Roland Stigge <stigge@antcom.de>
177ebd8b66SMauro Carvalho Chehab
187ebd8b66SMauro Carvalho ChehabDescription
197ebd8b66SMauro Carvalho Chehab-----------
207ebd8b66SMauro Carvalho Chehab
217ebd8b66SMauro Carvalho ChehabThis driver implements support for the Maxim MAX6639. This chip is a 2-channel
227ebd8b66SMauro Carvalho Chehabtemperature monitor with dual PWM fan speed controller. It can monitor its own
237ebd8b66SMauro Carvalho Chehabtemperature and one external diode-connected transistor or two external
247ebd8b66SMauro Carvalho Chehabdiode-connected transistors.
257ebd8b66SMauro Carvalho Chehab
267ebd8b66SMauro Carvalho ChehabThe following device attributes are implemented via sysfs:
277ebd8b66SMauro Carvalho Chehab
287ebd8b66SMauro Carvalho Chehab====================== ==== ===================================================
297ebd8b66SMauro Carvalho ChehabAttribute              R/W  Contents
307ebd8b66SMauro Carvalho Chehab====================== ==== ===================================================
317ebd8b66SMauro Carvalho Chehabtemp1_input            R    Temperature channel 1 input (0..150 C)
327ebd8b66SMauro Carvalho Chehabtemp2_input            R    Temperature channel 2 input (0..150 C)
337ebd8b66SMauro Carvalho Chehabtemp1_fault            R    Temperature channel 1 diode fault
347ebd8b66SMauro Carvalho Chehabtemp2_fault            R    Temperature channel 2 diode fault
357ebd8b66SMauro Carvalho Chehabtemp1_max              RW   Set THERM temperature for input 1
367ebd8b66SMauro Carvalho Chehab			    (in C, see datasheet)
377ebd8b66SMauro Carvalho Chehabtemp2_max              RW   Set THERM temperature for input 2
387ebd8b66SMauro Carvalho Chehabtemp1_crit             RW   Set ALERT temperature for input 1
397ebd8b66SMauro Carvalho Chehabtemp2_crit             RW   Set ALERT temperature for input 2
407ebd8b66SMauro Carvalho Chehabtemp1_emergency        RW   Set OT temperature for input 1
417ebd8b66SMauro Carvalho Chehab			    (in C, see datasheet)
427ebd8b66SMauro Carvalho Chehabtemp2_emergency        RW   Set OT temperature for input 2
437ebd8b66SMauro Carvalho Chehabpwm1                   RW   Fan 1 target duty cycle (0..255)
447ebd8b66SMauro Carvalho Chehabpwm2                   RW   Fan 2 target duty cycle (0..255)
457ebd8b66SMauro Carvalho Chehabfan1_input             R    TACH1 fan tachometer input (in RPM)
467ebd8b66SMauro Carvalho Chehabfan2_input             R    TACH2 fan tachometer input (in RPM)
477ebd8b66SMauro Carvalho Chehabfan1_fault             R    Fan 1 fault
487ebd8b66SMauro Carvalho Chehabfan2_fault             R    Fan 2 fault
497ebd8b66SMauro Carvalho Chehabtemp1_max_alarm        R    Alarm on THERM temperature on channel 1
507ebd8b66SMauro Carvalho Chehabtemp2_max_alarm        R    Alarm on THERM temperature on channel 2
517ebd8b66SMauro Carvalho Chehabtemp1_crit_alarm       R    Alarm on ALERT temperature on channel 1
527ebd8b66SMauro Carvalho Chehabtemp2_crit_alarm       R    Alarm on ALERT temperature on channel 2
537ebd8b66SMauro Carvalho Chehabtemp1_emergency_alarm  R    Alarm on OT temperature on channel 1
547ebd8b66SMauro Carvalho Chehabtemp2_emergency_alarm  R    Alarm on OT temperature on channel 2
557ebd8b66SMauro Carvalho Chehab====================== ==== ===================================================
56