Ira Snyder | 72f5de9 | 2009-03-31 15:24:29 -0700 | [diff] [blame] | 1 | Kernel driver ltc4215 |
| 2 | ===================== |
| 3 | |
| 4 | Supported chips: |
| 5 | * Linear Technology LTC4215 |
| 6 | Prefix: 'ltc4215' |
| 7 | Addresses scanned: 0x44 |
| 8 | Datasheet: |
| 9 | http://www.linear.com/pc/downloadDocument.do?navId=H0,C1,C1003,C1006,C1163,P17572,D12697 |
| 10 | |
| 11 | Author: Ira W. Snyder <iws@ovro.caltech.edu> |
| 12 | |
| 13 | |
| 14 | Description |
| 15 | ----------- |
| 16 | |
| 17 | The LTC4215 controller allows a board to be safely inserted and removed |
| 18 | from a live backplane. |
| 19 | |
| 20 | |
| 21 | Usage Notes |
| 22 | ----------- |
| 23 | |
| 24 | This driver does not probe for LTC4215 devices, due to the fact that some |
Jean Delvare | 2d2a7cf | 2009-10-04 22:53:42 +0200 | [diff] [blame] | 25 | of the possible addresses are unfriendly to probing. You will have to |
| 26 | instantiate the devices explicitly. |
Ira Snyder | 72f5de9 | 2009-03-31 15:24:29 -0700 | [diff] [blame] | 27 | |
| 28 | Example: the following will load the driver for an LTC4215 at address 0x44 |
| 29 | on I2C bus #0: |
Jean Delvare | 2d2a7cf | 2009-10-04 22:53:42 +0200 | [diff] [blame] | 30 | $ modprobe ltc4215 |
| 31 | $ echo ltc4215 0x44 > /sys/bus/i2c/devices/i2c-0/new_device |
Ira Snyder | 72f5de9 | 2009-03-31 15:24:29 -0700 | [diff] [blame] | 32 | |
| 33 | |
| 34 | Sysfs entries |
| 35 | ------------- |
| 36 | |
| 37 | The LTC4215 has built-in limits for overvoltage, undervoltage, and |
| 38 | undercurrent warnings. This makes it very likely that the reference |
| 39 | circuit will be used. |
| 40 | |
| 41 | in1_input input voltage |
| 42 | in2_input output voltage |
| 43 | |
| 44 | in1_min_alarm input undervoltage alarm |
| 45 | in1_max_alarm input overvoltage alarm |
| 46 | |
| 47 | curr1_input current |
| 48 | curr1_max_alarm overcurrent alarm |
| 49 | |
| 50 | power1_input power usage |
| 51 | power1_alarm power bad alarm |