KVM: Refactor and simplify kvm_dev_ioctl_get_supported_cpuid
[platform/adaptation/renesas_rcar/renesas_kernel.git] / Documentation / hwmon / adm1275
1 Kernel driver adm1275
2 =====================
3
4 Supported chips:
5   * Analog Devices ADM1275
6     Prefix: 'adm1275'
7     Addresses scanned: -
8     Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1275.pdf
9   * Analog Devices ADM1276
10     Prefix: 'adm1276'
11     Addresses scanned: -
12     Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1276.pdf
13
14 Author: Guenter Roeck <guenter.roeck@ericsson.com>
15
16
17 Description
18 -----------
19
20 This driver supports hardware montoring for Analog Devices ADM1275 and ADM1276
21 Hot-Swap Controller and Digital Power Monitor.
22
23 ADM1275 and ADM1276 are hot-swap controllers that allow a circuit board to be
24 removed from or inserted into a live backplane. They also feature current and
25 voltage readback via an integrated 12-bit analog-to-digital converter (ADC),
26 accessed using a PMBus interface.
27
28 The driver is a client driver to the core PMBus driver. Please see
29 Documentation/hwmon/pmbus for details on PMBus client drivers.
30
31
32 Usage Notes
33 -----------
34
35 This driver does not auto-detect devices. You will have to instantiate the
36 devices explicitly. Please see Documentation/i2c/instantiating-devices for
37 details.
38
39
40 Platform data support
41 ---------------------
42
43 The driver supports standard PMBus driver platform data. Please see
44 Documentation/hwmon/pmbus for details.
45
46
47 Sysfs entries
48 -------------
49
50 The following attributes are supported. Limits are read-write, history reset
51 attributes are write-only, all other attributes are read-only.
52
53 in1_label               "vin1" or "vout1" depending on chip variant and
54                         configuration.
55 in1_input               Measured voltage.
56 in1_min                 Minumum Voltage.
57 in1_max                 Maximum voltage.
58 in1_min_alarm           Voltage low alarm.
59 in1_max_alarm           Voltage high alarm.
60 in1_highest             Historical maximum voltage.
61 in1_reset_history       Write any value to reset history.
62
63 curr1_label             "iout1"
64 curr1_input             Measured current.
65 curr1_max               Maximum current.
66 curr1_max_alarm         Current high alarm.
67 curr1_lcrit             Critical minimum current. Depending on the chip
68                         configuration, either curr1_lcrit or curr1_crit is
69                         supported, but not both.
70 curr1_lcrit_alarm       Critical current low alarm.
71 curr1_crit              Critical maximum current. Depending on the chip
72                         configuration, either curr1_lcrit or curr1_crit is
73                         supported, but not both.
74 curr1_crit_alarm        Critical current high alarm.
75 curr1_highest           Historical maximum current.
76 curr1_reset_history     Write any value to reset history.