Back to home page

OSCL-LXR

 
 

    


0001 Kernel driver tmp421
0002 ====================
0003 
0004 Supported chips:
0005 
0006   * Texas Instruments TMP421
0007 
0008     Prefix: 'tmp421'
0009 
0010     Addresses scanned: I2C 0x2a, 0x4c, 0x4d, 0x4e and 0x4f
0011 
0012     Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html
0013 
0014   * Texas Instruments TMP422
0015 
0016     Prefix: 'tmp422'
0017 
0018     Addresses scanned: I2C 0x4c, 0x4d, 0x4e and 0x4f
0019 
0020     Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html
0021 
0022   * Texas Instruments TMP423
0023 
0024     Prefix: 'tmp423'
0025 
0026     Addresses scanned: I2C 0x4c and 0x4d
0027 
0028     Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html
0029 
0030   * Texas Instruments TMP441
0031 
0032     Prefix: 'tmp441'
0033 
0034     Addresses scanned: I2C 0x2a, 0x4c, 0x4d, 0x4e and 0x4f
0035 
0036     Datasheet: https://www.ti.com/product/tmp441
0037 
0038   * Texas Instruments TMP442
0039 
0040     Prefix: 'tmp442'
0041 
0042     Addresses scanned: I2C 0x4c and 0x4d
0043 
0044     Datasheet: https://www.ti.com/product/tmp442
0045 
0046 Authors:
0047 
0048         Andre Prendel <andre.prendel@gmx.de>
0049 
0050 Description
0051 -----------
0052 
0053 This driver implements support for Texas Instruments TMP421, TMP422,
0054 TMP423, TMP441, and TMP442 temperature sensor chips. These chips
0055 implement one local and up to one (TMP421, TMP441), up to two (TMP422,
0056 TMP442) or up to three (TMP423) remote sensors. Temperature is measured
0057 in degrees Celsius. The chips are wired over I2C/SMBus and specified
0058 over a temperature range of -40 to +125 degrees Celsius. Resolution
0059 for both the local and remote channels is 0.0625 degree C.
0060 
0061 The chips support only temperature measurement. The driver exports
0062 the temperature values via the following sysfs files:
0063 
0064 **temp[1-4]_input**
0065 
0066 **temp[2-4]_fault**
0067 
0068 Each sensor can be individually disabled via Devicetree or from sysfs
0069 via:
0070 
0071 **temp[1-4]_enable**
0072 
0073 If labels were specified in Devicetree, additional sysfs files will
0074 be present:
0075 
0076 **temp[1-4]_label**