1.. SPDX-License-Identifier: GPL-2.0
2
3Kernel driver ltc2992
4=====================
5
6Supported chips:
7  * Linear Technology LTC2992
8    Prefix: 'ltc2992'
9    Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2992.pdf
10
11Author: Alexandru Tachici <alexandru.tachici@analog.com>
12
13
14Description
15-----------
16
17This driver supports hardware monitoring for Linear Technology LTC2992 power monitor.
18
19LTC2992 is a rail-to-rail system monitor that measures current,
20voltage, and power of two supplies.
21
22Two ADCs simultaneously measure each supply's current. A third ADC monitors
23the input voltages and four auxiliary external voltages.
24
25
26Sysfs entries
27-------------
28
29The following attributes are supported. Limits are read-write,
30all other attributes are read-only.
31
32in_reset_history	Reset all highest/lowest values.
33
34inX_input		Measured voltage.
35inX_lowest		Minimum measured voltage.
36inX_highest		Maximum measured voltage.
37inX_min			Minimum voltage allowed.
38inX_max			Maximum voltage allowed.
39inX_min_alarm		An undervoltage occurred. Cleared on read.
40inX_max_alarm		An overvoltage occurred. Cleared on read.
41
42currX_input		Measured current.
43currX_lowest		Minimum measured current.
44currX_highest		Maximum measured current.
45currX_min		Minimum current allowed.
46currX_max		Maximum current allowed.
47currX_min_alarm		An undercurrent occurred. Cleared on read.
48currX_max_alarm		An overcurrent occurred. Cleared on read.
49
50powerX_input		Measured power.
51powerX_input_lowest	Minimum measured voltage.
52powerX_input_highest	Maximum measured voltage.
53powerX_min		Minimum power.
54powerX_max		Maximum power.
55powerX_min_alarm	An underpower occurred. Cleared on read.
56powerX_max_alarm	An overpower occurred. Cleared on read.
57