blob: 51b32aa203a864a80c8a4f572e1b8e07d75ee323 [file] [log] [blame]
Guenter Roeck58615a92013-02-09 15:15:52 -08001Kernel driver lm25066
Guenter Roeck03e9bd82011-07-08 10:43:57 -07002=====================
3
4Supported chips:
Guenter Roeck58615a92013-02-09 15:15:52 -08005 * 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 Roeck03e9bd82011-07-08 10:43:57 -070011 * National Semiconductor LM25066
12 Prefix: 'lm25066'
13 Addresses scanned: -
14 Datasheets:
15 http://www.national.com/pf/LM/LM25066.html
16 http://www.national.com/pf/LM/LM25066A.html
17 * National Semiconductor LM5064
18 Prefix: 'lm5064'
19 Addresses scanned: -
20 Datasheet:
21 http://www.national.com/pf/LM/LM5064.html
22 * National Semiconductor LM5066
23 Prefix: 'lm5066'
24 Addresses scanned: -
25 Datasheet:
26 http://www.national.com/pf/LM/LM5066.html
Xo Wang5783ec22017-08-29 14:21:17 -070027 * Texas Instruments LM5066I
28 Prefix: 'lm5066i'
29 Addresses scanned: -
30 Datasheet:
31 http://www.ti.com/product/LM5066I
Guenter Roeck03e9bd82011-07-08 10:43:57 -070032
Guenter Roecke3333e52013-02-20 20:58:42 -080033Author: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck03e9bd82011-07-08 10:43:57 -070034
35
36Description
37-----------
38
Masanari Iida92417da2016-02-28 12:57:57 +090039This driver supports hardware monitoring for National Semiconductor / TI LM25056,
Guenter Roeck666c1492017-11-28 18:33:06 -080040LM25066, LM5064, and LM5066/LM5066I Power Management, Monitoring,
Xo Wang5783ec22017-08-29 14:21:17 -070041Control, and Protection ICs.
Guenter Roeck03e9bd82011-07-08 10:43:57 -070042
43The driver is a client driver to the core PMBus driver. Please see
44Documentation/hwmon/pmbus for details on PMBus client drivers.
45
46
47Usage Notes
48-----------
49
50This driver does not auto-detect devices. You will have to instantiate the
51devices explicitly. Please see Documentation/i2c/instantiating-devices for
52details.
53
54
55Platform data support
56---------------------
57
58The driver supports standard PMBus driver platform data.
59
60
61Sysfs entries
62-------------
63
64The following attributes are supported. Limits are read-write; all other
65attributes are read-only.
66
67in1_label "vin"
68in1_input Measured input voltage.
69in1_average Average measured input voltage.
70in1_min Minimum input voltage.
71in1_max Maximum input voltage.
72in1_min_alarm Input voltage low alarm.
73in1_max_alarm Input voltage high alarm.
74
Guenter Roecka7c69112013-02-06 09:55:37 -080075in2_label "vmon"
76in2_input Measured voltage on VAUX pin
Guenter Roeck58615a92013-02-09 15:15:52 -080077in2_min Minimum VAUX voltage (LM25056 only).
78in2_max Maximum VAUX voltage (LM25056 only).
79in2_min_alarm VAUX voltage low alarm (LM25056 only).
80in2_max_alarm VAUX voltage high alarm (LM25056 only).
Guenter Roeck03e9bd82011-07-08 10:43:57 -070081
Guenter Roecka7c69112013-02-06 09:55:37 -080082in3_label "vout1"
Guenter Roeck58615a92013-02-09 15:15:52 -080083 Not supported on LM25056.
Guenter Roecka7c69112013-02-06 09:55:37 -080084in3_input Measured output voltage.
85in3_average Average measured output voltage.
86in3_min Minimum output voltage.
87in3_min_alarm Output voltage low alarm.
Guenter Roeck03e9bd82011-07-08 10:43:57 -070088
89curr1_label "iin"
90curr1_input Measured input current.
91curr1_average Average measured input current.
92curr1_max Maximum input current.
93curr1_max_alarm Input current high alarm.
94
95power1_label "pin"
96power1_input Measured input power.
97power1_average Average measured input power.
98power1_max Maximum input power limit.
99power1_alarm Input power alarm
100power1_input_highest Historical maximum power.
101power1_reset_history Write any value to reset maximum power history.
102
Guenter Roeck03e9bd82011-07-08 10:43:57 -0700103temp1_input Measured temperature.
104temp1_max Maximum temperature.
105temp1_crit Critical high temperature.
106temp1_max_alarm Chip temperature high alarm.
107temp1_crit_alarm Chip temperature critical high alarm.