Back to home page

OSCL-LXR

 
 

    


0001 Kernel driver max16065
0002 ======================
0003 
0004 
0005 Supported chips:
0006 
0007   * Maxim MAX16065, MAX16066
0008 
0009     Prefixes: 'max16065', 'max16066'
0010 
0011     Addresses scanned: -
0012 
0013     Datasheet:
0014 
0015         http://datasheets.maxim-ic.com/en/ds/MAX16065-MAX16066.pdf
0016 
0017  *  Maxim MAX16067
0018 
0019     Prefix: 'max16067'
0020 
0021     Addresses scanned: -
0022 
0023     Datasheet:
0024 
0025         http://datasheets.maxim-ic.com/en/ds/MAX16067.pdf
0026 
0027  *  Maxim MAX16068
0028 
0029     Prefix: 'max16068'
0030 
0031     Addresses scanned: -
0032 
0033     Datasheet:
0034 
0035         http://datasheets.maxim-ic.com/en/ds/MAX16068.pdf
0036 
0037  *  Maxim MAX16070/MAX16071
0038 
0039     Prefixes: 'max16070', 'max16071'
0040 
0041     Addresses scanned: -
0042 
0043     Datasheet:
0044 
0045         http://datasheets.maxim-ic.com/en/ds/MAX16070-MAX16071.pdf
0046 
0047 Author: Guenter Roeck <linux@roeck-us.net>
0048 
0049 
0050 Description
0051 -----------
0052 
0053 [From datasheets] The MAX16065/MAX16066 flash-configurable system managers
0054 monitor and sequence multiple system voltages. The MAX16065/MAX16066 can also
0055 accurately monitor (+/-2.5%) one current channel using a dedicated high-side
0056 current-sense amplifier. The MAX16065 manages up to twelve system voltages
0057 simultaneously, and the MAX16066 manages up to eight supply voltages.
0058 
0059 The MAX16067 flash-configurable system manager monitors and sequences multiple
0060 system voltages. The MAX16067 manages up to six system voltages simultaneously.
0061 
0062 The MAX16068 flash-configurable system manager monitors and manages up to six
0063 system voltages simultaneously.
0064 
0065 The MAX16070/MAX16071 flash-configurable system monitors supervise multiple
0066 system voltages. The MAX16070/MAX16071 can also accurately monitor (+/-2.5%)
0067 one current channel using a dedicated high-side current-sense amplifier. The
0068 MAX16070 monitors up to twelve system voltages simultaneously, and the MAX16071
0069 monitors up to eight supply voltages.
0070 
0071 Each monitored channel has its own low and high critical limits. MAX16065,
0072 MAX16066, MAX16070, and MAX16071 support an additional limit which is
0073 configurable as either low or high secondary limit. MAX16065, MAX16066,
0074 MAX16070, and MAX16071 also support supply current monitoring.
0075 
0076 
0077 Usage Notes
0078 -----------
0079 
0080 This driver does not probe for devices, since there is no register which
0081 can be safely used to identify the chip. You will have to instantiate
0082 the devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
0083 details.
0084 
0085 WARNING: Do not access chip registers using the i2cdump command, and do not use
0086 any of the i2ctools commands on a command register (0xa5 to 0xac). The chips
0087 supported by this driver interpret any access to a command register (including
0088 read commands) as request to execute the command in question. This may result in
0089 power loss, board resets, and/or Flash corruption. Worst case, your board may
0090 turn into a brick.
0091 
0092 
0093 Sysfs entries
0094 -------------
0095 
0096 ======================= ========================================================
0097 in[0-11]_input          Input voltage measurements.
0098 
0099 in12_input              Voltage on CSP (Current Sense Positive) pin.
0100                         Only if the chip supports current sensing and if
0101                         current sensing is enabled.
0102 
0103 in[0-11]_min            Low warning limit.
0104                         Supported on MAX16065, MAX16066, MAX16070, and MAX16071
0105                         only.
0106 
0107 in[0-11]_max            High warning limit.
0108                         Supported on MAX16065, MAX16066, MAX16070, and MAX16071
0109                         only.
0110 
0111                         Either low or high warning limits are supported
0112                         (depending on chip configuration), but not both.
0113 
0114 in[0-11]_lcrit          Low critical limit.
0115 
0116 in[0-11]_crit           High critical limit.
0117 
0118 in[0-11]_alarm          Input voltage alarm.
0119 
0120 curr1_input             Current sense input; only if the chip supports current
0121                         sensing and if current sensing is enabled.
0122                         Displayed current assumes 0.001 Ohm current sense
0123                         resistor.
0124 
0125 curr1_alarm             Overcurrent alarm; only if the chip supports current
0126                         sensing and if current sensing is enabled.
0127 ======================= ========================================================