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