184fc4585SGuenter RoeckKernel driver ucd9200 284fc4585SGuenter Roeck===================== 384fc4585SGuenter Roeck 484fc4585SGuenter RoeckSupported chips: 51f234ff1SMauro Carvalho Chehab 684fc4585SGuenter Roeck * TI UCD9220, UCD9222, UCD9224, UCD9240, UCD9244, UCD9246, and UCD9248 71f234ff1SMauro Carvalho Chehab 884fc4585SGuenter Roeck Prefixes: 'ucd9220', 'ucd9222', 'ucd9224', 'ucd9240', 'ucd9244', 'ucd9246', 984fc4585SGuenter Roeck 'ucd9248' 101f234ff1SMauro Carvalho Chehab 1184fc4585SGuenter Roeck Addresses scanned: - 121f234ff1SMauro Carvalho Chehab 1384fc4585SGuenter Roeck Datasheets: 141f234ff1SMauro Carvalho Chehab 151f234ff1SMauro Carvalho Chehab - http://focus.ti.com/lit/ds/symlink/ucd9220.pdf 161f234ff1SMauro Carvalho Chehab - http://focus.ti.com/lit/ds/symlink/ucd9222.pdf 171f234ff1SMauro Carvalho Chehab - http://focus.ti.com/lit/ds/symlink/ucd9224.pdf 181f234ff1SMauro Carvalho Chehab - http://focus.ti.com/lit/ds/symlink/ucd9240.pdf 191f234ff1SMauro Carvalho Chehab - http://focus.ti.com/lit/ds/symlink/ucd9244.pdf 201f234ff1SMauro Carvalho Chehab - http://focus.ti.com/lit/ds/symlink/ucd9246.pdf 211f234ff1SMauro Carvalho Chehab - http://focus.ti.com/lit/ds/symlink/ucd9248.pdf 2284fc4585SGuenter Roeck 23e3333e57SGuenter RoeckAuthor: Guenter Roeck <linux@roeck-us.net> 2484fc4585SGuenter Roeck 2584fc4585SGuenter Roeck 2684fc4585SGuenter RoeckDescription 2784fc4585SGuenter Roeck----------- 2884fc4585SGuenter Roeck 2984fc4585SGuenter Roeck[From datasheets] UCD9220, UCD9222, UCD9224, UCD9240, UCD9244, UCD9246, and 3084fc4585SGuenter RoeckUCD9248 are multi-rail, multi-phase synchronous buck digital PWM controllers 3184fc4585SGuenter Roeckdesigned for non-isolated DC/DC power applications. The devices integrate 3284fc4585SGuenter Roeckdedicated circuitry for DC/DC loop management with flash memory and a serial 3384fc4585SGuenter Roeckinterface to support configuration, monitoring and management. 3484fc4585SGuenter Roeck 3584fc4585SGuenter RoeckThis driver is a client driver to the core PMBus driver. Please see 367ebd8b66SMauro Carvalho ChehabDocumentation/hwmon/pmbus.rst for details on PMBus client drivers. 3784fc4585SGuenter Roeck 3884fc4585SGuenter Roeck 3984fc4585SGuenter RoeckUsage Notes 4084fc4585SGuenter Roeck----------- 4184fc4585SGuenter Roeck 4284fc4585SGuenter RoeckThis driver does not auto-detect devices. You will have to instantiate the 43*ccf988b6SMauro Carvalho Chehabdevices explicitly. Please see Documentation/i2c/instantiating-devices.rst for 4484fc4585SGuenter Roeckdetails. 4584fc4585SGuenter Roeck 4684fc4585SGuenter Roeck 4784fc4585SGuenter RoeckPlatform data support 4884fc4585SGuenter Roeck--------------------- 4984fc4585SGuenter Roeck 5084fc4585SGuenter RoeckThe driver supports standard PMBus driver platform data. Please see 517ebd8b66SMauro Carvalho ChehabDocumentation/hwmon/pmbus.rst for details. 5284fc4585SGuenter Roeck 5384fc4585SGuenter Roeck 5484fc4585SGuenter RoeckSysfs entries 5584fc4585SGuenter Roeck------------- 5684fc4585SGuenter Roeck 5784fc4585SGuenter RoeckThe following attributes are supported. Limits are read-write; all other 5884fc4585SGuenter Roeckattributes are read-only. 5984fc4585SGuenter Roeck 601f234ff1SMauro Carvalho Chehab======================= ======================================================== 6184fc4585SGuenter Roeckin1_label "vin". 6284fc4585SGuenter Roeckin1_input Measured voltage. From READ_VIN register. 6340e47125SMasanari Iidain1_min Minimum Voltage. From VIN_UV_WARN_LIMIT register. 6484fc4585SGuenter Roeckin1_max Maximum voltage. From VIN_OV_WARN_LIMIT register. 6540e47125SMasanari Iidain1_lcrit Critical minimum Voltage. VIN_UV_FAULT_LIMIT register. 661f234ff1SMauro Carvalho Chehabin1_crit Critical maximum voltage. From VIN_OV_FAULT_LIMIT 671f234ff1SMauro Carvalho Chehab register. 6884fc4585SGuenter Roeckin1_min_alarm Voltage low alarm. From VIN_UV_WARNING status. 6984fc4585SGuenter Roeckin1_max_alarm Voltage high alarm. From VIN_OV_WARNING status. 7084fc4585SGuenter Roeckin1_lcrit_alarm Voltage critical low alarm. From VIN_UV_FAULT status. 7184fc4585SGuenter Roeckin1_crit_alarm Voltage critical high alarm. From VIN_OV_FAULT status. 7284fc4585SGuenter Roeck 7384fc4585SGuenter Roeckin[2-5]_label "vout[1-4]". 7484fc4585SGuenter Roeckin[2-5]_input Measured voltage. From READ_VOUT register. 7540e47125SMasanari Iidain[2-5]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register. 7684fc4585SGuenter Roeckin[2-5]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. 7740e47125SMasanari Iidain[2-5]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register. 781f234ff1SMauro Carvalho Chehabin[2-5]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT 791f234ff1SMauro Carvalho Chehab register. 8084fc4585SGuenter Roeckin[2-5]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. 8184fc4585SGuenter Roeckin[2-5]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. 821f234ff1SMauro Carvalho Chehabin[2-5]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT 831f234ff1SMauro Carvalho Chehab status. 841f234ff1SMauro Carvalho Chehabin[2-5]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT 851f234ff1SMauro Carvalho Chehab status. 8684fc4585SGuenter Roeck 8784fc4585SGuenter Roeckcurr1_label "iin". 8884fc4585SGuenter Roeckcurr1_input Measured current. From READ_IIN register. 8984fc4585SGuenter Roeck 9084fc4585SGuenter Roeckcurr[2-5]_label "iout[1-4]". 9184fc4585SGuenter Roeckcurr[2-5]_input Measured current. From READ_IOUT register. 9284fc4585SGuenter Roeckcurr[2-5]_max Maximum current. From IOUT_OC_WARN_LIMIT register. 931f234ff1SMauro Carvalho Chehabcurr[2-5]_lcrit Critical minimum output current. From 941f234ff1SMauro Carvalho Chehab IOUT_UC_FAULT_LIMIT register. 951f234ff1SMauro Carvalho Chehabcurr[2-5]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT 9684fc4585SGuenter Roeck register. 9784fc4585SGuenter Roeckcurr[2-5]_max_alarm Current high alarm. From IOUT_OC_WARNING status. 9884fc4585SGuenter Roeckcurr[2-5]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. 9984fc4585SGuenter Roeck 10084fc4585SGuenter Roeckpower1_input Measured input power. From READ_PIN register. 10184fc4585SGuenter Roeckpower1_label "pin" 10284fc4585SGuenter Roeck 10384fc4585SGuenter Roeckpower[2-5]_input Measured output power. From READ_POUT register. 10484fc4585SGuenter Roeckpower[2-5]_label "pout[1-4]" 10584fc4585SGuenter Roeck 10684fc4585SGuenter Roeck The number of output voltage, current, and power 10784fc4585SGuenter Roeck attribute sets is determined by the number of enabled 10884fc4585SGuenter Roeck rails. See chip datasheets for details. 10984fc4585SGuenter Roeck 11084fc4585SGuenter Roecktemp[1-5]_input Measured temperatures. From READ_TEMPERATURE_1 and 11184fc4585SGuenter Roeck READ_TEMPERATURE_2 registers. 11284fc4585SGuenter Roeck temp1 is the chip internal temperature. temp[2-5] are 11384fc4585SGuenter Roeck rail temperatures. temp[2-5] attributes are only 11484fc4585SGuenter Roeck created for enabled rails. See chip datasheets for 11584fc4585SGuenter Roeck details. 11684fc4585SGuenter Roecktemp[1-5]_max Maximum temperature. From OT_WARN_LIMIT register. 11784fc4585SGuenter Roecktemp[1-5]_crit Critical high temperature. From OT_FAULT_LIMIT register. 11884fc4585SGuenter Roecktemp[1-5]_max_alarm Temperature high alarm. 11984fc4585SGuenter Roecktemp[1-5]_crit_alarm Temperature critical high alarm. 12084fc4585SGuenter Roeck 12184fc4585SGuenter Roeckfan1_input Fan RPM. ucd9240 only. 12284fc4585SGuenter Roeckfan1_alarm Fan alarm. ucd9240 only. 12384fc4585SGuenter Roeckfan1_fault Fan fault. ucd9240 only. 1241f234ff1SMauro Carvalho Chehab======================= ======================================================== 125