]>
Commit | Line | Data |
---|---|---|
de779015 | 1 | Kernel driver ltc4151 |
2 | ===================== | |
3 | ||
4 | Supported chips: | |
b04f2f7d | 5 | |
de779015 | 6 | * Linear Technology LTC4151 |
b04f2f7d | 7 | |
de779015 | 8 | Prefix: 'ltc4151' |
b04f2f7d | 9 | |
de779015 | 10 | Addresses scanned: - |
b04f2f7d | 11 | |
de779015 | 12 | Datasheet: |
b04f2f7d MCC |
13 | |
14 | http://www.linear.com/docs/Datasheet/4151fc.pdf | |
de779015 | 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 | |
b04f2f7d MCC |
33 | on I2C bus #0:: |
34 | ||
35 | # modprobe ltc4151 | |
36 | # echo ltc4151 0x6f > /sys/bus/i2c/devices/i2c-0/new_device | |
de779015 | 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 | ||
b04f2f7d | 49 | ======================= ================== |
de779015 | 50 | in1_input VDIN voltage (mV) |
51 | ||
52 | in2_input ADIN voltage (mV) | |
53 | ||
54 | curr1_input SENSE current (mA) | |
b04f2f7d | 55 | ======================= ================== |