151 lines · plain
1.. SPDX-License-Identifier: GPL-2.02 3Kernel driver mp29934====================5 6Supported chips:7 8 * MPS mp29939 10 Prefix: 'mp2993'11 12 * Datasheet13 https://scnbwymvp-my.sharepoint.com/:f:/g/personal/admin_scnbwy_com/Eth4kX1_J1hMsaASHiOYL4QBHU5a75r-tRfLKbHnJFdKLQ?e=vxj3DF14 15Author:16 17 Noah Wang <noahwang.wang@outlook.com>18 19Description20-----------21 22This driver implements support for Monolithic Power Systems, Inc. (MPS)23MP2993 Dual Loop Digital Multi-phase Controller.24 25Device compliant with:26 27- PMBus rev 1.3 interface.28 29The driver exports the following attributes via the 'sysfs' files30for input voltage:31 32**in1_input**33 34**in1_label**35 36**in1_crit**37 38**in1_crit_alarm**39 40**in1_lcrit**41 42**in1_lcrit_alarm**43 44**in1_max**45 46**in1_max_alarm**47 48**in1_min**49 50**in1_min_alarm**51 52The driver provides the following attributes for output voltage:53 54**in2_input**55 56**in2_label**57 58**in2_crit**59 60**in2_crit_alarm**61 62**in2_lcrit**63 64**in2_lcrit_alarm**65 66**in3_input**67 68**in3_label**69 70**in3_crit**71 72**in3_crit_alarm**73 74**in3_lcrit**75 76**in3_lcrit_alarm**77 78The driver provides the following attributes for input current:79 80**curr1_input**81 82**curr1_label**83 84**curr1_max**85 86**curr1_max_alarm**87 88The driver provides the following attributes for output current:89 90**curr2_input**91 92**curr2_label**93 94**curr2_crit**95 96**curr2_crit_alarm**97 98**curr2_max**99 100**curr2_max_alarm**101 102**curr3_input**103 104**curr3_label**105 106**curr3_crit**107 108**curr3_crit_alarm**109 110**curr3_max**111 112**curr3_max_alarm**113 114The driver provides the following attributes for input power:115 116**power1_input**117 118**power1_label**119 120The driver provides the following attributes for output power:121 122**power2_input**123 124**power2_label**125 126**power3_input**127 128**power3_label**129 130The driver provides the following attributes for temperature:131 132**temp1_input**133 134**temp1_crit**135 136**temp1_crit_alarm**137 138**temp1_max**139 140**temp1_max_alarm**141 142**temp2_input**143 144**temp2_crit**145 146**temp2_crit_alarm**147 148**temp2_max**149 150**temp2_max_alarm**151