max6650 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Kernel driver max6650
  2. =====================
  3. Supported chips:
  4. * Maxim MAX6650
  5. Prefix: 'max6650'
  6. Addresses scanned: none
  7. Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6650-MAX6651.pdf
  8. * Maxim MAX6651
  9. Prefix: 'max6651'
  10. Addresses scanned: none
  11. Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6650-MAX6651.pdf
  12. Authors:
  13. Hans J. Koch <hjk@hansjkoch.de>
  14. John Morris <john.morris@spirentcom.com>
  15. Claus Gindhart <claus.gindhart@kontron.com>
  16. Description
  17. -----------
  18. This driver implements support for the Maxim MAX6650 and MAX6651.
  19. The 2 devices are very similar, but the MAX6550 has a reduced feature
  20. set, e.g. only one fan-input, instead of 4 for the MAX6651.
  21. The driver is not able to distinguish between the 2 devices.
  22. The driver provides the following sensor accesses in sysfs:
  23. fan1_input ro fan tachometer speed in RPM
  24. fan2_input ro "
  25. fan3_input ro "
  26. fan4_input ro "
  27. fan1_target rw desired fan speed in RPM (closed loop mode only)
  28. pwm1_enable rw regulator mode, 0=full on, 1=open loop, 2=closed loop
  29. pwm1 rw relative speed (0-255), 255=max. speed.
  30. Used in open loop mode only.
  31. fan1_div rw sets the speed range the inputs can handle. Legal
  32. values are 1, 2, 4, and 8. Use lower values for
  33. faster fans.
  34. Usage notes
  35. -----------
  36. This driver does not auto-detect devices. You will have to instantiate the
  37. devices explicitly. Please see Documentation/i2c/instantiating-devices for
  38. details.
  39. Module parameters
  40. -----------------
  41. If your board has a BIOS that initializes the MAX6650/6651 correctly, you can
  42. simply load your module without parameters. It won't touch the configuration
  43. registers then. If your board BIOS doesn't initialize the chip, or you want
  44. different settings, you can set the following parameters:
  45. voltage_12V: 5=5V fan, 12=12V fan, 0=don't change
  46. prescaler: Possible values are 1,2,4,8,16, or 0 for don't change
  47. clock: The clock frequency in Hz of the chip the driver should assume [254000]
  48. Please have a look at the MAX6650/6651 data sheet and make sure that you fully
  49. understand the meaning of these parameters before you attempt to change them.