2005-07-02 12:15:49 -04:00
|
|
|
#
|
|
|
|
# Makefile for sensor chip drivers.
|
|
|
|
#
|
|
|
|
|
2005-07-15 21:38:08 -04:00
|
|
|
obj-$(CONFIG_HWMON) += hwmon.o
|
2005-07-31 15:52:01 -04:00
|
|
|
obj-$(CONFIG_HWMON_VID) += hwmon-vid.o
|
2005-07-15 21:38:08 -04:00
|
|
|
|
2009-09-15 11:18:13 -04:00
|
|
|
# APCI drivers
|
|
|
|
obj-$(CONFIG_SENSORS_ATK0110) += asus_atk0110.o
|
|
|
|
|
|
|
|
# Native drivers
|
2005-07-02 12:15:49 -04: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 07:43:47 -04:00
|
|
|
obj-$(CONFIG_SENSORS_W83792D) += w83792d.o
|
2006-12-12 12:18:30 -05:00
|
|
|
obj-$(CONFIG_SENSORS_W83793) += w83793.o
|
2005-07-02 12:15:49 -04:00
|
|
|
obj-$(CONFIG_SENSORS_W83781D) += w83781d.o
|
2006-04-25 08:21:03 -04:00
|
|
|
obj-$(CONFIG_SENSORS_W83791D) += w83791d.o
|
2005-07-02 12:15:49 -04:00
|
|
|
|
2006-06-04 14:22:24 -04:00
|
|
|
obj-$(CONFIG_SENSORS_ABITUGURU) += abituguru.o
|
2007-06-16 18:28:45 -04:00
|
|
|
obj-$(CONFIG_SENSORS_ABITUGURU3)+= abituguru3.o
|
2008-08-06 16:41:05 -04:00
|
|
|
obj-$(CONFIG_SENSORS_AD7414) += ad7414.o
|
2007-05-08 11:22:02 -04:00
|
|
|
obj-$(CONFIG_SENSORS_AD7418) += ad7418.o
|
2008-08-15 03:40:34 -04:00
|
|
|
obj-$(CONFIG_SENSORS_ADCXX) += adcxx.o
|
2005-07-02 12:15:49 -04:00
|
|
|
obj-$(CONFIG_SENSORS_ADM1021) += adm1021.o
|
|
|
|
obj-$(CONFIG_SENSORS_ADM1025) += adm1025.o
|
|
|
|
obj-$(CONFIG_SENSORS_ADM1026) += adm1026.o
|
2007-02-14 15:15:04 -05:00
|
|
|
obj-$(CONFIG_SENSORS_ADM1029) += adm1029.o
|
2005-07-02 12:15:49 -04:00
|
|
|
obj-$(CONFIG_SENSORS_ADM1031) += adm1031.o
|
|
|
|
obj-$(CONFIG_SENSORS_ADM9240) += adm9240.o
|
2008-01-22 18:00:02 -05:00
|
|
|
obj-$(CONFIG_SENSORS_ADS7828) += ads7828.o
|
2010-05-24 17:33:38 -04:00
|
|
|
obj-$(CONFIG_SENSORS_ADS7871) += ads7871.o
|
2010-03-05 16:17:23 -05:00
|
|
|
obj-$(CONFIG_SENSORS_ADT7411) += adt7411.o
|
2008-11-12 16:27:03 -05:00
|
|
|
obj-$(CONFIG_SENSORS_ADT7462) += adt7462.o
|
2007-07-31 14:06:52 -04:00
|
|
|
obj-$(CONFIG_SENSORS_ADT7470) += adt7470.o
|
2009-01-15 16:27:47 -05:00
|
|
|
obj-$(CONFIG_SENSORS_ADT7475) += adt7475.o
|
2007-05-08 03:24:52 -04:00
|
|
|
obj-$(CONFIG_SENSORS_APPLESMC) += applesmc.o
|
2006-12-12 12:18:30 -05:00
|
|
|
obj-$(CONFIG_SENSORS_AMS) += ams/
|
2010-03-05 16:17:25 -05:00
|
|
|
obj-$(CONFIG_SENSORS_ASC7621) += asc7621.o
|
2005-07-02 12:15:49 -04:00
|
|
|
obj-$(CONFIG_SENSORS_ATXP1) += atxp1.o
|
2007-05-08 11:22:02 -04: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-29 20:13:43 -04:00
|
|
|
obj-$(CONFIG_SENSORS_PKGTEMP) += pkgtemp.o
|
2007-06-09 10:11:16 -04:00
|
|
|
obj-$(CONFIG_SENSORS_DME1737) += dme1737.o
|
2005-07-02 12:15:49 -04:00
|
|
|
obj-$(CONFIG_SENSORS_DS1621) += ds1621.o
|
2010-05-27 13:58:56 -04:00
|
|
|
obj-$(CONFIG_SENSORS_EMC1403) += emc1403.o
|
2006-01-09 17:26:14 -05:00
|
|
|
obj-$(CONFIG_SENSORS_F71805F) += f71805f.o
|
2007-07-13 08:34:19 -04:00
|
|
|
obj-$(CONFIG_SENSORS_F71882FG) += f71882fg.o
|
2007-08-24 06:03:09 -04:00
|
|
|
obj-$(CONFIG_SENSORS_F75375S) += f75375s.o
|
2007-10-11 08:06:29 -04:00
|
|
|
obj-$(CONFIG_SENSORS_FSCHMD) += fschmd.o
|
2009-04-06 22:00:30 -04:00
|
|
|
obj-$(CONFIG_SENSORS_G760A) += g760a.o
|
2005-07-02 12:15:49 -04:00
|
|
|
obj-$(CONFIG_SENSORS_GL518SM) += gl518sm.o
|
|
|
|
obj-$(CONFIG_SENSORS_GL520SM) += gl520sm.o
|
2008-08-24 23:59:49 -04:00
|
|
|
obj-$(CONFIG_SENSORS_ULTRA45) += ultra45_env.o
|
2005-08-31 23:57:59 -04:00
|
|
|
obj-$(CONFIG_SENSORS_HDAPS) += hdaps.o
|
2007-10-18 16:22:43 -04:00
|
|
|
obj-$(CONFIG_SENSORS_I5K_AMB) += i5k_amb.o
|
2008-05-23 16:04:25 -04:00
|
|
|
obj-$(CONFIG_SENSORS_IBMAEM) += ibmaem.o
|
2007-09-14 15:33:46 -04:00
|
|
|
obj-$(CONFIG_SENSORS_IBMPEX) += ibmpex.o
|
2005-07-02 12:15:49 -04:00
|
|
|
obj-$(CONFIG_SENSORS_IT87) += it87.o
|
2010-06-19 14:32:58 -04:00
|
|
|
obj-$(CONFIG_SENSORS_JZ4740) += jz4740-hwmon.o
|
2006-08-28 08:40:17 -04:00
|
|
|
obj-$(CONFIG_SENSORS_K8TEMP) += k8temp.o
|
2009-12-16 15:38:25 -05:00
|
|
|
obj-$(CONFIG_SENSORS_K10TEMP) += k10temp.o
|
2009-01-09 19:41:01 -05:00
|
|
|
obj-$(CONFIG_SENSORS_LIS3LV02D) += lis3lv02d.o hp_accel.o
|
2009-03-31 18:24:33 -04:00
|
|
|
obj-$(CONFIG_SENSORS_LIS3_SPI) += lis3lv02d.o lis3lv02d_spi.o
|
2009-12-17 18:27:07 -05:00
|
|
|
obj-$(CONFIG_SENSORS_LIS3_I2C) += lis3lv02d.o lis3lv02d_i2c.o
|
2005-07-02 12:15:49 -04:00
|
|
|
obj-$(CONFIG_SENSORS_LM63) += lm63.o
|
2006-06-12 16:00:05 -04:00
|
|
|
obj-$(CONFIG_SENSORS_LM70) += lm70.o
|
2009-12-09 14:35:50 -05:00
|
|
|
obj-$(CONFIG_SENSORS_LM73) += lm73.o
|
2005-07-02 12:15:49 -04: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 11:58:29 -04:00
|
|
|
obj-$(CONFIG_SENSORS_LM93) += lm93.o
|
2009-03-31 18:24:27 -04:00
|
|
|
obj-$(CONFIG_SENSORS_LM95241) += lm95241.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 18:24:29 -04:00
|
|
|
obj-$(CONFIG_SENSORS_LTC4215) += ltc4215.o
|
2009-01-07 10:37:32 -05:00
|
|
|
obj-$(CONFIG_SENSORS_LTC4245) += ltc4245.o
|
2008-08-28 16:26:48 -04:00
|
|
|
obj-$(CONFIG_SENSORS_MAX1111) += max1111.o
|
2005-07-02 12:15:49 -04:00
|
|
|
obj-$(CONFIG_SENSORS_MAX1619) += max1619.o
|
2007-05-08 11:22:00 -04:00
|
|
|
obj-$(CONFIG_SENSORS_MAX6650) += max6650.o
|
2009-12-09 14:35:58 -05:00
|
|
|
obj-$(CONFIG_SENSORS_MC13783_ADC)+= mc13783-adc.o
|
2005-07-02 12:15:49 -04:00
|
|
|
obj-$(CONFIG_SENSORS_PC87360) += pc87360.o
|
2006-12-12 12:18:29 -05:00
|
|
|
obj-$(CONFIG_SENSORS_PC87427) += pc87427.o
|
2009-03-30 15:46:43 -04:00
|
|
|
obj-$(CONFIG_SENSORS_PCF8591) += pcf8591.o
|
2009-07-18 05:12:28 -04:00
|
|
|
obj-$(CONFIG_SENSORS_S3C) += s3c-hwmon.o
|
2009-04-13 17:39:45 -04:00
|
|
|
obj-$(CONFIG_SENSORS_SHT15) += sht15.o
|
2005-07-02 12:15:49 -04:00
|
|
|
obj-$(CONFIG_SENSORS_SIS5595) += sis5595.o
|
|
|
|
obj-$(CONFIG_SENSORS_SMSC47B397)+= smsc47b397.o
|
|
|
|
obj-$(CONFIG_SENSORS_SMSC47M1) += smsc47m1.o
|
2006-03-23 10:37:23 -05:00
|
|
|
obj-$(CONFIG_SENSORS_SMSC47M192)+= smsc47m192.o
|
2010-01-08 17:43:04 -05:00
|
|
|
obj-$(CONFIG_SENSORS_AMC6821) += amc6821.o
|
2007-07-08 16:43:00 -04:00
|
|
|
obj-$(CONFIG_SENSORS_THMC50) += thmc50.o
|
2010-05-27 13:58:56 -04:00
|
|
|
obj-$(CONFIG_SENSORS_TMP102) += tmp102.o
|
2009-06-15 12:39:46 -04:00
|
|
|
obj-$(CONFIG_SENSORS_TMP401) += tmp401.o
|
2009-09-15 11:18:11 -04:00
|
|
|
obj-$(CONFIG_SENSORS_TMP421) += tmp421.o
|
2009-12-16 15:38:28 -05:00
|
|
|
obj-$(CONFIG_SENSORS_VIA_CPUTEMP)+= via-cputemp.o
|
2005-07-02 12:15:49 -04:00
|
|
|
obj-$(CONFIG_SENSORS_VIA686A) += via686a.o
|
2006-09-24 14:54:04 -04:00
|
|
|
obj-$(CONFIG_SENSORS_VT1211) += vt1211.o
|
2005-11-26 14:20:05 -05:00
|
|
|
obj-$(CONFIG_SENSORS_VT8231) += vt8231.o
|
2005-07-02 12:15:49 -04:00
|
|
|
obj-$(CONFIG_SENSORS_W83627EHF) += w83627ehf.o
|
|
|
|
obj-$(CONFIG_SENSORS_W83L785TS) += w83l785ts.o
|
2007-11-22 20:31:52 -05:00
|
|
|
obj-$(CONFIG_SENSORS_W83L786NG) += w83l786ng.o
|
2009-07-28 10:52:22 -04:00
|
|
|
obj-$(CONFIG_SENSORS_WM831X) += wm831x-hwmon.o
|
2009-07-20 07:43:45 -04:00
|
|
|
obj-$(CONFIG_SENSORS_WM8350) += wm8350-hwmon.o
|
2005-07-02 12:15:49 -04:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_HWMON_DEBUG_CHIP),y)
|
|
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
|
|
endif
|
|
|
|
|