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