1*007e433cSGuenter Roeck.. SPDX-License-Identifier: GPL-2.0 2*007e433cSGuenter Roeck 3*007e433cSGuenter RoeckKernel driver tmp464 4*007e433cSGuenter Roeck==================== 5*007e433cSGuenter Roeck 6*007e433cSGuenter RoeckSupported chips: 7*007e433cSGuenter Roeck 8*007e433cSGuenter Roeck * Texas Instruments TMP464 9*007e433cSGuenter Roeck 10*007e433cSGuenter Roeck Prefix: 'tmp464' 11*007e433cSGuenter Roeck 12*007e433cSGuenter Roeck Addresses scanned: I2C 0x48, 0x49, 0x4a and 0x4b 13*007e433cSGuenter Roeck 14*007e433cSGuenter Roeck Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp464.html 15*007e433cSGuenter Roeck 16*007e433cSGuenter Roeck * Texas Instruments TMP468 17*007e433cSGuenter Roeck 18*007e433cSGuenter Roeck Prefix: 'tmp468' 19*007e433cSGuenter Roeck 20*007e433cSGuenter Roeck Addresses scanned: I2C 0x48, 0x49, 0x4a and 0x4b 21*007e433cSGuenter Roeck 22*007e433cSGuenter Roeck Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp468.html 23*007e433cSGuenter Roeck 24*007e433cSGuenter RoeckAuthors: 25*007e433cSGuenter Roeck 26*007e433cSGuenter Roeck Agathe Porte <agathe.porte@nokia.com> 27*007e433cSGuenter Roeck Guenter Roeck <linux@roeck-us.net> 28*007e433cSGuenter Roeck 29*007e433cSGuenter RoeckDescription 30*007e433cSGuenter Roeck----------- 31*007e433cSGuenter Roeck 32*007e433cSGuenter RoeckThis driver implements support for Texas Instruments TMP464 and TMP468 33*007e433cSGuenter Roecktemperature sensor chips. TMP464 provides one local and four remote 34*007e433cSGuenter Roecksensors. TMP468 provides one local and eight remote sensors. 35*007e433cSGuenter RoeckTemperature is measured in degrees Celsius. The chips are wired over 36*007e433cSGuenter RoeckI2C/SMBus and specified over a temperature range of -40 to +125 degrees 37*007e433cSGuenter RoeckCelsius. Resolution for both the local and remote channels is 0.0625 38*007e433cSGuenter Roeckdegree C. 39*007e433cSGuenter Roeck 40*007e433cSGuenter RoeckThe chips support only temperature measurements. The driver exports 41*007e433cSGuenter Roecktemperature values, limits, and alarms via the following sysfs files: 42*007e433cSGuenter Roeck 43*007e433cSGuenter Roeck**temp[1-9]_input** 44*007e433cSGuenter Roeck 45*007e433cSGuenter Roeck**temp[1-9]_max** 46*007e433cSGuenter Roeck 47*007e433cSGuenter Roeck**temp[1-9]_max_hyst** 48*007e433cSGuenter Roeck 49*007e433cSGuenter Roeck**temp[1-9]_max_alarm** 50*007e433cSGuenter Roeck 51*007e433cSGuenter Roeck**temp[1-9]_crit** 52*007e433cSGuenter Roeck 53*007e433cSGuenter Roeck**temp[1-9]_crit_alarm** 54*007e433cSGuenter Roeck 55*007e433cSGuenter Roeck**temp[1-9]_crit_hyst** 56*007e433cSGuenter Roeck 57*007e433cSGuenter Roeck**temp[2-9]_offset** 58*007e433cSGuenter Roeck 59*007e433cSGuenter Roeck**temp[2-9]_fault** 60*007e433cSGuenter Roeck 61*007e433cSGuenter RoeckEach sensor can be individually disabled via Devicetree or from sysfs 62*007e433cSGuenter Roeckvia: 63*007e433cSGuenter Roeck 64*007e433cSGuenter Roeck**temp[1-9]_enable** 65*007e433cSGuenter Roeck 66*007e433cSGuenter RoeckIf labels were specified in Devicetree, additional sysfs files will 67*007e433cSGuenter Roeckbe present: 68*007e433cSGuenter Roeck 69*007e433cSGuenter Roeck**temp[1-9]_label** 70*007e433cSGuenter Roeck 71*007e433cSGuenter RoeckThe update interval is configurable with the following sysfs attribute. 72*007e433cSGuenter Roeck 73*007e433cSGuenter Roeck**update_interval** 74