lm25066.rst 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. Kernel driver lm25066
  2. =====================
  3. Supported chips:
  4. * TI LM25056
  5. Prefix: 'lm25056'
  6. Addresses scanned: -
  7. Datasheets:
  8. https://www.ti.com/lit/gpn/lm25056
  9. https://www.ti.com/lit/gpn/lm25056a
  10. * National Semiconductor LM25066
  11. Prefix: 'lm25066'
  12. Addresses scanned: -
  13. Datasheets:
  14. http://www.national.com/pf/LM/LM25066.html
  15. http://www.national.com/pf/LM/LM25066A.html
  16. * National Semiconductor LM5064
  17. Prefix: 'lm5064'
  18. Addresses scanned: -
  19. Datasheet:
  20. http://www.national.com/pf/LM/LM5064.html
  21. * National Semiconductor LM5066
  22. Prefix: 'lm5066'
  23. Addresses scanned: -
  24. Datasheet:
  25. http://www.national.com/pf/LM/LM5066.html
  26. * Texas Instruments LM5066I
  27. Prefix: 'lm5066i'
  28. Addresses scanned: -
  29. Datasheet:
  30. https://www.ti.com/product/LM5066I
  31. Author: Guenter Roeck <[email protected]>
  32. Description
  33. -----------
  34. This driver supports hardware monitoring for National Semiconductor / TI LM25056,
  35. LM25066, LM5064, and LM5066/LM5066I Power Management, Monitoring,
  36. Control, and Protection ICs.
  37. The driver is a client driver to the core PMBus driver. Please see
  38. Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
  39. Usage Notes
  40. -----------
  41. This driver does not auto-detect devices. You will have to instantiate the
  42. devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
  43. details.
  44. The shunt (sense) resistor value can be configured by a device tree property;
  45. see Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml for details.
  46. Platform data support
  47. ---------------------
  48. The driver supports standard PMBus driver platform data.
  49. Sysfs entries
  50. -------------
  51. The following attributes are supported. Limits are read-write; all other
  52. attributes are read-only.
  53. ======================= =======================================================
  54. in1_label "vin"
  55. in1_input Measured input voltage.
  56. in1_average Average measured input voltage.
  57. in1_min Minimum input voltage.
  58. in1_max Maximum input voltage.
  59. in1_min_alarm Input voltage low alarm.
  60. in1_max_alarm Input voltage high alarm.
  61. in2_label "vmon"
  62. in2_input Measured voltage on VAUX pin
  63. in2_min Minimum VAUX voltage (LM25056 only).
  64. in2_max Maximum VAUX voltage (LM25056 only).
  65. in2_min_alarm VAUX voltage low alarm (LM25056 only).
  66. in2_max_alarm VAUX voltage high alarm (LM25056 only).
  67. in3_label "vout1"
  68. Not supported on LM25056.
  69. in3_input Measured output voltage.
  70. in3_average Average measured output voltage.
  71. in3_min Minimum output voltage.
  72. in3_min_alarm Output voltage low alarm.
  73. curr1_label "iin"
  74. curr1_input Measured input current.
  75. curr1_average Average measured input current.
  76. curr1_max Maximum input current.
  77. curr1_max_alarm Input current high alarm.
  78. power1_label "pin"
  79. power1_input Measured input power.
  80. power1_average Average measured input power.
  81. power1_max Maximum input power limit.
  82. power1_alarm Input power alarm
  83. power1_input_highest Historical maximum power.
  84. power1_reset_history Write any value to reset maximum power history.
  85. temp1_input Measured temperature.
  86. temp1_max Maximum temperature.
  87. temp1_crit Critical high temperature.
  88. temp1_max_alarm Chip temperature high alarm.
  89. temp1_crit_alarm Chip temperature critical high alarm.
  90. ======================= =======================================================