ucd9200 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. Kernel driver ucd9200
  2. =====================
  3. Supported chips:
  4. * TI UCD9220, UCD9222, UCD9224, UCD9240, UCD9244, UCD9246, and UCD9248
  5. Prefixes: 'ucd9220', 'ucd9222', 'ucd9224', 'ucd9240', 'ucd9244', 'ucd9246',
  6. 'ucd9248'
  7. Addresses scanned: -
  8. Datasheets:
  9. http://focus.ti.com/lit/ds/symlink/ucd9220.pdf
  10. http://focus.ti.com/lit/ds/symlink/ucd9222.pdf
  11. http://focus.ti.com/lit/ds/symlink/ucd9224.pdf
  12. http://focus.ti.com/lit/ds/symlink/ucd9240.pdf
  13. http://focus.ti.com/lit/ds/symlink/ucd9244.pdf
  14. http://focus.ti.com/lit/ds/symlink/ucd9246.pdf
  15. http://focus.ti.com/lit/ds/symlink/ucd9248.pdf
  16. Author: Guenter Roeck <linux@roeck-us.net>
  17. Description
  18. -----------
  19. [From datasheets] UCD9220, UCD9222, UCD9224, UCD9240, UCD9244, UCD9246, and
  20. UCD9248 are multi-rail, multi-phase synchronous buck digital PWM controllers
  21. designed for non-isolated DC/DC power applications. The devices integrate
  22. dedicated circuitry for DC/DC loop management with flash memory and a serial
  23. interface to support configuration, monitoring and management.
  24. This driver is a client driver to the core PMBus driver. Please see
  25. Documentation/hwmon/pmbus for details on PMBus client drivers.
  26. Usage Notes
  27. -----------
  28. This driver does not auto-detect devices. You will have to instantiate the
  29. devices explicitly. Please see Documentation/i2c/instantiating-devices for
  30. details.
  31. Platform data support
  32. ---------------------
  33. The driver supports standard PMBus driver platform data. Please see
  34. Documentation/hwmon/pmbus for details.
  35. Sysfs entries
  36. -------------
  37. The following attributes are supported. Limits are read-write; all other
  38. attributes are read-only.
  39. in1_label "vin".
  40. in1_input Measured voltage. From READ_VIN register.
  41. in1_min Minimum Voltage. From VIN_UV_WARN_LIMIT register.
  42. in1_max Maximum voltage. From VIN_OV_WARN_LIMIT register.
  43. in1_lcrit Critical minimum Voltage. VIN_UV_FAULT_LIMIT register.
  44. in1_crit Critical maximum voltage. From VIN_OV_FAULT_LIMIT register.
  45. in1_min_alarm Voltage low alarm. From VIN_UV_WARNING status.
  46. in1_max_alarm Voltage high alarm. From VIN_OV_WARNING status.
  47. in1_lcrit_alarm Voltage critical low alarm. From VIN_UV_FAULT status.
  48. in1_crit_alarm Voltage critical high alarm. From VIN_OV_FAULT status.
  49. in[2-5]_label "vout[1-4]".
  50. in[2-5]_input Measured voltage. From READ_VOUT register.
  51. in[2-5]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
  52. in[2-5]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
  53. in[2-5]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
  54. in[2-5]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register.
  55. in[2-5]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
  56. in[2-5]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
  57. in[2-5]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status.
  58. in[2-5]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status.
  59. curr1_label "iin".
  60. curr1_input Measured current. From READ_IIN register.
  61. curr[2-5]_label "iout[1-4]".
  62. curr[2-5]_input Measured current. From READ_IOUT register.
  63. curr[2-5]_max Maximum current. From IOUT_OC_WARN_LIMIT register.
  64. curr[2-5]_lcrit Critical minimum output current. From IOUT_UC_FAULT_LIMIT
  65. register.
  66. curr[2-5]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register.
  67. curr[2-5]_max_alarm Current high alarm. From IOUT_OC_WARNING status.
  68. curr[2-5]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status.
  69. power1_input Measured input power. From READ_PIN register.
  70. power1_label "pin"
  71. power[2-5]_input Measured output power. From READ_POUT register.
  72. power[2-5]_label "pout[1-4]"
  73. The number of output voltage, current, and power
  74. attribute sets is determined by the number of enabled
  75. rails. See chip datasheets for details.
  76. temp[1-5]_input Measured temperatures. From READ_TEMPERATURE_1 and
  77. READ_TEMPERATURE_2 registers.
  78. temp1 is the chip internal temperature. temp[2-5] are
  79. rail temperatures. temp[2-5] attributes are only
  80. created for enabled rails. See chip datasheets for
  81. details.
  82. temp[1-5]_max Maximum temperature. From OT_WARN_LIMIT register.
  83. temp[1-5]_crit Critical high temperature. From OT_FAULT_LIMIT register.
  84. temp[1-5]_max_alarm Temperature high alarm.
  85. temp[1-5]_crit_alarm Temperature critical high alarm.
  86. fan1_input Fan RPM. ucd9240 only.
  87. fan1_alarm Fan alarm. ucd9240 only.
  88. fan1_fault Fan fault. ucd9240 only.