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