2005-07-02 16:15:49 +00:00
|
|
|
#
|
|
|
|
# Makefile for sensor chip drivers.
|
|
|
|
#
|
|
|
|
|
2005-07-16 01:38:08 +00:00
|
|
|
obj-$(CONFIG_HWMON) += hwmon.o
|
2005-07-31 19:52:01 +00:00
|
|
|
obj-$(CONFIG_HWMON_VID) += hwmon-vid.o
|
2005-07-16 01:38:08 +00:00
|
|
|
|
2009-09-15 15:18:13 +00:00
|
|
|
# APCI drivers
|
|
|
|
obj-$(CONFIG_SENSORS_ATK0110) += asus_atk0110.o
|
|
|
|
|
|
|
|
# Native drivers
|
2005-07-02 16:15:49 +00:00
|
|
|
# asb100, then w83781d go first, as they can override other drivers' addresses.
|
|
|
|
obj-$(CONFIG_SENSORS_ASB100) += asb100.o
|
|
|
|
obj-$(CONFIG_SENSORS_W83627HF) += w83627hf.o
|
2005-07-27 11:43:47 +00:00
|
|
|
obj-$(CONFIG_SENSORS_W83792D) += w83792d.o
|
2006-12-12 17:18:30 +00:00
|
|
|
obj-$(CONFIG_SENSORS_W83793) += w83793.o
|
2010-10-28 18:31:44 +00:00
|
|
|
obj-$(CONFIG_SENSORS_W83795) += w83795.o
|
2005-07-02 16:15:49 +00:00
|
|
|
obj-$(CONFIG_SENSORS_W83781D) += w83781d.o
|
2006-04-25 12:21:03 +00:00
|
|
|
obj-$(CONFIG_SENSORS_W83791D) += w83791d.o
|
2005-07-02 16:15:49 +00:00
|
|
|
|
2006-06-04 18:22:24 +00:00
|
|
|
obj-$(CONFIG_SENSORS_ABITUGURU) += abituguru.o
|
2007-06-16 22:28:45 +00:00
|
|
|
obj-$(CONFIG_SENSORS_ABITUGURU3)+= abituguru3.o
|
2008-08-06 20:41:05 +00:00
|
|
|
obj-$(CONFIG_SENSORS_AD7414) += ad7414.o
|
2007-05-08 15:22:02 +00:00
|
|
|
obj-$(CONFIG_SENSORS_AD7418) += ad7418.o
|
2008-08-15 07:40:34 +00:00
|
|
|
obj-$(CONFIG_SENSORS_ADCXX) += adcxx.o
|
2005-07-02 16:15:49 +00:00
|
|
|
obj-$(CONFIG_SENSORS_ADM1021) += adm1021.o
|
|
|
|
obj-$(CONFIG_SENSORS_ADM1025) += adm1025.o
|
|
|
|
obj-$(CONFIG_SENSORS_ADM1026) += adm1026.o
|
2007-02-14 20:15:04 +00:00
|
|
|
obj-$(CONFIG_SENSORS_ADM1029) += adm1029.o
|
2005-07-02 16:15:49 +00:00
|
|
|
obj-$(CONFIG_SENSORS_ADM1031) += adm1031.o
|
|
|
|
obj-$(CONFIG_SENSORS_ADM9240) += adm9240.o
|
2008-01-22 23:00:02 +00:00
|
|
|
obj-$(CONFIG_SENSORS_ADS7828) += ads7828.o
|
2010-05-24 21:33:38 +00:00
|
|
|
obj-$(CONFIG_SENSORS_ADS7871) += ads7871.o
|
2010-03-05 21:17:23 +00:00
|
|
|
obj-$(CONFIG_SENSORS_ADT7411) += adt7411.o
|
2008-11-12 21:27:03 +00:00
|
|
|
obj-$(CONFIG_SENSORS_ADT7462) += adt7462.o
|
2007-07-31 18:06:52 +00:00
|
|
|
obj-$(CONFIG_SENSORS_ADT7470) += adt7470.o
|
2009-01-15 21:27:47 +00:00
|
|
|
obj-$(CONFIG_SENSORS_ADT7475) += adt7475.o
|
2007-05-08 07:24:52 +00:00
|
|
|
obj-$(CONFIG_SENSORS_APPLESMC) += applesmc.o
|
2010-03-05 21:17:25 +00:00
|
|
|
obj-$(CONFIG_SENSORS_ASC7621) += asc7621.o
|
2005-07-02 16:15:49 +00:00
|
|
|
obj-$(CONFIG_SENSORS_ATXP1) += atxp1.o
|
2007-05-08 15:22:02 +00:00
|
|
|
obj-$(CONFIG_SENSORS_CORETEMP) += coretemp.o
|
x86, hwmon: Package Level Thermal/Power: pkgtemp hwmon driver
This patch adds a hwmon driver for package level thermal control. The driver
dumps package level thermal information through sysfs interface so that upper
level application (e.g. lm_sensor) can retrive the information.
Instead of having the package level hwmon code in coretemp, I write a seperate
driver pkgtemp because:
First, package level thermal sensors include not only sensors for each core,
but also sensors for uncore, memory controller or other components in the
package. Logically it will be clear to have a seperate hwmon driver for package
level hwmon to monitor wider range of sensors in a package. Merging package
thermal driver into core thermal driver doesn't make sense and may mislead.
Secondly, merging the two drivers together may cause coding mess. It's easier
to include various package level sensors info if more sensor information is
implemented. Coretemp code needs to consider a lot of legacy machine cases.
Pkgtemp code only considers platform starting from Sandy Bridge.
On a 1Sx4Cx2T Sandy Bridge platform, lm-sensors dumps the pkgtemp and coretemp:
pkgtemp-isa-0000
Adapter: ISA adapter
physical id 0: +33.0°C (high = +79.0°C, crit = +99.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +32.0°C (high = +79.0°C, crit = +99.0°C)
coretemp-isa-0001
Adapter: ISA adapter
Core 1: +32.0°C (high = +79.0°C, crit = +99.0°C)
coretemp-isa-0002
Adapter: ISA adapter
Core 2: +32.0°C (high = +79.0°C, crit = +99.0°C)
coretemp-isa-0003
Adapter: ISA adapter
Core 3: +32.0°C (high = +79.0°C, crit = +99.0°C)
[ hpa: folded v3 patch removing improper global variable "SHOW" ]
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
LKML-Reference: <1280448826-12004-3-git-send-email-fenghua.yu@intel.com>
Reviewed-by: Len Brown <len.brown@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2010-07-30 00:13:43 +00:00
|
|
|
obj-$(CONFIG_SENSORS_PKGTEMP) += pkgtemp.o
|
2007-06-09 14:11:16 +00:00
|
|
|
obj-$(CONFIG_SENSORS_DME1737) += dme1737.o
|
2011-01-09 14:31:39 +00:00
|
|
|
obj-$(CONFIG_SENSORS_DS620) += ds620.o
|
2005-07-02 16:15:49 +00:00
|
|
|
obj-$(CONFIG_SENSORS_DS1621) += ds1621.o
|
2010-05-27 17:58:56 +00:00
|
|
|
obj-$(CONFIG_SENSORS_EMC1403) += emc1403.o
|
2010-08-14 19:08:54 +00:00
|
|
|
obj-$(CONFIG_SENSORS_EMC2103) += emc2103.o
|
2006-01-09 22:26:14 +00:00
|
|
|
obj-$(CONFIG_SENSORS_F71805F) += f71805f.o
|
2007-07-13 12:34:19 +00:00
|
|
|
obj-$(CONFIG_SENSORS_F71882FG) += f71882fg.o
|
2007-08-24 10:03:09 +00:00
|
|
|
obj-$(CONFIG_SENSORS_F75375S) += f75375s.o
|
2007-10-11 12:06:29 +00:00
|
|
|
obj-$(CONFIG_SENSORS_FSCHMD) += fschmd.o
|
2009-04-07 02:00:30 +00:00
|
|
|
obj-$(CONFIG_SENSORS_G760A) += g760a.o
|
2005-07-02 16:15:49 +00:00
|
|
|
obj-$(CONFIG_SENSORS_GL518SM) += gl518sm.o
|
|
|
|
obj-$(CONFIG_SENSORS_GL520SM) += gl520sm.o
|
2010-10-21 22:44:19 +00:00
|
|
|
obj-$(CONFIG_SENSORS_GPIO_FAN) += gpio-fan.o
|
2008-08-25 03:59:49 +00:00
|
|
|
obj-$(CONFIG_SENSORS_ULTRA45) += ultra45_env.o
|
2007-10-18 20:22:43 +00:00
|
|
|
obj-$(CONFIG_SENSORS_I5K_AMB) += i5k_amb.o
|
2008-05-23 20:04:25 +00:00
|
|
|
obj-$(CONFIG_SENSORS_IBMAEM) += ibmaem.o
|
2007-09-14 19:33:46 +00:00
|
|
|
obj-$(CONFIG_SENSORS_IBMPEX) += ibmpex.o
|
2005-07-02 16:15:49 +00:00
|
|
|
obj-$(CONFIG_SENSORS_IT87) += it87.o
|
2010-08-10 00:21:08 +00:00
|
|
|
obj-$(CONFIG_SENSORS_JC42) += jc42.o
|
2010-06-19 18:32:58 +00:00
|
|
|
obj-$(CONFIG_SENSORS_JZ4740) += jz4740-hwmon.o
|
2006-08-28 12:40:17 +00:00
|
|
|
obj-$(CONFIG_SENSORS_K8TEMP) += k8temp.o
|
2009-12-16 20:38:25 +00:00
|
|
|
obj-$(CONFIG_SENSORS_K10TEMP) += k10temp.o
|
2010-09-30 03:12:08 +00:00
|
|
|
obj-$(CONFIG_SENSORS_LINEAGE) += lineage-pem.o
|
2005-07-02 16:15:49 +00:00
|
|
|
obj-$(CONFIG_SENSORS_LM63) += lm63.o
|
2006-06-12 20:00:05 +00:00
|
|
|
obj-$(CONFIG_SENSORS_LM70) += lm70.o
|
2009-12-09 19:35:50 +00:00
|
|
|
obj-$(CONFIG_SENSORS_LM73) += lm73.o
|
2005-07-02 16:15:49 +00:00
|
|
|
obj-$(CONFIG_SENSORS_LM75) += lm75.o
|
|
|
|
obj-$(CONFIG_SENSORS_LM77) += lm77.o
|
|
|
|
obj-$(CONFIG_SENSORS_LM78) += lm78.o
|
|
|
|
obj-$(CONFIG_SENSORS_LM80) += lm80.o
|
|
|
|
obj-$(CONFIG_SENSORS_LM83) += lm83.o
|
|
|
|
obj-$(CONFIG_SENSORS_LM85) += lm85.o
|
|
|
|
obj-$(CONFIG_SENSORS_LM87) += lm87.o
|
|
|
|
obj-$(CONFIG_SENSORS_LM90) += lm90.o
|
|
|
|
obj-$(CONFIG_SENSORS_LM92) += lm92.o
|
2007-07-05 15:58:29 +00:00
|
|
|
obj-$(CONFIG_SENSORS_LM93) += lm93.o
|
2009-03-31 22:24:27 +00:00
|
|
|
obj-$(CONFIG_SENSORS_LM95241) += lm95241.o
|
2011-03-03 19:13:21 +00:00
|
|
|
obj-$(CONFIG_SENSORS_LTC4151) += ltc4151.o
|
hwmon: Add LTC4215 driver
Add Linux support for the Linear Technology LTC4215 Hot Swap controller
I2C monitoring interface.
I have tested the driver with my board, and it appears to work fine. With
the power supplies disabled, it reads 11.93V input, 1.93V output, no
current and no power. With the supplies enabled, it reads 11.93V input,
11.98V output, no current, no power. I'm not drawing any current at the
moment, so this is reasonable. The value in the sense register never
reads anything except 0, so I expect to get zero from the current and
power calculations.
I didn't attempt to support changing any of the chip's settings or
enabling the FET. I'm not sure even how to do that and still fit within
the hwmon framework. :)
Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-03-31 22:24:29 +00:00
|
|
|
obj-$(CONFIG_SENSORS_LTC4215) += ltc4215.o
|
2009-01-07 15:37:32 +00:00
|
|
|
obj-$(CONFIG_SENSORS_LTC4245) += ltc4245.o
|
2010-06-25 18:59:54 +00:00
|
|
|
obj-$(CONFIG_SENSORS_LTC4261) += ltc4261.o
|
2008-08-28 20:26:48 +00:00
|
|
|
obj-$(CONFIG_SENSORS_MAX1111) += max1111.o
|
2005-07-02 16:15:49 +00:00
|
|
|
obj-$(CONFIG_SENSORS_MAX1619) += max1619.o
|
2011-01-20 17:42:55 +00:00
|
|
|
obj-$(CONFIG_SENSORS_MAX6639) += max6639.o
|
2007-05-08 15:22:00 +00:00
|
|
|
obj-$(CONFIG_SENSORS_MAX6650) += max6650.o
|
2009-12-09 19:35:58 +00:00
|
|
|
obj-$(CONFIG_SENSORS_MC13783_ADC)+= mc13783-adc.o
|
2005-07-02 16:15:49 +00:00
|
|
|
obj-$(CONFIG_SENSORS_PC87360) += pc87360.o
|
2006-12-12 17:18:29 +00:00
|
|
|
obj-$(CONFIG_SENSORS_PC87427) += pc87427.o
|
2009-03-30 19:46:43 +00:00
|
|
|
obj-$(CONFIG_SENSORS_PCF8591) += pcf8591.o
|
2009-07-18 09:12:28 +00:00
|
|
|
obj-$(CONFIG_SENSORS_S3C) += s3c-hwmon.o
|
2011-03-21 16:59:36 +00:00
|
|
|
obj-$(CONFIG_SENSORS_SCH5627) += sch5627.o
|
2009-04-13 21:39:45 +00:00
|
|
|
obj-$(CONFIG_SENSORS_SHT15) += sht15.o
|
2011-01-07 07:15:39 +00:00
|
|
|
obj-$(CONFIG_SENSORS_SHT21) += sht21.o
|
2005-07-02 16:15:49 +00:00
|
|
|
obj-$(CONFIG_SENSORS_SIS5595) += sis5595.o
|
2010-08-10 00:21:06 +00:00
|
|
|
obj-$(CONFIG_SENSORS_SMM665) += smm665.o
|
2005-07-02 16:15:49 +00:00
|
|
|
obj-$(CONFIG_SENSORS_SMSC47B397)+= smsc47b397.o
|
|
|
|
obj-$(CONFIG_SENSORS_SMSC47M1) += smsc47m1.o
|
2006-03-23 15:37:23 +00:00
|
|
|
obj-$(CONFIG_SENSORS_SMSC47M192)+= smsc47m192.o
|
2010-01-08 22:43:04 +00:00
|
|
|
obj-$(CONFIG_SENSORS_AMC6821) += amc6821.o
|
2007-07-08 20:43:00 +00:00
|
|
|
obj-$(CONFIG_SENSORS_THMC50) += thmc50.o
|
2010-05-27 17:58:56 +00:00
|
|
|
obj-$(CONFIG_SENSORS_TMP102) += tmp102.o
|
2009-06-15 16:39:46 +00:00
|
|
|
obj-$(CONFIG_SENSORS_TMP401) += tmp401.o
|
2009-09-15 15:18:11 +00:00
|
|
|
obj-$(CONFIG_SENSORS_TMP421) += tmp421.o
|
2009-12-16 20:38:28 +00:00
|
|
|
obj-$(CONFIG_SENSORS_VIA_CPUTEMP)+= via-cputemp.o
|
2005-07-02 16:15:49 +00:00
|
|
|
obj-$(CONFIG_SENSORS_VIA686A) += via686a.o
|
2006-09-24 18:54:04 +00:00
|
|
|
obj-$(CONFIG_SENSORS_VT1211) += vt1211.o
|
2005-11-26 19:20:05 +00:00
|
|
|
obj-$(CONFIG_SENSORS_VT8231) += vt8231.o
|
2005-07-02 16:15:49 +00:00
|
|
|
obj-$(CONFIG_SENSORS_W83627EHF) += w83627ehf.o
|
|
|
|
obj-$(CONFIG_SENSORS_W83L785TS) += w83l785ts.o
|
2007-11-23 01:31:52 +00:00
|
|
|
obj-$(CONFIG_SENSORS_W83L786NG) += w83l786ng.o
|
2009-07-28 14:52:22 +00:00
|
|
|
obj-$(CONFIG_SENSORS_WM831X) += wm831x-hwmon.o
|
2009-07-20 11:43:45 +00:00
|
|
|
obj-$(CONFIG_SENSORS_WM8350) += wm8350-hwmon.o
|
2005-07-02 16:15:49 +00:00
|
|
|
|
2011-01-27 04:09:02 +00:00
|
|
|
# PMBus drivers
|
|
|
|
obj-$(CONFIG_PMBUS) += pmbus_core.o
|
|
|
|
obj-$(CONFIG_SENSORS_PMBUS) += pmbus.o
|
2011-01-27 04:14:26 +00:00
|
|
|
obj-$(CONFIG_SENSORS_MAX16064) += max16064.o
|
2011-01-27 04:15:27 +00:00
|
|
|
obj-$(CONFIG_SENSORS_MAX34440) += max34440.o
|
2011-01-27 04:11:04 +00:00
|
|
|
obj-$(CONFIG_SENSORS_MAX8688) += max8688.o
|
2011-01-27 04:09:02 +00:00
|
|
|
|
2011-01-14 14:12:38 +00:00
|
|
|
ccflags-$(CONFIG_HWMON_DEBUG_CHIP) := -DDEBUG
|
2005-07-02 16:15:49 +00:00
|
|
|
|