Samuel Mendoza-Jonas | 8991ebd | 2017-05-01 10:39:01 +1000 | [diff] [blame] | 1 | Kernel driver ir35221 |
| 2 | ===================== |
| 3 | |
| 4 | Supported chips: |
| 5 | * Infinion IR35221 |
| 6 | Prefix: 'ir35221' |
| 7 | Addresses scanned: - |
| 8 | Datasheet: Datasheet is not publicly available. |
| 9 | |
| 10 | Author: Samuel Mendoza-Jonas <sam@mendozajonas.com> |
| 11 | |
| 12 | |
| 13 | Description |
| 14 | ----------- |
| 15 | |
| 16 | IR35221 is a Digital DC-DC Multiphase Converter |
| 17 | |
| 18 | |
| 19 | Usage Notes |
| 20 | ----------- |
| 21 | |
| 22 | This driver does not probe for PMBus devices. You will have to instantiate |
| 23 | devices explicitly. |
| 24 | |
| 25 | Example: the following commands will load the driver for an IR35221 |
| 26 | at address 0x70 on I2C bus #4: |
| 27 | |
| 28 | # modprobe ir35221 |
| 29 | # echo ir35221 0x70 > /sys/bus/i2c/devices/i2c-4/new_device |
| 30 | |
| 31 | |
| 32 | Sysfs attributes |
| 33 | ---------------- |
| 34 | |
| 35 | curr1_label "iin" |
| 36 | curr1_input Measured input current |
| 37 | curr1_max Maximum current |
| 38 | curr1_max_alarm Current high alarm |
| 39 | |
| 40 | curr[2-3]_label "iout[1-2]" |
| 41 | curr[2-3]_input Measured output current |
| 42 | curr[2-3]_crit Critical maximum current |
| 43 | curr[2-3]_crit_alarm Current critical high alarm |
| 44 | curr[2-3]_highest Highest output current |
| 45 | curr[2-3]_lowest Lowest output current |
| 46 | curr[2-3]_max Maximum current |
| 47 | curr[2-3]_max_alarm Current high alarm |
| 48 | |
| 49 | in1_label "vin" |
| 50 | in1_input Measured input voltage |
| 51 | in1_crit Critical maximum input voltage |
| 52 | in1_crit_alarm Input voltage critical high alarm |
| 53 | in1_highest Highest input voltage |
| 54 | in1_lowest Lowest input voltage |
| 55 | in1_min Minimum input voltage |
| 56 | in1_min_alarm Input voltage low alarm |
| 57 | |
| 58 | in[2-3]_label "vout[1-2]" |
| 59 | in[2-3]_input Measured output voltage |
| 60 | in[2-3]_lcrit Critical minimum output voltage |
| 61 | in[2-3]_lcrit_alarm Output voltage critical low alarm |
| 62 | in[2-3]_crit Critical maximum output voltage |
| 63 | in[2-3]_crit_alarm Output voltage critical high alarm |
| 64 | in[2-3]_highest Highest output voltage |
| 65 | in[2-3]_lowest Lowest output voltage |
| 66 | in[2-3]_max Maximum output voltage |
| 67 | in[2-3]_max_alarm Output voltage high alarm |
| 68 | in[2-3]_min Minimum output voltage |
| 69 | in[2-3]_min_alarm Output voltage low alarm |
| 70 | |
| 71 | power1_label "pin" |
| 72 | power1_input Measured input power |
| 73 | power1_alarm Input power high alarm |
| 74 | power1_max Input power limit |
| 75 | |
| 76 | power[2-3]_label "pout[1-2]" |
| 77 | power[2-3]_input Measured output power |
| 78 | power[2-3]_max Output power limit |
| 79 | power[2-3]_max_alarm Output power high alarm |
| 80 | |
| 81 | temp[1-2]_input Measured temperature |
| 82 | temp[1-2]_crit Critical high temperature |
| 83 | temp[1-2]_crit_alarm Chip temperature critical high alarm |
| 84 | temp[1-2]_highest Highest temperature |
| 85 | temp[1-2]_lowest Lowest temperature |
| 86 | temp[1-2]_max Maximum temperature |
| 87 | temp[1-2]_max_alarm Chip temperature high alarm |