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