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.312869ehwmon: (sch56xx) Add support for the integrated watchdog (v2)840e191hwmon: (w83627ehf) Add support for temperature offset registers86dda17hwmon: (jc42) Remove unnecessary device IDs3360a10hwmon: (zl6100) Add support for ZL9101M and ZL9117M9271126hwmon: (adm1275) Add support for ADM1075590defehwmon: (max34440) Add support for MAX3444660b873ehwmon: (pmbus) Add more virtual registers2163340hwmon: (pmbus) Add support for Lineage Power MDT040c5f35c9hwmon: (pmbus) Add support for TI TPS40400 and TPS4042256aad5dhwmon: (max34440) Add support for 'lowest' output voltage attributef15df57hwmon: (jc42) Convert to use devm_kzalloc918ddefhwmon: (max16065) Convert to use devm_kzallocb8a5a7chwmon: (smm665) Convert to use devm_kzalloc3683928hwmon: (ltc4261) Convert to use devm_kzallocdd285adhwmon: (pmbus) Simplify remove functions8b313cahwmon: (pmbus) Convert pmbus drivers to use devm_kzalloc07404aahwmon: (lineage-pem) Convert to use devm_kzallocf352df6hwmon: (hwmon-vid) Fix checkpatch issues3230f70hwmon: (hwmon-vid) Add new entries to VRM model table9908ad4hwmon: (lm80) Add detection of NatSemi/TI LM960800e190b7hwmon: (lm87) Get rid of macro-generated functions8652a26hwmon: (lm87) Reorganize the code0fc86echwmon: (applesmc) Silence uninitialized warnings7599d32hwmon: (lm70) Fix: do not use assignment in if conditione200c14hwmon: (lm70) Register hwmon device after creating attribute files, and remove it first01d9defhwmon: (w83l786ng) Fix multi-line comments130067dhwmon: (w83l785ts) Fix multi-line comments7950133hwmon: (w83781d) Fix: do not use assignment in if conditionaff6e00hwmon: (w83781d) Fix multi-line comments2a52dd6hwmon: (smsc47b397) Fix multi-line comments36564efhwmon: (pc87427) Fix multi-line commentsb6707b7hwmon: (max1668) Fix multi-line comments1160631hwmon: (lm80) Fix multi-line commentsbf0f3a0hwmon: (emc2103) Fix multi-line commentsfbb6670hwmon: (adm1031) Fix multi-line comments94b991dhwmon: (adm1029) Fix multi-line comments27b9de3hwmon: (w83627hf) Fix checkpatch issuesca3ccadhwmon: (w83l786ng) Fix checkpatch issues47efe87hwmon: (w83793) Fix checkpatch issuesd174368hwmon: (w83792d) Fix checkpatch issues2185696hwmon: (vt1211) Fix: do not use assignment in if conditionb162c03hwmon: (vt1211) Fix checkpatch issues9004ac8hwmon: (via686a) Fix checkpatch issuesbce2778hwmon: (pc87360) Fix: do not use assignment in if condition449a7a0hwmon: (pc87360) Fix checkpatch issues8958dfbhwmon: (max1619): Fix checkpatch issues09770b2hwmon: (lm85) Fix checkpatch issues9b03079hwmon: (lm78) Fix checkpatch issues02fe2fdhwmon: (lm77) Fix checkpatch issuesf445a9ahwmon: (gl520sm) Fix: do not use assignment in if condition43da3d1hwmon: (gl520sm) Fix checkpatch issues228f8e0hwmon: (gl518sm) Fix checkpatch issuesc8de836hwmon: (dme1737) Fix checkpatch issues8c10369hwmon: (asb100): Fix checkpatch issuesc387e4ehwmon: (adm9240) Fix checkpatch issues86aa3e2hwmon: (adm1026) Fix checkpatch issues21d2a8fhwmon: (adm1021) Fix checkpatch issues1bd385dhwmon: (abituguru) Fix checkpatch issues8969e84hwmon: (w83627ehf) Fix multi-line comments51683eehwmon: (max1111) Fix multi-line comments1b05d22hwmon: (ltc4151) Fix multi-line comments1b9c491hwmon: (g760a) Fix multi-line comments20eaf72hwmon: (f71882fg) Fix multi-line comments 4bebced hwmon: (emc1403) Fix multi-line commentsca3c7b6hwmon: (amc6821) Fix multi-line comments10775d1hwmon: (ads7871) Fix multi-line commentsd13d623hwmon: (ads7828) Fix multi-line comments562fca2hwmon: (abituguru3) Fix multi-line commentsec1c319hwmon: (w83791d) Fix checkpatch issuesa80b10chwmon: (ultra45_env) Fix checkpatch issues4d387dfhwmon: (thmc50) Fix checkpatch issues85a0c0dhwmon: (smsc47m1) Fix checkpatch issues 7e61268 hwmon: (smsc47m1) Fix: do not use assignment in if condition7cc3cb6hwmon: (smsc47m192) Fix checkpatch issues8fda79ehwmon: (sis5595) Fix checkpatch issues5725608hwmon: (pcf8591) Fix checkpatch issues 2804a4c hwmon: (lm93) Fix checkpatch issuesa318afdhwmon: (lm92) Fix checkpatch issues073f1e6chwmon: (lm87) Fix: do not use assignment in if conditionc6370dbhwmon: (lm87) Fix checkpatch issues525ad37hwmon: (fschmd) Fix checkpatch issuesf24d548hwmon: (atxp1) Fix checkpatch issues724cc33hwmon: (adt7462) Fix checkpatch issues790fa38hwmon: (ltc4215) Fix multi-line comments430b4fchwmon: (ltc4245) Fix multi-line commentsa68abd3hwmon: (wm8350-hwmon) Constify fixed string array85ebfd3hwmon: (applesmc) Fix multi-line comments75bdc93hwmon: (asus_atk0110) Fix multi-line comments3c4c497hwmon: (it87) Constify fixed string arrays8deeac8hwmon: (ad7414) Fix multi-line comments5d577dbhwmon: (jc42) Fix multi-line comments780affehwmon: (coretemp) Fix checkpatch error3af2861hwmon: (pc87360) Fix multi-line comments07de3dfhwmon: (wm831x-hwmon) Fix multi-line comments3c22e23hwmon: (smm665) Fix checkpatch error3c56b06hwmon: (asc7621) Fix multi-line comments4a0d71chwmon: (it87) Fix multi-line comments86d566ehwmon: (hwmon-vid) Fix multi-line comments5ed0488hwmon: (hwmon) Fix multi-line comments19f2c05hwmon: (ds1621) Fix checkpatch issues91efffehwmon: convert drivers/hwmon/* to use module_spi_driver()f0967eehwmon: convert drivers/hwmon/* to use module_i2c_driver()61ba031hwmon: (vt8231) Fix multi-line comments9ed5bc2hwmon: (adt7475) Fix multi-line comments2fff084hwmon: (f71805f) Fix checkpatch issues703af96hwmon: (max6650) Fix multi-line commentsc531eb3hwmon: (w83781d) Fix checkpatch issues2b22de5hwmon: (adm1025) Fix checkpatch issues7973841hwmon: (abituguru3) Fix checkpatch issues65fe5c7hwmon: (vt8231) Fix checkpatch issuesbafda5dhwmon: (max6650) Fix checkpatch issues0117c3fhwmon: (pmbus) Replace strict_strtol with kstrtolb3789a0hwmon: (lm83) fix checkpatch issues93092a6hwmon: (k8temp) fix checkpatch issues96585f1hwmon: (lm80) reset device if error occurred6a9e7c4chwmon: (lm80) fix checkpatch warnings6b904b6hwmon: (adt7470) fix checkpatch issuese6a83dbhwmon: (adt7411) fix checkpatch issues56c24afhwmon: (lm70) fix checkpatch issues1dc3708hwmon: (f71882fg) fix checkpatch issuesc6e8ac0hwmon: (asus_atk0110) fix checkpatch issues99b8c83hwmon: (adt7475) fix checkpatch issuesb2ae8f8hwmon: (smm665) fix checkpatch issuesc9e1498hwmon: (sht15) fix checkpatch issues0910b28hwmon: (ibmaem) fix checkpatch issuesdcb7cb9hwmon: (ad7414) fix checkpatch issues e91aef2 hwmon: (ad7418) fix checkpatch issues5996542hwmon: (w83l785ts) fix checkpatch issuesa6100f6hwmon: (wm831x-hwmon) fix checkpatch issues839a9eehwmon: fix checkpatch issues08f5090hwmon: (adm1029) fix checkpatch issues4d7c5d4hwmon: (g760a) fix checkpatch issues7b102edhwmon: (i5k_amb) fix checkpatch issues600151bhwmon: use DEFINE_PCI_DEVICE_TABLE7fe83adhwmon: remove () used with returna6bee4ahwmon: (amc6821) fix initialisation2faaa93hwmon: (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 ...
92 lines
2.9 KiB
Text
92 lines
2.9 KiB
Text
Kernel driver adm1275
|
|
=====================
|
|
|
|
Supported chips:
|
|
* Analog Devices ADM1075
|
|
Prefix: 'adm1075'
|
|
Addresses scanned: -
|
|
Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1075.pdf
|
|
* Analog Devices ADM1275
|
|
Prefix: 'adm1275'
|
|
Addresses scanned: -
|
|
Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1275.pdf
|
|
* Analog Devices ADM1276
|
|
Prefix: 'adm1276'
|
|
Addresses scanned: -
|
|
Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1276.pdf
|
|
|
|
Author: Guenter Roeck <guenter.roeck@ericsson.com>
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
This driver supports hardware montoring for Analog Devices ADM1075, ADM1275,
|
|
and ADM1276 Hot-Swap Controller and Digital Power Monitor.
|
|
|
|
ADM1075, ADM1275, and ADM1276 are hot-swap controllers that allow a circuit
|
|
board to be removed from or inserted into a live backplane. They also feature
|
|
current and voltage readback via an integrated 12-bit analog-to-digital
|
|
converter (ADC), accessed using a PMBus interface.
|
|
|
|
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.
|
|
|
|
The ADM1075, unlike many other PMBus devices, does not support internal voltage
|
|
or current scaling. Reported voltages, currents, and power are raw measurements,
|
|
and will typically have to be scaled.
|
|
|
|
|
|
Platform data support
|
|
---------------------
|
|
|
|
The driver supports standard PMBus driver platform data. Please see
|
|
Documentation/hwmon/pmbus for details.
|
|
|
|
|
|
Sysfs entries
|
|
-------------
|
|
|
|
The following attributes are supported. Limits are read-write, history reset
|
|
attributes are write-only, all other attributes are read-only.
|
|
|
|
in1_label "vin1" or "vout1" depending on chip variant and
|
|
configuration. On ADM1075, vout1 reports the voltage on
|
|
the VAUX pin.
|
|
in1_input Measured voltage.
|
|
in1_min Minimum Voltage.
|
|
in1_max Maximum voltage.
|
|
in1_min_alarm Voltage low alarm.
|
|
in1_max_alarm Voltage high alarm.
|
|
in1_highest Historical maximum voltage.
|
|
in1_reset_history Write any value to reset history.
|
|
|
|
curr1_label "iout1"
|
|
curr1_input Measured current.
|
|
curr1_max Maximum current.
|
|
curr1_max_alarm Current high alarm.
|
|
curr1_lcrit Critical minimum current. Depending on the chip
|
|
configuration, either curr1_lcrit or curr1_crit is
|
|
supported, but not both.
|
|
curr1_lcrit_alarm Critical current low alarm.
|
|
curr1_crit Critical maximum current. Depending on the chip
|
|
configuration, either curr1_lcrit or curr1_crit is
|
|
supported, but not both.
|
|
curr1_crit_alarm Critical current high alarm.
|
|
curr1_highest Historical maximum current.
|
|
curr1_reset_history Write any value to reset history.
|
|
|
|
power1_label "pin1"
|
|
power1_input Input power.
|
|
power1_reset_history Write any value to reset history.
|
|
|
|
Power attributes are supported on ADM1075 and ADM1276
|
|
only.
|