xref: /openbmc/linux/Documentation/hwmon/tps53679.rst (revision 8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17)
16f4a0daeSGuenter RoeckKernel driver tps53679
26f4a0daeSGuenter Roeck======================
36f4a0daeSGuenter Roeck
46f4a0daeSGuenter RoeckSupported chips:
56f4a0daeSGuenter Roeck
66f4a0daeSGuenter Roeck  * Texas Instruments TPS53647
76f4a0daeSGuenter Roeck
86f4a0daeSGuenter Roeck    Prefix: 'tps53647'
96f4a0daeSGuenter Roeck
106f4a0daeSGuenter Roeck    Addresses scanned: -
116f4a0daeSGuenter Roeck
12ad736c1aSAlexander A. Klimov    Datasheet: https://www.ti.com/lit/gpn/tps53647
136f4a0daeSGuenter Roeck
146f4a0daeSGuenter Roeck  * Texas Instruments TPS53667
156f4a0daeSGuenter Roeck
166f4a0daeSGuenter Roeck    Prefix: 'tps53667'
176f4a0daeSGuenter Roeck
186f4a0daeSGuenter Roeck    Addresses scanned: -
196f4a0daeSGuenter Roeck
20ad736c1aSAlexander A. Klimov    Datasheet: https://www.ti.com/lit/gpn/TPS53667
216f4a0daeSGuenter Roeck
22*cb3d37b5SErik Rosen  * Texas Instruments TPS53676
23*cb3d37b5SErik Rosen
24*cb3d37b5SErik Rosen    Prefix: 'tps53676'
25*cb3d37b5SErik Rosen
26*cb3d37b5SErik Rosen    Addresses scanned: -
27*cb3d37b5SErik Rosen
28*cb3d37b5SErik Rosen    Datasheet: https://www.ti.com/lit/gpn/TPS53676
29*cb3d37b5SErik Rosen
306f4a0daeSGuenter Roeck  * Texas Instruments TPS53679
316f4a0daeSGuenter Roeck
326f4a0daeSGuenter Roeck    Prefix: 'tps53679'
336f4a0daeSGuenter Roeck
346f4a0daeSGuenter Roeck    Addresses scanned: -
356f4a0daeSGuenter Roeck
36ad736c1aSAlexander A. Klimov    Datasheet: https://www.ti.com/lit/gpn/TPS53679 (short version)
376f4a0daeSGuenter Roeck
386f4a0daeSGuenter Roeck  * Texas Instruments TPS53681
396f4a0daeSGuenter Roeck
406f4a0daeSGuenter Roeck    Prefix: 'tps53681'
416f4a0daeSGuenter Roeck
426f4a0daeSGuenter Roeck    Addresses scanned: -
436f4a0daeSGuenter Roeck
44ad736c1aSAlexander A. Klimov    Datasheet: https://www.ti.com/lit/gpn/TPS53681
456f4a0daeSGuenter Roeck
466f4a0daeSGuenter Roeck  * Texas Instruments TPS53688
476f4a0daeSGuenter Roeck
486f4a0daeSGuenter Roeck    Prefix: 'tps53688'
496f4a0daeSGuenter Roeck
506f4a0daeSGuenter Roeck    Addresses scanned: -
516f4a0daeSGuenter Roeck
526f4a0daeSGuenter Roeck    Datasheet: Available under NDA
536f4a0daeSGuenter Roeck
546f4a0daeSGuenter Roeck
556f4a0daeSGuenter RoeckAuthors:
566f4a0daeSGuenter Roeck	Vadim Pasternak <vadimp@mellanox.com>
576f4a0daeSGuenter Roeck	Guenter Roeck <linux@roeck-us.net>
586f4a0daeSGuenter Roeck
596f4a0daeSGuenter Roeck
606f4a0daeSGuenter RoeckDescription
616f4a0daeSGuenter Roeck-----------
626f4a0daeSGuenter Roeck
636f4a0daeSGuenter RoeckChips in this series are multi-phase step-down converters with one or two
646f4a0daeSGuenter Roeckoutput channels and up to 8 phases per channel.
656f4a0daeSGuenter Roeck
666f4a0daeSGuenter Roeck
676f4a0daeSGuenter RoeckUsage Notes
686f4a0daeSGuenter Roeck-----------
696f4a0daeSGuenter Roeck
706f4a0daeSGuenter RoeckThis driver does not probe for PMBus devices. You will have to instantiate
716f4a0daeSGuenter Roeckdevices explicitly.
726f4a0daeSGuenter Roeck
736f4a0daeSGuenter RoeckExample: the following commands will load the driver for an TPS53681 at address
746f4a0daeSGuenter Roeck0x60 on I2C bus #1::
756f4a0daeSGuenter Roeck
766f4a0daeSGuenter Roeck	# modprobe tps53679
776f4a0daeSGuenter Roeck	# echo tps53681 0x60 > /sys/bus/i2c/devices/i2c-1/new_device
786f4a0daeSGuenter Roeck
796f4a0daeSGuenter Roeck
806f4a0daeSGuenter RoeckSysfs attributes
816f4a0daeSGuenter Roeck----------------
826f4a0daeSGuenter Roeck
836f4a0daeSGuenter Roeck======================= ========================================================
846f4a0daeSGuenter Roeckin1_label		"vin"
856f4a0daeSGuenter Roeck
866f4a0daeSGuenter Roeckin1_input		Measured input voltage.
876f4a0daeSGuenter Roeck
886f4a0daeSGuenter Roeckin1_lcrit		Critical minimum input voltage
896f4a0daeSGuenter Roeck
906f4a0daeSGuenter Roeck			TPS53679, TPS53681, TPS53688 only.
916f4a0daeSGuenter Roeck
926f4a0daeSGuenter Roeckin1_lcrit_alarm		Input voltage critical low alarm.
936f4a0daeSGuenter Roeck
946f4a0daeSGuenter Roeck			TPS53679, TPS53681, TPS53688 only.
956f4a0daeSGuenter Roeck
966f4a0daeSGuenter Roeckin1_crit		Critical maximum input voltage.
976f4a0daeSGuenter Roeck
986f4a0daeSGuenter Roeckin1_crit_alarm		Input voltage critical high alarm.
996f4a0daeSGuenter Roeck
1006f4a0daeSGuenter Roeckin[N]_label		"vout[1-2]"
1016f4a0daeSGuenter Roeck
1026f4a0daeSGuenter Roeck			- TPS53647, TPS53667: N=2
1036f4a0daeSGuenter Roeck			- TPS53679, TPS53588: N=2,3
1046f4a0daeSGuenter Roeck
1056f4a0daeSGuenter Roeckin[N]_input		Measured output voltage.
1066f4a0daeSGuenter Roeck
1076f4a0daeSGuenter Roeckin[N]_lcrit		Critical minimum input voltage.
1086f4a0daeSGuenter Roeck
1096f4a0daeSGuenter Roeck			TPS53679, TPS53681, TPS53688 only.
1106f4a0daeSGuenter Roeck
1116f4a0daeSGuenter Roeckin[N]_lcrit_alarm	Critical minimum voltage alarm.
1126f4a0daeSGuenter Roeck
1136f4a0daeSGuenter Roeck			TPS53679, TPS53681, TPS53688 only.
1146f4a0daeSGuenter Roeck
1156f4a0daeSGuenter Roeckin[N]_alarm		Output voltage alarm.
1166f4a0daeSGuenter Roeck
1176f4a0daeSGuenter Roeck			TPS53647, TPS53667 only.
1186f4a0daeSGuenter Roeck
1196f4a0daeSGuenter Roeckin[N]_crit		Critical maximum output voltage.
1206f4a0daeSGuenter Roeck
1216f4a0daeSGuenter Roeck			TPS53679, TPS53681, TPS53688 only.
1226f4a0daeSGuenter Roeck
1236f4a0daeSGuenter Roeckin[N]_crit_alarm	Output voltage critical high alarm.
1246f4a0daeSGuenter Roeck
1256f4a0daeSGuenter Roeck			TPS53679, TPS53681, TPS53688 only.
1266f4a0daeSGuenter Roeck
1276f4a0daeSGuenter Roecktemp[N]_input		Measured temperature.
1286f4a0daeSGuenter Roeck
1296f4a0daeSGuenter Roeck			- TPS53647, TPS53667: N=1
1306f4a0daeSGuenter Roeck			- TPS53679, TPS53681, TPS53588: N=1,2
1316f4a0daeSGuenter Roeck
1326f4a0daeSGuenter Roecktemp[N]_max		Maximum temperature.
1336f4a0daeSGuenter Roeck
1346f4a0daeSGuenter Roecktemp[N]_crit		Critical high temperature.
1356f4a0daeSGuenter Roeck
1366f4a0daeSGuenter Roecktemp[N]_max_alarm	Temperature high alarm.
1376f4a0daeSGuenter Roeck
1386f4a0daeSGuenter Roecktemp[N]_crit_alarm	Temperature critical high alarm.
1396f4a0daeSGuenter Roeck
1406f4a0daeSGuenter Roeckpower1_label		"pin".
1416f4a0daeSGuenter Roeck
1426f4a0daeSGuenter Roeckpower1_input		Measured input power.
1436f4a0daeSGuenter Roeck
1446f4a0daeSGuenter Roeckpower[N]_label		"pout[1-2]".
1456f4a0daeSGuenter Roeck
1466f4a0daeSGuenter Roeck			- TPS53647, TPS53667: N=2
147*cb3d37b5SErik Rosen			- TPS53676, TPS53679, TPS53681, TPS53588: N=2,3
1486f4a0daeSGuenter Roeck
1496f4a0daeSGuenter Roeckpower[N]_input		Measured output power.
1506f4a0daeSGuenter Roeck
1516f4a0daeSGuenter Roeckcurr1_label		"iin".
1526f4a0daeSGuenter Roeck
1536f4a0daeSGuenter Roeckcurr1_input		Measured input current.
1546f4a0daeSGuenter Roeck
1556f4a0daeSGuenter Roeckcurr1_max		Maximum input current.
1566f4a0daeSGuenter Roeck
1576f4a0daeSGuenter Roeckcurr1_max_alarm		Input current high alarm.
1586f4a0daeSGuenter Roeck
1596f4a0daeSGuenter Roeckcurr1_crit		Critical input current.
1606f4a0daeSGuenter Roeck
1616f4a0daeSGuenter Roeckcurr1_crit_alarm	Input current critical alarm.
1626f4a0daeSGuenter Roeck
1636f4a0daeSGuenter Roeckcurr[N]_label		"iout[1-2]" or "iout1.[0-5]".
1646f4a0daeSGuenter Roeck
1656f4a0daeSGuenter Roeck			The first digit is the output channel, the second
1666f4a0daeSGuenter Roeck			digit is the phase within the channel. Per-phase
167*cb3d37b5SErik Rosen			telemetry supported on TPS53676 and TPS53681 only.
1686f4a0daeSGuenter Roeck
1696f4a0daeSGuenter Roeck			- TPS53647, TPS53667: N=2
1706f4a0daeSGuenter Roeck			- TPS53679, TPS53588: N=2,3
171*cb3d37b5SErik Rosen			- TPS53676: N=2-8
1726f4a0daeSGuenter Roeck			- TPS53681: N=2-9
1736f4a0daeSGuenter Roeck
1746f4a0daeSGuenter Roeckcurr[N]_input		Measured output current.
1756f4a0daeSGuenter Roeck
1766f4a0daeSGuenter Roeckcurr[N]_max		Maximum output current.
1776f4a0daeSGuenter Roeck
1786f4a0daeSGuenter Roeckcurr[N]_crit		Critical high output current.
1796f4a0daeSGuenter Roeck
1806f4a0daeSGuenter Roeckcurr[N]_max_alarm	Output current high alarm.
1816f4a0daeSGuenter Roeck
1826f4a0daeSGuenter Roeckcurr[N]_crit_alarm	Output current critical high alarm.
1836f4a0daeSGuenter Roeck
1846f4a0daeSGuenter Roeck			Limit and alarm attributes are only available for
1856f4a0daeSGuenter Roeck			non-phase telemetry (iout1, iout2).
1866f4a0daeSGuenter Roeck
1876f4a0daeSGuenter Roeck======================= ========================================================
188