Merge tag 'docs-6.4-2' of git://git.lwn.net/linux
[linux-block.git] / Documentation / hwmon / jc42.rst
CommitLineData
4453d736
GR
1Kernel driver jc42
2==================
3
4Supported chips:
b32570a4 5
4453d736 6 * Analog Devices ADT7408
b32570a4 7
4453d736 8 Datasheets:
b32570a4 9
d38b7e4a 10 https://www.analog.com/static/imported-files/data_sheets/ADT7408.pdf
b32570a4 11
175c490c 12 * Atmel AT30TS00, AT30TS002A/B, AT30TSE004A
b32570a4 13
4453d736 14 Datasheets:
b32570a4 15
1bd612a2 16 http://www.atmel.com/Images/doc8585.pdf
b32570a4 17
175c490c 18 http://www.atmel.com/Images/doc8711.pdf
b32570a4 19
175c490c 20 http://www.atmel.com/Images/Atmel-8852-SEEPROM-AT30TSE002A-Datasheet.pdf
b32570a4 21
175c490c 22 http://www.atmel.com/Images/Atmel-8868-DTS-AT30TSE004A-Datasheet.pdf
b32570a4 23
0ea2f1db 24 * IDT TSE2002B3, TSE2002GB2, TSE2004GB2, TS3000B3, TS3000GB0, TS3000GB2,
b32570a4 25
0ea2f1db 26 TS3001GB2
b32570a4 27
1bd612a2 28 Datasheets:
b32570a4 29
0ea2f1db 30 Available from IDT web site
b32570a4 31
4453d736 32 * Maxim MAX6604
b32570a4 33
4453d736 34 Datasheets:
b32570a4 35
4453d736 36 http://datasheets.maxim-ic.com/en/ds/MAX6604.pdf
b32570a4 37
a31887dc 38 * Microchip MCP9804, MCP9805, MCP9808, MCP98242, MCP98243, MCP98244, MCP9843
b32570a4 39
4453d736 40 Datasheets:
b32570a4 41
d38b7e4a 42 https://ww1.microchip.com/downloads/en/DeviceDoc/22203C.pdf
b32570a4 43
d38b7e4a 44 https://ww1.microchip.com/downloads/en/DeviceDoc/21977b.pdf
b32570a4 45
d38b7e4a 46 https://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf
b32570a4 47
d38b7e4a 48 https://ww1.microchip.com/downloads/en/DeviceDoc/21996a.pdf
b32570a4 49
d38b7e4a 50 https://ww1.microchip.com/downloads/en/DeviceDoc/22153c.pdf
b32570a4 51
d38b7e4a 52 https://ww1.microchip.com/downloads/en/DeviceDoc/22327A.pdf
b32570a4 53
86dda176 54 * NXP Semiconductors SE97, SE97B, SE98, SE98A
b32570a4 55
4453d736 56 Datasheets:
b32570a4 57
d38b7e4a 58 https://www.nxp.com/documents/data_sheet/SE97.pdf
b32570a4 59
d38b7e4a 60 https://www.nxp.com/documents/data_sheet/SE97B.pdf
b32570a4 61
d38b7e4a 62 https://www.nxp.com/documents/data_sheet/SE98.pdf
b32570a4 63
d38b7e4a 64 https://www.nxp.com/documents/data_sheet/SE98A.pdf
b32570a4 65
4453d736 66 * ON Semiconductor CAT34TS02, CAT6095
b32570a4 67
4453d736 68 Datasheet:
b32570a4 69
d38b7e4a 70 https://www.onsemi.com/pub_link/Collateral/CAT34TS02-D.PDF
b32570a4 71
d38b7e4a 72 https://www.onsemi.com/pub/Collateral/CAT6095-D.PDF
b32570a4 73
175c490c 74 * ST Microelectronics STTS424, STTS424E02, STTS2002, STTS2004, STTS3000
b32570a4 75
4de86126 76 Datasheets:
b32570a4 77
175c490c 78 http://www.st.com/web/en/resource/technical/document/datasheet/CD00157556.pdf
b32570a4 79
175c490c 80 http://www.st.com/web/en/resource/technical/document/datasheet/CD00157558.pdf
b32570a4 81
175c490c 82 http://www.st.com/web/en/resource/technical/document/datasheet/CD00266638.pdf
b32570a4 83
175c490c 84 http://www.st.com/web/en/resource/technical/document/datasheet/CD00225278.pdf
b32570a4 85
175c490c 86 http://www.st.com/web/en/resource/technical/document/datasheet/DM00076709.pdf
b32570a4 87
4453d736 88 * JEDEC JC 42.4 compliant temperature sensor chips
b32570a4 89
d5622f5b 90 Datasheet:
b32570a4 91
d5622f5b 92 http://www.jedec.org/sites/default/files/docs/4_01_04R19.pdf
4453d736 93
b32570a4 94
86dda176 95 Common for all chips:
b32570a4 96
86dda176 97 Prefix: 'jc42'
b32570a4 98
86dda176
GR
99 Addresses scanned: I2C 0x18 - 0x1f
100
4453d736 101Author:
e3333e57 102 Guenter Roeck <linux@roeck-us.net>
4453d736
GR
103
104
105Description
106-----------
107
d5622f5b
CL
108This driver implements support for JEDEC JC 42.4 compliant temperature sensors,
109which are used on many DDR3 memory modules for mobile devices and servers. Some
110systems use the sensor to prevent memory overheating by automatically throttling
111the memory controller.
112
4453d736
GR
113The driver auto-detects the chips listed above, but can be manually instantiated
114to support other JC 42.4 compliant chips.
115
116Example: the following will load the driver for a generic JC 42.4 compliant
b32570a4 117temperature sensor at address 0x18 on I2C bus #1::
4453d736 118
b32570a4
MCC
119 # modprobe jc42
120 # echo jc42 0x18 > /sys/bus/i2c/devices/i2c-1/new_device
4453d736
GR
121
122A JC 42.4 compliant chip supports a single temperature sensor. Minimum, maximum,
123and critical temperature can be configured. There are alarms for high, low,
124and critical thresholds.
125
126There is also an hysteresis to control the thresholds for resetting alarms.
127Per JC 42.4 specification, the hysteresis threshold can be configured to 0, 1.5,
1283.0, and 6.0 degrees C. Configured hysteresis values will be rounded to those
129limits. The chip supports only a single register to configure the hysteresis,
130which applies to all limits. This register can be written by writing into
131temp1_crit_hyst. Other hysteresis attributes are read-only.
132
2c6315da
CL
133If the BIOS has configured the sensor for automatic temperature management, it
134is likely that it has locked the registers, i.e., that the temperature limits
135cannot be changed.
136
4453d736
GR
137Sysfs entries
138-------------
139
b32570a4 140======================= ===========================================
4453d736 141temp1_input Temperature (RO)
2c6315da
CL
142temp1_min Minimum temperature (RO or RW)
143temp1_max Maximum temperature (RO or RW)
144temp1_crit Critical high temperature (RO or RW)
4453d736 145
2c6315da 146temp1_crit_hyst Critical hysteresis temperature (RO or RW)
4453d736
GR
147temp1_max_hyst Maximum hysteresis temperature (RO)
148
149temp1_min_alarm Temperature low alarm
150temp1_max_alarm Temperature high alarm
151temp1_crit_alarm Temperature critical alarm
b32570a4 152======================= ===========================================