brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · dc192dd Raw
46 lines · plain
1.. SPDX-License-Identifier: GPL-2.0-or-later2 3Kernel driver max1274====================5 6Author:7 8  * Tao Ren <rentao.bupt@gmail.com>9 10Supported chips:11 12  * Maxim MAX12713 14    Prefix: 'max127'15 16    Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX127-MAX128.pdf17 18Description19-----------20 21The MAX127 is a multirange, 12-bit data acquisition system (DAS) providing228 analog input channels that are independently software programmable for23a 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 allows27communication among multiple devices using SDA and SCL lines.28 29Sysfs interface30---------------31 32  ============== ==============================================================33  in[0-7]_input  The input voltage (in mV) of the corresponding channel.34		 RO35 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		 RW40 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		 RW45  ============== ==============================================================46