blob: 3fa6bf820c888ddcd912681a106bfa626acf604d [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 Roeckc8ccab72013-03-16 10:25:04 -070011 * TI LM25063
12 Prefix: 'lm25063'
13 Addresses scanned: -
14 Datasheet:
15 To be announced
Guenter Roeck03e9bd82011-07-08 10:43:57 -070016 * 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
Xo Wang5783ec22017-08-29 14:21:17 -070032 * Texas Instruments LM5066I
33 Prefix: 'lm5066i'
34 Addresses scanned: -
35 Datasheet:
36 http://www.ti.com/product/LM5066I
Guenter Roeck03e9bd82011-07-08 10:43:57 -070037
Guenter Roecke3333e52013-02-20 20:58:42 -080038Author: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck03e9bd82011-07-08 10:43:57 -070039
40
41Description
42-----------
43
Masanari Iida92417da2016-02-28 12:57:57 +090044This driver supports hardware monitoring for National Semiconductor / TI LM25056,
Xo Wang5783ec22017-08-29 14:21:17 -070045LM25063, LM25066, LM5064, and LM5066/LM5066I Power Management, Monitoring,
46Control, and Protection ICs.
Guenter Roeck03e9bd82011-07-08 10:43:57 -070047
48The driver is a client driver to the core PMBus driver. Please see
49Documentation/hwmon/pmbus for details on PMBus client drivers.
50
51
52Usage Notes
53-----------
54
55This driver does not auto-detect devices. You will have to instantiate the
56devices explicitly. Please see Documentation/i2c/instantiating-devices for
57details.
58
59
60Platform data support
61---------------------
62
63The driver supports standard PMBus driver platform data.
64
65
66Sysfs entries
67-------------
68
69The following attributes are supported. Limits are read-write; all other
70attributes are read-only.
71
72in1_label "vin"
73in1_input Measured input voltage.
74in1_average Average measured input voltage.
75in1_min Minimum input voltage.
76in1_max Maximum input voltage.
Guenter Roeckc8ccab72013-03-16 10:25:04 -070077in1_crit Critical high input voltage (LM25063 only).
78in1_lcrit Critical low input voltage (LM25063 only).
Guenter Roeck03e9bd82011-07-08 10:43:57 -070079in1_min_alarm Input voltage low alarm.
80in1_max_alarm Input voltage high alarm.
Guenter Roeckc8ccab72013-03-16 10:25:04 -070081in1_lcrit_alarm Input voltage critical low alarm (LM25063 only).
82in1_crit_alarm Input voltage critical high alarm. (LM25063 only).
Guenter Roeck03e9bd82011-07-08 10:43:57 -070083
Guenter Roecka7c69112013-02-06 09:55:37 -080084in2_label "vmon"
85in2_input Measured voltage on VAUX pin
Guenter Roeck58615a92013-02-09 15:15:52 -080086in2_min Minimum VAUX voltage (LM25056 only).
87in2_max Maximum VAUX voltage (LM25056 only).
88in2_min_alarm VAUX voltage low alarm (LM25056 only).
89in2_max_alarm VAUX voltage high alarm (LM25056 only).
Guenter Roeck03e9bd82011-07-08 10:43:57 -070090
Guenter Roecka7c69112013-02-06 09:55:37 -080091in3_label "vout1"
Guenter Roeck58615a92013-02-09 15:15:52 -080092 Not supported on LM25056.
Guenter Roecka7c69112013-02-06 09:55:37 -080093in3_input Measured output voltage.
94in3_average Average measured output voltage.
95in3_min Minimum output voltage.
96in3_min_alarm Output voltage low alarm.
Guenter Roeckc8ccab72013-03-16 10:25:04 -070097in3_highest Historical minimum output voltage (LM25063 only).
98in3_lowest Historical maximum output voltage (LM25063 only).
Guenter Roeck03e9bd82011-07-08 10:43:57 -070099
100curr1_label "iin"
101curr1_input Measured input current.
102curr1_average Average measured input current.
103curr1_max Maximum input current.
Guenter Roeckc8ccab72013-03-16 10:25:04 -0700104curr1_crit Critical input current (LM25063 only).
Guenter Roeck03e9bd82011-07-08 10:43:57 -0700105curr1_max_alarm Input current high alarm.
Guenter Roeckc8ccab72013-03-16 10:25:04 -0700106curr1_crit_alarm Input current critical high alarm (LM25063 only).
Guenter Roeck03e9bd82011-07-08 10:43:57 -0700107
108power1_label "pin"
109power1_input Measured input power.
110power1_average Average measured input power.
111power1_max Maximum input power limit.
112power1_alarm Input power alarm
113power1_input_highest Historical maximum power.
114power1_reset_history Write any value to reset maximum power history.
115
Guenter Roeckc8ccab72013-03-16 10:25:04 -0700116power2_label "pout". LM25063 only.
117power2_input Measured output power.
118power2_max Maximum output power limit.
119power2_crit Critical output power limit.
120
Guenter Roeck03e9bd82011-07-08 10:43:57 -0700121temp1_input Measured temperature.
122temp1_max Maximum temperature.
123temp1_crit Critical high temperature.
124temp1_max_alarm Chip temperature high alarm.
125temp1_crit_alarm Chip temperature critical high alarm.