xref: /openbmc/linux/Documentation/hwmon/max16601.rst (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
12138f885SGuenter Roeck.. SPDX-License-Identifier: GPL-2.0
22138f885SGuenter Roeck
32138f885SGuenter RoeckKernel driver max16601
42138f885SGuenter Roeck======================
52138f885SGuenter Roeck
62138f885SGuenter RoeckSupported chips:
72138f885SGuenter Roeck
866102281SGuenter Roeck  * Maxim MAX16508
966102281SGuenter Roeck
1066102281SGuenter Roeck    Prefix: 'max16508'
1166102281SGuenter Roeck
1266102281SGuenter Roeck    Addresses scanned: -
1366102281SGuenter Roeck
1466102281SGuenter Roeck    Datasheet: Not published
1566102281SGuenter Roeck
16*a6f7c5d0SGuenter Roeck  * Maxim MAX16600
17*a6f7c5d0SGuenter Roeck
18*a6f7c5d0SGuenter Roeck    Prefix: 'max16600'
19*a6f7c5d0SGuenter Roeck
20*a6f7c5d0SGuenter Roeck    Addresses scanned: -
21*a6f7c5d0SGuenter Roeck
22*a6f7c5d0SGuenter Roeck    Datasheet: Not published
23*a6f7c5d0SGuenter Roeck
242138f885SGuenter Roeck  * Maxim MAX16601
252138f885SGuenter Roeck
262138f885SGuenter Roeck    Prefix: 'max16601'
272138f885SGuenter Roeck
282138f885SGuenter Roeck    Addresses scanned: -
292138f885SGuenter Roeck
302138f885SGuenter Roeck    Datasheet: Not published
312138f885SGuenter Roeck
32e5c498ccSAtif Ofluoglu  * Maxim MAX16602
33e5c498ccSAtif Ofluoglu
34e5c498ccSAtif Ofluoglu    Prefix: 'max16602'
35e5c498ccSAtif Ofluoglu
36e5c498ccSAtif Ofluoglu    Addresses scanned: -
37e5c498ccSAtif Ofluoglu
38e5c498ccSAtif Ofluoglu    Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX16602.pdf
39e5c498ccSAtif Ofluoglu
402138f885SGuenter RoeckAuthor: Guenter Roeck <linux@roeck-us.net>
412138f885SGuenter Roeck
422138f885SGuenter Roeck
432138f885SGuenter RoeckDescription
442138f885SGuenter Roeck-----------
452138f885SGuenter Roeck
4666102281SGuenter RoeckThis driver supports the MAX16508 VR13 Dual-Output Voltage Regulator
47*a6f7c5d0SGuenter Roeckas well as the MAX16600, MAX16601, and MAX16602 VR13.HC Dual-Output
48*a6f7c5d0SGuenter RoeckVoltage Regulator chipsets.
492138f885SGuenter Roeck
502138f885SGuenter RoeckThe driver is a client driver to the core PMBus driver.
512138f885SGuenter RoeckPlease see Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
522138f885SGuenter Roeck
532138f885SGuenter Roeck
542138f885SGuenter RoeckUsage Notes
552138f885SGuenter Roeck-----------
562138f885SGuenter Roeck
572138f885SGuenter RoeckThis driver does not auto-detect devices. You will have to instantiate the
582138f885SGuenter Roeckdevices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
592138f885SGuenter Roeckdetails.
602138f885SGuenter Roeck
612138f885SGuenter Roeck
622138f885SGuenter RoeckPlatform data support
632138f885SGuenter Roeck---------------------
642138f885SGuenter Roeck
652138f885SGuenter RoeckThe driver supports standard PMBus driver platform data.
662138f885SGuenter Roeck
672138f885SGuenter Roeck
682138f885SGuenter RoeckSysfs entries
692138f885SGuenter Roeck-------------
702138f885SGuenter Roeck
712138f885SGuenter RoeckThe following attributes are supported.
722138f885SGuenter Roeck
732138f885SGuenter Roeck=============================== ===============================================
742138f885SGuenter Roeckin1_label			"vin1"
752138f885SGuenter Roeckin1_input			VCORE input voltage.
762138f885SGuenter Roeckin1_alarm			Input voltage alarm.
772138f885SGuenter Roeck
782138f885SGuenter Roeckin2_label			"vout1"
792138f885SGuenter Roeckin2_input			VCORE output voltage.
802138f885SGuenter Roeckin2_alarm			Output voltage alarm.
812138f885SGuenter Roeck
822138f885SGuenter Roeckcurr1_label			"iin1"
83220c404dSGuenter Roeckcurr1_input			VCORE input current, derived from duty cycle
84220c404dSGuenter Roeck				and output current.
852138f885SGuenter Roeckcurr1_max			Maximum input current.
862138f885SGuenter Roeckcurr1_max_alarm			Current high alarm.
872138f885SGuenter Roeck
88220c404dSGuenter Roeckcurr[P+2]_label			"iin1.P"
89220c404dSGuenter Roeckcurr[P+2]_input			VCORE phase P input current.
902138f885SGuenter Roeck
91220c404dSGuenter Roeckcurr[N+2]_label			"iin2"
92220c404dSGuenter Roeckcurr[N+2]_input			VCORE input current, derived from sensor
93220c404dSGuenter Roeck				element.
94220c404dSGuenter Roeck				'N' is the number of enabled/populated phases.
952138f885SGuenter Roeck
96220c404dSGuenter Roeckcurr[N+3]_label			"iin3"
97220c404dSGuenter Roeckcurr[N+3]_input			VSA input current.
982138f885SGuenter Roeck
99220c404dSGuenter Roeckcurr[N+4]_label			"iout1"
100220c404dSGuenter Roeckcurr[N+4]_input			VCORE output current.
101220c404dSGuenter Roeckcurr[N+4]_crit			Critical output current.
102220c404dSGuenter Roeckcurr[N+4]_crit_alarm		Output current critical alarm.
103220c404dSGuenter Roeckcurr[N+4]_max			Maximum output current.
104220c404dSGuenter Roeckcurr[N+4]_max_alarm		Output current high alarm.
1052138f885SGuenter Roeck
106220c404dSGuenter Roeckcurr[N+P+5]_label		"iout1.P"
107220c404dSGuenter Roeckcurr[N+P+5]_input		VCORE phase P output current.
1082138f885SGuenter Roeck
109220c404dSGuenter Roeckcurr[2*N+5]_label		"iout3"
110220c404dSGuenter Roeckcurr[2*N+5]_input		VSA output current.
111220c404dSGuenter Roeckcurr[2*N+5]_highest		Historical maximum VSA output current.
112220c404dSGuenter Roeckcurr[2*N+5]_reset_history	Write any value to reset curr21_highest.
113220c404dSGuenter Roeckcurr[2*N+5]_crit		Critical output current.
114220c404dSGuenter Roeckcurr[2*N+5]_crit_alarm		Output current critical alarm.
115220c404dSGuenter Roeckcurr[2*N+5]_max			Maximum output current.
116220c404dSGuenter Roeckcurr[2*N+5]_max_alarm		Output current high alarm.
1172138f885SGuenter Roeck
1182138f885SGuenter Roeckpower1_label			"pin1"
119220c404dSGuenter Roeckpower1_input			Input power, derived from duty cycle and output
120220c404dSGuenter Roeck				current.
1212138f885SGuenter Roeckpower1_alarm			Input power alarm.
1222138f885SGuenter Roeck
1232138f885SGuenter Roeckpower2_label			"pin2"
1242138f885SGuenter Roeckpower2_input			Input power, derived from input current sensor.
1252138f885SGuenter Roeck
1262138f885SGuenter Roeckpower3_label			"pout"
1272138f885SGuenter Roeckpower3_input			Output power.
1282138f885SGuenter Roeck
1292138f885SGuenter Roecktemp1_input			VCORE temperature.
1302138f885SGuenter Roecktemp1_crit			Critical high temperature.
1312138f885SGuenter Roecktemp1_crit_alarm		Chip temperature critical high alarm.
1322138f885SGuenter Roecktemp1_max			Maximum temperature.
1332138f885SGuenter Roecktemp1_max_alarm			Chip temperature high alarm.
1342138f885SGuenter Roeck
1352138f885SGuenter Roecktemp2_input			TSENSE_0 temperature
1362138f885SGuenter Roecktemp3_input			TSENSE_1 temperature
1372138f885SGuenter Roecktemp4_input			TSENSE_2 temperature
1382138f885SGuenter Roecktemp5_input			TSENSE_3 temperature
1392138f885SGuenter Roeck
1402138f885SGuenter Roecktemp6_input			VSA temperature.
1412138f885SGuenter Roecktemp6_crit			Critical high temperature.
1422138f885SGuenter Roecktemp6_crit_alarm		Chip temperature critical high alarm.
1432138f885SGuenter Roecktemp6_max			Maximum temperature.
1442138f885SGuenter Roecktemp6_max_alarm			Chip temperature high alarm.
1452138f885SGuenter Roeck=============================== ===============================================
146