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