74 lines · plain
1Kernel driver tps404222======================3 4Supported chips:5 6 * TI TPS404227 8 Prefix: 'tps40422'9 10 Addresses scanned: -11 12 Datasheet: https://www.ti.com/lit/gpn/tps4042213 14Author: Zhu Laiwen <richard.zhu@nsn.com>15 16 17Description18-----------19 20This driver supports TI TPS40422 Dual-Output or Two-Phase Synchronous Buck21Controller with PMBus22 23The driver is a client driver to the core PMBus driver.24Please see Documentation/hwmon/pmbus.rst for details on PMBus client drivers.25 26 27Usage Notes28-----------29 30This driver does not auto-detect devices. You will have to instantiate the31devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for32details.33 34 35Platform data support36---------------------37 38The driver supports standard PMBus driver platform data.39 40 41Sysfs entries42-------------43 44The following attributes are supported.45 46======================= =======================================================47in[1-2]_label "vout[1-2]"48in[1-2]_input Measured voltage. From READ_VOUT register.49in[1-2]_alarm voltage alarm.50 51curr[1-2]_input Measured current. From READ_IOUT register.52curr[1-2]_label "iout[1-2]"53curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register.54curr1_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT55 register.56curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT status.57curr1_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status.58curr2_alarm Current high alarm. From IOUT_OC_WARNING status.59 60temp1_input Measured temperature. From READ_TEMPERATURE_2 register61 on page 0.62temp1_max Maximum temperature. From OT_WARN_LIMIT register.63temp1_crit Critical high temperature. From OT_FAULT_LIMIT register.64temp1_max_alarm Chip temperature high alarm. Set by comparing65 READ_TEMPERATURE_2 on page 0 with OT_WARN_LIMIT if66 TEMP_OT_WARNING status is set.67temp1_crit_alarm Chip temperature critical high alarm. Set by comparing68 READ_TEMPERATURE_2 on page 0 with OT_FAULT_LIMIT if69 TEMP_OT_FAULT status is set.70temp2_input Measured temperature. From READ_TEMPERATURE_2 register71 on page 1.72temp2_alarm Chip temperature alarm on page 1.73======================= =======================================================74