per.dalen@appeartv.com | de77901 | 2011-03-03 14:13:21 -0500 | [diff] [blame] | 1 | Kernel driver ltc4151 |
| 2 | ===================== |
| 3 | |
| 4 | Supported chips: |
| 5 | * Linear Technology LTC4151 |
| 6 | Prefix: 'ltc4151' |
| 7 | Addresses scanned: - |
| 8 | Datasheet: |
| 9 | http://www.linear.com/docs/Datasheet/4151fc.pdf |
| 10 | |
| 11 | Author: Per Dalen <per.dalen@appeartv.com> |
| 12 | |
| 13 | |
| 14 | Description |
| 15 | ----------- |
| 16 | |
| 17 | The LTC4151 is a High Voltage I2C Current and Voltage Monitor. |
| 18 | |
| 19 | |
| 20 | Usage Notes |
| 21 | ----------- |
| 22 | |
| 23 | This driver does not probe for LTC4151 devices, since there is no register |
| 24 | which can be safely used to identify the chip. You will have to instantiate |
| 25 | the devices explicitly. |
| 26 | |
| 27 | Example: the following will load the driver for an LTC4151 at address 0x6f |
| 28 | on I2C bus #0: |
| 29 | # modprobe ltc4151 |
| 30 | # echo ltc4151 0x6f > /sys/bus/i2c/devices/i2c-0/new_device |
| 31 | |
| 32 | |
| 33 | Sysfs entries |
| 34 | ------------- |
| 35 | |
| 36 | Voltage readings provided by this driver are reported as obtained from the ADIN |
| 37 | and VIN registers. |
| 38 | |
| 39 | Current reading provided by this driver is reported as obtained from the Current |
| 40 | Sense register. The reported value assumes that a 1 mOhm sense resistor is |
| 41 | installed. |
| 42 | |
| 43 | in1_input VDIN voltage (mV) |
| 44 | |
| 45 | in2_input ADIN voltage (mV) |
| 46 | |
| 47 | curr1_input SENSE current (mA) |