adm1275 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. * Analog Devices ADM1293/ADM1294
  17. Prefix: 'adm1293', 'adm1294'
  18. Addresses scanned: -
  19. Datasheet: http://www.analog.com/media/en/technical-documentation/data-sheets/ADM1293_1294.pdf
  20. Author: Guenter Roeck <linux@roeck-us.net>
  21. Description
  22. -----------
  23. This driver supports hardware montoring for Analog Devices ADM1075, ADM1275,
  24. ADM1276, ADM1293, and ADM1294 Hot-Swap Controller and Digital Power Monitors.
  25. ADM1075, ADM1275, ADM1276, ADM1293, and ADM1294 are hot-swap controllers that
  26. allow a circuit board to be removed from or inserted into a live backplane.
  27. They also feature current and voltage readback via an integrated 12
  28. bit analog-to-digital converter (ADC), accessed using a PMBus interface.
  29. The driver is a client driver to the core PMBus driver. Please see
  30. Documentation/hwmon/pmbus for details on PMBus client drivers.
  31. Usage Notes
  32. -----------
  33. This driver does not auto-detect devices. You will have to instantiate the
  34. devices explicitly. Please see Documentation/i2c/instantiating-devices for
  35. details.
  36. The ADM1075, unlike many other PMBus devices, does not support internal voltage
  37. or current scaling. Reported voltages, currents, and power are raw measurements,
  38. and will typically have to be scaled.
  39. Platform data support
  40. ---------------------
  41. The driver supports standard PMBus driver platform data. Please see
  42. Documentation/hwmon/pmbus for details.
  43. Sysfs entries
  44. -------------
  45. The following attributes are supported. Limits are read-write, history reset
  46. attributes are write-only, all other attributes are read-only.
  47. inX_label "vin1" or "vout1" depending on chip variant and
  48. configuration. On ADM1075, ADM1293, and ADM1294,
  49. vout1 reports the voltage on the VAUX pin.
  50. inX_input Measured voltage.
  51. inX_min Minimum Voltage.
  52. inX_max Maximum voltage.
  53. inX_min_alarm Voltage low alarm.
  54. inX_max_alarm Voltage high alarm.
  55. inX_highest Historical maximum voltage.
  56. inX_reset_history Write any value to reset history.
  57. curr1_label "iout1"
  58. curr1_input Measured current.
  59. curr1_max Maximum current.
  60. curr1_max_alarm Current high alarm.
  61. curr1_lcrit Critical minimum current. Depending on the chip
  62. configuration, either curr1_lcrit or curr1_crit is
  63. supported, but not both.
  64. curr1_lcrit_alarm Critical current low alarm.
  65. curr1_crit Critical maximum current. Depending on the chip
  66. configuration, either curr1_lcrit or curr1_crit is
  67. supported, but not both.
  68. curr1_crit_alarm Critical current high alarm.
  69. curr1_highest Historical maximum current.
  70. curr1_reset_history Write any value to reset history.
  71. power1_label "pin1"
  72. power1_input Input power.
  73. power1_input_lowest Lowest observed input power. ADM1293 and ADM1294 only.
  74. power1_input_highest Highest observed input power.
  75. power1_reset_history Write any value to reset history.
  76. Power attributes are supported on ADM1075, ADM1276,
  77. ADM1293, and ADM1294.