Andre Prendel | 1915fb7 | 2009-09-15 17:18:12 +0200 | [diff] [blame] | 1 | Kernel driver tmp421 |
| 2 | ==================== |
| 3 | |
| 4 | Supported chips: |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 5 | |
Andre Prendel | 1915fb7 | 2009-09-15 17:18:12 +0200 | [diff] [blame] | 6 | * Texas Instruments TMP421 |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 7 | |
Andre Prendel | 1915fb7 | 2009-09-15 17:18:12 +0200 | [diff] [blame] | 8 | Prefix: 'tmp421' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 9 | |
Andre Prendel | 1915fb7 | 2009-09-15 17:18:12 +0200 | [diff] [blame] | 10 | Addresses scanned: I2C 0x2a, 0x4c, 0x4d, 0x4e and 0x4f |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 11 | |
Andre Prendel | 1915fb7 | 2009-09-15 17:18:12 +0200 | [diff] [blame] | 12 | Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 13 | |
Andre Prendel | 1915fb7 | 2009-09-15 17:18:12 +0200 | [diff] [blame] | 14 | * Texas Instruments TMP422 |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 15 | |
Andre Prendel | 1915fb7 | 2009-09-15 17:18:12 +0200 | [diff] [blame] | 16 | Prefix: 'tmp422' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 17 | |
Guenter Roeck | a63ee9d | 2014-04-22 16:13:17 -0700 | [diff] [blame] | 18 | Addresses scanned: I2C 0x4c, 0x4d, 0x4e and 0x4f |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 19 | |
Andre Prendel | 1915fb7 | 2009-09-15 17:18:12 +0200 | [diff] [blame] | 20 | Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 21 | |
Andre Prendel | 1915fb7 | 2009-09-15 17:18:12 +0200 | [diff] [blame] | 22 | * Texas Instruments TMP423 |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 23 | |
Andre Prendel | 1915fb7 | 2009-09-15 17:18:12 +0200 | [diff] [blame] | 24 | Prefix: 'tmp423' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 25 | |
Guenter Roeck | a63ee9d | 2014-04-22 16:13:17 -0700 | [diff] [blame] | 26 | Addresses scanned: I2C 0x4c and 0x4d |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 27 | |
Andre Prendel | 1915fb7 | 2009-09-15 17:18:12 +0200 | [diff] [blame] | 28 | Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 29 | |
Guenter Roeck | 05c77ab | 2014-04-12 16:12:06 -0700 | [diff] [blame] | 30 | * Texas Instruments TMP441 |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 31 | |
Guenter Roeck | 05c77ab | 2014-04-12 16:12:06 -0700 | [diff] [blame] | 32 | Prefix: 'tmp441' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 33 | |
Guenter Roeck | 05c77ab | 2014-04-12 16:12:06 -0700 | [diff] [blame] | 34 | Addresses scanned: I2C 0x2a, 0x4c, 0x4d, 0x4e and 0x4f |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 35 | |
Alexander A. Klimov | ad736c1 | 2020-07-19 19:55:12 +0200 | [diff] [blame] | 36 | Datasheet: https://www.ti.com/product/tmp441 |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 37 | |
Guenter Roeck | 05c77ab | 2014-04-12 16:12:06 -0700 | [diff] [blame] | 38 | * Texas Instruments TMP442 |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 39 | |
Guenter Roeck | 05c77ab | 2014-04-12 16:12:06 -0700 | [diff] [blame] | 40 | Prefix: 'tmp442' |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 41 | |
Guenter Roeck | 05c77ab | 2014-04-12 16:12:06 -0700 | [diff] [blame] | 42 | Addresses scanned: I2C 0x4c and 0x4d |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 43 | |
Alexander A. Klimov | ad736c1 | 2020-07-19 19:55:12 +0200 | [diff] [blame] | 44 | Datasheet: https://www.ti.com/product/tmp442 |
Andre Prendel | 1915fb7 | 2009-09-15 17:18:12 +0200 | [diff] [blame] | 45 | |
| 46 | Authors: |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 47 | |
Andre Prendel | 1915fb7 | 2009-09-15 17:18:12 +0200 | [diff] [blame] | 48 | Andre Prendel <andre.prendel@gmx.de> |
| 49 | |
| 50 | Description |
| 51 | ----------- |
| 52 | |
Guenter Roeck | 05c77ab | 2014-04-12 16:12:06 -0700 | [diff] [blame] | 53 | This driver implements support for Texas Instruments TMP421, TMP422, |
| 54 | TMP423, TMP441, and TMP442 temperature sensor chips. These chips |
| 55 | implement one local and up to one (TMP421, TMP441), up to two (TMP422, |
| 56 | TMP442) or up to three (TMP423) remote sensors. Temperature is measured |
| 57 | in degrees Celsius. The chips are wired over I2C/SMBus and specified |
| 58 | over a temperature range of -40 to +125 degrees Celsius. Resolution |
| 59 | for both the local and remote channels is 0.0625 degree C. |
Andre Prendel | 1915fb7 | 2009-09-15 17:18:12 +0200 | [diff] [blame] | 60 | |
| 61 | The chips support only temperature measurement. The driver exports |
| 62 | the temperature values via the following sysfs files: |
| 63 | |
Mauro Carvalho Chehab | b04f2f7 | 2019-04-17 06:46:28 -0300 | [diff] [blame] | 64 | **temp[1-4]_input** |
| 65 | |
| 66 | **temp[2-4]_fault** |
Krzysztof Adamski | 0ebbd89 | 2021-10-14 15:10:44 +0200 | [diff] [blame] | 67 | |
| 68 | Each sensor can be individually disabled via Devicetree or from sysfs |
| 69 | via: |
| 70 | |
| 71 | **temp[1-4]_enable** |
| 72 | |
| 73 | If labels were specified in Devicetree, additional sysfs files will |
| 74 | be present: |
| 75 | |
| 76 | **temp[1-4]_label** |