brintos

brintos / linux-shallow public Read only

0
0
Text · 4.3 KiB · 19d1051 Raw
153 lines · plain
1Kernel driver jc422==================3 4Supported chips:5 6  * Analog Devices ADT74087 8    Datasheets:9 10	https://www.analog.com/static/imported-files/data_sheets/ADT7408.pdf11 12  * Atmel AT30TS00, AT30TS002A/B, AT30TSE004A13 14    Datasheets:15 16	http://www.atmel.com/Images/doc8585.pdf17 18	http://www.atmel.com/Images/doc8711.pdf19 20	http://www.atmel.com/Images/Atmel-8852-SEEPROM-AT30TSE002A-Datasheet.pdf21 22	http://www.atmel.com/Images/Atmel-8868-DTS-AT30TSE004A-Datasheet.pdf23 24  * IDT TSE2002B3, TSE2002GB2, TSE2004GB2, TS3000B3, TS3000GB0, TS3000GB2,25 26	TS3001GB227 28    Datasheets:29 30	Available from IDT web site31 32  * Maxim MAX660433 34    Datasheets:35 36	http://datasheets.maxim-ic.com/en/ds/MAX6604.pdf37 38  * Microchip MCP9804, MCP9805, MCP9808, MCP98242, MCP98243, MCP98244, MCP984339 40    Datasheets:41 42	https://ww1.microchip.com/downloads/en/DeviceDoc/22203C.pdf43 44	https://ww1.microchip.com/downloads/en/DeviceDoc/21977b.pdf45 46	https://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf47 48	https://ww1.microchip.com/downloads/en/DeviceDoc/21996a.pdf49 50	https://ww1.microchip.com/downloads/en/DeviceDoc/22153c.pdf51 52	https://ww1.microchip.com/downloads/en/DeviceDoc/22327A.pdf53 54  * NXP Semiconductors SE97, SE97B, SE98, SE98A55 56    Datasheets:57 58	https://www.nxp.com/documents/data_sheet/SE97.pdf59 60	https://www.nxp.com/documents/data_sheet/SE97B.pdf61 62	https://www.nxp.com/documents/data_sheet/SE98.pdf63 64	https://www.nxp.com/documents/data_sheet/SE98A.pdf65 66  * ON Semiconductor CAT34TS02, CAT609567 68    Datasheet:69 70	https://www.onsemi.com/pub_link/Collateral/CAT34TS02-D.PDF71 72	https://www.onsemi.com/pub/Collateral/CAT6095-D.PDF73 74  * ST Microelectronics STTS424, STTS424E02, STTS2002, STTS2004, STTS300075 76    Datasheets:77 78	http://www.st.com/web/en/resource/technical/document/datasheet/CD00157556.pdf79 80	http://www.st.com/web/en/resource/technical/document/datasheet/CD00157558.pdf81 82	http://www.st.com/web/en/resource/technical/document/datasheet/CD00266638.pdf83 84	http://www.st.com/web/en/resource/technical/document/datasheet/CD00225278.pdf85 86	http://www.st.com/web/en/resource/technical/document/datasheet/DM00076709.pdf87 88  * JEDEC JC 42.4 compliant temperature sensor chips89 90    Datasheet:91 92	http://www.jedec.org/sites/default/files/docs/4_01_04R19.pdf93 94 95  Common for all chips:96 97    Prefix: 'jc42'98 99    Addresses scanned: I2C 0x18 - 0x1f100 101Author:102	Guenter Roeck <linux@roeck-us.net>103 104 105Description106-----------107 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. Some110systems use the sensor to prevent memory overheating by automatically throttling111the memory controller.112 113The driver auto-detects the chips listed above, but can be manually instantiated114to support other JC 42.4 compliant chips.115 116Example: the following will load the driver for a generic JC 42.4 compliant117temperature sensor at address 0x18 on I2C bus #1::118 119	# modprobe jc42120	# echo jc42 0x18 > /sys/bus/i2c/devices/i2c-1/new_device121 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 those129limits. The chip supports only a single register to configure the hysteresis,130which applies to all limits. This register can be written by writing into131temp1_crit_hyst. Other hysteresis attributes are read-only.132 133If the BIOS has configured the sensor for automatic temperature management, it134is likely that it has locked the registers, i.e., that the temperature limits135cannot be changed.136 137Sysfs entries138-------------139 140======================= ===========================================141temp1_input		Temperature (RO)142temp1_min		Minimum temperature (RO or RW)143temp1_max		Maximum temperature (RO or RW)144temp1_crit		Critical high temperature (RO or RW)145 146temp1_crit_hyst		Critical hysteresis temperature (RO or RW)147temp1_max_hyst		Maximum hysteresis temperature (RO)148 149temp1_min_alarm		Temperature low alarm150temp1_max_alarm		Temperature high alarm151temp1_crit_alarm	Temperature critical alarm152======================= ===========================================153