mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +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 registers 86dda17 hwmon: (jc42) Remove unnecessary device IDs 3360a10 hwmon: (zl6100) Add support for ZL9101M and ZL9117M 9271126 hwmon: (adm1275) Add support for ADM1075 590defe hwmon: (max34440) Add support for MAX34446 60b873e hwmon: (pmbus) Add more virtual registers 2163340 hwmon: (pmbus) Add support for Lineage Power MDT040 c5f35c9 hwmon: (pmbus) Add support for TI TPS40400 and TPS40422 56aad5d hwmon: (max34440) Add support for 'lowest' output voltage attribute f15df57 hwmon: (jc42) Convert to use devm_kzalloc 918ddef hwmon: (max16065) Convert to use devm_kzalloc b8a5a7c hwmon: (smm665) Convert to use devm_kzalloc 3683928 hwmon: (ltc4261) Convert to use devm_kzalloc dd285ad hwmon: (pmbus) Simplify remove functions 8b313ca hwmon: (pmbus) Convert pmbus drivers to use devm_kzalloc 07404aa hwmon: (lineage-pem) Convert to use devm_kzalloc f352df6 hwmon: (hwmon-vid) Fix checkpatch issues 3230f70 hwmon: (hwmon-vid) Add new entries to VRM model table 9908ad4 hwmon: (lm80) Add detection of NatSemi/TI LM96080 0e190b7 hwmon: (lm87) Get rid of macro-generated functions 8652a26 hwmon: (lm87) Reorganize the code 0fc86ec hwmon: (applesmc) Silence uninitialized warnings 7599d32 hwmon: (lm70) Fix: do not use assignment in if condition e200c14 hwmon: (lm70) Register hwmon device after creating attribute files, and remove it first 01d9def hwmon: (w83l786ng) Fix multi-line comments 130067d hwmon: (w83l785ts) Fix multi-line comments 7950133 hwmon: (w83781d) Fix: do not use assignment in if condition aff6e00 hwmon: (w83781d) Fix multi-line comments 2a52dd6 hwmon: (smsc47b397) Fix multi-line comments 36564ef hwmon: (pc87427) Fix multi-line comments b6707b7 hwmon: (max1668) Fix multi-line comments 1160631 hwmon: (lm80) Fix multi-line comments bf0f3a0 hwmon: (emc2103) Fix multi-line comments fbb6670 hwmon: (adm1031) Fix multi-line comments 94b991d hwmon: (adm1029) Fix multi-line comments 27b9de3 hwmon: (w83627hf) Fix checkpatch issues ca3ccad hwmon: (w83l786ng) Fix checkpatch issues 47efe87 hwmon: (w83793) Fix checkpatch issues d174368 hwmon: (w83792d) Fix checkpatch issues 2185696 hwmon: (vt1211) Fix: do not use assignment in if condition b162c03 hwmon: (vt1211) Fix checkpatch issues 9004ac8 hwmon: (via686a) Fix checkpatch issues bce2778 hwmon: (pc87360) Fix: do not use assignment in if condition 449a7a0 hwmon: (pc87360) Fix checkpatch issues 8958dfb hwmon: (max1619): Fix checkpatch issues 09770b2 hwmon: (lm85) Fix checkpatch issues 9b03079 hwmon: (lm78) Fix checkpatch issues 02fe2fd hwmon: (lm77) Fix checkpatch issues f445a9a hwmon: (gl520sm) Fix: do not use assignment in if condition 43da3d1 hwmon: (gl520sm) Fix checkpatch issues 228f8e0 hwmon: (gl518sm) Fix checkpatch issues c8de836 hwmon: (dme1737) Fix checkpatch issues 8c10369 hwmon: (asb100): Fix checkpatch issues c387e4e hwmon: (adm9240) Fix checkpatch issues 86aa3e2 hwmon: (adm1026) Fix checkpatch issues 21d2a8f hwmon: (adm1021) Fix checkpatch issues 1bd385d hwmon: (abituguru) Fix checkpatch issues 8969e84 hwmon: (w83627ehf) Fix multi-line comments 51683ee hwmon: (max1111) Fix multi-line comments 1b05d22 hwmon: (ltc4151) Fix multi-line comments 1b9c491 hwmon: (g760a) Fix multi-line comments 20eaf72 hwmon: (f71882fg) Fix multi-line comments 4bebced hwmon: (emc1403) Fix multi-line comments ca3c7b6 hwmon: (amc6821) Fix multi-line comments 10775d1 hwmon: (ads7871) Fix multi-line comments d13d623 hwmon: (ads7828) Fix multi-line comments 562fca2 hwmon: (abituguru3) Fix multi-line comments ec1c319 hwmon: (w83791d) Fix checkpatch issues a80b10c hwmon: (ultra45_env) Fix checkpatch issues 4d387df hwmon: (thmc50) Fix checkpatch issues 85a0c0d hwmon: (smsc47m1) Fix checkpatch issues 7e61268 hwmon: (smsc47m1) Fix: do not use assignment in if condition 7cc3cb6 hwmon: (smsc47m192) Fix checkpatch issues 8fda79e hwmon: (sis5595) Fix checkpatch issues 5725608 hwmon: (pcf8591) Fix checkpatch issues 2804a4c hwmon: (lm93) Fix checkpatch issues a318afd hwmon: (lm92) Fix checkpatch issues 073f1e6c hwmon: (lm87) Fix: do not use assignment in if condition c6370db hwmon: (lm87) Fix checkpatch issues 525ad37 hwmon: (fschmd) Fix checkpatch issues f24d548 hwmon: (atxp1) Fix checkpatch issues 724cc33 hwmon: (adt7462) Fix checkpatch issues 790fa38 hwmon: (ltc4215) Fix multi-line comments 430b4fc hwmon: (ltc4245) Fix multi-line comments a68abd3 hwmon: (wm8350-hwmon) Constify fixed string array 85ebfd3 hwmon: (applesmc) Fix multi-line comments 75bdc93 hwmon: (asus_atk0110) Fix multi-line comments 3c4c497 hwmon: (it87) Constify fixed string arrays 8deeac8 hwmon: (ad7414) Fix multi-line comments 5d577db hwmon: (jc42) Fix multi-line comments 780affe hwmon: (coretemp) Fix checkpatch error 3af2861 hwmon: (pc87360) Fix multi-line comments 07de3df hwmon: (wm831x-hwmon) Fix multi-line comments 3c22e23 hwmon: (smm665) Fix checkpatch error 3c56b06 hwmon: (asc7621) Fix multi-line comments 4a0d71c hwmon: (it87) Fix multi-line comments 86d566e hwmon: (hwmon-vid) Fix multi-line comments 5ed0488 hwmon: (hwmon) Fix multi-line comments 19f2c05 hwmon: (ds1621) Fix checkpatch issues 91efffe 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 comments 9ed5bc2 hwmon: (adt7475) Fix multi-line comments 2fff084 hwmon: (f71805f) Fix checkpatch issues 703af96 hwmon: (max6650) Fix multi-line comments c531eb3 hwmon: (w83781d) Fix checkpatch issues 2b22de5 hwmon: (adm1025) Fix checkpatch issues 7973841 hwmon: (abituguru3) Fix checkpatch issues 65fe5c7 hwmon: (vt8231) Fix checkpatch issues bafda5d hwmon: (max6650) Fix checkpatch issues 0117c3f hwmon: (pmbus) Replace strict_strtol with kstrtol b3789a0 hwmon: (lm83) fix checkpatch issues 93092a6 hwmon: (k8temp) fix checkpatch issues 96585f1 hwmon: (lm80) reset device if error occurred 6a9e7c4c hwmon: (lm80) fix checkpatch warnings 6b904b6 hwmon: (adt7470) fix checkpatch issues e6a83db hwmon: (adt7411) fix checkpatch issues 56c24af hwmon: (lm70) fix checkpatch issues 1dc3708 hwmon: (f71882fg) fix checkpatch issues c6e8ac0 hwmon: (asus_atk0110) fix checkpatch issues 99b8c83 hwmon: (adt7475) fix checkpatch issues b2ae8f8 hwmon: (smm665) fix checkpatch issues c9e1498 hwmon: (sht15) fix checkpatch issues 0910b28 hwmon: (ibmaem) fix checkpatch issues dcb7cb9 hwmon: (ad7414) fix checkpatch issues e91aef2 hwmon: (ad7418) fix checkpatch issues 5996542 hwmon: (w83l785ts) fix checkpatch issues a6100f6 hwmon: (wm831x-hwmon) fix checkpatch issues 839a9ee hwmon: fix checkpatch issues 08f5090 hwmon: (adm1029) fix checkpatch issues 4d7c5d4 hwmon: (g760a) fix checkpatch issues 7b102ed hwmon: (i5k_amb) fix checkpatch issues 600151b hwmon: use DEFINE_PCI_DEVICE_TABLE 7fe83ad hwmon: remove () used with return a6bee4a hwmon: (amc6821) fix initialisation 2faaa93 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 ...
147 lines
4.8 KiB
Plaintext
147 lines
4.8 KiB
Plaintext
Kernel driver zl6100
|
|
====================
|
|
|
|
Supported chips:
|
|
* Intersil / Zilker Labs ZL2004
|
|
Prefix: 'zl2004'
|
|
Addresses scanned: -
|
|
Datasheet: http://www.intersil.com/data/fn/fn6847.pdf
|
|
* Intersil / Zilker Labs ZL2005
|
|
Prefix: 'zl2005'
|
|
Addresses scanned: -
|
|
Datasheet: http://www.intersil.com/data/fn/fn6848.pdf
|
|
* Intersil / Zilker Labs ZL2006
|
|
Prefix: 'zl2006'
|
|
Addresses scanned: -
|
|
Datasheet: http://www.intersil.com/data/fn/fn6850.pdf
|
|
* Intersil / Zilker Labs ZL2008
|
|
Prefix: 'zl2008'
|
|
Addresses scanned: -
|
|
Datasheet: http://www.intersil.com/data/fn/fn6859.pdf
|
|
* Intersil / Zilker Labs ZL2105
|
|
Prefix: 'zl2105'
|
|
Addresses scanned: -
|
|
Datasheet: http://www.intersil.com/data/fn/fn6851.pdf
|
|
* Intersil / Zilker Labs ZL2106
|
|
Prefix: 'zl2106'
|
|
Addresses scanned: -
|
|
Datasheet: http://www.intersil.com/data/fn/fn6852.pdf
|
|
* Intersil / Zilker Labs ZL6100
|
|
Prefix: 'zl6100'
|
|
Addresses scanned: -
|
|
Datasheet: http://www.intersil.com/data/fn/fn6876.pdf
|
|
* Intersil / Zilker Labs ZL6105
|
|
Prefix: 'zl6105'
|
|
Addresses scanned: -
|
|
Datasheet: http://www.intersil.com/data/fn/fn6906.pdf
|
|
* Intersil / Zilker Labs ZL9101M
|
|
Prefix: 'zl9101'
|
|
Addresses scanned: -
|
|
Datasheet: http://www.intersil.com/data/fn/fn7669.pdf
|
|
* Intersil / Zilker Labs ZL9117M
|
|
Prefix: 'zl9117'
|
|
Addresses scanned: -
|
|
Datasheet: http://www.intersil.com/data/fn/fn7914.pdf
|
|
* Ericsson BMR450, BMR451
|
|
Prefix: 'bmr450', 'bmr451'
|
|
Addresses scanned: -
|
|
Datasheet:
|
|
http://archive.ericsson.net/service/internet/picov/get?DocNo=28701-EN/LZT146401
|
|
* Ericsson BMR462, BMR463, BMR464
|
|
Prefixes: 'bmr462', 'bmr463', 'bmr464'
|
|
Addresses scanned: -
|
|
Datasheet:
|
|
http://archive.ericsson.net/service/internet/picov/get?DocNo=28701-EN/LZT146256
|
|
|
|
|
|
Author: Guenter Roeck <guenter.roeck@ericsson.com>
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
This driver supports hardware montoring for Intersil / Zilker Labs ZL6100 and
|
|
compatible digital DC-DC controllers.
|
|
|
|
The driver is a client driver to the core PMBus driver. Please see
|
|
Documentation/hwmon/pmbus and Documentation.hwmon/pmbus-core 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.
|
|
|
|
WARNING: Do not access chip registers using the i2cdump command, and do not use
|
|
any of the i2ctools commands on a command register used to save and restore
|
|
configuration data (0x11, 0x12, 0x15, 0x16, and 0xf4). The chips supported by
|
|
this driver interpret any access to those command registers (including read
|
|
commands) as request to execute the command in question. Unless write accesses
|
|
to those registers are protected, this may result in power loss, board resets,
|
|
and/or Flash corruption. Worst case, your board may turn into a brick.
|
|
|
|
|
|
Platform data support
|
|
---------------------
|
|
|
|
The driver supports standard PMBus driver platform data.
|
|
|
|
|
|
Module parameters
|
|
-----------------
|
|
|
|
delay
|
|
-----
|
|
|
|
Intersil/Zilker Labs DC-DC controllers require a minimum interval between I2C
|
|
bus accesses. According to Intersil, the minimum interval is 2 ms, though 1 ms
|
|
appears to be sufficient and has not caused any problems in testing. The problem
|
|
is known to affect all currently supported chips. For manual override, the
|
|
driver provides a writeable module parameter, 'delay', which can be used to set
|
|
the interval to a value between 0 and 65,535 microseconds.
|
|
|
|
|
|
Sysfs entries
|
|
-------------
|
|
|
|
The following attributes are supported. Limits are read-write; all other
|
|
attributes are read-only.
|
|
|
|
in1_label "vin"
|
|
in1_input Measured input voltage.
|
|
in1_min Minimum input voltage.
|
|
in1_max Maximum input voltage.
|
|
in1_lcrit Critical minimum input voltage.
|
|
in1_crit Critical maximum input voltage.
|
|
in1_min_alarm Input voltage low alarm.
|
|
in1_max_alarm Input voltage high alarm.
|
|
in1_lcrit_alarm Input voltage critical low alarm.
|
|
in1_crit_alarm Input voltage critical high alarm.
|
|
|
|
in2_label "vout1"
|
|
in2_input Measured output voltage.
|
|
in2_lcrit Critical minimum output Voltage.
|
|
in2_crit Critical maximum output voltage.
|
|
in2_lcrit_alarm Critical output voltage critical low alarm.
|
|
in2_crit_alarm Critical output voltage critical high alarm.
|
|
|
|
curr1_label "iout1"
|
|
curr1_input Measured output current.
|
|
curr1_lcrit Critical minimum output current.
|
|
curr1_crit Critical maximum output current.
|
|
curr1_lcrit_alarm Output current critical low alarm.
|
|
curr1_crit_alarm Output current critical high alarm.
|
|
|
|
temp[12]_input Measured temperature.
|
|
temp[12]_min Minimum temperature.
|
|
temp[12]_max Maximum temperature.
|
|
temp[12]_lcrit Critical low temperature.
|
|
temp[12]_crit Critical high temperature.
|
|
temp[12]_min_alarm Chip temperature low alarm.
|
|
temp[12]_max_alarm Chip temperature high alarm.
|
|
temp[12]_lcrit_alarm Chip temperature critical low alarm.
|
|
temp[12]_crit_alarm Chip temperature critical high alarm.
|