^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Kernel driver tps40422
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) ======================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Supported chips:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * TI TPS40422
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) Prefix: 'tps40422'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Addresses scanned: -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Datasheet: https://www.ti.com/lit/gpn/tps40422
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Author: Zhu Laiwen <richard.zhu@nsn.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) This driver supports TI TPS40422 Dual-Output or Two-Phase Synchronous Buck
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Controller with PMBus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) The driver is a client driver to the core PMBus driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Please see Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Usage Notes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) This driver does not auto-detect devices. You will have to instantiate the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Platform data support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) ---------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) The driver supports standard PMBus driver platform data.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) Sysfs entries
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) -------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) The following attributes are supported.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) ======================= =======================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) in[1-2]_label "vout[1-2]"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) in[1-2]_input Measured voltage. From READ_VOUT register.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) in[1-2]_alarm voltage alarm.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) curr[1-2]_input Measured current. From READ_IOUT register.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) curr[1-2]_label "iout[1-2]"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) curr1_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) register.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT status.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) curr1_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) curr2_alarm Current high alarm. From IOUT_OC_WARNING status.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) temp1_input Measured temperature. From READ_TEMPERATURE_2 register
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) on page 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) temp1_max Maximum temperature. From OT_WARN_LIMIT register.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) temp1_crit Critical high temperature. From OT_FAULT_LIMIT register.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) temp1_max_alarm Chip temperature high alarm. Set by comparing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) READ_TEMPERATURE_2 on page 0 with OT_WARN_LIMIT if
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) TEMP_OT_WARNING status is set.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) temp1_crit_alarm Chip temperature critical high alarm. Set by comparing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) READ_TEMPERATURE_2 on page 0 with OT_FAULT_LIMIT if
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) TEMP_OT_FAULT status is set.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) temp2_input Measured temperature. From READ_TEMPERATURE_2 register
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) on page 1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) temp2_alarm Chip temperature alarm on page 1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) ======================= =======================================================