Guenter Roeck | 83f7649 | 2011-03-17 13:16:01 -0700 | [diff] [blame] | 1 | Kernel driver adm1275 |
| 2 | ===================== |
| 3 | |
| 4 | Supported chips: |
| 5 | * Analog Devices ADM1275 |
| 6 | Prefix: 'adm1275' |
| 7 | Addresses scanned: - |
| 8 | Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1275.pdf |
Guenter Roeck | 5cf231a | 2011-07-14 11:55:35 -0700 | [diff] [blame] | 9 | * Analog Devices ADM1276 |
| 10 | Prefix: 'adm1276' |
| 11 | Addresses scanned: - |
| 12 | Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1276.pdf |
Guenter Roeck | 83f7649 | 2011-03-17 13:16:01 -0700 | [diff] [blame] | 13 | |
| 14 | Author: Guenter Roeck <guenter.roeck@ericsson.com> |
| 15 | |
| 16 | |
| 17 | Description |
| 18 | ----------- |
| 19 | |
Guenter Roeck | 5cf231a | 2011-07-14 11:55:35 -0700 | [diff] [blame] | 20 | This driver supports hardware montoring for Analog Devices ADM1275 and ADM1276 |
| 21 | Hot-Swap Controller and Digital Power Monitor. |
Guenter Roeck | 83f7649 | 2011-03-17 13:16:01 -0700 | [diff] [blame] | 22 | |
Guenter Roeck | 5cf231a | 2011-07-14 11:55:35 -0700 | [diff] [blame] | 23 | ADM1275 and ADM1276 are hot-swap controllers that allow a circuit board to be |
| 24 | removed from or inserted into a live backplane. They also feature current and |
| 25 | voltage readback via an integrated 12-bit analog-to-digital converter (ADC), |
| 26 | accessed using a PMBus interface. |
Guenter Roeck | 83f7649 | 2011-03-17 13:16:01 -0700 | [diff] [blame] | 27 | |
| 28 | The driver is a client driver to the core PMBus driver. Please see |
| 29 | Documentation/hwmon/pmbus for details on PMBus client drivers. |
| 30 | |
| 31 | |
| 32 | Usage Notes |
| 33 | ----------- |
| 34 | |
| 35 | This driver does not auto-detect devices. You will have to instantiate the |
| 36 | devices explicitly. Please see Documentation/i2c/instantiating-devices for |
| 37 | details. |
| 38 | |
| 39 | |
| 40 | Platform data support |
| 41 | --------------------- |
| 42 | |
| 43 | The driver supports standard PMBus driver platform data. Please see |
| 44 | Documentation/hwmon/pmbus for details. |
| 45 | |
| 46 | |
| 47 | Sysfs entries |
| 48 | ------------- |
| 49 | |
Guenter Roeck | c576e30 | 2011-07-09 11:17:33 -0700 | [diff] [blame] | 50 | The following attributes are supported. Limits are read-write, history reset |
| 51 | attributes are write-only, all other attributes are read-only. |
Guenter Roeck | 83f7649 | 2011-03-17 13:16:01 -0700 | [diff] [blame] | 52 | |
| 53 | in1_label "vin1" or "vout1" depending on chip variant and |
| 54 | configuration. |
Guenter Roeck | 5cf231a | 2011-07-14 11:55:35 -0700 | [diff] [blame] | 55 | in1_input Measured voltage. |
| 56 | in1_min Minumum Voltage. |
| 57 | in1_max Maximum voltage. |
| 58 | in1_min_alarm Voltage low alarm. |
| 59 | in1_max_alarm Voltage high alarm. |
Guenter Roeck | c576e30 | 2011-07-09 11:17:33 -0700 | [diff] [blame] | 60 | in1_highest Historical maximum voltage. |
| 61 | in1_reset_history Write any value to reset history. |
Guenter Roeck | 83f7649 | 2011-03-17 13:16:01 -0700 | [diff] [blame] | 62 | |
| 63 | curr1_label "iout1" |
Guenter Roeck | 5cf231a | 2011-07-14 11:55:35 -0700 | [diff] [blame] | 64 | curr1_input Measured current. |
| 65 | curr1_max Maximum current. |
| 66 | curr1_max_alarm Current high alarm. |
Guenter Roeck | c5e6763 | 2011-08-02 11:08:57 -0700 | [diff] [blame] | 67 | curr1_lcrit Critical minimum current. Depending on the chip |
| 68 | configuration, either curr1_lcrit or curr1_crit is |
| 69 | supported, but not both. |
| 70 | curr1_lcrit_alarm Critical current low alarm. |
| 71 | curr1_crit Critical maximum current. Depending on the chip |
| 72 | configuration, either curr1_lcrit or curr1_crit is |
| 73 | supported, but not both. |
| 74 | curr1_crit_alarm Critical current high alarm. |
Guenter Roeck | c576e30 | 2011-07-09 11:17:33 -0700 | [diff] [blame] | 75 | curr1_highest Historical maximum current. |
| 76 | curr1_reset_history Write any value to reset history. |