tps40422 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Kernel driver tps40422
  2. ======================
  3. Supported chips:
  4. * TI TPS40422
  5. Prefix: 'tps40422'
  6. Addresses scanned: -
  7. Datasheet: http://www.ti.com/lit/gpn/tps40422
  8. Author: Zhu Laiwen <richard.zhu@nsn.com>
  9. Description
  10. -----------
  11. This driver supports TI TPS40422 Dual-Output or Two-Phase Synchronous Buck
  12. Controller with PMBus
  13. The driver is a client driver to the core PMBus driver.
  14. Please see Documentation/hwmon/pmbus for details on PMBus client drivers.
  15. Usage Notes
  16. -----------
  17. This driver does not auto-detect devices. You will have to instantiate the
  18. devices explicitly. Please see Documentation/i2c/instantiating-devices for
  19. details.
  20. Platform data support
  21. ---------------------
  22. The driver supports standard PMBus driver platform data.
  23. Sysfs entries
  24. -------------
  25. The following attributes are supported.
  26. in[1-2]_label "vout[1-2]"
  27. in[1-2]_input Measured voltage. From READ_VOUT register.
  28. in[1-2]_alarm voltage alarm.
  29. curr[1-2]_input Measured current. From READ_IOUT register.
  30. curr[1-2]_label "iout[1-2]"
  31. curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register.
  32. curr1_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register.
  33. curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT status.
  34. curr1_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status.
  35. curr2_alarm Current high alarm. From IOUT_OC_WARNING status.
  36. temp1_input Measured temperature. From READ_TEMPERATURE_2 register on page 0.
  37. temp1_max Maximum temperature. From OT_WARN_LIMIT register.
  38. temp1_crit Critical high temperature. From OT_FAULT_LIMIT register.
  39. temp1_max_alarm Chip temperature high alarm. Set by comparing
  40. READ_TEMPERATURE_2 on page 0 with OT_WARN_LIMIT if TEMP_OT_WARNING
  41. status is set.
  42. temp1_crit_alarm Chip temperature critical high alarm. Set by comparing
  43. READ_TEMPERATURE_2 on page 0 with OT_FAULT_LIMIT if TEMP_OT_FAULT
  44. status is set.
  45. temp2_input Measured temperature. From READ_TEMPERATURE_2 register on page 1.
  46. temp2_alarm Chip temperature alarm on page 1.