17ebd8b66SMauro Carvalho ChehabKernel driver lm75 27ebd8b66SMauro Carvalho Chehab================== 37ebd8b66SMauro Carvalho Chehab 47ebd8b66SMauro Carvalho ChehabSupported chips: 57ebd8b66SMauro Carvalho Chehab 67ebd8b66SMauro Carvalho Chehab * National Semiconductor LM75 77ebd8b66SMauro Carvalho Chehab 87ebd8b66SMauro Carvalho Chehab Prefix: 'lm75' 97ebd8b66SMauro Carvalho Chehab 107ebd8b66SMauro Carvalho Chehab Addresses scanned: I2C 0x48 - 0x4f 117ebd8b66SMauro Carvalho Chehab 127ebd8b66SMauro Carvalho Chehab Datasheet: Publicly available at the National Semiconductor website 137ebd8b66SMauro Carvalho Chehab 147ebd8b66SMauro Carvalho Chehab http://www.national.com/ 157ebd8b66SMauro Carvalho Chehab 167ebd8b66SMauro Carvalho Chehab * National Semiconductor LM75A 177ebd8b66SMauro Carvalho Chehab 187ebd8b66SMauro Carvalho Chehab Prefix: 'lm75a' 197ebd8b66SMauro Carvalho Chehab 207ebd8b66SMauro Carvalho Chehab Addresses scanned: I2C 0x48 - 0x4f 217ebd8b66SMauro Carvalho Chehab 227ebd8b66SMauro Carvalho Chehab Datasheet: Publicly available at the National Semiconductor website 237ebd8b66SMauro Carvalho Chehab 247ebd8b66SMauro Carvalho Chehab http://www.national.com/ 257ebd8b66SMauro Carvalho Chehab 267ebd8b66SMauro Carvalho Chehab * Dallas Semiconductor (now Maxim) DS75, DS1775, DS7505 277ebd8b66SMauro Carvalho Chehab 287ebd8b66SMauro Carvalho Chehab Prefixes: 'ds75', 'ds1775', 'ds7505' 297ebd8b66SMauro Carvalho Chehab 307ebd8b66SMauro Carvalho Chehab Addresses scanned: none 317ebd8b66SMauro Carvalho Chehab 327ebd8b66SMauro Carvalho Chehab Datasheet: Publicly available at the Maxim website 337ebd8b66SMauro Carvalho Chehab 34ad736c1aSAlexander A. Klimov https://www.maximintegrated.com/ 357ebd8b66SMauro Carvalho Chehab 367ebd8b66SMauro Carvalho Chehab * Maxim MAX6625, MAX6626, MAX31725, MAX31726 377ebd8b66SMauro Carvalho Chehab 387ebd8b66SMauro Carvalho Chehab Prefixes: 'max6625', 'max6626', 'max31725', 'max31726' 397ebd8b66SMauro Carvalho Chehab 407ebd8b66SMauro Carvalho Chehab Addresses scanned: none 417ebd8b66SMauro Carvalho Chehab 427ebd8b66SMauro Carvalho Chehab Datasheet: Publicly available at the Maxim website 437ebd8b66SMauro Carvalho Chehab 447ebd8b66SMauro Carvalho Chehab http://www.maxim-ic.com/ 457ebd8b66SMauro Carvalho Chehab 467ebd8b66SMauro Carvalho Chehab * Microchip (TelCom) TCN75 477ebd8b66SMauro Carvalho Chehab 487ebd8b66SMauro Carvalho Chehab Prefix: 'tcn75' 497ebd8b66SMauro Carvalho Chehab 507ebd8b66SMauro Carvalho Chehab Addresses scanned: none 517ebd8b66SMauro Carvalho Chehab 527ebd8b66SMauro Carvalho Chehab Datasheet: Publicly available at the Microchip website 537ebd8b66SMauro Carvalho Chehab 547ebd8b66SMauro Carvalho Chehab http://www.microchip.com/ 557ebd8b66SMauro Carvalho Chehab 567ebd8b66SMauro Carvalho Chehab * Microchip MCP9800, MCP9801, MCP9802, MCP9803 577ebd8b66SMauro Carvalho Chehab 587ebd8b66SMauro Carvalho Chehab Prefix: 'mcp980x' 597ebd8b66SMauro Carvalho Chehab 607ebd8b66SMauro Carvalho Chehab Addresses scanned: none 617ebd8b66SMauro Carvalho Chehab 627ebd8b66SMauro Carvalho Chehab Datasheet: Publicly available at the Microchip website 637ebd8b66SMauro Carvalho Chehab 647ebd8b66SMauro Carvalho Chehab http://www.microchip.com/ 657ebd8b66SMauro Carvalho Chehab 667ebd8b66SMauro Carvalho Chehab * Analog Devices ADT75 677ebd8b66SMauro Carvalho Chehab 687ebd8b66SMauro Carvalho Chehab Prefix: 'adt75' 697ebd8b66SMauro Carvalho Chehab 707ebd8b66SMauro Carvalho Chehab Addresses scanned: none 717ebd8b66SMauro Carvalho Chehab 727ebd8b66SMauro Carvalho Chehab Datasheet: Publicly available at the Analog Devices website 737ebd8b66SMauro Carvalho Chehab 74ad736c1aSAlexander A. Klimov https://www.analog.com/adt75 757ebd8b66SMauro Carvalho Chehab 767ebd8b66SMauro Carvalho Chehab * ST Microelectronics STDS75 777ebd8b66SMauro Carvalho Chehab 787ebd8b66SMauro Carvalho Chehab Prefix: 'stds75' 797ebd8b66SMauro Carvalho Chehab 807ebd8b66SMauro Carvalho Chehab Addresses scanned: none 817ebd8b66SMauro Carvalho Chehab 827ebd8b66SMauro Carvalho Chehab Datasheet: Publicly available at the ST website 837ebd8b66SMauro Carvalho Chehab 847ebd8b66SMauro Carvalho Chehab http://www.st.com/internet/analog/product/121769.jsp 857ebd8b66SMauro Carvalho Chehab 867ebd8b66SMauro Carvalho Chehab * ST Microelectronics STLM75 877ebd8b66SMauro Carvalho Chehab 887ebd8b66SMauro Carvalho Chehab Prefix: 'stlm75' 897ebd8b66SMauro Carvalho Chehab 907ebd8b66SMauro Carvalho Chehab Addresses scanned: none 917ebd8b66SMauro Carvalho Chehab 927ebd8b66SMauro Carvalho Chehab Datasheet: Publicly available at the ST website 937ebd8b66SMauro Carvalho Chehab 947ebd8b66SMauro Carvalho Chehab https://www.st.com/resource/en/datasheet/stlm75.pdf 957ebd8b66SMauro Carvalho Chehab 96*ec081f91SRobert Marko * Texas Instruments TMP100, TMP101, TMP105, TMP112, TMP75, TMP75B, TMP75C, TMP175, TMP275, TMP1075 977ebd8b66SMauro Carvalho Chehab 98*ec081f91SRobert Marko Prefixes: 'tmp100', 'tmp101', 'tmp105', 'tmp112', 'tmp175', 'tmp75', 'tmp75b', 'tmp75c', 'tmp275', 'tmp1075' 997ebd8b66SMauro Carvalho Chehab 1007ebd8b66SMauro Carvalho Chehab Addresses scanned: none 1017ebd8b66SMauro Carvalho Chehab 1027ebd8b66SMauro Carvalho Chehab Datasheet: Publicly available at the Texas Instruments website 1037ebd8b66SMauro Carvalho Chehab 104ad736c1aSAlexander A. Klimov https://www.ti.com/product/tmp100 1057ebd8b66SMauro Carvalho Chehab 106ad736c1aSAlexander A. Klimov https://www.ti.com/product/tmp101 1077ebd8b66SMauro Carvalho Chehab 108ad736c1aSAlexander A. Klimov https://www.ti.com/product/tmp105 1097ebd8b66SMauro Carvalho Chehab 110ad736c1aSAlexander A. Klimov https://www.ti.com/product/tmp112 1117ebd8b66SMauro Carvalho Chehab 112ad736c1aSAlexander A. Klimov https://www.ti.com/product/tmp75 1137ebd8b66SMauro Carvalho Chehab 114ad736c1aSAlexander A. Klimov https://www.ti.com/product/tmp75b 11539abe9d8SIker Perez del Palomar Sustatxa 116ad736c1aSAlexander A. Klimov https://www.ti.com/product/tmp75c 1177ebd8b66SMauro Carvalho Chehab 118ad736c1aSAlexander A. Klimov https://www.ti.com/product/tmp175 1197ebd8b66SMauro Carvalho Chehab 120ad736c1aSAlexander A. Klimov https://www.ti.com/product/tmp275 1217ebd8b66SMauro Carvalho Chehab 122*ec081f91SRobert Marko https://www.ti.com/product/TMP1075 123*ec081f91SRobert Marko 124557c7ffaSDaniel Mack * NXP LM75B, PCT2075 1257ebd8b66SMauro Carvalho Chehab 126557c7ffaSDaniel Mack Prefix: 'lm75b', 'pct2075' 1277ebd8b66SMauro Carvalho Chehab 1287ebd8b66SMauro Carvalho Chehab Addresses scanned: none 1297ebd8b66SMauro Carvalho Chehab 1307ebd8b66SMauro Carvalho Chehab Datasheet: Publicly available at the NXP website 1317ebd8b66SMauro Carvalho Chehab 132ad736c1aSAlexander A. Klimov https://www.nxp.com/documents/data_sheet/LM75B.pdf 1337ebd8b66SMauro Carvalho Chehab 134ad736c1aSAlexander A. Klimov https://www.nxp.com/docs/en/data-sheet/PCT2075.pdf 135557c7ffaSDaniel Mack 1367ebd8b66SMauro Carvalho ChehabAuthor: Frodo Looijaard <frodol@dds.nl> 1377ebd8b66SMauro Carvalho Chehab 1387ebd8b66SMauro Carvalho ChehabDescription 1397ebd8b66SMauro Carvalho Chehab----------- 1407ebd8b66SMauro Carvalho Chehab 1417ebd8b66SMauro Carvalho ChehabThe LM75 implements one temperature sensor. Limits can be set through the 1427ebd8b66SMauro Carvalho ChehabOvertemperature Shutdown register and Hysteresis register. Each value can be 1437ebd8b66SMauro Carvalho Chehabset and read to half-degree accuracy. 1447ebd8b66SMauro Carvalho ChehabAn alarm is issued (usually to a connected LM78) when the temperature 1457ebd8b66SMauro Carvalho Chehabgets higher then the Overtemperature Shutdown value; it stays on until 1467ebd8b66SMauro Carvalho Chehabthe temperature falls below the Hysteresis value. 1477ebd8b66SMauro Carvalho ChehabAll temperatures are in degrees Celsius, and are guaranteed within a 1487ebd8b66SMauro Carvalho Chehabrange of -55 to +125 degrees. 1497ebd8b66SMauro Carvalho Chehab 1507ebd8b66SMauro Carvalho ChehabThe driver caches the values for a period varying between 1 second for the 1517ebd8b66SMauro Carvalho Chehabslowest chips and 125 ms for the fastest chips; reading it more often 1527ebd8b66SMauro Carvalho Chehabwill do no harm, but will return 'old' values. 1537ebd8b66SMauro Carvalho Chehab 1547ebd8b66SMauro Carvalho ChehabThe original LM75 was typically used in combination with LM78-like chips 1557ebd8b66SMauro Carvalho Chehabon PC motherboards, to measure the temperature of the processor(s). Clones 1567ebd8b66SMauro Carvalho Chehabare now used in various embedded designs. 1577ebd8b66SMauro Carvalho Chehab 1587ebd8b66SMauro Carvalho ChehabThe LM75 is essentially an industry standard; there may be other 1597ebd8b66SMauro Carvalho ChehabLM75 clones not listed here, with or without various enhancements, 1607ebd8b66SMauro Carvalho Chehabthat are supported. The clones are not detected by the driver, unless 1617ebd8b66SMauro Carvalho Chehabthey reproduce the exact register tricks of the original LM75, and must 1627ebd8b66SMauro Carvalho Chehabtherefore be instantiated explicitly. Higher resolution up to 16-bit 1637ebd8b66SMauro Carvalho Chehabis supported by this driver, other specific enhancements are not. 1647ebd8b66SMauro Carvalho Chehab 1657ebd8b66SMauro Carvalho ChehabThe LM77 is not supported, contrary to what we pretended for a long time. 1667ebd8b66SMauro Carvalho ChehabBoth chips are simply not compatible, value encoding differs. 167