106 lines · plain
1.. SPDX-License-Identifier: GPL-2.02 3Kernel driver pim43284=====================5 6Supported chips:7 8 * Flex PIM43289 10 Prefix: 'pim4328', 'bmr455'11 12 Addresses scanned: -13 14 Datasheet:15 16https://flexpowermodules.com/resources/fpm-techspec-pim432817 18 * Flex PIM482019 20 Prefixes: 'pim4820'21 22 Addresses scanned: -23 24 Datasheet: https://flexpowermodules.com/resources/fpm-techspec-pim482025 26 * Flex PIM4006, PIM4106, PIM4206, PIM4306, PIM440627 28 Prefixes: 'pim4006', 'pim4106', 'pim4206', 'pim4306', 'pim4406'29 30 Addresses scanned: -31 32 Datasheet: https://flexpowermodules.com/resources/fpm-techspec-pim400633 34Author: Erik Rosen <erik.rosen@metormote.com>35 36 37Description38-----------39 40This driver supports hardware monitoring for Flex PIM4328 and41compatible digital power interface modules.42 43The driver is a client driver to the core PMBus driver. Please see44Documentation/hwmon/pmbus.rst and Documentation.hwmon/pmbus-core for details45on PMBus client drivers.46 47 48Usage Notes49-----------50 51This driver does not auto-detect devices. You will have to instantiate the52devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for53details.54 55 56Platform data support57---------------------58 59The driver supports standard PMBus driver platform data.60 61 62Sysfs entries63-------------64 65The following attributes are supported. All attributes are read-only.66 67======================= ========================================================68in1_label "vin"69in1_input Measured input voltage.70in1_alarm Input voltage alarm.71 72in2_label "vin.0"73in2_input Measured input voltage on input A.74 75 PIM4328 and PIM4X0676 77in3_label "vin.1"78in3_input Measured input voltage on input B.79 80 PIM4328 and PIM4X0681 82in4_label "vcap"83in4_input Measured voltage on holdup capacitor.84 85 PIM432886 87curr1_label "iin.0"88curr1_input Measured input current on input A.89 90 PIM4X0691 92curr2_label "iin.1"93curr2_input Measured input current on input B.94 95 PIM4X0696 97currX_label "iout1"98currX_input Measured output current.99currX_alarm Output current alarm.100 101 X is 1 for PIM4820, 3 otherwise.102 103temp1_input Measured temperature.104temp1_alarm High temperature alarm.105======================= ========================================================106