Commit b9950b8
hwmon: (max31790): Add new FAN mode control
Add the new mode (called as mode#3) to monitor speed and control
the PWM.
Initialize mode #3 by default (fan tach input enable and
PWM mode enable). We can reconfigure again by the pwm_enale setting.
Signed-off-by: Chanh Nguyen <chanh@os.amperecomputing.com>1 parent 8d03980 commit b9950b8
1 file changed
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| 323 | + | |
| 324 | + | |
323 | 325 | | |
324 | 326 | | |
325 | 327 | | |
| |||
369 | 371 | | |
370 | 372 | | |
371 | 373 | | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
372 | 377 | | |
373 | 378 | | |
374 | 379 | | |
| |||
484 | 489 | | |
485 | 490 | | |
486 | 491 | | |
487 | | - | |
| 492 | + | |
488 | 493 | | |
489 | 494 | | |
490 | 495 | | |
491 | 496 | | |
492 | 497 | | |
493 | 498 | | |
494 | 499 | | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
495 | 508 | | |
496 | 509 | | |
497 | 510 | | |
498 | 511 | | |
499 | 512 | | |
500 | 513 | | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
501 | 520 | | |
502 | 521 | | |
503 | 522 | | |
| |||
0 commit comments