1 .. SPDX-License-Identifier: GPL-2.0 2 3 Kernel driver tmp513 4 ==================== 5 6 Supported chips: 7 8 * Texas Instruments TMP512 9 10 Prefix: 'tmp512' 11 12 Datasheet: https://www.ti.com/lit/ds/symli 13 14 * Texas Instruments TMP513 15 16 Prefix: 'tmp513' 17 18 Datasheet: https://www.ti.com/lit/ds/symli 19 20 Authors: 21 22 Eric Tremblay <etremblay@distech-contro 23 24 Description 25 ----------- 26 27 This driver implements support for Texas Instr 28 The TMP512 (dual-channel) and TMP513 (triple-c 29 that include remote sensors, a local temperatu 30 shunt monitor. These system monitors have the 31 temperatures, on-chip temperatures, and system 32 consumption. 33 34 The temperatures are measured in degrees Celsi 35 -40 to + 125 degrees with a resolution of 0.06 36 37 For hysteresis value, only the first channel i 38 will affect all other values since each channe 39 hysteresis value. The hysteresis is in degrees 40 0 to 127.5 degrees with a resolution of 0.5 de 41 42 The driver exports the temperature values via 43 44 **temp[1-4]_input** 45 46 **temp[1-4]_crit** 47 48 **temp[1-4]_crit_alarm** 49 50 **temp[1-4]_crit_hyst** 51 52 The driver read the shunt voltage from the chi 53 The readable range depends on the "ti,pga-gain 54 shunt resistor value. The value resolution wil 55 56 The driver exports the shunt currents values v 57 58 **curr1_input** 59 60 **curr1_lcrit** 61 62 **curr1_lcrit_alarm** 63 64 **curr1_crit** 65 66 **curr1_crit_alarm** 67 68 The bus voltage range is read from the chip wi 69 can be configurable in two different range (32 70 ti,bus-range-microvolt property in the devicet 71 72 The driver exports the bus voltage values via 73 74 **in0_input** 75 76 **in0_lcrit** 77 78 **in0_lcrit_alarm** 79 80 **in0_crit** 81 82 **in0_crit_alarm** 83 84 The bus power and bus currents range and resol 85 register value. Those values are calculate by 86 formulas: 87 88 Current = (ShuntVoltage * CalibrationRegister) 89 Power = (Current * BusVoltage) / 5000 90 91 The driver exports the bus current and bus pow 92 sysFs files: 93 94 **curr2_input** 95 96 **power1_input** 97 98 **power1_crit** 99 100 **power1_crit_alarm** 101 102 The calibration process follow the procedure o 103 and depend on the shunt resistor value and the
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.