Back to home page

OSCL-LXR

 
 

    


0001 Kernel driver lm25066
0002 =====================
0003 
0004 Supported chips:
0005 
0006   * TI LM25056
0007 
0008     Prefix: 'lm25056'
0009 
0010     Addresses scanned: -
0011 
0012     Datasheets:
0013 
0014         https://www.ti.com/lit/gpn/lm25056
0015 
0016         https://www.ti.com/lit/gpn/lm25056a
0017 
0018   * National Semiconductor LM25066
0019 
0020     Prefix: 'lm25066'
0021 
0022     Addresses scanned: -
0023 
0024     Datasheets:
0025 
0026         http://www.national.com/pf/LM/LM25066.html
0027 
0028         http://www.national.com/pf/LM/LM25066A.html
0029 
0030   * National Semiconductor LM5064
0031 
0032     Prefix: 'lm5064'
0033 
0034     Addresses scanned: -
0035 
0036     Datasheet:
0037 
0038         http://www.national.com/pf/LM/LM5064.html
0039 
0040   * National Semiconductor LM5066
0041 
0042     Prefix: 'lm5066'
0043 
0044     Addresses scanned: -
0045 
0046     Datasheet:
0047 
0048         http://www.national.com/pf/LM/LM5066.html
0049 
0050   * Texas Instruments LM5066I
0051 
0052     Prefix: 'lm5066i'
0053 
0054     Addresses scanned: -
0055 
0056         Datasheet:
0057 
0058     https://www.ti.com/product/LM5066I
0059 
0060 
0061 Author: Guenter Roeck <linux@roeck-us.net>
0062 
0063 
0064 Description
0065 -----------
0066 
0067 This driver supports hardware monitoring for National Semiconductor / TI LM25056,
0068 LM25066, LM5064, and LM5066/LM5066I Power Management, Monitoring,
0069 Control, and Protection ICs.
0070 
0071 The driver is a client driver to the core PMBus driver. Please see
0072 Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
0073 
0074 
0075 Usage Notes
0076 -----------
0077 
0078 This driver does not auto-detect devices. You will have to instantiate the
0079 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
0080 details.
0081 
0082 The shunt (sense) resistor value can be configured by a device tree property;
0083 see Documentation/devicetree/bindings/hwmon/pmbus/ti,lm25066.yaml for details.
0084 
0085 Platform data support
0086 ---------------------
0087 
0088 The driver supports standard PMBus driver platform data.
0089 
0090 
0091 Sysfs entries
0092 -------------
0093 
0094 The following attributes are supported. Limits are read-write; all other
0095 attributes are read-only.
0096 
0097 ======================= =======================================================
0098 in1_label               "vin"
0099 in1_input               Measured input voltage.
0100 in1_average             Average measured input voltage.
0101 in1_min                 Minimum input voltage.
0102 in1_max                 Maximum input voltage.
0103 in1_min_alarm           Input voltage low alarm.
0104 in1_max_alarm           Input voltage high alarm.
0105 
0106 in2_label               "vmon"
0107 in2_input               Measured voltage on VAUX pin
0108 in2_min                 Minimum VAUX voltage (LM25056 only).
0109 in2_max                 Maximum VAUX voltage (LM25056 only).
0110 in2_min_alarm           VAUX voltage low alarm (LM25056 only).
0111 in2_max_alarm           VAUX voltage high alarm (LM25056 only).
0112 
0113 in3_label               "vout1"
0114                         Not supported on LM25056.
0115 in3_input               Measured output voltage.
0116 in3_average             Average measured output voltage.
0117 in3_min                 Minimum output voltage.
0118 in3_min_alarm           Output voltage low alarm.
0119 
0120 curr1_label             "iin"
0121 curr1_input             Measured input current.
0122 curr1_average           Average measured input current.
0123 curr1_max               Maximum input current.
0124 curr1_max_alarm         Input current high alarm.
0125 
0126 power1_label            "pin"
0127 power1_input            Measured input power.
0128 power1_average          Average measured input power.
0129 power1_max              Maximum input power limit.
0130 power1_alarm            Input power alarm
0131 power1_input_highest    Historical maximum power.
0132 power1_reset_history    Write any value to reset maximum power history.
0133 
0134 temp1_input             Measured temperature.
0135 temp1_max               Maximum temperature.
0136 temp1_crit              Critical high temperature.
0137 temp1_max_alarm         Chip temperature high alarm.
0138 temp1_crit_alarm        Chip temperature critical high alarm.
0139 ======================= =======================================================