adm1275 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Kernel driver adm1275
  2. =====================
  3. Supported chips:
  4. * Analog Devices ADM1075
  5. Prefix: 'adm1075'
  6. Addresses scanned: -
  7. Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1075.pdf
  8. * Analog Devices ADM1275
  9. Prefix: 'adm1275'
  10. Addresses scanned: -
  11. Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1275.pdf
  12. * Analog Devices ADM1276
  13. Prefix: 'adm1276'
  14. Addresses scanned: -
  15. Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1276.pdf
  16. Author: Guenter Roeck <guenter.roeck@ericsson.com>
  17. Description
  18. -----------
  19. This driver supports hardware montoring for Analog Devices ADM1075, ADM1275,
  20. and ADM1276 Hot-Swap Controller and Digital Power Monitor.
  21. ADM1075, ADM1275, and ADM1276 are hot-swap controllers that allow a circuit
  22. board to be removed from or inserted into a live backplane. They also feature
  23. current and voltage readback via an integrated 12-bit analog-to-digital
  24. converter (ADC), accessed using a PMBus interface.
  25. The driver is a client driver to the core PMBus driver. Please see
  26. Documentation/hwmon/pmbus for details on PMBus client drivers.
  27. Usage Notes
  28. -----------
  29. This driver does not auto-detect devices. You will have to instantiate the
  30. devices explicitly. Please see Documentation/i2c/instantiating-devices for
  31. details.
  32. The ADM1075, unlike many other PMBus devices, does not support internal voltage
  33. or current scaling. Reported voltages, currents, and power are raw measurements,
  34. and will typically have to be scaled.
  35. Platform data support
  36. ---------------------
  37. The driver supports standard PMBus driver platform data. Please see
  38. Documentation/hwmon/pmbus for details.
  39. Sysfs entries
  40. -------------
  41. The following attributes are supported. Limits are read-write, history reset
  42. attributes are write-only, all other attributes are read-only.
  43. in1_label "vin1" or "vout1" depending on chip variant and
  44. configuration. On ADM1075, vout1 reports the voltage on
  45. the VAUX pin.
  46. in1_input Measured voltage.
  47. in1_min Minimum Voltage.
  48. in1_max Maximum voltage.
  49. in1_min_alarm Voltage low alarm.
  50. in1_max_alarm Voltage high alarm.
  51. in1_highest Historical maximum voltage.
  52. in1_reset_history Write any value to reset history.
  53. curr1_label "iout1"
  54. curr1_input Measured current.
  55. curr1_max Maximum current.
  56. curr1_max_alarm Current high alarm.
  57. curr1_lcrit Critical minimum current. Depending on the chip
  58. configuration, either curr1_lcrit or curr1_crit is
  59. supported, but not both.
  60. curr1_lcrit_alarm Critical current low alarm.
  61. curr1_crit Critical maximum current. Depending on the chip
  62. configuration, either curr1_lcrit or curr1_crit is
  63. supported, but not both.
  64. curr1_crit_alarm Critical current high alarm.
  65. curr1_highest Historical maximum current.
  66. curr1_reset_history Write any value to reset history.
  67. power1_label "pin1"
  68. power1_input Input power.
  69. power1_reset_history Write any value to reset history.
  70. Power attributes are supported on ADM1075 and ADM1276
  71. only.