Merge tag 'arc-v3.10-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[platform/adaptation/renesas_rcar/renesas_kernel.git] / Documentation / hwmon / lm25066
1 Kernel driver lm25066
2 =====================
3
4 Supported chips:
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
11   * 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
27
28 Author: Guenter Roeck <linux@roeck-us.net>
29
30
31 Description
32 -----------
33
34 This driver supports hardware montoring for National Semiconductor / TI LM25056,
35 LM25066, LM5064, and LM5064 Power Management, Monitoring, Control, and
36 Protection ICs.
37
38 The driver is a client driver to the core PMBus driver. Please see
39 Documentation/hwmon/pmbus for details on PMBus client drivers.
40
41
42 Usage Notes
43 -----------
44
45 This driver does not auto-detect devices. You will have to instantiate the
46 devices explicitly. Please see Documentation/i2c/instantiating-devices for
47 details.
48
49
50 Platform data support
51 ---------------------
52
53 The driver supports standard PMBus driver platform data.
54
55
56 Sysfs entries
57 -------------
58
59 The following attributes are supported. Limits are read-write; all other
60 attributes are read-only.
61
62 in1_label               "vin"
63 in1_input               Measured input voltage.
64 in1_average             Average measured input voltage.
65 in1_min                 Minimum input voltage.
66 in1_max                 Maximum input voltage.
67 in1_min_alarm           Input voltage low alarm.
68 in1_max_alarm           Input voltage high alarm.
69
70 in2_label               "vmon"
71 in2_input               Measured voltage on VAUX pin
72 in2_min                 Minimum VAUX voltage (LM25056 only).
73 in2_max                 Maximum VAUX voltage (LM25056 only).
74 in2_min_alarm           VAUX voltage low alarm (LM25056 only).
75 in2_max_alarm           VAUX voltage high alarm (LM25056 only).
76
77 in3_label               "vout1"
78                         Not supported on LM25056.
79 in3_input               Measured output voltage.
80 in3_average             Average measured output voltage.
81 in3_min                 Minimum output voltage.
82 in3_min_alarm           Output voltage low alarm.
83
84 curr1_label             "iin"
85 curr1_input             Measured input current.
86 curr1_average           Average measured input current.
87 curr1_max               Maximum input current.
88 curr1_max_alarm         Input current high alarm.
89
90 power1_label            "pin"
91 power1_input            Measured input power.
92 power1_average          Average measured input power.
93 power1_max              Maximum input power limit.
94 power1_alarm            Input power alarm
95 power1_input_highest    Historical maximum power.
96 power1_reset_history    Write any value to reset maximum power history.
97
98 temp1_input             Measured temperature.
99 temp1_max               Maximum temperature.
100 temp1_crit              Critical high temperature.
101 temp1_max_alarm         Chip temperature high alarm.
102 temp1_crit_alarm        Chip temperature critical high alarm.