diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-23 12:26:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-23 12:26:20 -0400 |
commit | 6fad2b5b649fa1fa6ee7293222815f5b62499889 (patch) | |
tree | c2f9735e8868d3ce5decb5a08c56e1a1cc9730af /Documentation | |
parent | 19504828b4bee5e471bcd35e214bc6fd0d380692 (diff) | |
parent | 4cc452758fd250bb5968c583d825bb0e68d65db0 (diff) |
Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging
* 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging:
hwmon: (coretemp) Fix checkpatch errors
hwmon: Remove pkgtemp driver
hwmon: (coretemp) Merge pkgtemp with coretemp
hwmon: (pmbus) Add support for Analog Devices ADM1275
hwmon: (pmbus) Support for TI UCD90xxx series Sequencer and System Health Controllers
hwmon: (pmbus) Add support for TI UCD9200 series of PWM System Controllers
hwmon: (pmbus) Use device specific function to read fan configuration
hwmon: (pmbus) Expand scope of device specific get_status function
hwmon: (pmbus) Introduce infrastructure to detect sensors and limit registers
hwmon: Driver for MAX16065 System Manager and compatibles
hwmon: (sht15) add support for CRC validation
hwmon: (sht15) add support for the status register
hwmon: (sht15) clean-up the probe function
hwmon: (sht15) general code clean-up
hwmon: Add support for MAX6642
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/hwmon/adm1275 | 60 | ||||
-rw-r--r-- | Documentation/hwmon/coretemp | 21 | ||||
-rw-r--r-- | Documentation/hwmon/max16065 | 98 | ||||
-rw-r--r-- | Documentation/hwmon/max6642 | 21 | ||||
-rw-r--r-- | Documentation/hwmon/pkgtemp | 36 | ||||
-rw-r--r-- | Documentation/hwmon/sht15 | 74 | ||||
-rw-r--r-- | Documentation/hwmon/ucd9000 | 110 | ||||
-rw-r--r-- | Documentation/hwmon/ucd9200 | 112 |
8 files changed, 489 insertions, 43 deletions
diff --git a/Documentation/hwmon/adm1275 b/Documentation/hwmon/adm1275 new file mode 100644 index 000000000000..6a3a6476cf20 --- /dev/null +++ b/Documentation/hwmon/adm1275 | |||
@@ -0,0 +1,60 @@ | |||
1 | Kernel driver adm1275 | ||
2 | ===================== | ||
3 | |||
4 | Supported chips: | ||
5 | * Analog Devices ADM1275 | ||
6 | Prefix: 'adm1275' | ||
7 | Addresses scanned: - | ||
8 | Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1275.pdf | ||
9 | |||
10 | Author: Guenter Roeck <guenter.roeck@ericsson.com> | ||
11 | |||
12 | |||
13 | Description | ||
14 | ----------- | ||
15 | |||
16 | This driver supports hardware montoring for Analog Devices ADM1275 Hot-Swap | ||
17 | Controller and Digital Power Monitor. | ||
18 | |||
19 | The ADM1275 is a hot-swap controller that allows a circuit board to be removed | ||
20 | from or inserted into a live backplane. It also features current and voltage | ||
21 | readback via an integrated 12-bit analog-to-digital converter (ADC), accessed | ||
22 | using a PMBus. interface. | ||
23 | |||
24 | The driver is a client driver to the core PMBus driver. Please see | ||
25 | Documentation/hwmon/pmbus for details on PMBus client drivers. | ||
26 | |||
27 | |||
28 | Usage Notes | ||
29 | ----------- | ||
30 | |||
31 | This driver does not auto-detect devices. You will have to instantiate the | ||
32 | devices explicitly. Please see Documentation/i2c/instantiating-devices for | ||
33 | details. | ||
34 | |||
35 | |||
36 | Platform data support | ||
37 | --------------------- | ||
38 | |||
39 | The driver supports standard PMBus driver platform data. Please see | ||
40 | Documentation/hwmon/pmbus for details. | ||
41 | |||
42 | |||
43 | Sysfs entries | ||
44 | ------------- | ||
45 | |||
46 | The following attributes are supported. Limits are read-write; all other | ||
47 | attributes are read-only. | ||
48 | |||
49 | in1_label "vin1" or "vout1" depending on chip variant and | ||
50 | configuration. | ||
51 | in1_input Measured voltage. From READ_VOUT register. | ||
52 | in1_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register. | ||
53 | in1_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. | ||
54 | in1_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. | ||
55 | in1_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. | ||
56 | |||
57 | curr1_label "iout1" | ||
58 | curr1_input Measured current. From READ_IOUT register. | ||
59 | curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register. | ||
60 | curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT register. | ||
diff --git a/Documentation/hwmon/coretemp b/Documentation/hwmon/coretemp index 25568f844804..f85e913a3401 100644 --- a/Documentation/hwmon/coretemp +++ b/Documentation/hwmon/coretemp | |||
@@ -15,8 +15,13 @@ Author: Rudolf Marek | |||
15 | 15 | ||
16 | Description | 16 | Description |
17 | ----------- | 17 | ----------- |
18 | This driver permits reading the DTS (Digital Temperature Sensor) embedded | ||
19 | inside Intel CPUs. This driver can read both the per-core and per-package | ||
20 | temperature using the appropriate sensors. The per-package sensor is new; | ||
21 | as of now, it is present only in the SandyBridge platform. The driver will | ||
22 | show the temperature of all cores inside a package under a single device | ||
23 | directory inside hwmon. | ||
18 | 24 | ||
19 | This driver permits reading temperature sensor embedded inside Intel Core CPU. | ||
20 | Temperature is measured in degrees Celsius and measurement resolution is | 25 | Temperature is measured in degrees Celsius and measurement resolution is |
21 | 1 degree C. Valid temperatures are from 0 to TjMax degrees C, because | 26 | 1 degree C. Valid temperatures are from 0 to TjMax degrees C, because |
22 | the actual value of temperature register is in fact a delta from TjMax. | 27 | the actual value of temperature register is in fact a delta from TjMax. |
@@ -27,13 +32,15 @@ mechanism will perform actions to forcibly cool down the processor. Alarm | |||
27 | may be raised, if the temperature grows enough (more than TjMax) to trigger | 32 | may be raised, if the temperature grows enough (more than TjMax) to trigger |
28 | the Out-Of-Spec bit. Following table summarizes the exported sysfs files: | 33 | the Out-Of-Spec bit. Following table summarizes the exported sysfs files: |
29 | 34 | ||
30 | temp1_input - Core temperature (in millidegrees Celsius). | 35 | All Sysfs entries are named with their core_id (represented here by 'X'). |
31 | temp1_max - All cooling devices should be turned on (on Core2). | 36 | tempX_input - Core temperature (in millidegrees Celsius). |
32 | temp1_crit - Maximum junction temperature (in millidegrees Celsius). | 37 | tempX_max - All cooling devices should be turned on (on Core2). |
33 | temp1_crit_alarm - Set when Out-of-spec bit is set, never clears. | 38 | tempX_crit - Maximum junction temperature (in millidegrees Celsius). |
39 | tempX_crit_alarm - Set when Out-of-spec bit is set, never clears. | ||
34 | Correct CPU operation is no longer guaranteed. | 40 | Correct CPU operation is no longer guaranteed. |
35 | temp1_label - Contains string "Core X", where X is processor | 41 | tempX_label - Contains string "Core X", where X is processor |
36 | number. | 42 | number. For Package temp, this will be "Physical id Y", |
43 | where Y is the package number. | ||
37 | 44 | ||
38 | The TjMax temperature is set to 85 degrees C if undocumented model specific | 45 | The TjMax temperature is set to 85 degrees C if undocumented model specific |
39 | register (UMSR) 0xee has bit 30 set. If not the TjMax is 100 degrees C as | 46 | register (UMSR) 0xee has bit 30 set. If not the TjMax is 100 degrees C as |
diff --git a/Documentation/hwmon/max16065 b/Documentation/hwmon/max16065 new file mode 100644 index 000000000000..44b4f61e04f9 --- /dev/null +++ b/Documentation/hwmon/max16065 | |||
@@ -0,0 +1,98 @@ | |||
1 | Kernel driver max16065 | ||
2 | ====================== | ||
3 | |||
4 | Supported chips: | ||
5 | * Maxim MAX16065, MAX16066 | ||
6 | Prefixes: 'max16065', 'max16066' | ||
7 | Addresses scanned: - | ||
8 | Datasheet: | ||
9 | http://datasheets.maxim-ic.com/en/ds/MAX16065-MAX16066.pdf | ||
10 | * Maxim MAX16067 | ||
11 | Prefix: 'max16067' | ||
12 | Addresses scanned: - | ||
13 | Datasheet: | ||
14 | http://datasheets.maxim-ic.com/en/ds/MAX16067.pdf | ||
15 | * Maxim MAX16068 | ||
16 | Prefix: 'max16068' | ||
17 | Addresses scanned: - | ||
18 | Datasheet: | ||
19 | http://datasheets.maxim-ic.com/en/ds/MAX16068.pdf | ||
20 | * Maxim MAX16070/MAX16071 | ||
21 | Prefixes: 'max16070', 'max16071' | ||
22 | Addresses scanned: - | ||
23 | Datasheet: | ||
24 | http://datasheets.maxim-ic.com/en/ds/MAX16070-MAX16071.pdf | ||
25 | |||
26 | |||
27 | Author: Guenter Roeck <guenter.roeck@ericsson.com> | ||
28 | |||
29 | |||
30 | Description | ||
31 | ----------- | ||
32 | |||
33 | [From datasheets] The MAX16065/MAX16066 flash-configurable system managers | ||
34 | monitor and sequence multiple system voltages. The MAX16065/MAX16066 can also | ||
35 | accurately monitor (+/-2.5%) one current channel using a dedicated high-side | ||
36 | current-sense amplifier. The MAX16065 manages up to twelve system voltages | ||
37 | simultaneously, and the MAX16066 manages up to eight supply voltages. | ||
38 | |||
39 | The MAX16067 flash-configurable system manager monitors and sequences multiple | ||
40 | system voltages. The MAX16067 manages up to six system voltages simultaneously. | ||
41 | |||
42 | The MAX16068 flash-configurable system manager monitors and manages up to six | ||
43 | system voltages simultaneously. | ||
44 | |||
45 | The MAX16070/MAX16071 flash-configurable system monitors supervise multiple | ||
46 | system voltages. The MAX16070/MAX16071 can also accurately monitor (+/-2.5%) | ||
47 | one current channel using a dedicated high-side current-sense amplifier. The | ||
48 | MAX16070 monitors up to twelve system voltages simultaneously, and the MAX16071 | ||
49 | monitors up to eight supply voltages. | ||
50 | |||
51 | Each monitored channel has its own low and high critical limits. MAX16065, | ||
52 | MAX16066, MAX16070, and MAX16071 support an additional limit which is | ||
53 | configurable as either low or high secondary limit. MAX16065, MAX16066, | ||
54 | MAX16070, and MAX16071 also support supply current monitoring. | ||
55 | |||
56 | |||
57 | Usage Notes | ||
58 | ----------- | ||
59 | |||
60 | This driver does not probe for devices, since there is no register which | ||
61 | can be safely used to identify the chip. You will have to instantiate | ||
62 | the devices explicitly. Please see Documentation/i2c/instantiating-devices for | ||
63 | details. | ||
64 | |||
65 | |||
66 | Sysfs entries | ||
67 | ------------- | ||
68 | |||
69 | in[0-11]_input Input voltage measurements. | ||
70 | |||
71 | in12_input Voltage on CSP (Current Sense Positive) pin. | ||
72 | Only if the chip supports current sensing and if | ||
73 | current sensing is enabled. | ||
74 | |||
75 | in[0-11]_min Low warning limit. | ||
76 | Supported on MAX16065, MAX16066, MAX16070, and MAX16071 | ||
77 | only. | ||
78 | |||
79 | in[0-11]_max High warning limit. | ||
80 | Supported on MAX16065, MAX16066, MAX16070, and MAX16071 | ||
81 | only. | ||
82 | |||
83 | Either low or high warning limits are supported | ||
84 | (depending on chip configuration), but not both. | ||
85 | |||
86 | in[0-11]_lcrit Low critical limit. | ||
87 | |||
88 | in[0-11]_crit High critical limit. | ||
89 | |||
90 | in[0-11]_alarm Input voltage alarm. | ||
91 | |||
92 | curr1_input Current sense input; only if the chip supports current | ||
93 | sensing and if current sensing is enabled. | ||
94 | Displayed current assumes 0.001 Ohm current sense | ||
95 | resistor. | ||
96 | |||
97 | curr1_alarm Overcurrent alarm; only if the chip supports current | ||
98 | sensing and if current sensing is enabled. | ||
diff --git a/Documentation/hwmon/max6642 b/Documentation/hwmon/max6642 new file mode 100644 index 000000000000..afbd3e4942e2 --- /dev/null +++ b/Documentation/hwmon/max6642 | |||
@@ -0,0 +1,21 @@ | |||
1 | Kernel driver max6642 | ||
2 | ===================== | ||
3 | |||
4 | Supported chips: | ||
5 | * Maxim MAX6642 | ||
6 | Prefix: 'max6642' | ||
7 | Addresses scanned: I2C 0x48-0x4f | ||
8 | Datasheet: Publicly available at the Maxim website | ||
9 | http://datasheets.maxim-ic.com/en/ds/MAX6642.pdf | ||
10 | |||
11 | Authors: | ||
12 | Per Dalen <per.dalen@appeartv.com> | ||
13 | |||
14 | Description | ||
15 | ----------- | ||
16 | |||
17 | The MAX6642 is a digital temperature sensor. It senses its own temperature as | ||
18 | well as the temperature on one external diode. | ||
19 | |||
20 | All temperature values are given in degrees Celsius. Resolution | ||
21 | is 0.25 degree for the local temperature and for the remote temperature. | ||
diff --git a/Documentation/hwmon/pkgtemp b/Documentation/hwmon/pkgtemp deleted file mode 100644 index c8e1fb0fadd3..000000000000 --- a/Documentation/hwmon/pkgtemp +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | Kernel driver pkgtemp | ||
2 | ====================== | ||
3 | |||
4 | Supported chips: | ||
5 | * Intel family | ||
6 | Prefix: 'pkgtemp' | ||
7 | CPUID: | ||
8 | Datasheet: Intel 64 and IA-32 Architectures Software Developer's Manual | ||
9 | Volume 3A: System Programming Guide | ||
10 | |||
11 | Author: Fenghua Yu | ||
12 | |||
13 | Description | ||
14 | ----------- | ||
15 | |||
16 | This driver permits reading package level temperature sensor embedded inside | ||
17 | Intel CPU package. The sensors can be in core, uncore, memory controller, or | ||
18 | other components in a package. The feature is first implemented in Intel Sandy | ||
19 | Bridge platform. | ||
20 | |||
21 | Temperature is measured in degrees Celsius and measurement resolution is | ||
22 | 1 degree C. Valid temperatures are from 0 to TjMax degrees C, because the actual | ||
23 | value of temperature register is in fact a delta from TjMax. | ||
24 | |||
25 | Temperature known as TjMax is the maximum junction temperature of package. | ||
26 | We get this from MSR_IA32_TEMPERATURE_TARGET. If the MSR is not accessible, | ||
27 | we define TjMax as 100 degrees Celsius. At this temperature, protection | ||
28 | mechanism will perform actions to forcibly cool down the package. Alarm | ||
29 | may be raised, if the temperature grows enough (more than TjMax) to trigger | ||
30 | the Out-Of-Spec bit. Following table summarizes the exported sysfs files: | ||
31 | |||
32 | temp1_input - Package temperature (in millidegrees Celsius). | ||
33 | temp1_max - All cooling devices should be turned on. | ||
34 | temp1_crit - Maximum junction temperature (in millidegrees Celsius). | ||
35 | temp1_crit_alarm - Set when Out-of-spec bit is set, never clears. | ||
36 | Correct CPU operation is no longer guaranteed. | ||
diff --git a/Documentation/hwmon/sht15 b/Documentation/hwmon/sht15 new file mode 100644 index 000000000000..02850bdfac18 --- /dev/null +++ b/Documentation/hwmon/sht15 | |||
@@ -0,0 +1,74 @@ | |||
1 | Kernel driver sht15 | ||
2 | =================== | ||
3 | |||
4 | Authors: | ||
5 | * Wouter Horre | ||
6 | * Jonathan Cameron | ||
7 | * Vivien Didelot <vivien.didelot@savoirfairelinux.com> | ||
8 | * Jerome Oufella <jerome.oufella@savoirfairelinux.com> | ||
9 | |||
10 | Supported chips: | ||
11 | * Sensirion SHT10 | ||
12 | Prefix: 'sht10' | ||
13 | |||
14 | * Sensirion SHT11 | ||
15 | Prefix: 'sht11' | ||
16 | |||
17 | * Sensirion SHT15 | ||
18 | Prefix: 'sht15' | ||
19 | |||
20 | * Sensirion SHT71 | ||
21 | Prefix: 'sht71' | ||
22 | |||
23 | * Sensirion SHT75 | ||
24 | Prefix: 'sht75' | ||
25 | |||
26 | Datasheet: Publicly available at the Sensirion website | ||
27 | http://www.sensirion.ch/en/pdf/product_information/Datasheet-humidity-sensor-SHT1x.pdf | ||
28 | |||
29 | Description | ||
30 | ----------- | ||
31 | |||
32 | The SHT10, SHT11, SHT15, SHT71, and SHT75 are humidity and temperature | ||
33 | sensors. | ||
34 | |||
35 | The devices communicate using two GPIO lines. | ||
36 | |||
37 | Supported resolutions for the measurements are 14 bits for temperature and 12 | ||
38 | bits for humidity, or 12 bits for temperature and 8 bits for humidity. | ||
39 | |||
40 | The humidity calibration coefficients are programmed into an OTP memory on the | ||
41 | chip. These coefficients are used to internally calibrate the signals from the | ||
42 | sensors. Disabling the reload of those coefficients allows saving 10ms for each | ||
43 | measurement and decrease power consumption, while loosing on precision. | ||
44 | |||
45 | Some options may be set directly in the sht15_platform_data structure | ||
46 | or via sysfs attributes. | ||
47 | |||
48 | Notes: | ||
49 | * The regulator supply name is set to "vcc". | ||
50 | * If a CRC validation fails, a soft reset command is sent, which resets | ||
51 | status register to its hardware default value, but the driver will try to | ||
52 | restore the previous device configuration. | ||
53 | |||
54 | Platform data | ||
55 | ------------- | ||
56 | |||
57 | * checksum: | ||
58 | set it to true to enable CRC validation of the readings (default to false). | ||
59 | * no_otp_reload: | ||
60 | flag to indicate not to reload from OTP (default to false). | ||
61 | * low_resolution: | ||
62 | flag to indicate the temp/humidity resolution to use (default to false). | ||
63 | |||
64 | Sysfs interface | ||
65 | --------------- | ||
66 | |||
67 | * temp1_input: temperature input | ||
68 | * humidity1_input: humidity input | ||
69 | * heater_enable: write 1 in this attribute to enable the on-chip heater, | ||
70 | 0 to disable it. Be careful not to enable the heater | ||
71 | for too long. | ||
72 | * temp1_fault: if 1, this means that the voltage is low (below 2.47V) and | ||
73 | measurement may be invalid. | ||
74 | * humidity1_fault: same as temp1_fault. | ||
diff --git a/Documentation/hwmon/ucd9000 b/Documentation/hwmon/ucd9000 new file mode 100644 index 000000000000..40ca6db50c48 --- /dev/null +++ b/Documentation/hwmon/ucd9000 | |||
@@ -0,0 +1,110 @@ | |||
1 | Kernel driver ucd9000 | ||
2 | ===================== | ||
3 | |||
4 | Supported chips: | ||
5 | * TI UCD90120, UCD90124, UCD9090, and UCD90910 | ||
6 | Prefixes: 'ucd90120', 'ucd90124', 'ucd9090', 'ucd90910' | ||
7 | Addresses scanned: - | ||
8 | Datasheets: | ||
9 | http://focus.ti.com/lit/ds/symlink/ucd90120.pdf | ||
10 | http://focus.ti.com/lit/ds/symlink/ucd90124.pdf | ||
11 | http://focus.ti.com/lit/ds/symlink/ucd9090.pdf | ||
12 | http://focus.ti.com/lit/ds/symlink/ucd90910.pdf | ||
13 | |||
14 | Author: Guenter Roeck <guenter.roeck@ericsson.com> | ||
15 | |||
16 | |||
17 | Description | ||
18 | ----------- | ||
19 | |||
20 | From datasheets: | ||
21 | |||
22 | The UCD90120 Power Supply Sequencer and System Health Monitor monitors and | ||
23 | sequences up to 12 independent voltage rails. The device integrates a 12-bit | ||
24 | ADC with a 2.5V internal reference for monitoring up to 13 power supply voltage, | ||
25 | current, or temperature inputs. | ||
26 | |||
27 | The UCD90124 is a 12-rail PMBus/I2C addressable power-supply sequencer and | ||
28 | system-health monitor. The device integrates a 12-bit ADC for monitoring up to | ||
29 | 13 power-supply voltage, current, or temperature inputs. Twenty-six GPIO pins | ||
30 | can be used for power supply enables, power-on reset signals, external | ||
31 | interrupts, cascading, or other system functions. Twelve of these pins offer PWM | ||
32 | functionality. Using these pins, the UCD90124 offers support for fan control, | ||
33 | margining, and general-purpose PWM functions. | ||
34 | |||
35 | The UCD9090 is a 10-rail PMBus/I2C addressable power-supply sequencer and | ||
36 | monitor. The device integrates a 12-bit ADC for monitoring up to 10 power-supply | ||
37 | voltage inputs. Twenty-three GPIO pins can be used for power supply enables, | ||
38 | power-on reset signals, external interrupts, cascading, or other system | ||
39 | functions. Ten of these pins offer PWM functionality. Using these pins, the | ||
40 | UCD9090 offers support for margining, and general-purpose PWM functions. | ||
41 | |||
42 | The UCD90910 is a ten-rail I2C / PMBus addressable power-supply sequencer and | ||
43 | system-health monitor. The device integrates a 12-bit ADC for monitoring up to | ||
44 | 13 power-supply voltage, current, or temperature inputs. | ||
45 | |||
46 | This driver is a client driver to the core PMBus driver. Please see | ||
47 | Documentation/hwmon/pmbus for details on PMBus client drivers. | ||
48 | |||
49 | |||
50 | Usage Notes | ||
51 | ----------- | ||
52 | |||
53 | This driver does not auto-detect devices. You will have to instantiate the | ||
54 | devices explicitly. Please see Documentation/i2c/instantiating-devices for | ||
55 | details. | ||
56 | |||
57 | |||
58 | Platform data support | ||
59 | --------------------- | ||
60 | |||
61 | The driver supports standard PMBus driver platform data. Please see | ||
62 | Documentation/hwmon/pmbus for details. | ||
63 | |||
64 | |||
65 | Sysfs entries | ||
66 | ------------- | ||
67 | |||
68 | The following attributes are supported. Limits are read-write; all other | ||
69 | attributes are read-only. | ||
70 | |||
71 | in[1-12]_label "vout[1-12]". | ||
72 | in[1-12]_input Measured voltage. From READ_VOUT register. | ||
73 | in[1-12]_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register. | ||
74 | in[1-12]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. | ||
75 | in[1-12]_lcrit Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register. | ||
76 | in[1-12]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. | ||
77 | in[1-12]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. | ||
78 | in[1-12]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. | ||
79 | in[1-12]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status. | ||
80 | in[1-12]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status. | ||
81 | |||
82 | curr[1-12]_label "iout[1-12]". | ||
83 | curr[1-12]_input Measured current. From READ_IOUT register. | ||
84 | curr[1-12]_max Maximum current. From IOUT_OC_WARN_LIMIT register. | ||
85 | curr[1-12]_lcrit Critical minumum output current. From IOUT_UC_FAULT_LIMIT | ||
86 | register. | ||
87 | curr[1-12]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. | ||
88 | curr[1-12]_max_alarm Current high alarm. From IOUT_OC_WARNING status. | ||
89 | curr[1-12]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. | ||
90 | |||
91 | For each attribute index, either voltage or current is | ||
92 | reported, but not both. If voltage or current is | ||
93 | reported depends on the chip configuration. | ||
94 | |||
95 | temp[1-2]_input Measured temperatures. From READ_TEMPERATURE_1 and | ||
96 | READ_TEMPERATURE_2 registers. | ||
97 | temp[1-2]_max Maximum temperature. From OT_WARN_LIMIT register. | ||
98 | temp[1-2]_crit Critical high temperature. From OT_FAULT_LIMIT register. | ||
99 | temp[1-2]_max_alarm Temperature high alarm. | ||
100 | temp[1-2]_crit_alarm Temperature critical high alarm. | ||
101 | |||
102 | fan[1-4]_input Fan RPM. | ||
103 | fan[1-4]_alarm Fan alarm. | ||
104 | fan[1-4]_fault Fan fault. | ||
105 | |||
106 | Fan attributes are only available on chips supporting | ||
107 | fan control (UCD90124, UCD90910). Attribute files are | ||
108 | created only for enabled fans. | ||
109 | Note that even though UCD90910 supports up to 10 fans, | ||
110 | only up to four fans are currently supported. | ||
diff --git a/Documentation/hwmon/ucd9200 b/Documentation/hwmon/ucd9200 new file mode 100644 index 000000000000..3c58607f72fe --- /dev/null +++ b/Documentation/hwmon/ucd9200 | |||
@@ -0,0 +1,112 @@ | |||
1 | Kernel driver ucd9200 | ||
2 | ===================== | ||
3 | |||
4 | Supported chips: | ||
5 | * TI UCD9220, UCD9222, UCD9224, UCD9240, UCD9244, UCD9246, and UCD9248 | ||
6 | Prefixes: 'ucd9220', 'ucd9222', 'ucd9224', 'ucd9240', 'ucd9244', 'ucd9246', | ||
7 | 'ucd9248' | ||
8 | Addresses scanned: - | ||
9 | Datasheets: | ||
10 | http://focus.ti.com/lit/ds/symlink/ucd9220.pdf | ||
11 | http://focus.ti.com/lit/ds/symlink/ucd9222.pdf | ||
12 | http://focus.ti.com/lit/ds/symlink/ucd9224.pdf | ||
13 | http://focus.ti.com/lit/ds/symlink/ucd9240.pdf | ||
14 | http://focus.ti.com/lit/ds/symlink/ucd9244.pdf | ||
15 | http://focus.ti.com/lit/ds/symlink/ucd9246.pdf | ||
16 | http://focus.ti.com/lit/ds/symlink/ucd9248.pdf | ||
17 | |||
18 | Author: Guenter Roeck <guenter.roeck@ericsson.com> | ||
19 | |||
20 | |||
21 | Description | ||
22 | ----------- | ||
23 | |||
24 | [From datasheets] UCD9220, UCD9222, UCD9224, UCD9240, UCD9244, UCD9246, and | ||
25 | UCD9248 are multi-rail, multi-phase synchronous buck digital PWM controllers | ||
26 | designed for non-isolated DC/DC power applications. The devices integrate | ||
27 | dedicated circuitry for DC/DC loop management with flash memory and a serial | ||
28 | interface to support configuration, monitoring and management. | ||
29 | |||
30 | This driver is a client driver to the core PMBus driver. Please see | ||
31 | Documentation/hwmon/pmbus for details on PMBus client drivers. | ||
32 | |||
33 | |||
34 | Usage Notes | ||
35 | ----------- | ||
36 | |||
37 | This driver does not auto-detect devices. You will have to instantiate the | ||
38 | devices explicitly. Please see Documentation/i2c/instantiating-devices for | ||
39 | details. | ||
40 | |||
41 | |||
42 | Platform data support | ||
43 | --------------------- | ||
44 | |||
45 | The driver supports standard PMBus driver platform data. Please see | ||
46 | Documentation/hwmon/pmbus for details. | ||
47 | |||
48 | |||
49 | Sysfs entries | ||
50 | ------------- | ||
51 | |||
52 | The following attributes are supported. Limits are read-write; all other | ||
53 | attributes are read-only. | ||
54 | |||
55 | in1_label "vin". | ||
56 | in1_input Measured voltage. From READ_VIN register. | ||
57 | in1_min Minumum Voltage. From VIN_UV_WARN_LIMIT register. | ||
58 | in1_max Maximum voltage. From VIN_OV_WARN_LIMIT register. | ||
59 | in1_lcrit Critical minumum Voltage. VIN_UV_FAULT_LIMIT register. | ||
60 | in1_crit Critical maximum voltage. From VIN_OV_FAULT_LIMIT register. | ||
61 | in1_min_alarm Voltage low alarm. From VIN_UV_WARNING status. | ||
62 | in1_max_alarm Voltage high alarm. From VIN_OV_WARNING status. | ||
63 | in1_lcrit_alarm Voltage critical low alarm. From VIN_UV_FAULT status. | ||
64 | in1_crit_alarm Voltage critical high alarm. From VIN_OV_FAULT status. | ||
65 | |||
66 | in[2-5]_label "vout[1-4]". | ||
67 | in[2-5]_input Measured voltage. From READ_VOUT register. | ||
68 | in[2-5]_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register. | ||
69 | in[2-5]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. | ||
70 | in[2-5]_lcrit Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register. | ||
71 | in[2-5]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register. | ||
72 | in[2-5]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. | ||
73 | in[2-5]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. | ||
74 | in[2-5]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status. | ||
75 | in[2-5]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status. | ||
76 | |||
77 | curr1_label "iin". | ||
78 | curr1_input Measured current. From READ_IIN register. | ||
79 | |||
80 | curr[2-5]_label "iout[1-4]". | ||
81 | curr[2-5]_input Measured current. From READ_IOUT register. | ||
82 | curr[2-5]_max Maximum current. From IOUT_OC_WARN_LIMIT register. | ||
83 | curr[2-5]_lcrit Critical minumum output current. From IOUT_UC_FAULT_LIMIT | ||
84 | register. | ||
85 | curr[2-5]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. | ||
86 | curr[2-5]_max_alarm Current high alarm. From IOUT_OC_WARNING status. | ||
87 | curr[2-5]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. | ||
88 | |||
89 | power1_input Measured input power. From READ_PIN register. | ||
90 | power1_label "pin" | ||
91 | |||
92 | power[2-5]_input Measured output power. From READ_POUT register. | ||
93 | power[2-5]_label "pout[1-4]" | ||
94 | |||
95 | The number of output voltage, current, and power | ||
96 | attribute sets is determined by the number of enabled | ||
97 | rails. See chip datasheets for details. | ||
98 | |||
99 | temp[1-5]_input Measured temperatures. From READ_TEMPERATURE_1 and | ||
100 | READ_TEMPERATURE_2 registers. | ||
101 | temp1 is the chip internal temperature. temp[2-5] are | ||
102 | rail temperatures. temp[2-5] attributes are only | ||
103 | created for enabled rails. See chip datasheets for | ||
104 | details. | ||
105 | temp[1-5]_max Maximum temperature. From OT_WARN_LIMIT register. | ||
106 | temp[1-5]_crit Critical high temperature. From OT_FAULT_LIMIT register. | ||
107 | temp[1-5]_max_alarm Temperature high alarm. | ||
108 | temp[1-5]_crit_alarm Temperature critical high alarm. | ||
109 | |||
110 | fan1_input Fan RPM. ucd9240 only. | ||
111 | fan1_alarm Fan alarm. ucd9240 only. | ||
112 | fan1_fault Fan fault. ucd9240 only. | ||