max6620.rst 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. .. SPDX-License-Identifier: GPL-2.0-or-later
  2. Kernel driver max6620
  3. =====================
  4. Supported chips:
  5. Maxim MAX6620
  6. Prefix: 'max6620'
  7. Addresses scanned: none
  8. Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6620.pdf
  9. Authors:
  10. - L\. Grunenberg <[email protected]>
  11. - Cumulus Networks <[email protected]>
  12. - Shuotian Cheng <[email protected]>
  13. - Arun Saravanan Balachandran <[email protected]>
  14. Description
  15. -----------
  16. This driver implements support for Maxim MAX6620 fan controller.
  17. The driver configures the fan controller in RPM mode. To give the readings more
  18. range or accuracy, the desired value can be set by a programmable register
  19. (1, 2, 4, 8, 16 or 32). Set higher values for larger speeds.
  20. The driver provides the following sensor access in sysfs:
  21. ================ ======= =====================================================
  22. fan[1-4]_alarm ro Fan alarm.
  23. fan[1-4]_div rw Sets the nominal RPM range of the fan. Valid values
  24. are 1, 2, 4, 8, 16 and 32.
  25. fan[1-4]_input ro Fan speed in RPM.
  26. fan[1-4]_target rw Desired fan speed in RPM.
  27. ================ ======= =====================================================
  28. Usage notes
  29. -----------
  30. This driver does not auto-detect devices. You will have to instantiate the
  31. devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
  32. details.