Merge tag 'phy-for-5.7-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux...
[linux-2.6-microblaze.git] / Documentation / hwmon / drivetemp.rst
1 .. SPDX-License-Identifier: GPL-2.0
2
3 Kernel driver drivetemp
4 =======================
5
6
7 References
8 ----------
9
10 ANS T13/1699-D
11 Information technology - AT Attachment 8 - ATA/ATAPI Command Set (ATA8-ACS)
12
13 ANS Project T10/BSR INCITS 513
14 Information technology - SCSI Primary Commands - 4 (SPC-4)
15
16 ANS Project INCITS 557
17 Information technology - SCSI / ATA Translation - 5 (SAT-5)
18
19
20 Description
21 -----------
22
23 This driver supports reporting the temperature of disk and solid state
24 drives with temperature sensors.
25
26 If supported, it uses the ATA SCT Command Transport feature to read
27 the current drive temperature and, if available, temperature limits
28 as well as historic minimum and maximum temperatures. If SCT Command
29 Transport is not supported, the driver uses SMART attributes to read
30 the drive temperature.
31
32
33 Sysfs entries
34 -------------
35
36 Only the temp1_input attribute is always available. Other attributes are
37 available only if reported by the drive. All temperatures are reported in
38 milli-degrees Celsius.
39
40 ======================= =====================================================
41 temp1_input             Current drive temperature
42 temp1_lcrit             Minimum temperature limit. Operating the device below
43                         this temperature may cause physical damage to the
44                         device.
45 temp1_min               Minimum recommended continuous operating limit
46 temp1_max               Maximum recommended continuous operating temperature
47 temp1_crit              Maximum temperature limit. Operating the device above
48                         this temperature may cause physical damage to the
49                         device.
50 temp1_lowest            Minimum temperature seen this power cycle
51 temp1_highest           Maximum temperature seen this power cycle
52 ======================= =====================================================