xref: /linux/Documentation/hwmon/max127.rst (revision 6c8c1406a6d6a3f2e61ac590f5c0994231bc6be7)
1.. SPDX-License-Identifier: GPL-2.0-or-later
2
3Kernel driver max127
4====================
5
6Author:
7
8  * Tao Ren <rentao.bupt@gmail.com>
9
10Supported chips:
11
12  * Maxim MAX127
13
14    Prefix: 'max127'
15
16    Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX127-MAX128.pdf
17
18Description
19-----------
20
21The MAX127 is a multirange, 12-bit data acquisition system (DAS) providing
228 analog input channels that are independently software programmable for
23a variety of ranges. The available ranges are {0,5V}, {0,10V}, {-5,5V}
24and {-10,10V}.
25
26The MAX127 features a 2-wire, I2C-compatible serial interface that allows
27communication among multiple devices using SDA and SCL lines.
28
29Sysfs interface
30---------------
31
32  ============== ==============================================================
33  in[0-7]_input  The input voltage (in mV) of the corresponding channel.
34		 RO
35
36  in[0-7]_min    The lower input limit (in mV) for the corresponding channel.
37		 ADC range and LSB will be updated when the limit is changed.
38		 For the MAX127, it will be adjusted to -10000, -5000, or 0.
39		 RW
40
41  in[0-7]_max    The higher input limit (in mV) for the corresponding channel.
42		 ADC range and LSB will be updated when the limit is changed.
43		 For the MAX127, it will be adjusted to 0, 5000, or 10000.
44		 RW
45  ============== ==============================================================
46