85 lines · plain
1.. SPDX-License-Identifier: GPL-2.02 3Kernel driver mp59904====================5 6Supported chips:7 8 * MPS MP59909 10 Prefix: 'mp5990'11 12 * Datasheet13 14 Publicly available at the MPS website : https://www.monolithicpower.com/en/mp5990.html15 16Author:17 18 Peter Yin <peteryin.openbmc@gmail.com>19 20Description21-----------22 23This driver implements support for Monolithic Power Systems, Inc. (MPS)24MP5990 Hot-Swap Controller.25 26Device compliant with:27 28- PMBus rev 1.3 interface.29 30Device supports direct and linear format for reading input voltage,31output voltage, output current, input power and temperature.32 33The driver exports the following attributes via the 'sysfs' files34for input voltage:35 36**in1_input**37 38**in1_label**39 40**in1_max**41 42**in1_max_alarm**43 44**in1_min**45 46**in1_min_alarm**47 48The driver provides the following attributes for output voltage:49 50**in2_input**51 52**in2_label**53 54**in2_alarm**55 56The driver provides the following attributes for output current:57 58**curr1_input**59 60**curr1_label**61 62**curr1_alarm**63 64**curr1_max**65 66The driver provides the following attributes for input power:67 68**power1_input**69 70**power1_label**71 72**power1_alarm**73 74The driver provides the following attributes for temperature:75 76**temp1_input**77 78**temp1_max**79 80**temp1_max_alarm**81 82**temp1_crit**83 84**temp1_crit_alarm**85