2010-08-10 00:21:08 +00:00
|
|
|
Kernel driver jc42
|
|
|
|
==================
|
|
|
|
|
|
|
|
Supported chips:
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
* Analog Devices ADT7408
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
Datasheets:
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
http://www.analog.com/static/imported-files/data_sheets/ADT7408.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2014-04-16 05:07:30 +00:00
|
|
|
* Atmel AT30TS00, AT30TS002A/B, AT30TSE004A
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
Datasheets:
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2012-03-05 19:13:52 +00:00
|
|
|
http://www.atmel.com/Images/doc8585.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2014-04-16 05:07:30 +00:00
|
|
|
http://www.atmel.com/Images/doc8711.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2014-04-16 05:07:30 +00:00
|
|
|
http://www.atmel.com/Images/Atmel-8852-SEEPROM-AT30TSE002A-Datasheet.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2014-04-16 05:07:30 +00:00
|
|
|
http://www.atmel.com/Images/Atmel-8868-DTS-AT30TSE004A-Datasheet.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2015-02-02 01:20:38 +00:00
|
|
|
* IDT TSE2002B3, TSE2002GB2, TSE2004GB2, TS3000B3, TS3000GB0, TS3000GB2,
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2015-02-02 01:20:38 +00:00
|
|
|
TS3001GB2
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2012-03-05 19:13:52 +00:00
|
|
|
Datasheets:
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2015-02-02 01:20:38 +00:00
|
|
|
Available from IDT web site
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
* Maxim MAX6604
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
Datasheets:
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
http://datasheets.maxim-ic.com/en/ds/MAX6604.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2016-06-28 00:23:27 +00:00
|
|
|
* Microchip MCP9804, MCP9805, MCP9808, MCP98242, MCP98243, MCP98244, MCP9843
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
Datasheets:
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2012-03-05 19:13:52 +00:00
|
|
|
http://ww1.microchip.com/downloads/en/DeviceDoc/22203C.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
http://ww1.microchip.com/downloads/en/DeviceDoc/21977b.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2016-06-28 00:23:27 +00:00
|
|
|
http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
http://ww1.microchip.com/downloads/en/DeviceDoc/21996a.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
http://ww1.microchip.com/downloads/en/DeviceDoc/22153c.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2013-01-29 04:35:19 +00:00
|
|
|
http://ww1.microchip.com/downloads/en/DeviceDoc/22327A.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2012-03-08 16:20:24 +00:00
|
|
|
* NXP Semiconductors SE97, SE97B, SE98, SE98A
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
Datasheets:
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
http://www.nxp.com/documents/data_sheet/SE97.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
http://www.nxp.com/documents/data_sheet/SE97B.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
http://www.nxp.com/documents/data_sheet/SE98.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2012-03-08 16:20:24 +00:00
|
|
|
http://www.nxp.com/documents/data_sheet/SE98A.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
* ON Semiconductor CAT34TS02, CAT6095
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
Datasheet:
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
http://www.onsemi.com/pub_link/Collateral/CAT34TS02-D.PDF
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
http://www.onsemi.com/pub/Collateral/CAT6095-D.PDF
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2014-04-16 05:07:30 +00:00
|
|
|
* ST Microelectronics STTS424, STTS424E02, STTS2002, STTS2004, STTS3000
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2012-03-05 13:32:00 +00:00
|
|
|
Datasheets:
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2014-04-16 05:07:30 +00:00
|
|
|
http://www.st.com/web/en/resource/technical/document/datasheet/CD00157556.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2014-04-16 05:07:30 +00:00
|
|
|
http://www.st.com/web/en/resource/technical/document/datasheet/CD00157558.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2014-04-16 05:07:30 +00:00
|
|
|
http://www.st.com/web/en/resource/technical/document/datasheet/CD00266638.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2014-04-16 05:07:30 +00:00
|
|
|
http://www.st.com/web/en/resource/technical/document/datasheet/CD00225278.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2014-04-16 05:07:30 +00:00
|
|
|
http://www.st.com/web/en/resource/technical/document/datasheet/DM00076709.pdf
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
* JEDEC JC 42.4 compliant temperature sensor chips
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2011-02-16 13:02:08 +00:00
|
|
|
Datasheet:
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2011-02-16 13:02:08 +00:00
|
|
|
http://www.jedec.org/sites/default/files/docs/4_01_04R19.pdf
|
2010-08-10 00:21:08 +00:00
|
|
|
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2012-03-08 16:20:24 +00:00
|
|
|
Common for all chips:
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2012-03-08 16:20:24 +00:00
|
|
|
Prefix: 'jc42'
|
2019-04-17 09:46:27 +00:00
|
|
|
|
2012-03-08 16:20:24 +00:00
|
|
|
Addresses scanned: I2C 0x18 - 0x1f
|
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
Author:
|
2013-02-21 04:58:42 +00:00
|
|
|
Guenter Roeck <linux@roeck-us.net>
|
2010-08-10 00:21:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
Description
|
|
|
|
-----------
|
|
|
|
|
2011-02-16 13:02:08 +00:00
|
|
|
This driver implements support for JEDEC JC 42.4 compliant temperature sensors,
|
|
|
|
which are used on many DDR3 memory modules for mobile devices and servers. Some
|
|
|
|
systems use the sensor to prevent memory overheating by automatically throttling
|
|
|
|
the memory controller.
|
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
The driver auto-detects the chips listed above, but can be manually instantiated
|
|
|
|
to support other JC 42.4 compliant chips.
|
|
|
|
|
|
|
|
Example: the following will load the driver for a generic JC 42.4 compliant
|
2019-04-17 09:46:27 +00:00
|
|
|
temperature sensor at address 0x18 on I2C bus #1::
|
2010-08-10 00:21:08 +00:00
|
|
|
|
2019-04-17 09:46:27 +00:00
|
|
|
# modprobe jc42
|
|
|
|
# echo jc42 0x18 > /sys/bus/i2c/devices/i2c-1/new_device
|
2010-08-10 00:21:08 +00:00
|
|
|
|
|
|
|
A JC 42.4 compliant chip supports a single temperature sensor. Minimum, maximum,
|
|
|
|
and critical temperature can be configured. There are alarms for high, low,
|
|
|
|
and critical thresholds.
|
|
|
|
|
|
|
|
There is also an hysteresis to control the thresholds for resetting alarms.
|
|
|
|
Per JC 42.4 specification, the hysteresis threshold can be configured to 0, 1.5,
|
|
|
|
3.0, and 6.0 degrees C. Configured hysteresis values will be rounded to those
|
|
|
|
limits. The chip supports only a single register to configure the hysteresis,
|
|
|
|
which applies to all limits. This register can be written by writing into
|
|
|
|
temp1_crit_hyst. Other hysteresis attributes are read-only.
|
|
|
|
|
2011-02-16 13:02:38 +00:00
|
|
|
If the BIOS has configured the sensor for automatic temperature management, it
|
|
|
|
is likely that it has locked the registers, i.e., that the temperature limits
|
|
|
|
cannot be changed.
|
|
|
|
|
2010-08-10 00:21:08 +00:00
|
|
|
Sysfs entries
|
|
|
|
-------------
|
|
|
|
|
2019-04-17 09:46:27 +00:00
|
|
|
======================= ===========================================
|
2010-08-10 00:21:08 +00:00
|
|
|
temp1_input Temperature (RO)
|
2011-02-16 13:02:38 +00:00
|
|
|
temp1_min Minimum temperature (RO or RW)
|
|
|
|
temp1_max Maximum temperature (RO or RW)
|
|
|
|
temp1_crit Critical high temperature (RO or RW)
|
2010-08-10 00:21:08 +00:00
|
|
|
|
2011-02-16 13:02:38 +00:00
|
|
|
temp1_crit_hyst Critical hysteresis temperature (RO or RW)
|
2010-08-10 00:21:08 +00:00
|
|
|
temp1_max_hyst Maximum hysteresis temperature (RO)
|
|
|
|
|
|
|
|
temp1_min_alarm Temperature low alarm
|
|
|
|
temp1_max_alarm Temperature high alarm
|
|
|
|
temp1_crit_alarm Temperature critical alarm
|
2019-04-17 09:46:27 +00:00
|
|
|
======================= ===========================================
|