summaryrefslogtreecommitdiff
path: root/Documentation/hwmon/tps25990.rst
blob: 04faec780d2628c0f8944e73e90fce4fe8933845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
.. SPDX-License-Identifier: GPL-2.0

Kernel driver tps25990
======================

Supported chips:

  * TI TPS25990

    Prefix: 'tps25990'

  * Datasheet

    Publicly available at Texas Instruments website: https://www.ti.com/lit/gpn/tps25990

Author:

	Jerome Brunet <jbrunet@baylibre.com>

Description
-----------

This driver implements support for TI TPS25990 eFuse.
This is an integrated, high-current circuit protection and power
management device with PMBUS interface

Device compliant with:

- PMBus rev 1.3 interface.

Device supports direct format for reading input voltages,
output voltage, input current, input power and temperature.

Due to the specificities of the chip, all history reset attributes
are tied together. Resetting the history of a sensor, resets the
history of all the sensors.

The driver exports the following attributes via the 'sysfs' files
for input current:

**curr1_average**

**curr1_crit**

**curr1_crit_alarm**

**curr1_highest**

**curr1_input**

**curr1_label**

**curr1_max**

**curr1_max_alarm**

**curr1_reset_history**

The driver provides the following attributes for main input voltage:

**in1_average**

**in1_crit**

**in1_crit_alarm**

**in1_highest**

**in1_input**

**in1_label**

**in1_lcrit**

**in1_lcrit_alarm**

**in1_lowest**

**in1_max**

**in1_max_alarm**

**in1_min**

**in1_min_alarm**

**in1_reset_history**

The driver provides the following attributes for auxiliary input voltage:

**in2_input**

**in2_label**

The driver provides the following attributes for output voltage:

**in3_average**

**in3_input**

**in3_label**

**in3_lowest**

**in3_min**

**in3_min_alarm**

**in3_reset_history**

The driver provides the following attributes for input power:

**power1_alarm**

**power1_average**

**power1_input**

**power1_input_highest**

**power1_label**

**power1_max**

**power1_reset_history**

The driver provides the following attributes for temperature:

**temp1_average**

**temp1_crit**

**temp1_crit_alarm**

**temp1_highest**

**temp1_input**

**temp1_max**

**temp1_max_alarm**

**temp1_reset_history**

The driver provides the following attributes for sampling:

**samples**