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