Guenter Roeck | 200855e | 2011-07-29 22:21:53 -0700 | [diff] [blame] | 1 | Kernel driver zl6100 |
| 2 | ==================== |
| 3 | |
| 4 | Supported chips: |
Guenter Roeck | 443830f | 2011-10-01 17:35:44 -0700 | [diff] [blame] | 5 | |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 6 | * Intersil / Zilker Labs ZL2004 |
| 7 | |
| 8 | Prefix: 'zl2004' |
| 9 | |
| 10 | Addresses scanned: - |
| 11 | |
| 12 | Datasheet: http://www.intersil.com/data/fn/fn6847.pdf |
| 13 | |
| 14 | * Intersil / Zilker Labs ZL2005 |
| 15 | |
| 16 | Prefix: 'zl2005' |
| 17 | |
| 18 | Addresses scanned: - |
| 19 | |
| 20 | Datasheet: http://www.intersil.com/data/fn/fn6848.pdf |
| 21 | |
| 22 | * Intersil / Zilker Labs ZL2006 |
| 23 | |
| 24 | Prefix: 'zl2006' |
| 25 | |
| 26 | Addresses scanned: - |
| 27 | |
| 28 | Datasheet: http://www.intersil.com/data/fn/fn6850.pdf |
| 29 | |
| 30 | * Intersil / Zilker Labs ZL2008 |
| 31 | |
| 32 | Prefix: 'zl2008' |
| 33 | |
| 34 | Addresses scanned: - |
| 35 | |
| 36 | Datasheet: http://www.intersil.com/data/fn/fn6859.pdf |
| 37 | |
| 38 | * Intersil / Zilker Labs ZL2105 |
| 39 | |
| 40 | Prefix: 'zl2105' |
| 41 | |
| 42 | Addresses scanned: - |
| 43 | |
| 44 | Datasheet: http://www.intersil.com/data/fn/fn6851.pdf |
| 45 | |
| 46 | * Intersil / Zilker Labs ZL2106 |
| 47 | |
| 48 | Prefix: 'zl2106' |
| 49 | |
| 50 | Addresses scanned: - |
| 51 | |
| 52 | Datasheet: http://www.intersil.com/data/fn/fn6852.pdf |
| 53 | |
| 54 | * Intersil / Zilker Labs ZL6100 |
| 55 | |
| 56 | Prefix: 'zl6100' |
| 57 | |
| 58 | Addresses scanned: - |
| 59 | |
| 60 | Datasheet: http://www.intersil.com/data/fn/fn6876.pdf |
| 61 | |
| 62 | * Intersil / Zilker Labs ZL6105 |
| 63 | |
| 64 | Prefix: 'zl6105' |
| 65 | |
| 66 | Addresses scanned: - |
| 67 | |
| 68 | Datasheet: http://www.intersil.com/data/fn/fn6906.pdf |
| 69 | |
| 70 | * Intersil / Zilker Labs ZL9101M |
| 71 | |
| 72 | Prefix: 'zl9101' |
| 73 | |
| 74 | Addresses scanned: - |
| 75 | |
| 76 | Datasheet: http://www.intersil.com/data/fn/fn7669.pdf |
| 77 | |
| 78 | * Intersil / Zilker Labs ZL9117M |
| 79 | |
| 80 | Prefix: 'zl9117' |
| 81 | |
| 82 | Addresses scanned: - |
| 83 | |
| 84 | Datasheet: http://www.intersil.com/data/fn/fn7914.pdf |
| 85 | |
| 86 | * Ericsson BMR450, BMR451 |
| 87 | |
| 88 | Prefix: 'bmr450', 'bmr451' |
| 89 | |
| 90 | Addresses scanned: - |
| 91 | |
| 92 | Datasheet: |
| 93 | |
| 94 | http://archive.ericsson.net/service/internet/picov/get?DocNo=28701-EN/LZT146401 |
| 95 | |
| 96 | * Ericsson BMR462, BMR463, BMR464 |
| 97 | |
| 98 | Prefixes: 'bmr462', 'bmr463', 'bmr464' |
| 99 | |
| 100 | Addresses scanned: - |
| 101 | |
| 102 | Datasheet: |
| 103 | |
| 104 | http://archive.ericsson.net/service/internet/picov/get?DocNo=28701-EN/LZT146256 |
Guenter Roeck | 200855e | 2011-07-29 22:21:53 -0700 | [diff] [blame] | 105 | |
Guenter Roeck | e3333e5 | 2013-02-20 20:58:42 -0800 | [diff] [blame] | 106 | Author: Guenter Roeck <linux@roeck-us.net> |
Guenter Roeck | 200855e | 2011-07-29 22:21:53 -0700 | [diff] [blame] | 107 | |
| 108 | |
| 109 | Description |
| 110 | ----------- |
| 111 | |
Masanari Iida | 92417da | 2016-02-28 12:57:57 +0900 | [diff] [blame] | 112 | This driver supports hardware monitoring for Intersil / Zilker Labs ZL6100 and |
Guenter Roeck | 200855e | 2011-07-29 22:21:53 -0700 | [diff] [blame] | 113 | compatible digital DC-DC controllers. |
| 114 | |
| 115 | The driver is a client driver to the core PMBus driver. Please see |
Mauro Carvalho Chehab | 7ebd8b66 | 2019-04-17 06:46:29 -0300 | [diff] [blame] | 116 | Documentation/hwmon/pmbus.rst and Documentation.hwmon/pmbus-core for details |
Guenter Roeck | 200855e | 2011-07-29 22:21:53 -0700 | [diff] [blame] | 117 | on PMBus client drivers. |
| 118 | |
| 119 | |
| 120 | Usage Notes |
| 121 | ----------- |
| 122 | |
| 123 | This driver does not auto-detect devices. You will have to instantiate the |
Mauro Carvalho Chehab | ccf988b | 2019-07-26 09:51:16 -0300 | [diff] [blame] | 124 | devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for |
Guenter Roeck | 200855e | 2011-07-29 22:21:53 -0700 | [diff] [blame] | 125 | details. |
| 126 | |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 127 | .. warning:: |
| 128 | |
| 129 | Do not access chip registers using the i2cdump command, and do not use |
| 130 | any of the i2ctools commands on a command register used to save and restore |
| 131 | configuration data (0x11, 0x12, 0x15, 0x16, and 0xf4). The chips supported by |
| 132 | this driver interpret any access to those command registers (including read |
| 133 | commands) as request to execute the command in question. Unless write accesses |
| 134 | to those registers are protected, this may result in power loss, board resets, |
| 135 | and/or Flash corruption. Worst case, your board may turn into a brick. |
Guenter Roeck | 200855e | 2011-07-29 22:21:53 -0700 | [diff] [blame] | 136 | |
| 137 | |
| 138 | Platform data support |
| 139 | --------------------- |
| 140 | |
| 141 | The driver supports standard PMBus driver platform data. |
| 142 | |
| 143 | |
| 144 | Module parameters |
| 145 | ----------------- |
| 146 | |
| 147 | delay |
| 148 | ----- |
| 149 | |
Guenter Roeck | fecfb64 | 2012-03-13 09:05:14 -0700 | [diff] [blame] | 150 | Intersil/Zilker Labs DC-DC controllers require a minimum interval between I2C |
| 151 | bus accesses. According to Intersil, the minimum interval is 2 ms, though 1 ms |
| 152 | appears to be sufficient and has not caused any problems in testing. The problem |
| 153 | is known to affect all currently supported chips. For manual override, the |
| 154 | driver provides a writeable module parameter, 'delay', which can be used to set |
| 155 | the interval to a value between 0 and 65,535 microseconds. |
Guenter Roeck | 200855e | 2011-07-29 22:21:53 -0700 | [diff] [blame] | 156 | |
| 157 | |
| 158 | Sysfs entries |
| 159 | ------------- |
| 160 | |
| 161 | The following attributes are supported. Limits are read-write; all other |
| 162 | attributes are read-only. |
| 163 | |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 164 | ======================= ======================================================== |
Guenter Roeck | 200855e | 2011-07-29 22:21:53 -0700 | [diff] [blame] | 165 | in1_label "vin" |
| 166 | in1_input Measured input voltage. |
| 167 | in1_min Minimum input voltage. |
| 168 | in1_max Maximum input voltage. |
Masanari Iida | 40e4712 | 2012-03-04 23:16:11 +0900 | [diff] [blame] | 169 | in1_lcrit Critical minimum input voltage. |
Guenter Roeck | 200855e | 2011-07-29 22:21:53 -0700 | [diff] [blame] | 170 | in1_crit Critical maximum input voltage. |
| 171 | in1_min_alarm Input voltage low alarm. |
| 172 | in1_max_alarm Input voltage high alarm. |
| 173 | in1_lcrit_alarm Input voltage critical low alarm. |
| 174 | in1_crit_alarm Input voltage critical high alarm. |
| 175 | |
Guenter Roeck | 1640eae | 2012-03-07 03:54:50 -0800 | [diff] [blame] | 176 | in2_label "vmon" |
| 177 | in2_input Measured voltage on VMON (ZL2004) or VDRV (ZL9101M, |
| 178 | ZL9117M) pin. Reported voltage is 16x the voltage on the |
| 179 | pin (adjusted internally by the chip). |
Masanari Iida | 1754e4c | 2013-04-13 01:22:11 +0900 | [diff] [blame] | 180 | in2_lcrit Critical minimum VMON/VDRV Voltage. |
Guenter Roeck | 1640eae | 2012-03-07 03:54:50 -0800 | [diff] [blame] | 181 | in2_crit Critical maximum VMON/VDRV voltage. |
| 182 | in2_lcrit_alarm VMON/VDRV voltage critical low alarm. |
| 183 | in2_crit_alarm VMON/VDRV voltage critical high alarm. |
| 184 | |
| 185 | vmon attributes are supported on ZL2004, ZL9101M, |
| 186 | and ZL9117M only. |
| 187 | |
| 188 | inX_label "vout1" |
| 189 | inX_input Measured output voltage. |
| 190 | inX_lcrit Critical minimum output Voltage. |
| 191 | inX_crit Critical maximum output voltage. |
| 192 | inX_lcrit_alarm Critical output voltage critical low alarm. |
| 193 | inX_crit_alarm Critical output voltage critical high alarm. |
| 194 | |
| 195 | X is 3 for ZL2004, ZL9101M, and ZL9117M, 2 otherwise. |
Guenter Roeck | 200855e | 2011-07-29 22:21:53 -0700 | [diff] [blame] | 196 | |
| 197 | curr1_label "iout1" |
| 198 | curr1_input Measured output current. |
| 199 | curr1_lcrit Critical minimum output current. |
| 200 | curr1_crit Critical maximum output current. |
| 201 | curr1_lcrit_alarm Output current critical low alarm. |
| 202 | curr1_crit_alarm Output current critical high alarm. |
| 203 | |
| 204 | temp[12]_input Measured temperature. |
| 205 | temp[12]_min Minimum temperature. |
| 206 | temp[12]_max Maximum temperature. |
| 207 | temp[12]_lcrit Critical low temperature. |
| 208 | temp[12]_crit Critical high temperature. |
| 209 | temp[12]_min_alarm Chip temperature low alarm. |
| 210 | temp[12]_max_alarm Chip temperature high alarm. |
| 211 | temp[12]_lcrit_alarm Chip temperature critical low alarm. |
| 212 | temp[12]_crit_alarm Chip temperature critical high alarm. |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 213 | ======================= ======================================================== |