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