Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / Documentation / hwmon / adm1275.rst
blob467daf8ce3c5b0d6fa8846976eef8f4006bb2419
1 Kernel driver adm1275
2 =====================
4 Supported chips:
6   * Analog Devices ADM1075
8     Prefix: 'adm1075'
10     Addresses scanned: -
12     Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1075.pdf
14   * Analog Devices ADM1272
16     Prefix: 'adm1272'
18     Addresses scanned: -
20     Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1272.pdf
22   * Analog Devices ADM1275
24     Prefix: 'adm1275'
26     Addresses scanned: -
28     Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1275.pdf
30   * Analog Devices ADM1276
32     Prefix: 'adm1276'
34     Addresses scanned: -
36     Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1276.pdf
38   * Analog Devices ADM1278
40     Prefix: 'adm1278'
42     Addresses scanned: -
44     Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1278.pdf
46   * Analog Devices ADM1281
48     Prefix: 'adm1281'
50     Addresses scanned: -
52     Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/adm1281.pdf
54   * Analog Devices ADM1293/ADM1294
56     Prefix: 'adm1293', 'adm1294'
58     Addresses scanned: -
60     Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1293_1294.pdf
62 Author: Guenter Roeck <linux@roeck-us.net>
65 Description
66 -----------
68 This driver supports hardware monitoring for Analog Devices ADM1075, ADM1272,
69 ADM1275, ADM1276, ADM1278, ADM1281, ADM1293, and ADM1294 Hot-Swap Controller and
70 Digital Power Monitors.
72 ADM1075, ADM1272, ADM1275, ADM1276, ADM1278, ADM1281, ADM1293, and ADM1294 are hot-swap
73 controllers that allow a circuit board to be removed from or inserted into
74 a live backplane. They also feature current and voltage readback via an
75 integrated 12 bit analog-to-digital converter (ADC), accessed using a
76 PMBus interface.
78 The driver is a client driver to the core PMBus driver. Please see
79 Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
82 Usage Notes
83 -----------
85 This driver does not auto-detect devices. You will have to instantiate the
86 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
87 details.
89 The ADM1075, unlike many other PMBus devices, does not support internal voltage
90 or current scaling. Reported voltages, currents, and power are raw measurements,
91 and will typically have to be scaled.
93 The shunt value in micro-ohms can be set via device tree at compile-time. Please
94 refer to the Documentation/devicetree/bindings/hwmon/adi,adm1275.yaml for bindings
95 if the device tree is used.
97 Platform data support
98 ---------------------
100 The driver supports standard PMBus driver platform data. Please see
101 Documentation/hwmon/pmbus.rst for details.
104 Sysfs entries
105 -------------
107 The following attributes are supported. Limits are read-write, history reset
108 attributes are write-only, all other attributes are read-only.
110 ======================= =======================================================
111 inX_label               "vin1" or "vout1" depending on chip variant and
112                         configuration. On ADM1075, ADM1293, and ADM1294,
113                         vout1 reports the voltage on the VAUX pin.
114 inX_input               Measured voltage.
115 inX_min                 Minimum Voltage.
116 inX_max                 Maximum voltage.
117 inX_min_alarm           Voltage low alarm.
118 inX_max_alarm           Voltage high alarm.
119 inX_highest             Historical maximum voltage.
120 inX_reset_history       Write any value to reset history.
122 curr1_label             "iout1"
123 curr1_input             Measured current.
124 curr1_max               Maximum current.
125 curr1_max_alarm         Current high alarm.
126 curr1_lcrit             Critical minimum current. Depending on the chip
127                         configuration, either curr1_lcrit or curr1_crit is
128                         supported, but not both.
129 curr1_lcrit_alarm       Critical current low alarm.
130 curr1_crit              Critical maximum current. Depending on the chip
131                         configuration, either curr1_lcrit or curr1_crit is
132                         supported, but not both.
133 curr1_crit_alarm        Critical current high alarm.
134 curr1_highest           Historical maximum current.
135 curr1_reset_history     Write any value to reset history.
137 power1_label            "pin1"
138 power1_input            Input power.
139 power1_input_lowest     Lowest observed input power. ADM1293 and ADM1294 only.
140 power1_input_highest    Highest observed input power.
141 power1_reset_history    Write any value to reset history.
143                         Power attributes are supported on ADM1075, ADM1272,
144                         ADM1276, ADM1293, and ADM1294.
146 temp1_input             Chip temperature.
147 temp1_max               Maximum chip temperature.
148 temp1_max_alarm         Temperature alarm.
149 temp1_crit              Critical chip temperature.
150 temp1_crit_alarm        Critical temperature high alarm.
151 temp1_highest           Highest observed temperature.
152 temp1_reset_history     Write any value to reset history.
154                         Temperature attributes are supported on ADM1272 and
155                         ADM1278, and ADM1281.
156 ======================= =======================================================