Back to home page

OSCL-LXR

 
 

    


0001 .. SPDX-License-Identifier: GPL-2.0
0002 
0003 Kernel driver xdpe122
0004 =====================
0005 
0006 Supported chips:
0007 
0008   * Infineon XDPE11280
0009 
0010     Prefix: 'xdpe11280'
0011 
0012   * Infineon XDPE12254
0013 
0014     Prefix: 'xdpe12254'
0015 
0016   * Infineon XDPE12284
0017 
0018     Prefix: 'xdpe12284'
0019 
0020 Authors:
0021 
0022         Vadim Pasternak <vadimp@mellanox.com>
0023 
0024 Description
0025 -----------
0026 
0027 This driver implements support for Infineon Multi-phase XDPE112 and XDPE122
0028 family dual loop voltage regulators.
0029 These families include XDPE11280, XDPE12284 and XDPE12254 devices.
0030 The devices from this family compliant with:
0031 
0032 - Intel VR13 and VR13HC rev 1.3, IMVP8 rev 1.2 and IMPVP9 rev 1.3 DC-DC
0033   converter specification.
0034 - Intel SVID rev 1.9. protocol.
0035 - PMBus rev 1.3 interface.
0036 
0037 Devices support linear format for reading input voltage, input and output current,
0038 input and output power and temperature.
0039 Device supports VID format for reading output voltage. The below modes are
0040 supported:
0041 - VR12.0 mode, 5-mV DAC - 0x01.
0042 - VR12.5 mode, 10-mV DAC - 0x02.
0043 - IMVP9 mode, 5-mV DAC - 0x03.
0044 - AMD mode 6.25mV - 0x10.
0045 
0046 Devices support two pages for telemetry.
0047 
0048 The driver provides for current: input, maximum and critical thresholds
0049 and maximum and critical alarms. Critical thresholds and critical alarm are
0050 supported only for current output.
0051 The driver exports the following attributes for via the sysfs files, where
0052 indexes 1, 2 are for "iin" and 3, 4 for "iout":
0053 
0054 **curr[3-4]_crit**
0055 
0056 **curr[3-4]_crit_alarm**
0057 
0058 **curr[1-4]_input**
0059 
0060 **curr[1-4]_label**
0061 
0062 **curr[1-4]_max**
0063 
0064 **curr[1-4]_max_alarm**
0065 
0066 The driver provides for voltage: input, critical and low critical thresholds
0067 and critical and low critical alarms.
0068 The driver exports the following attributes for via the sysfs files, where
0069 indexes 1, 2 are for "vin" and 3, 4 for "vout":
0070 
0071 **in[1-4]_crit**
0072 
0073 **in[1-4_crit_alarm**
0074 
0075 **in[1-4]_input**
0076 
0077 **in[1-4_label**
0078 
0079 **in[1-4]_lcrit**
0080 
0081 **in[1-41_lcrit_alarm**
0082 
0083 The driver provides for power: input and alarms. Power alarm is supported only
0084 for power input.
0085 The driver exports the following attributes for via the sysfs files, where
0086 indexes 1, 2 are for "pin" and 3, 4 for "pout":
0087 
0088 **power[1-2]_alarm**
0089 
0090 **power[1-4]_input**
0091 
0092 **power[1-4]_label**
0093 
0094 The driver provides for temperature: input, maximum and critical thresholds
0095 and maximum and critical alarms.
0096 The driver exports the following attributes for via the sysfs files:
0097 
0098 **temp[1-2]_crit**
0099 
0100 **temp[1-2]_crit_alarm**
0101 
0102 **temp[1-2]_input**
0103 
0104 **temp[1-2]_max**
0105 
0106 **temp[1-2]_max_alarm**