2011-03-07 02:54:27 +03:00
Kernel driver ucd9200
=====================
Supported chips:
2019-04-17 12:46:26 +03:00
2011-03-07 02:54:27 +03:00
* TI UCD9220, UCD9222, UCD9224, UCD9240, UCD9244, UCD9246, and UCD9248
2019-04-17 12:46:26 +03:00
2011-03-07 02:54:27 +03:00
Prefixes: 'ucd9220', 'ucd9222', 'ucd9224', 'ucd9240', 'ucd9244', 'ucd9246',
2019-04-17 12:46:26 +03:00
'ucd9248'
2011-03-07 02:54:27 +03:00
Addresses scanned: -
2019-04-17 12:46:26 +03:00
2011-03-07 02:54:27 +03:00
Datasheets:
2019-04-17 12:46:26 +03:00
- http://focus.ti.com/lit/ds/symlink/ucd9220.pdf
- http://focus.ti.com/lit/ds/symlink/ucd9222.pdf
- http://focus.ti.com/lit/ds/symlink/ucd9224.pdf
- http://focus.ti.com/lit/ds/symlink/ucd9240.pdf
- http://focus.ti.com/lit/ds/symlink/ucd9244.pdf
- http://focus.ti.com/lit/ds/symlink/ucd9246.pdf
- http://focus.ti.com/lit/ds/symlink/ucd9248.pdf
2011-03-07 02:54:27 +03:00
2013-02-21 08:58:42 +04:00
Author: Guenter Roeck <linux@roeck-us.net>
2011-03-07 02:54:27 +03:00
Description
-----------
[From datasheets] UCD9220, UCD9222, UCD9224, UCD9240, UCD9244, UCD9246, and
UCD9248 are multi-rail, multi-phase synchronous buck digital PWM controllers
designed for non-isolated DC/DC power applications. The devices integrate
dedicated circuitry for DC/DC loop management with flash memory and a serial
interface to support configuration, monitoring and management.
This driver is a client driver to the core PMBus driver. Please see
2019-04-17 12:46:29 +03:00
Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
2011-03-07 02:54:27 +03:00
Usage Notes
-----------
This driver does not auto-detect devices. You will have to instantiate the
2019-07-26 15:51:16 +03:00
devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
2011-03-07 02:54:27 +03:00
details.
Platform data support
---------------------
The driver supports standard PMBus driver platform data. Please see
2019-04-17 12:46:29 +03:00
Documentation/hwmon/pmbus.rst for details.
2011-03-07 02:54:27 +03:00
Sysfs entries
-------------
The following attributes are supported. Limits are read-write; all other
attributes are read-only.
2019-04-17 12:46:26 +03:00
======================= ========================================================
2011-03-07 02:54:27 +03:00
in1_label "vin".
in1_input Measured voltage. From READ_VIN register.
2012-03-04 18:16:11 +04:00
in1_min Minimum Voltage. From VIN_UV_WARN_LIMIT register.
2011-03-07 02:54:27 +03:00
in1_max Maximum voltage. From VIN_OV_WARN_LIMIT register.
2012-03-04 18:16:11 +04:00
in1_lcrit Critical minimum Voltage. VIN_UV_FAULT_LIMIT register.
2019-04-17 12:46:26 +03:00
in1_crit Critical maximum voltage. From VIN_OV_FAULT_LIMIT
register.
2011-03-07 02:54:27 +03:00
in1_min_alarm Voltage low alarm. From VIN_UV_WARNING status.
in1_max_alarm Voltage high alarm. From VIN_OV_WARNING status.
in1_lcrit_alarm Voltage critical low alarm. From VIN_UV_FAULT status.
in1_crit_alarm Voltage critical high alarm. From VIN_OV_FAULT status.
in[2-5]_ label "vout[1-4]".
in[2-5]_ input Measured voltage. From READ_VOUT register.
2012-03-04 18:16:11 +04:00
in[2-5]_ min Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
2011-03-07 02:54:27 +03:00
in[2-5]_ max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
2012-03-04 18:16:11 +04:00
in[2-5]_ lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
2019-04-17 12:46:26 +03:00
in[2-5]_ crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT
register.
2011-03-07 02:54:27 +03:00
in[2-5]_ min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
in[2-5]_ max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
2019-04-17 12:46:26 +03:00
in[2-5]_ lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT
status.
in[2-5]_ crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT
status.
2011-03-07 02:54:27 +03:00
curr1_label "iin".
curr1_input Measured current. From READ_IIN register.
curr[2-5]_ label "iout[1-4]".
curr[2-5]_ input Measured current. From READ_IOUT register.
curr[2-5]_ max Maximum current. From IOUT_OC_WARN_LIMIT register.
2019-04-17 12:46:26 +03:00
curr[2-5]_ lcrit Critical minimum output current. From
IOUT_UC_FAULT_LIMIT register.
curr[2-5]_ crit Critical maximum current. From IOUT_OC_FAULT_LIMIT
2011-03-07 02:54:27 +03:00
register.
curr[2-5]_ max_alarm Current high alarm. From IOUT_OC_WARNING status.
curr[2-5]_ crit_alarm Current critical high alarm. From IOUT_OC_FAULT status.
power1_input Measured input power. From READ_PIN register.
power1_label "pin"
power[2-5]_ input Measured output power. From READ_POUT register.
power[2-5]_ label "pout[1-4]"
The number of output voltage, current, and power
attribute sets is determined by the number of enabled
rails. See chip datasheets for details.
temp[1-5]_ input Measured temperatures. From READ_TEMPERATURE_1 and
2019-04-17 12:46:26 +03:00
READ_TEMPERATURE_2 registers.
2011-03-07 02:54:27 +03:00
temp1 is the chip internal temperature. temp[2-5] are
rail temperatures. temp[2-5] attributes are only
created for enabled rails. See chip datasheets for
details.
temp[1-5]_ max Maximum temperature. From OT_WARN_LIMIT register.
temp[1-5]_ crit Critical high temperature. From OT_FAULT_LIMIT register.
temp[1-5]_ max_alarm Temperature high alarm.
temp[1-5]_ crit_alarm Temperature critical high alarm.
fan1_input Fan RPM. ucd9240 only.
fan1_alarm Fan alarm. ucd9240 only.
fan1_fault Fan fault. ucd9240 only.
2019-04-17 12:46:26 +03:00
======================= ========================================================