Back to home page

OSCL-LXR

 
 

    


0001 Kernel driver max8688
0002 =====================
0003 
0004 Supported chips:
0005 
0006   * Maxim MAX8688
0007 
0008     Prefix: 'max8688'
0009 
0010     Addresses scanned: -
0011 
0012     Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX8688.pdf
0013 
0014 Author: Guenter Roeck <linux@roeck-us.net>
0015 
0016 
0017 Description
0018 -----------
0019 
0020 This driver supports hardware monitoring for Maxim MAX8688 Digital Power-Supply
0021 Controller/Monitor with PMBus Interface.
0022 
0023 The driver is a client driver to the core PMBus driver. Please see
0024 Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
0025 
0026 
0027 Usage Notes
0028 -----------
0029 
0030 This driver does not auto-detect devices. You will have to instantiate the
0031 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
0032 details.
0033 
0034 
0035 Platform data support
0036 ---------------------
0037 
0038 The driver supports standard PMBus driver platform data.
0039 
0040 
0041 Sysfs entries
0042 -------------
0043 
0044 The following attributes are supported. Limits are read-write; all other
0045 attributes are read-only.
0046 
0047 ======================= ========================================================
0048 in1_label               "vout1"
0049 in1_input               Measured voltage. From READ_VOUT register.
0050 in1_min                 Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
0051 in1_max                 Maximum voltage. From VOUT_OV_WARN_LIMIT register.
0052 in1_lcrit               Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
0053 in1_crit                Critical maximum voltage. From VOUT_OV_FAULT_LIMIT
0054                         register.
0055 in1_min_alarm           Voltage low alarm. From VOLTAGE_UV_WARNING status.
0056 in1_max_alarm           Voltage high alarm. From VOLTAGE_OV_WARNING status.
0057 in1_lcrit_alarm         Voltage critical low alarm. From VOLTAGE_UV_FAULT
0058                         status.
0059 in1_crit_alarm          Voltage critical high alarm. From VOLTAGE_OV_FAULT
0060                         status.
0061 in1_highest             Historical maximum voltage.
0062 in1_reset_history       Write any value to reset history.
0063 
0064 curr1_label             "iout1"
0065 curr1_input             Measured current. From READ_IOUT register.
0066 curr1_max               Maximum current. From IOUT_OC_WARN_LIMIT register.
0067 curr1_crit              Critical maximum current. From IOUT_OC_FAULT_LIMIT
0068                         register.
0069 curr1_max_alarm         Current high alarm. From IOUT_OC_WARN_LIMIT register.
0070 curr1_crit_alarm        Current critical high alarm. From IOUT_OC_FAULT status.
0071 curr1_highest           Historical maximum current.
0072 curr1_reset_history     Write any value to reset history.
0073 
0074 temp1_input             Measured temperature. From READ_TEMPERATURE_1 register.
0075 temp1_max               Maximum temperature. From OT_WARN_LIMIT register.
0076 temp1_crit              Critical high temperature. From OT_FAULT_LIMIT register.
0077 temp1_max_alarm         Chip temperature high alarm. Set by comparing
0078                         READ_TEMPERATURE_1 with OT_WARN_LIMIT if TEMP_OT_WARNING
0079                         status is set.
0080 temp1_crit_alarm        Chip temperature critical high alarm. Set by comparing
0081                         READ_TEMPERATURE_1 with OT_FAULT_LIMIT if TEMP_OT_FAULT
0082                         status is set.
0083 temp1_highest           Historical maximum temperature.
0084 temp1_reset_history     Write any value to reset history.
0085 ======================= ========================================================