1*4882a593SmuzhiyunKernel driver adt7411 2*4882a593Smuzhiyun===================== 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunSupported chips: 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun * Analog Devices ADT7411 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun Prefix: 'adt7411' 9*4882a593Smuzhiyun 10*4882a593Smuzhiyun Addresses scanned: 0x48, 0x4a, 0x4b 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun Datasheet: Publicly available at the Analog Devices website 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunAuthor: Wolfram Sang (based on adt7470 by Darrick J. Wong) 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunDescription 17*4882a593Smuzhiyun----------- 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunThis driver implements support for the Analog Devices ADT7411 chip. There may 20*4882a593Smuzhiyunbe other chips that implement this interface. 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunThe ADT7411 can use an I2C/SMBus compatible 2-wire interface or an 23*4882a593SmuzhiyunSPI-compatible 4-wire interface. It provides a 10-bit analog to digital 24*4882a593Smuzhiyunconverter which measures 1 temperature, vdd and 8 input voltages. It has an 25*4882a593Smuzhiyuninternal temperature sensor, but an external one can also be connected (one 26*4882a593Smuzhiyunloses 2 inputs then). There are high- and low-limit registers for all inputs. 27*4882a593Smuzhiyun 28*4882a593SmuzhiyunCheck the datasheet for details. 29*4882a593Smuzhiyun 30*4882a593Smuzhiyunsysfs-Interface 31*4882a593Smuzhiyun--------------- 32*4882a593Smuzhiyun 33*4882a593Smuzhiyun================ ================= 34*4882a593Smuzhiyunin0_input vdd voltage input 35*4882a593Smuzhiyunin[1-8]_input analog 1-8 input 36*4882a593Smuzhiyuntemp1_input temperature input 37*4882a593Smuzhiyun================ ================= 38*4882a593Smuzhiyun 39*4882a593SmuzhiyunBesides standard interfaces, this driver adds (0 = off, 1 = on): 40*4882a593Smuzhiyun 41*4882a593Smuzhiyun ============== ======================================================= 42*4882a593Smuzhiyun adc_ref_vdd Use vdd as reference instead of 2.25 V 43*4882a593Smuzhiyun fast_sampling Sample at 22.5 kHz instead of 1.4 kHz, but drop filters 44*4882a593Smuzhiyun no_average Turn off averaging over 16 samples 45*4882a593Smuzhiyun ============== ======================================================= 46*4882a593Smuzhiyun 47*4882a593SmuzhiyunNotes 48*4882a593Smuzhiyun----- 49*4882a593Smuzhiyun 50*4882a593SmuzhiyunSPI, external temperature sensor and limit registers are not supported yet. 51