1*4882a593SmuzhiyunKernel driver ltc4151 2*4882a593Smuzhiyun===================== 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunSupported chips: 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun * Linear Technology LTC4151 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun Prefix: 'ltc4151' 9*4882a593Smuzhiyun 10*4882a593Smuzhiyun Addresses scanned: - 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun Datasheet: 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun http://www.linear.com/docs/Datasheet/4151fc.pdf 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunAuthor: Per Dalen <per.dalen@appeartv.com> 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunDescription 20*4882a593Smuzhiyun----------- 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunThe LTC4151 is a High Voltage I2C Current and Voltage Monitor. 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun 25*4882a593SmuzhiyunUsage Notes 26*4882a593Smuzhiyun----------- 27*4882a593Smuzhiyun 28*4882a593SmuzhiyunThis driver does not probe for LTC4151 devices, since there is no register 29*4882a593Smuzhiyunwhich can be safely used to identify the chip. You will have to instantiate 30*4882a593Smuzhiyunthe devices explicitly. 31*4882a593Smuzhiyun 32*4882a593SmuzhiyunExample: the following will load the driver for an LTC4151 at address 0x6f 33*4882a593Smuzhiyunon I2C bus #0:: 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun # modprobe ltc4151 36*4882a593Smuzhiyun # echo ltc4151 0x6f > /sys/bus/i2c/devices/i2c-0/new_device 37*4882a593Smuzhiyun 38*4882a593Smuzhiyun 39*4882a593SmuzhiyunSysfs entries 40*4882a593Smuzhiyun------------- 41*4882a593Smuzhiyun 42*4882a593SmuzhiyunVoltage readings provided by this driver are reported as obtained from the ADIN 43*4882a593Smuzhiyunand VIN registers. 44*4882a593Smuzhiyun 45*4882a593SmuzhiyunCurrent reading provided by this driver is reported as obtained from the Current 46*4882a593SmuzhiyunSense register. The reported value assumes that a 1 mOhm sense resistor is 47*4882a593Smuzhiyuninstalled. 48*4882a593Smuzhiyun 49*4882a593Smuzhiyun======================= ================== 50*4882a593Smuzhiyunin1_input VDIN voltage (mV) 51*4882a593Smuzhiyun 52*4882a593Smuzhiyunin2_input ADIN voltage (mV) 53*4882a593Smuzhiyun 54*4882a593Smuzhiyuncurr1_input SENSE current (mA) 55*4882a593Smuzhiyun======================= ================== 56