mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 14:52:05 +00:00
31f6765266
Mostly cleanup. No new drivers this time around, but support for several chips added to existing drivers: TPS40400, TPS40422, MTD040, MAX34446, ZL9101M, ZL9117M, and LM96080. Also, added watchdog support for SCH56xx, and additional attributes for a couple of drivers.312869e
hwmon: (sch56xx) Add support for the integrated watchdog (v2)840e191
hwmon: (w83627ehf) Add support for temperature offset registers86dda17
hwmon: (jc42) Remove unnecessary device IDs3360a10
hwmon: (zl6100) Add support for ZL9101M and ZL9117M9271126
hwmon: (adm1275) Add support for ADM1075590defe
hwmon: (max34440) Add support for MAX3444660b873e
hwmon: (pmbus) Add more virtual registers2163340
hwmon: (pmbus) Add support for Lineage Power MDT040c5f35c9
hwmon: (pmbus) Add support for TI TPS40400 and TPS4042256aad5d
hwmon: (max34440) Add support for 'lowest' output voltage attributef15df57
hwmon: (jc42) Convert to use devm_kzalloc918ddef
hwmon: (max16065) Convert to use devm_kzallocb8a5a7c
hwmon: (smm665) Convert to use devm_kzalloc3683928
hwmon: (ltc4261) Convert to use devm_kzallocdd285ad
hwmon: (pmbus) Simplify remove functions8b313ca
hwmon: (pmbus) Convert pmbus drivers to use devm_kzalloc07404aa
hwmon: (lineage-pem) Convert to use devm_kzallocf352df6
hwmon: (hwmon-vid) Fix checkpatch issues3230f70
hwmon: (hwmon-vid) Add new entries to VRM model table9908ad4
hwmon: (lm80) Add detection of NatSemi/TI LM960800e190b7
hwmon: (lm87) Get rid of macro-generated functions8652a26
hwmon: (lm87) Reorganize the code0fc86ec
hwmon: (applesmc) Silence uninitialized warnings7599d32
hwmon: (lm70) Fix: do not use assignment in if conditione200c14
hwmon: (lm70) Register hwmon device after creating attribute files, and remove it first01d9def
hwmon: (w83l786ng) Fix multi-line comments130067d
hwmon: (w83l785ts) Fix multi-line comments7950133
hwmon: (w83781d) Fix: do not use assignment in if conditionaff6e00
hwmon: (w83781d) Fix multi-line comments2a52dd6
hwmon: (smsc47b397) Fix multi-line comments36564ef
hwmon: (pc87427) Fix multi-line commentsb6707b7
hwmon: (max1668) Fix multi-line comments1160631
hwmon: (lm80) Fix multi-line commentsbf0f3a0
hwmon: (emc2103) Fix multi-line commentsfbb6670
hwmon: (adm1031) Fix multi-line comments94b991d
hwmon: (adm1029) Fix multi-line comments27b9de3
hwmon: (w83627hf) Fix checkpatch issuesca3ccad
hwmon: (w83l786ng) Fix checkpatch issues47efe87
hwmon: (w83793) Fix checkpatch issuesd174368
hwmon: (w83792d) Fix checkpatch issues2185696
hwmon: (vt1211) Fix: do not use assignment in if conditionb162c03
hwmon: (vt1211) Fix checkpatch issues9004ac8
hwmon: (via686a) Fix checkpatch issuesbce2778
hwmon: (pc87360) Fix: do not use assignment in if condition449a7a0
hwmon: (pc87360) Fix checkpatch issues8958dfb
hwmon: (max1619): Fix checkpatch issues09770b2
hwmon: (lm85) Fix checkpatch issues9b03079
hwmon: (lm78) Fix checkpatch issues02fe2fd
hwmon: (lm77) Fix checkpatch issuesf445a9a
hwmon: (gl520sm) Fix: do not use assignment in if condition43da3d1
hwmon: (gl520sm) Fix checkpatch issues228f8e0
hwmon: (gl518sm) Fix checkpatch issuesc8de836
hwmon: (dme1737) Fix checkpatch issues8c10369
hwmon: (asb100): Fix checkpatch issuesc387e4e
hwmon: (adm9240) Fix checkpatch issues86aa3e2
hwmon: (adm1026) Fix checkpatch issues21d2a8f
hwmon: (adm1021) Fix checkpatch issues1bd385d
hwmon: (abituguru) Fix checkpatch issues8969e84
hwmon: (w83627ehf) Fix multi-line comments51683ee
hwmon: (max1111) Fix multi-line comments1b05d22
hwmon: (ltc4151) Fix multi-line comments1b9c491
hwmon: (g760a) Fix multi-line comments20eaf72
hwmon: (f71882fg) Fix multi-line comments 4bebced hwmon: (emc1403) Fix multi-line commentsca3c7b6
hwmon: (amc6821) Fix multi-line comments10775d1
hwmon: (ads7871) Fix multi-line commentsd13d623
hwmon: (ads7828) Fix multi-line comments562fca2
hwmon: (abituguru3) Fix multi-line commentsec1c319
hwmon: (w83791d) Fix checkpatch issuesa80b10c
hwmon: (ultra45_env) Fix checkpatch issues4d387df
hwmon: (thmc50) Fix checkpatch issues85a0c0d
hwmon: (smsc47m1) Fix checkpatch issues 7e61268 hwmon: (smsc47m1) Fix: do not use assignment in if condition7cc3cb6
hwmon: (smsc47m192) Fix checkpatch issues8fda79e
hwmon: (sis5595) Fix checkpatch issues5725608
hwmon: (pcf8591) Fix checkpatch issues 2804a4c hwmon: (lm93) Fix checkpatch issuesa318afd
hwmon: (lm92) Fix checkpatch issues073f1e6c
hwmon: (lm87) Fix: do not use assignment in if conditionc6370db
hwmon: (lm87) Fix checkpatch issues525ad37
hwmon: (fschmd) Fix checkpatch issuesf24d548
hwmon: (atxp1) Fix checkpatch issues724cc33
hwmon: (adt7462) Fix checkpatch issues790fa38
hwmon: (ltc4215) Fix multi-line comments430b4fc
hwmon: (ltc4245) Fix multi-line commentsa68abd3
hwmon: (wm8350-hwmon) Constify fixed string array85ebfd3
hwmon: (applesmc) Fix multi-line comments75bdc93
hwmon: (asus_atk0110) Fix multi-line comments3c4c497
hwmon: (it87) Constify fixed string arrays8deeac8
hwmon: (ad7414) Fix multi-line comments5d577db
hwmon: (jc42) Fix multi-line comments780affe
hwmon: (coretemp) Fix checkpatch error3af2861
hwmon: (pc87360) Fix multi-line comments 07de3df hwmon: (wm831x-hwmon) Fix multi-line comments3c22e23
hwmon: (smm665) Fix checkpatch error3c56b06
hwmon: (asc7621) Fix multi-line comments4a0d71c
hwmon: (it87) Fix multi-line comments86d566e
hwmon: (hwmon-vid) Fix multi-line comments5ed0488
hwmon: (hwmon) Fix multi-line comments19f2c05
hwmon: (ds1621) Fix checkpatch issues91efffe
hwmon: convert drivers/hwmon/* to use module_spi_driver()f0967ee
hwmon: convert drivers/hwmon/* to use module_i2c_driver()61ba031
hwmon: (vt8231) Fix multi-line comments9ed5bc2
hwmon: (adt7475) Fix multi-line comments2fff084
hwmon: (f71805f) Fix checkpatch issues703af96
hwmon: (max6650) Fix multi-line commentsc531eb3
hwmon: (w83781d) Fix checkpatch issues2b22de5
hwmon: (adm1025) Fix checkpatch issues7973841
hwmon: (abituguru3) Fix checkpatch issues65fe5c7
hwmon: (vt8231) Fix checkpatch issues bafda5d hwmon: (max6650) Fix checkpatch issues0117c3f
hwmon: (pmbus) Replace strict_strtol with kstrtolb3789a0
hwmon: (lm83) fix checkpatch issues93092a6
hwmon: (k8temp) fix checkpatch issues96585f1
hwmon: (lm80) reset device if error occurred6a9e7c4c
hwmon: (lm80) fix checkpatch warnings6b904b6
hwmon: (adt7470) fix checkpatch issuese6a83db
hwmon: (adt7411) fix checkpatch issues56c24af
hwmon: (lm70) fix checkpatch issues1dc3708
hwmon: (f71882fg) fix checkpatch issuesc6e8ac0
hwmon: (asus_atk0110) fix checkpatch issues99b8c83
hwmon: (adt7475) fix checkpatch issuesb2ae8f8
hwmon: (smm665) fix checkpatch issuesc9e1498
hwmon: (sht15) fix checkpatch issues0910b28
hwmon: (ibmaem) fix checkpatch issuesdcb7cb9
hwmon: (ad7414) fix checkpatch issues e91aef2 hwmon: (ad7418) fix checkpatch issues5996542
hwmon: (w83l785ts) fix checkpatch issuesa6100f6
hwmon: (wm831x-hwmon) fix checkpatch issues839a9ee
hwmon: fix checkpatch issues08f5090
hwmon: (adm1029) fix checkpatch issues4d7c5d4
hwmon: (g760a) fix checkpatch issues7b102ed
hwmon: (i5k_amb) fix checkpatch issues600151b
hwmon: use DEFINE_PCI_DEVICE_TABLE7fe83ad
hwmon: remove () used with returna6bee4a
hwmon: (amc6821) fix initialisation2faaa93
hwmon: (lm80) add error handling -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAABAgAGBQJPaJBFAAoJEMsfJm/On5mBhkMP/09vlmsG7J3TLHcSKYJBkvSx 6VNOOJgPqnvF71Az0dX47SU3zVXhG3I7dZufd/hqOK+0CNylSB7OSZMcWvBTduea 0hDLTYj++SyVDQfVXb3zCVLU/wAE3YuXB3umWPwAKit4s2wAYYRDVCjwK96B88rv llNvo6JryuJDBUq7xiEmr0vKWMO0mKwwjpMTGCD3NpzK02ZV49T0gM94xa4gi5nM QAhNeO1AzQTx0+mBSRlq+SBBLSiXQmHcNrhnxcRMPha1bEi1D+QESozsczr+9/lz 8vuTIULOIZxafM4XkBsZdknvlZnYrA6ukituDfVfiYQVcljO/cNu+seutFQDCMJe 1zTDoNGIAwwnw0sAWWmTQwUMi+GSvlaL20gmm8FhTlvQaj9hNETsPYxEvPEsBNY1 ICCixZcwpa1mZBXmryz2btf8az0OlX/sApzyHiq24B7lSE5Fv4tBDtwypLRu5N8m C4oNXC2dqDU0gtVxzO5Lavu6LHWV9lhyZvRPO75+zxYt4i5cnO04GTAYWh46aOzO DAZcs8M2Rj++dI5VW9Vl0k8hP9eWjxtPJFhNv/OWTx4YYQRICrde+j7QZcikIUWF 0bzYI/zeIcwOg059vhnglBFM3mr7Z92jm4mftcNaSj/zuUHbWf6AQLbIq86Zq7tF 3Eru3WuTZTwAkyNAVWd5 =cUoW -----END PGP SIGNATURE----- Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging Pull hwmon changes for v3.4 from Guenter Roeck: "Mostly cleanup. No new drivers this time around, but support for several chips added to existing drivers: TPS40400, TPS40422, MTD040, MAX34446, ZL9101M, ZL9117M, and LM96080. Also, added watchdog support for SCH56xx, and additional attributes for a couple of drivers." * tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (137 commits) hwmon: (sch56xx) Add support for the integrated watchdog (v2) hwmon: (w83627ehf) Add support for temperature offset registers hwmon: (jc42) Remove unnecessary device IDs hwmon: (zl6100) Add support for ZL9101M and ZL9117M hwmon: (adm1275) Add support for ADM1075 hwmon: (max34440) Add support for MAX34446 hwmon: (pmbus) Add more virtual registers hwmon: (pmbus) Add support for Lineage Power MDT040 hwmon: (pmbus) Add support for TI TPS40400 and TPS40422 hwmon: (max34440) Add support for 'lowest' output voltage attribute hwmon: (jc42) Convert to use devm_kzalloc hwmon: (max16065) Convert to use devm_kzalloc hwmon: (smm665) Convert to use devm_kzalloc hwmon: (ltc4261) Convert to use devm_kzalloc hwmon: (pmbus) Simplify remove functions hwmon: (pmbus) Convert pmbus drivers to use devm_kzalloc hwmon: (lineage-pem) Convert to use devm_kzalloc hwmon: (hwmon-vid) Fix checkpatch issues hwmon: (hwmon-vid) Add new entries to VRM model table hwmon: (lm80) Add detection of NatSemi/TI LM96080 ...
112 lines
4.2 KiB
Plaintext
112 lines
4.2 KiB
Plaintext
Kernel driver max34440
|
|
======================
|
|
|
|
Supported chips:
|
|
* Maxim MAX34440
|
|
Prefixes: 'max34440'
|
|
Addresses scanned: -
|
|
Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX34440.pdf
|
|
* Maxim MAX34441
|
|
PMBus 5-Channel Power-Supply Manager and Intelligent Fan Controller
|
|
Prefixes: 'max34441'
|
|
Addresses scanned: -
|
|
Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX34441.pdf
|
|
* Maxim MAX34446
|
|
PMBus Power-Supply Data Logger
|
|
Prefixes: 'max34446'
|
|
Addresses scanned: -
|
|
Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX34446.pdf
|
|
|
|
Author: Guenter Roeck <guenter.roeck@ericsson.com>
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
This driver supports hardware montoring for Maxim MAX34440 PMBus 6-Channel
|
|
Power-Supply Manager, MAX34441 PMBus 5-Channel Power-Supply Manager
|
|
and Intelligent Fan Controller, and MAX34446 PMBus Power-Supply Data Logger.
|
|
|
|
The driver is a client driver to the core PMBus driver. Please see
|
|
Documentation/hwmon/pmbus for details on PMBus client drivers.
|
|
|
|
|
|
Usage Notes
|
|
-----------
|
|
|
|
This driver does not auto-detect devices. You will have to instantiate the
|
|
devices explicitly. Please see Documentation/i2c/instantiating-devices for
|
|
details.
|
|
|
|
For MAX34446, the value of the currX_crit attribute determines if current or
|
|
voltage measurement is enabled for a given channel. Voltage measurement is
|
|
enabled if currX_crit is set to 0; current measurement is enabled if the
|
|
attribute is set to a positive value. Power measurement is only enabled if
|
|
channel 1 (3) is configured for voltage measurement, and channel 2 (4) is
|
|
configured for current measurement.
|
|
|
|
|
|
Platform data support
|
|
---------------------
|
|
|
|
The driver supports standard PMBus driver platform data.
|
|
|
|
|
|
Sysfs entries
|
|
-------------
|
|
|
|
The following attributes are supported. Limits are read-write; all other
|
|
attributes are read-only.
|
|
|
|
in[1-6]_label "vout[1-6]".
|
|
in[1-6]_input Measured voltage. From READ_VOUT register.
|
|
in[1-6]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
|
|
in[1-6]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
|
|
in[1-6]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
|
|
in[1-6]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register.
|
|
in[1-6]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
|
|
in[1-6]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
|
|
in[1-6]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status.
|
|
in[1-6]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status.
|
|
in[1-6]_lowest Historical minimum voltage.
|
|
in[1-6]_highest Historical maximum voltage.
|
|
in[1-6]_reset_history Write any value to reset history.
|
|
|
|
MAX34446 only supports in[1-4].
|
|
|
|
curr[1-6]_label "iout[1-6]".
|
|
curr[1-6]_input Measured current. From READ_IOUT register.
|
|
curr[1-6]_max Maximum current. From IOUT_OC_WARN_LIMIT register.
|
|
curr[1-6]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register.
|
|
curr[1-6]_max_alarm Current high alarm. From IOUT_OC_WARNING status.
|
|
curr[1-6]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status.
|
|
curr[1-4]_average Historical average current (MAX34446 only).
|
|
curr[1-6]_highest Historical maximum current.
|
|
curr[1-6]_reset_history Write any value to reset history.
|
|
|
|
in6 and curr6 attributes only exist for MAX34440.
|
|
MAX34446 only supports curr[1-4].
|
|
|
|
power[1,3]_label "pout[1,3]"
|
|
power[1,3]_input Measured power.
|
|
power[1,3]_average Historical average power.
|
|
power[1,3]_highest Historical maximum power.
|
|
|
|
Power attributes only exist for MAX34446.
|
|
|
|
temp[1-8]_input Measured temperatures. From READ_TEMPERATURE_1 register.
|
|
temp1 is the chip's internal temperature. temp2..temp5
|
|
are remote I2C temperature sensors. For MAX34441, temp6
|
|
is a remote thermal-diode sensor. For MAX34440, temp6..8
|
|
are remote I2C temperature sensors.
|
|
temp[1-8]_max Maximum temperature. From OT_WARN_LIMIT register.
|
|
temp[1-8]_crit Critical high temperature. From OT_FAULT_LIMIT register.
|
|
temp[1-8]_max_alarm Temperature high alarm.
|
|
temp[1-8]_crit_alarm Temperature critical high alarm.
|
|
temp[1-8]_average Historical average temperature (MAX34446 only).
|
|
temp[1-8]_highest Historical maximum temperature.
|
|
temp[1-8]_reset_history Write any value to reset history.
|
|
|
|
temp7 and temp8 attributes only exist for MAX34440.
|
|
MAX34446 only supports temp[1-3].
|