treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / hwmon / max20751.rst
blobfe701e07eaf50e2e568ae260f4f8ec54108406c2
1 Kernel driver max20751
2 ======================
4 Supported chips:
6   * maxim MAX20751
8     Prefix: 'max20751'
10     Addresses scanned: -
12     Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX20751.pdf
14     Application note: http://pdfserv.maximintegrated.com/en/an/AN5941.pdf
16 Author: Guenter Roeck <linux@roeck-us.net>
19 Description
20 -----------
22 This driver supports MAX20751 Multiphase Master with PMBus Interface
23 and Internal Buck Converter.
25 The driver is a client driver to the core PMBus driver.
26 Please see Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
29 Usage Notes
30 -----------
32 This driver does not auto-detect devices. You will have to instantiate the
33 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
34 details.
37 Platform data support
38 ---------------------
40 The driver supports standard PMBus driver platform data.
43 Sysfs entries
44 -------------
46 The following attributes are supported.
48 ======================= =======================================================
49 in1_label               "vin1"
50 in1_input               Measured voltage.
51 in1_min                 Minimum input voltage.
52 in1_max                 Maximum input voltage.
53 in1_lcrit               Critical minimum input voltage.
54 in1_crit                Critical maximum input voltage.
55 in1_min_alarm           Input voltage low alarm.
56 in1_lcrit_alarm         Input voltage critical low alarm.
57 in1_min_alarm           Input voltage low alarm.
58 in1_max_alarm           Input voltage high alarm.
60 in2_label               "vout1"
61 in2_input               Measured voltage.
62 in2_min                 Minimum output voltage.
63 in2_max                 Maximum output voltage.
64 in2_lcrit               Critical minimum output voltage.
65 in2_crit                Critical maximum output voltage.
66 in2_min_alarm           Output voltage low alarm.
67 in2_lcrit_alarm         Output voltage critical low alarm.
68 in2_min_alarm           Output voltage low alarm.
69 in2_max_alarm           Output voltage high alarm.
71 curr1_input             Measured output current.
72 curr1_label             "iout1"
73 curr1_max               Maximum output current.
74 curr1_alarm             Current high alarm.
76 temp1_input             Measured temperature.
77 temp1_max               Maximum temperature.
78 temp1_crit              Critical high temperature.
79 temp1_max_alarm         Chip temperature high alarm.
80 temp1_crit_alarm        Chip temperature critical high alarm.
82 power1_input            Output power.
83 power1_label            "pout1"
84 ======================= =======================================================