max8688 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Kernel driver max8688
  2. =====================
  3. Supported chips:
  4. * Maxim MAX8688
  5. Prefix: 'max8688'
  6. Addresses scanned: -
  7. Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX8688.pdf
  8. Author: Guenter Roeck <linux@roeck-us.net>
  9. Description
  10. -----------
  11. This driver supports hardware montoring for Maxim MAX8688 Digital Power-Supply
  12. Controller/Monitor with PMBus Interface.
  13. The driver is a client driver to the core PMBus driver. Please see
  14. 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. Limits are read-write; all other
  26. attributes are read-only.
  27. in1_label "vout1"
  28. in1_input Measured voltage. From READ_VOUT register.
  29. in1_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
  30. in1_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
  31. in1_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
  32. in1_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register.
  33. in1_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
  34. in1_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
  35. in1_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status.
  36. in1_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status.
  37. in1_highest Historical maximum voltage.
  38. in1_reset_history Write any value to reset history.
  39. curr1_label "iout1"
  40. curr1_input Measured current. From READ_IOUT register.
  41. curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register.
  42. curr1_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register.
  43. curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT register.
  44. curr1_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status.
  45. curr1_highest Historical maximum current.
  46. curr1_reset_history Write any value to reset history.
  47. temp1_input Measured temperature. From READ_TEMPERATURE_1 register.
  48. temp1_max Maximum temperature. From OT_WARN_LIMIT register.
  49. temp1_crit Critical high temperature. From OT_FAULT_LIMIT register.
  50. temp1_max_alarm Chip temperature high alarm. Set by comparing
  51. READ_TEMPERATURE_1 with OT_WARN_LIMIT if TEMP_OT_WARNING
  52. status is set.
  53. temp1_crit_alarm Chip temperature critical high alarm. Set by comparing
  54. READ_TEMPERATURE_1 with OT_FAULT_LIMIT if TEMP_OT_FAULT
  55. status is set.
  56. temp1_highest Historical maximum temperature.
  57. temp1_reset_history Write any value to reset history.