Guenter Roeck | 58615a9 | 2013-02-09 15:15:52 -0800 | [diff] [blame] | 1 | Kernel driver lm25066 |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 2 | ===================== |
| 3 | |
| 4 | Supported chips: |
Guenter Roeck | 58615a9 | 2013-02-09 15:15:52 -0800 | [diff] [blame] | 5 | * TI LM25056 |
| 6 | Prefix: 'lm25056' |
| 7 | Addresses scanned: - |
| 8 | Datasheets: |
| 9 | http://www.ti.com/lit/gpn/lm25056 |
| 10 | http://www.ti.com/lit/gpn/lm25056a |
Guenter Roeck | c8ccab7 | 2013-03-16 10:25:04 -0700 | [diff] [blame] | 11 | * TI LM25063 |
| 12 | Prefix: 'lm25063' |
| 13 | Addresses scanned: - |
| 14 | Datasheet: |
| 15 | To be announced |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 16 | * National Semiconductor LM25066 |
| 17 | Prefix: 'lm25066' |
| 18 | Addresses scanned: - |
| 19 | Datasheets: |
| 20 | http://www.national.com/pf/LM/LM25066.html |
| 21 | http://www.national.com/pf/LM/LM25066A.html |
| 22 | * National Semiconductor LM5064 |
| 23 | Prefix: 'lm5064' |
| 24 | Addresses scanned: - |
| 25 | Datasheet: |
| 26 | http://www.national.com/pf/LM/LM5064.html |
| 27 | * National Semiconductor LM5066 |
| 28 | Prefix: 'lm5066' |
| 29 | Addresses scanned: - |
| 30 | Datasheet: |
| 31 | http://www.national.com/pf/LM/LM5066.html |
| 32 | |
Guenter Roeck | e3333e5 | 2013-02-20 20:58:42 -0800 | [diff] [blame] | 33 | Author: Guenter Roeck <linux@roeck-us.net> |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 34 | |
| 35 | |
| 36 | Description |
| 37 | ----------- |
| 38 | |
Guenter Roeck | 58615a9 | 2013-02-09 15:15:52 -0800 | [diff] [blame] | 39 | This driver supports hardware montoring for National Semiconductor / TI LM25056, |
Guenter Roeck | c8ccab7 | 2013-03-16 10:25:04 -0700 | [diff] [blame] | 40 | LM25063, LM25066, LM5064, and LM5066 Power Management, Monitoring, Control, and |
Guenter Roeck | 58615a9 | 2013-02-09 15:15:52 -0800 | [diff] [blame] | 41 | Protection ICs. |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 42 | |
| 43 | The driver is a client driver to the core PMBus driver. Please see |
| 44 | Documentation/hwmon/pmbus for details on PMBus client drivers. |
| 45 | |
| 46 | |
| 47 | Usage Notes |
| 48 | ----------- |
| 49 | |
| 50 | This driver does not auto-detect devices. You will have to instantiate the |
| 51 | devices explicitly. Please see Documentation/i2c/instantiating-devices for |
| 52 | details. |
| 53 | |
| 54 | |
| 55 | Platform data support |
| 56 | --------------------- |
| 57 | |
| 58 | The driver supports standard PMBus driver platform data. |
| 59 | |
| 60 | |
| 61 | Sysfs entries |
| 62 | ------------- |
| 63 | |
| 64 | The following attributes are supported. Limits are read-write; all other |
| 65 | attributes are read-only. |
| 66 | |
| 67 | in1_label "vin" |
| 68 | in1_input Measured input voltage. |
| 69 | in1_average Average measured input voltage. |
| 70 | in1_min Minimum input voltage. |
| 71 | in1_max Maximum input voltage. |
Guenter Roeck | c8ccab7 | 2013-03-16 10:25:04 -0700 | [diff] [blame] | 72 | in1_crit Critical high input voltage (LM25063 only). |
| 73 | in1_lcrit Critical low input voltage (LM25063 only). |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 74 | in1_min_alarm Input voltage low alarm. |
| 75 | in1_max_alarm Input voltage high alarm. |
Guenter Roeck | c8ccab7 | 2013-03-16 10:25:04 -0700 | [diff] [blame] | 76 | in1_lcrit_alarm Input voltage critical low alarm (LM25063 only). |
| 77 | in1_crit_alarm Input voltage critical high alarm. (LM25063 only). |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 78 | |
Guenter Roeck | a7c6911 | 2013-02-06 09:55:37 -0800 | [diff] [blame] | 79 | in2_label "vmon" |
| 80 | in2_input Measured voltage on VAUX pin |
Guenter Roeck | 58615a9 | 2013-02-09 15:15:52 -0800 | [diff] [blame] | 81 | in2_min Minimum VAUX voltage (LM25056 only). |
| 82 | in2_max Maximum VAUX voltage (LM25056 only). |
| 83 | in2_min_alarm VAUX voltage low alarm (LM25056 only). |
| 84 | in2_max_alarm VAUX voltage high alarm (LM25056 only). |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 85 | |
Guenter Roeck | a7c6911 | 2013-02-06 09:55:37 -0800 | [diff] [blame] | 86 | in3_label "vout1" |
Guenter Roeck | 58615a9 | 2013-02-09 15:15:52 -0800 | [diff] [blame] | 87 | Not supported on LM25056. |
Guenter Roeck | a7c6911 | 2013-02-06 09:55:37 -0800 | [diff] [blame] | 88 | in3_input Measured output voltage. |
| 89 | in3_average Average measured output voltage. |
| 90 | in3_min Minimum output voltage. |
| 91 | in3_min_alarm Output voltage low alarm. |
Guenter Roeck | c8ccab7 | 2013-03-16 10:25:04 -0700 | [diff] [blame] | 92 | in3_highest Historical minimum output voltage (LM25063 only). |
| 93 | in3_lowest Historical maximum output voltage (LM25063 only). |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 94 | |
| 95 | curr1_label "iin" |
| 96 | curr1_input Measured input current. |
| 97 | curr1_average Average measured input current. |
| 98 | curr1_max Maximum input current. |
Guenter Roeck | c8ccab7 | 2013-03-16 10:25:04 -0700 | [diff] [blame] | 99 | curr1_crit Critical input current (LM25063 only). |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 100 | curr1_max_alarm Input current high alarm. |
Guenter Roeck | c8ccab7 | 2013-03-16 10:25:04 -0700 | [diff] [blame] | 101 | curr1_crit_alarm Input current critical high alarm (LM25063 only). |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 102 | |
| 103 | power1_label "pin" |
| 104 | power1_input Measured input power. |
| 105 | power1_average Average measured input power. |
| 106 | power1_max Maximum input power limit. |
| 107 | power1_alarm Input power alarm |
| 108 | power1_input_highest Historical maximum power. |
| 109 | power1_reset_history Write any value to reset maximum power history. |
| 110 | |
Guenter Roeck | c8ccab7 | 2013-03-16 10:25:04 -0700 | [diff] [blame] | 111 | power2_label "pout". LM25063 only. |
| 112 | power2_input Measured output power. |
| 113 | power2_max Maximum output power limit. |
| 114 | power2_crit Critical output power limit. |
| 115 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 116 | temp1_input Measured temperature. |
| 117 | temp1_max Maximum temperature. |
| 118 | temp1_crit Critical high temperature. |
| 119 | temp1_max_alarm Chip temperature high alarm. |
| 120 | temp1_crit_alarm Chip temperature critical high alarm. |