max6650 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. 3=off
  30. pwm1 rw relative speed (0-255), 255=max. speed.
  31. Used in open loop mode only.
  32. fan1_div rw sets the speed range the inputs can handle. Legal
  33. values are 1, 2, 4, and 8. Use lower values for
  34. faster fans.
  35. Usage notes
  36. -----------
  37. This driver does not auto-detect devices. You will have to instantiate the
  38. devices explicitly. Please see Documentation/i2c/instantiating-devices for
  39. details.
  40. Module parameters
  41. -----------------
  42. If your board has a BIOS that initializes the MAX6650/6651 correctly, you can
  43. simply load your module without parameters. It won't touch the configuration
  44. registers then. If your board BIOS doesn't initialize the chip, or you want
  45. different settings, you can set the following parameters:
  46. voltage_12V: 5=5V fan, 12=12V fan, 0=don't change
  47. prescaler: Possible values are 1,2,4,8,16, or 0 for don't change
  48. clock: The clock frequency in Hz of the chip the driver should assume [254000]
  49. Please have a look at the MAX6650/6651 data sheet and make sure that you fully
  50. understand the meaning of these parameters before you attempt to change them.