diff options
29 files changed, 1025 insertions, 224 deletions
diff --git a/Documentation/hwmon/ads1015 b/Documentation/hwmon/ads1015 index 063b80d857b1..02d2a459385f 100644 --- a/Documentation/hwmon/ads1015 +++ b/Documentation/hwmon/ads1015 | |||
| @@ -40,7 +40,7 @@ By default all inputs are exported. | |||
| 40 | Platform Data | 40 | Platform Data |
| 41 | ------------- | 41 | ------------- |
| 42 | 42 | ||
| 43 | In linux/i2c/ads1015.h platform data is defined, channel_data contains | 43 | In linux/platform_data/ads1015.h platform data is defined, channel_data contains |
| 44 | configuration data for the used input combinations: | 44 | configuration data for the used input combinations: |
| 45 | - pga is the programmable gain amplifier (values are full scale) | 45 | - pga is the programmable gain amplifier (values are full scale) |
| 46 | 0: +/- 6.144 V | 46 | 0: +/- 6.144 V |
diff --git a/Documentation/hwmon/adt7475 b/Documentation/hwmon/adt7475 index 0502f2b464e1..09d73a10644c 100644 --- a/Documentation/hwmon/adt7475 +++ b/Documentation/hwmon/adt7475 | |||
| @@ -109,6 +109,15 @@ fan speed) is applied. PWM values range from 0 (off) to 255 (full speed). | |||
| 109 | Fan speed may be set to maximum when the temperature sensor associated with | 109 | Fan speed may be set to maximum when the temperature sensor associated with |
| 110 | the PWM control exceeds temp#_max. | 110 | the PWM control exceeds temp#_max. |
| 111 | 111 | ||
| 112 | At Tmin - hysteresis the PWM output can either be off (0% duty cycle) or at the | ||
| 113 | minimum (i.e. auto_point1_pwm). This behaviour can be configured using the | ||
| 114 | pwm[1-*]_stall_disable sysfs attribute. A value of 0 means the fans will shut | ||
| 115 | off. A value of 1 means the fans will run at auto_point1_pwm. | ||
| 116 | |||
| 117 | The responsiveness of the ADT747x to temperature changes can be configured. | ||
| 118 | This allows smoothing of the fan speed transition. To set the transition time | ||
| 119 | set the value in ms in the temp[1-*]_smoothing sysfs attribute. | ||
| 120 | |||
| 112 | Notes | 121 | Notes |
| 113 | ----- | 122 | ----- |
| 114 | 123 | ||
diff --git a/Documentation/hwmon/ir35221 b/Documentation/hwmon/ir35221 new file mode 100644 index 000000000000..f7e112752c04 --- /dev/null +++ b/Documentation/hwmon/ir35221 | |||
| @@ -0,0 +1,87 @@ | |||
| 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 | ||
diff --git a/Documentation/hwmon/ltc4245 b/Documentation/hwmon/ltc4245 index b478b0864965..4ca7a9da09f9 100644 --- a/Documentation/hwmon/ltc4245 +++ b/Documentation/hwmon/ltc4245 | |||
| @@ -96,7 +96,7 @@ slowly, -EAGAIN will be returned when you read the sysfs attribute containing | |||
| 96 | the sensor reading. | 96 | the sensor reading. |
| 97 | 97 | ||
| 98 | The LTC4245 chip can be configured to sample all GPIO pins with two methods: | 98 | The LTC4245 chip can be configured to sample all GPIO pins with two methods: |
| 99 | 1) platform data -- see include/linux/i2c/ltc4245.h | 99 | 1) platform data -- see include/linux/platform_data/ltc4245.h |
| 100 | 2) OF device tree -- add the "ltc4245,use-extra-gpios" property to each chip | 100 | 2) OF device tree -- add the "ltc4245,use-extra-gpios" property to each chip |
| 101 | 101 | ||
| 102 | The default mode of operation is to sample a single GPIO pin. | 102 | The default mode of operation is to sample a single GPIO pin. |
diff --git a/Documentation/hwmon/pmbus-core b/Documentation/hwmon/pmbus-core index 31e4720fed18..8ed10e9ddfb5 100644 --- a/Documentation/hwmon/pmbus-core +++ b/Documentation/hwmon/pmbus-core | |||
| @@ -253,7 +253,7 @@ Specifically, it provides the following information. | |||
| 253 | PMBus driver platform data | 253 | PMBus driver platform data |
| 254 | ========================== | 254 | ========================== |
| 255 | 255 | ||
| 256 | PMBus platform data is defined in include/linux/i2c/pmbus.h. Platform data | 256 | PMBus platform data is defined in include/linux/pmbus.h. Platform data |
| 257 | currently only provides a flag field with a single bit used. | 257 | currently only provides a flag field with a single bit used. |
| 258 | 258 | ||
| 259 | #define PMBUS_SKIP_STATUS_CHECK (1 << 0) | 259 | #define PMBUS_SKIP_STATUS_CHECK (1 << 0) |
diff --git a/MAINTAINERS b/MAINTAINERS index 9a55295e5efc..67ab1aba1fcc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -478,7 +478,7 @@ L: linux-hwmon@vger.kernel.org | |||
| 478 | S: Maintained | 478 | S: Maintained |
| 479 | F: Documentation/hwmon/ads1015 | 479 | F: Documentation/hwmon/ads1015 |
| 480 | F: drivers/hwmon/ads1015.c | 480 | F: drivers/hwmon/ads1015.c |
| 481 | F: include/linux/i2c/ads1015.h | 481 | F: include/linux/platform_data/ads1015.h |
| 482 | 482 | ||
| 483 | ADT746X FAN DRIVER | 483 | ADT746X FAN DRIVER |
| 484 | M: Colin Leroy <colin@colino.net> | 484 | M: Colin Leroy <colin@colino.net> |
| @@ -10179,7 +10179,7 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git | |||
| 10179 | S: Maintained | 10179 | S: Maintained |
| 10180 | F: Documentation/hwmon/pmbus | 10180 | F: Documentation/hwmon/pmbus |
| 10181 | F: drivers/hwmon/pmbus/ | 10181 | F: drivers/hwmon/pmbus/ |
| 10182 | F: include/linux/i2c/pmbus.h | 10182 | F: include/linux/pmbus.h |
| 10183 | 10183 | ||
| 10184 | PMC SIERRA MaxRAID DRIVER | ||
