max6875 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. Kernel driver max6875
  2. =====================
  3. Supported chips:
  4. * Maxim MAX6874, MAX6875
  5. Prefix: 'max6875'
  6. Addresses scanned: 0x50, 0x52
  7. Datasheet:
  8. http://pdfserv.maxim-ic.com/en/ds/MAX6874-MAX6875.pdf
  9. Author: Ben Gardner <bgardner@wabtec.com>
  10. Module Parameters
  11. -----------------
  12. * allow_write int
  13. Set to non-zero to enable write permission:
  14. *0: Read only
  15. 1: Read and write
  16. Description
  17. -----------
  18. The Maxim MAX6875 is an EEPROM-programmable power-supply sequencer/supervisor.
  19. It provides timed outputs that can be used as a watchdog, if properly wired.
  20. It also provides 512 bytes of user EEPROM.
  21. At reset, the MAX6875 reads the configuration EEPROM into its configuration
  22. registers. The chip then begins to operate according to the values in the
  23. registers.
  24. The Maxim MAX6874 is a similar, mostly compatible device, with more intputs
  25. and outputs:
  26. vin gpi vout
  27. MAX6874 6 4 8
  28. MAX6875 4 3 5
  29. MAX6874 chips can have four different addresses (as opposed to only two for
  30. the MAX6875). The additional addresses (0x54 and 0x56) are not probed by
  31. this driver by default, but the probe module parameter can be used if
  32. needed.
  33. See the datasheet for details on how to program the EEPROM.
  34. Sysfs entries
  35. -------------
  36. eeprom_user - 512 bytes of user-defined EEPROM space. Only writable if
  37. allow_write was set and register 0x43 is 0.
  38. eeprom_config - 70 bytes of config EEPROM. Note that changes will not get
  39. loaded into register space until a power cycle or device reset.
  40. reg_config - 70 bytes of register space. Any changes take affect immediately.
  41. General Remarks
  42. ---------------
  43. A typical application will require that the EEPROMs be programmed once and
  44. never altered afterwards.