| 1 |
.. SPDX-License-Identifier: GPL-2.0-or-later |
| 2 |
|
| 3 |
Kernel driver max127 |
| 4 |
==================== |
| 5 |
|
| 6 |
Author: |
| 7 |
|
| 8 |
* Tao Ren <[email protected]> |
| 9 |
|
| 10 |
Supported chips: |
| 11 |
|
| 12 |
* Maxim MAX127 |
| 13 |
|
| 14 |
Prefix: 'max127' |
| 15 |
|
| 16 |
Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/max127-max128.pdf |
| 17 |
|
| 18 |
Description |
| 19 |
----------- |
| 20 |
|
| 21 |
The MAX127 is a multirange, 12-bit data acquisition system (DAS) providing |
| 22 |
8 analog input channels that are independently software programmable for |
| 23 |
a variety of ranges. The available ranges are {0,5V}, {0,10V}, {-5,5V} |
| 24 |
and {-10,10V}. |
| 25 |
|
| 26 |
The MAX127 features a 2-wire, I2C-compatible serial interface that allows |
| 27 |
communication among multiple devices using SDA and SCL lines. |
| 28 |
|
| 29 |
Sysfs 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 |
============== ============================================================== |