linux-sg2042/drivers/hwmon
Hans de Goede 3cad402281 hwmon/f71882fg: Add support for f71889ed
Note that this patch also makes 2 changes to the code paths for the f71889fg
to keep the code unified between the 2 (for simplicities sake). Both of these
are harmless for then f71889fg:

1) The first change is to always set the FAN_PROG_SEL bit to 0. This influences
   accesses to some banked fan / pwm registers. On the f71889fg no registers
   which we use are banked. On the f71889ed however some more fan registers
   have been banked including one which we use, by making the FAN_PROG_SEL bit
   0, address 0x96 will point to the right register.
2) The second change is to see a FANx_TEMP_SEL value of 0 as pointing to
   a PECI / AMDSI value, and thus disable our pwm related sysfs attr.
   This is correct for the f71889ed and on the f71889fg 0 is a reserved
   value, so we should never see it and if we do, disabling the pwm related
   sysfs attr is a sane thing to do.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Thomas Greve <tg42@gmx.net>
Tested-by: Sander Eikelenboom <linux@eikelenboom.it>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
2011-03-14 22:39:25 -07:00
..
Kconfig hwmon: (w83627ehf) Update Kconfig for W83677HG-B, NCT6775F and NCT6776F 2011-03-14 22:39:19 -07:00
Makefile hwmon: Add support for LTC4151 2011-03-14 22:39:11 -07:00
abituguru.c hwmon: (abituguru) Use pr_fmt and pr_<level> 2011-01-08 10:55:00 -08:00
abituguru3.c hwmon: (abituguru3) Use pr_fmt and pr_<level> 2011-01-08 10:55:01 -08:00
ad7414.c hwmon: (ad7414) add MODULE_DEVICE_TABLE 2011-02-26 08:59:32 -08:00
ad7418.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
adcxx.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
adm1021.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
adm1025.c Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
adm1026.c hwmon: (adm1026) Allow 1 as a valid divider value 2010-12-08 16:27:22 +01:00
adm1029.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
adm1031.c hwmon: (adm1031) Replace update_rate sysfs attribute with update_interval 2010-09-17 17:24:14 +02:00
adm9240.c hwmon: (adm9240) Implement the standard intrusion detection interface 2011-01-12 21:55:09 +01:00
ads7828.c hwmon: (ads7828) Update email contact details 2011-01-12 21:55:08 +01:00
ads7871.c hwmon: (ads7871) Fix ads7871_probe error paths 2010-08-25 15:42:10 +02:00
adt7411.c hwmon: (adt7411) add MODULE_DEVICE_TABLE 2011-02-26 08:59:32 -08:00
adt7462.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
adt7470.c hwmon: (adt7470) Use pr_fmt and pr_<level> 2011-01-08 10:55:02 -08:00
adt7475.c hwmon: I2C addresses are constant 2010-10-28 20:31:50 +02:00
amc6821.c hwmon: Change mail address of Hans J. Koch 2010-11-15 21:38:56 +01:00
applesmc.c hwmon: (applesmc) Properly initialize lockdep attributes 2011-01-23 09:28:50 -08:00
asb100.c hwmon: (asb1000) Use pr_fmt and pr_<level> 2011-01-08 10:55:03 -08:00
asc7621.c hwmon: I2C addresses are constant 2010-10-28 20:31:50 +02:00
asus_atk0110.c hwmon: (asus_atk0110) Override interface detection on Sabertooth X58 2011-01-23 09:30:08 -08:00
atxp1.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
coretemp.c hwmon: (coretemp) Use pr_fmt and pr_<level> 2011-01-08 10:55:05 -08:00
dme1737.c hwmon: (dme1737) Minor cleanups 2011-01-12 21:55:13 +01:00
ds620.c hwmon: Support for Dallas Semiconductor DS620 2011-01-09 09:10:10 -08:00
ds1621.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
emc1403.c hwmon: (emc1403) Fix I2C address range 2011-02-09 13:45:52 -08:00
emc2103.c hwmon: Add driver for SMSC EMC2103 temperature monitor and fan controller 2010-08-14 21:08:54 +02:00
f71805f.c hwmon: (f71805f) Use pr_fmt and pr_<level> 2011-01-08 10:55:07 -08:00
f71882fg.c hwmon/f71882fg: Add support for f71889ed 2011-03-14 22:39:25 -07:00
f75375s.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
fschmd.c hwmon: (fschmd) Drop useless mutex 2011-01-12 21:55:11 +01:00
g760a.c Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
gl518sm.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
gl520sm.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
gpio-fan.c hwmon: (gpio-fan) Fix fan_ctrl_init error path 2010-11-11 09:43:51 -08:00
hp_accel.c hwmon: (hp_accel) Use pr_fmt and pr_<level> 2011-01-08 10:55:09 -08:00
hwmon-vid.c hwmon: (hwmon-vid) Use pr_fmt and pr_<level> 2011-01-08 10:55:10 -08:00
hwmon.c hwmon: (core) Use pr_fmt and pr_<level> 2011-01-08 10:55:11 -08:00
i5k_amb.c hwmon: (i5k_amb) Fix compile warning 2010-11-22 12:23:39 -08:00
ibmaem.c hwmon: (ibmaem) Use pr_fmt and pr_<level> 2011-01-08 10:55:13 -08:00
ibmpex.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
it87.c hwmon: (it87) Use pr_fmt and pr_<level> 2011-01-12 21:55:10 +01:00
jc42.c hwmon: (jc42) do not allow writing to locked registers 2011-02-16 08:18:33 -08:00
jz4740-hwmon.c HWMON: Add JZ4740 ADC driver 2010-08-05 13:26:19 +01:00
k8temp.c hwmon: (k8temp) Remove superfluous CPU family check 2010-10-28 20:31:42 +02:00
k10temp.c hwmon: (k10temp) add support for AMD Family 12h/14h CPUs 2011-02-18 06:14:24 -08:00
lineage-pem.c hwmon: Add support for Lineage Compact Power Line PEM devices 2011-03-14 22:36:25 -07:00
lis3lv02d.c hwmon: (lis3) turn down the no IRQ message 2011-01-25 09:10:50 -08:00
lis3lv02d.h hwmon: lis3: Enhance lis3 selftest with IRQ line test 2010-10-25 14:11:39 -07:00
lis3lv02d_i2c.c hwmon: (lis3lv02d_i2c) Fix compile warnings 2010-11-22 12:23:39 -08:00
lis3lv02d_spi.c hwmon: (lis3lv02d) Convert SPI to dev_pm_ops 2011-03-14 22:36:25 -07:00
lm63.c hwmon: (lm63) Consider LM64 temperature offset 2011-02-09 13:45:42 -08:00
lm70.c hwmon: (lm70) Use pr_fmt and pr_<level> 2011-01-08 10:55:15 -08:00
lm73.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
lm75.c hwmon: (lm75) Trivial changes to pacify the checkpatch 2010-10-28 20:31:44 +02:00
lm75.h hwmon: (lm75) Add suspend/resume feature 2010-08-14 21:08:50 +02:00
lm77.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
lm78.c hwmon: (lm78) Use pr_fmt and pr_<level> 2011-01-12 21:55:10 +01:00
lm80.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
lm83.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
lm85.c hwmon: (lm85) Add support for EMC6D103S 2011-03-14 22:36:25 -07:00
lm87.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
lm90.c hwmon: (lm90) Add support for the W83L771W/G 2010-10-28 20:31:44 +02:00
lm92.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
lm93.c hwmon: (lm93) Add support for LM94 2011-01-18 12:22:54 -08:00
lm95241.c hwmon: (lm95241) Rewrite to avoid using macros 2011-01-08 10:55:47 -08:00
ltc4151.c hwmon: Add support for LTC4151 2011-03-14 22:39:11 -07:00
ltc4215.c hwmon: (ltc4215) make sysfs file match the alarm cause 2010-12-13 09:54:50 -08:00
ltc4245.c hwmon: (ltc4245) Expose all GPIO pins as analog voltages 2010-08-14 21:08:49 +02:00
ltc4261.c hwmon: (ltc4261) Fix error message format 2010-11-05 10:17:19 -07:00
max1111.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
max1619.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
max6639.c hwmon: (max6639) Set reasonable default PWM frequency 2011-03-14 22:36:25 -07:00
max6650.c hwmon: Change mail address of Hans J. Koch 2010-11-15 21:38:56 +01:00
max8688.c hwmon: (pmbus) Add support for Maxim MAX8688 2011-03-14 22:39:06 -07:00
max16064.c hwmon: (pmbus) Add support for Maxim MAX16064 2011-03-14 22:39:07 -07:00
max34440.c hwmon: (pmbus) Add support for Maxim MAX34440/MAX34441 2011-03-14 22:39:07 -07:00
mc13783-adc.c hwmon: Don't access struct mc13783 directly from mc13783-adc 2010-08-12 11:28:03 +02:00
pc87360.c hwmon: (pc87360) Use pr_fmt and pr_<level> 2011-01-12 21:55:11 +01:00
pc87427.c hwmon: (pc87427) Use pr_fmt and pr_<level> 2011-01-12 21:55:11 +01:00
pcf8591.c hwmon: (pcf8591) Use pr_fmt and pr_<level> 2011-01-08 10:55:16 -08:00
pkgtemp.c hwmon: (pkgtemp) Use pr_fmt and pr_<level> 2011-01-08 10:55:17 -08:00
pmbus.c hwmon: PMBus device driver 2011-03-14 22:36:26 -07:00
pmbus.h hwmon: PMBus device driver 2011-03-14 22:36:26 -07:00
pmbus_core.c hwmon: (pmbus) Fix LINEAR16 data format 2011-03-14 22:39:11 -07:00
s3c-hwmon.c hwmon: (s3c-hwmon) Fix compilation 2011-01-02 15:31:11 -08:00
sht15.c hwmon: (sht15) Properly handle the case CONFIG_REGULATOR=n 2010-04-14 16:14:08 +02:00
sht21.c hwmon: driver for Sensirion SHT21 humidity and temperature sensor 2011-01-08 10:56:28 -08:00
sis5595.c hwmon: (sis5595) Use pr_fmt and pr_<level> 2011-01-08 10:55:18 -08:00
smm665.c hwmon: driver for SMM665 Six-Channel Active DC Output Controller/Monitor 2010-08-09 20:45:10 -07:00
smsc47b397.c hwmon: (smsc47b397) Use pr_fmt and pr_<level> 2011-01-08 10:55:19 -08:00
smsc47m1.c hwmon: (smsc47m1) Use pr_fmt and pr_<level> 2011-01-08 10:55:27 -08:00
smsc47m192.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
thmc50.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
tmp102.c i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
tmp401.c hwmon: (tmp401) Reorganize code to get rid of static forward declarations 2010-05-27 19:58:49 +02:00
tmp421.c hwmon: I2C addresses are constant 2010-10-28 20:31:50 +02:00
ultra45_env.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
via-cputemp.c hwmon: (via-cputemp) sync hotplug handling with coretemp/pkgtemp 2011-01-08 10:55:48 -08:00
via686a.c hwmon: (via686a) Initialize fan_div values 2011-01-12 21:55:09 +01:00
vt1211.c hwmon: (vt1211) Use pr_fmt and pr_<level> 2011-01-08 10:55:30 -08:00
vt8231.c hwmon: (vt8231) Use pr_fmt and pr_<level> 2011-01-08 10:55:31 -08:00
w83l785ts.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
w83l786ng.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
w83627ehf.c hwmon: (w83627ehf) Display correct temperature sensor labels for systems with NCT6775F 2011-03-14 22:39:20 -07:00
w83627hf.c hwmon: (w83627hf) Use pr_fmt and pr_<level> 2011-01-08 10:55:33 -08:00
w83781d.c hwmon: (w83781d) Use pr_fmt and pr_<level> 2011-01-12 21:55:11 +01:00
w83791d.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
w83792d.c hwmon: (w83792d) Implement the standard intrusion detection interface 2011-01-12 21:55:09 +01:00
w83793.c hwmon: (w83793) Drop useless mutex 2011-01-12 21:55:11 +01:00
w83795.c hwmon: (w83795) Silent false warning from gcc 2011-01-12 21:55:09 +01:00
wm831x-hwmon.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
wm8350-hwmon.c hwmon: Add WM835x PMIC hardware monitoring driver 2009-09-17 09:46:51 +02:00