Guenter Roeck | 83f7649 | 2011-03-17 13:16:01 -0700 | [diff] [blame] | 1 | Kernel driver adm1275 |
| 2 | ===================== |
| 3 | |
| 4 | Supported chips: |
Guenter Roeck | 9271126 | 2012-02-24 03:40:53 -0800 | [diff] [blame] | 5 | * Analog Devices ADM1075 |
| 6 | Prefix: 'adm1075' |
| 7 | Addresses scanned: - |
| 8 | Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1075.pdf |
Guenter Roeck | 83f7649 | 2011-03-17 13:16:01 -0700 | [diff] [blame] | 9 | * Analog Devices ADM1275 |
| 10 | Prefix: 'adm1275' |
| 11 | Addresses scanned: - |
| 12 | Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1275.pdf |
Guenter Roeck | 5cf231a | 2011-07-14 11:55:35 -0700 | [diff] [blame] | 13 | * Analog Devices ADM1276 |
| 14 | Prefix: 'adm1276' |
| 15 | Addresses scanned: - |
| 16 | Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1276.pdf |
Guenter Roeck | 709066ac | 2015-07-05 11:04:56 -0700 | [diff] [blame] | 17 | * Analog Devices ADM1278 |
| 18 | Prefix: 'adm1278' |
| 19 | Addresses scanned: - |
| 20 | Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1278.pdf |
Guenter Roeck | 68a4038 | 2015-03-17 13:19:51 -0700 | [diff] [blame] | 21 | * Analog Devices ADM1293/ADM1294 |
| 22 | Prefix: 'adm1293', 'adm1294' |
| 23 | Addresses scanned: - |
| 24 | Datasheet: http://www.analog.com/media/en/technical-documentation/data-sheets/ADM1293_1294.pdf |
Guenter Roeck | 83f7649 | 2011-03-17 13:16:01 -0700 | [diff] [blame] | 25 | |
Guenter Roeck | e3333e5 | 2013-02-20 20:58:42 -0800 | [diff] [blame] | 26 | Author: Guenter Roeck <linux@roeck-us.net> |
Guenter Roeck | 83f7649 | 2011-03-17 13:16:01 -0700 | [diff] [blame] | 27 | |
| 28 | |
| 29 | Description |
| 30 | ----------- |
| 31 | |
Masanari Iida | 92417da | 2016-02-28 12:57:57 +0900 | [diff] [blame] | 32 | This driver supports hardware monitoring for Analog Devices ADM1075, ADM1275, |
Guenter Roeck | 709066ac | 2015-07-05 11:04:56 -0700 | [diff] [blame] | 33 | ADM1276, ADM1278, ADM1293, and ADM1294 Hot-Swap Controller and Digital |
| 34 | Power Monitors. |
Guenter Roeck | 83f7649 | 2011-03-17 13:16:01 -0700 | [diff] [blame] | 35 | |
Guenter Roeck | 709066ac | 2015-07-05 11:04:56 -0700 | [diff] [blame] | 36 | ADM1075, ADM1275, ADM1276, ADM1278, ADM1293, and ADM1294 are hot-swap |
| 37 | controllers that allow a circuit board to be removed from or inserted into |
| 38 | a live backplane. They also feature current and voltage readback via an |
| 39 | integrated 12 bit analog-to-digital converter (ADC), accessed using a |
| 40 | PMBus interface. |
Guenter Roeck | 83f7649 | 2011-03-17 13:16:01 -0700 | [diff] [blame] | 41 | |
| 42 | The driver is a client driver to the core PMBus driver. Please see |
| 43 | Documentation/hwmon/pmbus for details on PMBus client drivers. |
| 44 | |
| 45 | |
| 46 | Usage Notes |
| 47 | ----------- |
| 48 | |
| 49 | This driver does not auto-detect devices. You will have to instantiate the |
| 50 | devices explicitly. Please see Documentation/i2c/instantiating-devices for |
| 51 | details. |
| 52 | |
Guenter Roeck | 9271126 | 2012-02-24 03:40:53 -0800 | [diff] [blame] | 53 | The ADM1075, unlike many other PMBus devices, does not support internal voltage |
| 54 | or current scaling. Reported voltages, currents, and power are raw measurements, |
| 55 | and will typically have to be scaled. |
| 56 | |
Guenter Roeck | 83f7649 | 2011-03-17 13:16:01 -0700 | [diff] [blame] | 57 | |
| 58 | Platform data support |
| 59 | --------------------- |
| 60 | |
| 61 | The driver supports standard PMBus driver platform data. Please see |
| 62 | Documentation/hwmon/pmbus for details. |
| 63 | |
| 64 | |
| 65 | Sysfs entries |
| 66 | ------------- |
| 67 | |
Guenter Roeck | c576e30 | 2011-07-09 11:17:33 -0700 | [diff] [blame] | 68 | The following attributes are supported. Limits are read-write, history reset |
| 69 | attributes are write-only, all other attributes are read-only. |
Guenter Roeck | 83f7649 | 2011-03-17 13:16:01 -0700 | [diff] [blame] | 70 | |
Guenter Roeck | 68a4038 | 2015-03-17 13:19:51 -0700 | [diff] [blame] | 71 | inX_label "vin1" or "vout1" depending on chip variant and |
| 72 | configuration. On ADM1075, ADM1293, and ADM1294, |
| 73 | vout1 reports the voltage on the VAUX pin. |
| 74 | inX_input Measured voltage. |
| 75 | inX_min Minimum Voltage. |
| 76 | inX_max Maximum voltage. |
| 77 | inX_min_alarm Voltage low alarm. |
| 78 | inX_max_alarm Voltage high alarm. |
| 79 | inX_highest Historical maximum voltage. |
| 80 | inX_reset_history Write any value to reset history. |
Guenter Roeck | 83f7649 | 2011-03-17 13:16:01 -0700 | [diff] [blame] | 81 | |
| 82 | curr1_label "iout1" |
Guenter Roeck | 5cf231a | 2011-07-14 11:55:35 -0700 | [diff] [blame] | 83 | curr1_input Measured current. |
| 84 | curr1_max Maximum current. |
| 85 | curr1_max_alarm Current high alarm. |
Guenter Roeck | c5e6763 | 2011-08-02 11:08:57 -0700 | [diff] [blame] | 86 | curr1_lcrit Critical minimum current. Depending on the chip |
| 87 | configuration, either curr1_lcrit or curr1_crit is |
| 88 | supported, but not both. |
| 89 | curr1_lcrit_alarm Critical current low alarm. |
| 90 | curr1_crit Critical maximum current. Depending on the chip |
| 91 | configuration, either curr1_lcrit or curr1_crit is |
| 92 | supported, but not both. |
| 93 | curr1_crit_alarm Critical current high alarm. |
Guenter Roeck | c576e30 | 2011-07-09 11:17:33 -0700 | [diff] [blame] | 94 | curr1_highest Historical maximum current. |
| 95 | curr1_reset_history Write any value to reset history. |
Guenter Roeck | 9271126 | 2012-02-24 03:40:53 -0800 | [diff] [blame] | 96 | |
| 97 | power1_label "pin1" |
| 98 | power1_input Input power. |
Guenter Roeck | 68a4038 | 2015-03-17 13:19:51 -0700 | [diff] [blame] | 99 | power1_input_lowest Lowest observed input power. ADM1293 and ADM1294 only. |
| 100 | power1_input_highest Highest observed input power. |
Guenter Roeck | 9271126 | 2012-02-24 03:40:53 -0800 | [diff] [blame] | 101 | power1_reset_history Write any value to reset history. |
| 102 | |
Guenter Roeck | 68a4038 | 2015-03-17 13:19:51 -0700 | [diff] [blame] | 103 | Power attributes are supported on ADM1075, ADM1276, |
| 104 | ADM1293, and ADM1294. |
Guenter Roeck | 709066ac | 2015-07-05 11:04:56 -0700 | [diff] [blame] | 105 | |
| 106 | temp1_input Chip temperature. |
| 107 | Temperature attributes are only available on ADM1278. |
| 108 | temp1_max Maximum chip temperature. |
| 109 | temp1_max_alarm Temperature alarm. |
| 110 | temp1_crit Critical chip temperature. |
| 111 | temp1_crit_alarm Critical temperature high alarm. |
| 112 | temp1_highest Highest observed temperature. |
| 113 | temp1_reset_history Write any value to reset history. |
| 114 | |
| 115 | Temperature attributes are supported on ADM1278. |