treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / hwmon / ltc3815.rst
blobfb0135fc1925d31a3cd1419e51b21b9f1fd32383
1 Kernel driver ltc3815
2 =====================
4 Supported chips:
6   * Linear Technology LTC3815
8     Prefix: 'ltc3815'
10     Addresses scanned: -
12     Datasheet: http://www.linear.com/product/ltc3815
14 Author: Guenter Roeck <linux@roeck-us.net>
17 Description
18 -----------
20 LTC3815 is a Monolithic Synchronous DC/DC Step-Down Converter.
23 Usage Notes
24 -----------
26 This driver does not probe for PMBus devices. You will have to instantiate
27 devices explicitly.
29 Example: the following commands will load the driver for an LTC3815
30 at address 0x20 on I2C bus #1::
32         # modprobe ltc3815
33         # echo ltc3815 0x20 > /sys/bus/i2c/devices/i2c-1/new_device
36 Sysfs attributes
37 ----------------
39 ======================= =======================================================
40 in1_label               "vin"
41 in1_input               Measured input voltage.
42 in1_alarm               Input voltage alarm.
43 in1_highest             Highest input voltage.
44 in1_reset_history       Reset input voltage history.
46 in2_label               "vout1".
47 in2_input               Measured output voltage.
48 in2_alarm               Output voltage alarm.
49 in2_highest             Highest output voltage.
50 in2_reset_history       Reset output voltage history.
52 temp1_input             Measured chip temperature.
53 temp1_alarm             Temperature alarm.
54 temp1_highest           Highest measured temperature.
55 temp1_reset_history     Reset temperature history.
57 curr1_label             "iin".
58 curr1_input             Measured input current.
59 curr1_highest           Highest input current.
60 curr1_reset_history     Reset input current history.
62 curr2_label             "iout1".
63 curr2_input             Measured output current.
64 curr2_alarm             Output current alarm.
65 curr2_highest           Highest output current.
66 curr2_reset_history     Reset output current history.
67 ======================= =======================================================