Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
46 lines
1.4 KiB
ReStructuredText
46 lines
1.4 KiB
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
Kernel driver max127
|
|
====================
|
|
|
|
Author:
|
|
|
|
* Tao Ren <rentao.bupt@gmail.com>
|
|
|
|
Supported chips:
|
|
|
|
* Maxim MAX127
|
|
|
|
Prefix: 'max127'
|
|
|
|
Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/max127-max128.pdf
|
|
|
|
Description
|
|
-----------
|
|
|
|
The MAX127 is a multirange, 12-bit data acquisition system (DAS) providing
|
|
8 analog input channels that are independently software programmable for
|
|
a variety of ranges. The available ranges are {0,5V}, {0,10V}, {-5,5V}
|
|
and {-10,10V}.
|
|
|
|
The MAX127 features a 2-wire, I2C-compatible serial interface that allows
|
|
communication among multiple devices using SDA and SCL lines.
|
|
|
|
Sysfs interface
|
|
---------------
|
|
|
|
============== ==============================================================
|
|
in[0-7]_input The input voltage (in mV) of the corresponding channel.
|
|
RO
|
|
|
|
in[0-7]_min The lower input limit (in mV) for the corresponding channel.
|
|
ADC range and LSB will be updated when the limit is changed.
|
|
For the MAX127, it will be adjusted to -10000, -5000, or 0.
|
|
RW
|
|
|
|
in[0-7]_max The higher input limit (in mV) for the corresponding channel.
|
|
ADC range and LSB will be updated when the limit is changed.
|
|
For the MAX127, it will be adjusted to 0, 5000, or 10000.
|
|
RW
|
|
============== ==============================================================
|