0001 Kernel driver tps40422
0002 ======================
0003
0004 Supported chips:
0005
0006 * TI TPS40422
0007
0008 Prefix: 'tps40422'
0009
0010 Addresses scanned: -
0011
0012 Datasheet: https://www.ti.com/lit/gpn/tps40422
0013
0014 Author: Zhu Laiwen <richard.zhu@nsn.com>
0015
0016
0017 Description
0018 -----------
0019
0020 This driver supports TI TPS40422 Dual-Output or Two-Phase Synchronous Buck
0021 Controller with PMBus
0022
0023 The driver is a client driver to the core PMBus driver.
0024 Please see Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
0025
0026
0027 Usage Notes
0028 -----------
0029
0030 This driver does not auto-detect devices. You will have to instantiate the
0031 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
0032 details.
0033
0034
0035 Platform data support
0036 ---------------------
0037
0038 The driver supports standard PMBus driver platform data.
0039
0040
0041 Sysfs entries
0042 -------------
0043
0044 The following attributes are supported.
0045
0046 ======================= =======================================================
0047 in[1-2]_label "vout[1-2]"
0048 in[1-2]_input Measured voltage. From READ_VOUT register.
0049 in[1-2]_alarm voltage alarm.
0050
0051 curr[1-2]_input Measured current. From READ_IOUT register.
0052 curr[1-2]_label "iout[1-2]"
0053 curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register.
0054 curr1_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT
0055 register.
0056 curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT status.
0057 curr1_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status.
0058 curr2_alarm Current high alarm. From IOUT_OC_WARNING status.
0059
0060 temp1_input Measured temperature. From READ_TEMPERATURE_2 register
0061 on page 0.
0062 temp1_max Maximum temperature. From OT_WARN_LIMIT register.
0063 temp1_crit Critical high temperature. From OT_FAULT_LIMIT register.
0064 temp1_max_alarm Chip temperature high alarm. Set by comparing
0065 READ_TEMPERATURE_2 on page 0 with OT_WARN_LIMIT if
0066 TEMP_OT_WARNING status is set.
0067 temp1_crit_alarm Chip temperature critical high alarm. Set by comparing
0068 READ_TEMPERATURE_2 on page 0 with OT_FAULT_LIMIT if
0069 TEMP_OT_FAULT status is set.
0070 temp2_input Measured temperature. From READ_TEMPERATURE_2 register
0071 on page 1.
0072 temp2_alarm Chip temperature alarm on page 1.
0073 ======================= =======================================================