1*4882a593SmuzhiyunKernel driver tmp401 2*4882a593Smuzhiyun==================== 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunSupported chips: 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun * Texas Instruments TMP401 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun Prefix: 'tmp401' 9*4882a593Smuzhiyun 10*4882a593Smuzhiyun Addresses scanned: I2C 0x4c 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp401.html 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun * Texas Instruments TMP411 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun Prefix: 'tmp411' 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun Addresses scanned: I2C 0x4c, 0x4d, 0x4e 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp411.html 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun * Texas Instruments TMP431 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun Prefix: 'tmp431' 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun Addresses scanned: I2C 0x4c, 0x4d 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp431.html 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun * Texas Instruments TMP432 31*4882a593Smuzhiyun 32*4882a593Smuzhiyun Prefix: 'tmp432' 33*4882a593Smuzhiyun 34*4882a593Smuzhiyun Addresses scanned: I2C 0x4c, 0x4d 35*4882a593Smuzhiyun 36*4882a593Smuzhiyun Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp432.html 37*4882a593Smuzhiyun 38*4882a593Smuzhiyun * Texas Instruments TMP435 39*4882a593Smuzhiyun 40*4882a593Smuzhiyun Prefix: 'tmp435' 41*4882a593Smuzhiyun 42*4882a593Smuzhiyun Addresses scanned: I2C 0x48 - 0x4f 43*4882a593Smuzhiyun 44*4882a593Smuzhiyun Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp435.html 45*4882a593Smuzhiyun 46*4882a593Smuzhiyun * Texas Instruments TMP461 47*4882a593Smuzhiyun 48*4882a593Smuzhiyun Prefix: 'tmp461' 49*4882a593Smuzhiyun 50*4882a593Smuzhiyun Datasheet: https://www.ti.com/product/tmp461 51*4882a593Smuzhiyun 52*4882a593Smuzhiyun 53*4882a593Smuzhiyun 54*4882a593SmuzhiyunAuthors: 55*4882a593Smuzhiyun 56*4882a593Smuzhiyun - Hans de Goede <hdegoede@redhat.com> 57*4882a593Smuzhiyun - Andre Prendel <andre.prendel@gmx.de> 58*4882a593Smuzhiyun 59*4882a593SmuzhiyunDescription 60*4882a593Smuzhiyun----------- 61*4882a593Smuzhiyun 62*4882a593SmuzhiyunThis driver implements support for Texas Instruments TMP401, TMP411, 63*4882a593SmuzhiyunTMP431, TMP432, TMP435, and TMP461 chips. These chips implement one or two 64*4882a593Smuzhiyunremote and one local temperature sensors. Temperature is measured in degrees 65*4882a593SmuzhiyunCelsius. Resolution of the remote sensor is 0.0625 degree. Local 66*4882a593Smuzhiyunsensor resolution can be set to 0.5, 0.25, 0.125 or 0.0625 degree (not 67*4882a593Smuzhiyunsupported by the driver so far, so using the default resolution of 0.5 68*4882a593Smuzhiyundegree). 69*4882a593Smuzhiyun 70*4882a593SmuzhiyunThe driver provides the common sysfs-interface for temperatures (see 71*4882a593SmuzhiyunDocumentation/hwmon/sysfs-interface.rst under Temperatures). 72*4882a593Smuzhiyun 73*4882a593SmuzhiyunThe TMP411 and TMP431 chips are compatible with TMP401. TMP411 provides 74*4882a593Smuzhiyunsome additional features. 75*4882a593Smuzhiyun 76*4882a593Smuzhiyun* Minimum and Maximum temperature measured since power-on, chip-reset 77*4882a593Smuzhiyun 78*4882a593Smuzhiyun Exported via sysfs attributes tempX_lowest and tempX_highest. 79*4882a593Smuzhiyun 80*4882a593Smuzhiyun* Reset of historical minimum/maximum temperature measurements 81*4882a593Smuzhiyun 82*4882a593Smuzhiyun Exported via sysfs attribute temp_reset_history. Writing 1 to this 83*4882a593Smuzhiyun file triggers a reset. 84*4882a593Smuzhiyun 85*4882a593SmuzhiyunTMP432 is compatible with TMP401 and TMP431. It supports two external 86*4882a593Smuzhiyuntemperature sensors. 87*4882a593Smuzhiyun 88*4882a593SmuzhiyunTMP461 is compatible with TMP401. It supports offset correction 89*4882a593Smuzhiyunthat is applied to the remote sensor. 90*4882a593Smuzhiyun 91*4882a593Smuzhiyun* Sensor offset values are temperature values 92*4882a593Smuzhiyun 93*4882a593Smuzhiyun Exported via sysfs attribute tempX_offset 94