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: |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 5 | |
Guenter Roeck | 58615a9 | 2013-02-09 15:15:52 -0800 | [diff] [blame] | 6 | * TI LM25056 |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 7 | |
Guenter Roeck | 58615a9 | 2013-02-09 15:15:52 -0800 | [diff] [blame] | 8 | Prefix: 'lm25056' |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 9 | |
Guenter Roeck | 58615a9 | 2013-02-09 15:15:52 -0800 | [diff] [blame] | 10 | Addresses scanned: - |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 11 | |
Guenter Roeck | 58615a9 | 2013-02-09 15:15:52 -0800 | [diff] [blame] | 12 | Datasheets: |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 13 | |
Guenter Roeck | 58615a9 | 2013-02-09 15:15:52 -0800 | [diff] [blame] | 14 | http://www.ti.com/lit/gpn/lm25056 |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 15 | |
Guenter Roeck | 58615a9 | 2013-02-09 15:15:52 -0800 | [diff] [blame] | 16 | http://www.ti.com/lit/gpn/lm25056a |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 17 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 18 | * National Semiconductor LM25066 |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 19 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 20 | Prefix: 'lm25066' |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 21 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 22 | Addresses scanned: - |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 23 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 24 | Datasheets: |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 25 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 26 | http://www.national.com/pf/LM/LM25066.html |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 27 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 28 | http://www.national.com/pf/LM/LM25066A.html |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 29 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 30 | * National Semiconductor LM5064 |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 31 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 32 | Prefix: 'lm5064' |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 33 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 34 | Addresses scanned: - |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 35 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 36 | Datasheet: |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 37 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 38 | http://www.national.com/pf/LM/LM5064.html |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 39 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 40 | * National Semiconductor LM5066 |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 41 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 42 | Prefix: 'lm5066' |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 43 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 44 | Addresses scanned: - |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 45 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 46 | Datasheet: |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 47 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 48 | http://www.national.com/pf/LM/LM5066.html |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 49 | |
Xo Wang | 5783ec2 | 2017-08-29 14:21:17 -0700 | [diff] [blame] | 50 | * Texas Instruments LM5066I |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 51 | |
Xo Wang | 5783ec2 | 2017-08-29 14:21:17 -0700 | [diff] [blame] | 52 | Prefix: 'lm5066i' |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 53 | |
Xo Wang | 5783ec2 | 2017-08-29 14:21:17 -0700 | [diff] [blame] | 54 | Addresses scanned: - |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 55 | |
Xo Wang | 5783ec2 | 2017-08-29 14:21:17 -0700 | [diff] [blame] | 56 | Datasheet: |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 57 | |
Xo Wang | 5783ec2 | 2017-08-29 14:21:17 -0700 | [diff] [blame] | 58 | http://www.ti.com/product/LM5066I |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 59 | |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 60 | |
Guenter Roeck | e3333e5 | 2013-02-20 20:58:42 -0800 | [diff] [blame] | 61 | Author: Guenter Roeck <linux@roeck-us.net> |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 62 | |
| 63 | |
| 64 | Description |
| 65 | ----------- |
| 66 | |
Masanari Iida | 92417da | 2016-02-28 12:57:57 +0900 | [diff] [blame] | 67 | This driver supports hardware monitoring for National Semiconductor / TI LM25056, |
Guenter Roeck | 666c149 | 2017-11-28 18:33:06 -0800 | [diff] [blame] | 68 | LM25066, LM5064, and LM5066/LM5066I Power Management, Monitoring, |
Xo Wang | 5783ec2 | 2017-08-29 14:21:17 -0700 | [diff] [blame] | 69 | Control, and Protection ICs. |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 70 | |
| 71 | 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] | 72 | Documentation/hwmon/pmbus.rst for details on PMBus client drivers. |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 73 | |
| 74 | |
| 75 | Usage Notes |
| 76 | ----------- |
| 77 | |
| 78 | 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] | 79 | devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 80 | details. |
| 81 | |
| 82 | |
| 83 | Platform data support |
| 84 | --------------------- |
| 85 | |
| 86 | The driver supports standard PMBus driver platform data. |
| 87 | |
| 88 | |
| 89 | Sysfs entries |
| 90 | ------------- |
| 91 | |
| 92 | The following attributes are supported. Limits are read-write; all other |
| 93 | attributes are read-only. |
| 94 | |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 95 | ======================= ======================================================= |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 96 | in1_label "vin" |
| 97 | in1_input Measured input voltage. |
| 98 | in1_average Average measured input voltage. |
| 99 | in1_min Minimum input voltage. |
| 100 | in1_max Maximum input voltage. |
| 101 | in1_min_alarm Input voltage low alarm. |
| 102 | in1_max_alarm Input voltage high alarm. |
| 103 | |
Guenter Roeck | a7c6911 | 2013-02-06 09:55:37 -0800 | [diff] [blame] | 104 | in2_label "vmon" |
| 105 | in2_input Measured voltage on VAUX pin |
Guenter Roeck | 58615a9 | 2013-02-09 15:15:52 -0800 | [diff] [blame] | 106 | in2_min Minimum VAUX voltage (LM25056 only). |
| 107 | in2_max Maximum VAUX voltage (LM25056 only). |
| 108 | in2_min_alarm VAUX voltage low alarm (LM25056 only). |
| 109 | in2_max_alarm VAUX voltage high alarm (LM25056 only). |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 110 | |
Guenter Roeck | a7c6911 | 2013-02-06 09:55:37 -0800 | [diff] [blame] | 111 | in3_label "vout1" |
Guenter Roeck | 58615a9 | 2013-02-09 15:15:52 -0800 | [diff] [blame] | 112 | Not supported on LM25056. |
Guenter Roeck | a7c6911 | 2013-02-06 09:55:37 -0800 | [diff] [blame] | 113 | in3_input Measured output voltage. |
| 114 | in3_average Average measured output voltage. |
| 115 | in3_min Minimum output voltage. |
| 116 | in3_min_alarm Output voltage low alarm. |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 117 | |
| 118 | curr1_label "iin" |
| 119 | curr1_input Measured input current. |
| 120 | curr1_average Average measured input current. |
| 121 | curr1_max Maximum input current. |
| 122 | curr1_max_alarm Input current high alarm. |
| 123 | |
| 124 | power1_label "pin" |
| 125 | power1_input Measured input power. |
| 126 | power1_average Average measured input power. |
| 127 | power1_max Maximum input power limit. |
| 128 | power1_alarm Input power alarm |
| 129 | power1_input_highest Historical maximum power. |
| 130 | power1_reset_history Write any value to reset maximum power history. |
| 131 | |
Guenter Roeck | 03e9bd8 | 2011-07-08 10:43:57 -0700 | [diff] [blame] | 132 | temp1_input Measured temperature. |
| 133 | temp1_max Maximum temperature. |
| 134 | temp1_crit Critical high temperature. |
| 135 | temp1_max_alarm Chip temperature high alarm. |
| 136 | temp1_crit_alarm Chip temperature critical high alarm. |
Mauro Carvalho Chehab | 1f234ff | 2019-04-17 06:46:26 -0300 | [diff] [blame] | 137 | ======================= ======================================================= |