Back to home page

OSCL-LXR

 
 

    


0001 .. SPDX-License-Identifier: GPL-2.0
0002 
0003 Kernel driver tmp464
0004 ====================
0005 
0006 Supported chips:
0007 
0008   * Texas Instruments TMP464
0009 
0010     Prefix: 'tmp464'
0011 
0012     Addresses scanned: I2C 0x48, 0x49, 0x4a and 0x4b
0013 
0014     Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp464.html
0015 
0016   * Texas Instruments TMP468
0017 
0018     Prefix: 'tmp468'
0019 
0020     Addresses scanned: I2C 0x48, 0x49, 0x4a and 0x4b
0021 
0022     Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp468.html
0023 
0024 Authors:
0025 
0026         Agathe Porte <agathe.porte@nokia.com>
0027         Guenter Roeck <linux@roeck-us.net>
0028 
0029 Description
0030 -----------
0031 
0032 This driver implements support for Texas Instruments TMP464 and TMP468
0033 temperature sensor chips. TMP464 provides one local and four remote
0034 sensors. TMP468 provides one local and eight remote sensors.
0035 Temperature is measured in degrees Celsius. The chips are wired over
0036 I2C/SMBus and specified over a temperature range of -40 to +125 degrees
0037 Celsius. Resolution for both the local and remote channels is 0.0625
0038 degree C.
0039 
0040 The chips support only temperature measurements. The driver exports
0041 temperature values, limits, and alarms via the following sysfs files:
0042 
0043 **temp[1-9]_input**
0044 
0045 **temp[1-9]_max**
0046 
0047 **temp[1-9]_max_hyst**
0048 
0049 **temp[1-9]_max_alarm**
0050 
0051 **temp[1-9]_crit**
0052 
0053 **temp[1-9]_crit_alarm**
0054 
0055 **temp[1-9]_crit_hyst**
0056 
0057 **temp[2-9]_offset**
0058 
0059 **temp[2-9]_fault**
0060 
0061 Each sensor can be individually disabled via Devicetree or from sysfs
0062 via:
0063 
0064 **temp[1-9]_enable**
0065 
0066 If labels were specified in Devicetree, additional sysfs files will
0067 be present:
0068 
0069 **temp[1-9]_label**
0070 
0071 The update interval is configurable with the following sysfs attribute.
0072 
0073 **update_interval**