23 Jun, 2006
18 commits
-
This patch adds support for two new VID codes, supporting Intel mobile Core
processors and new Conroe based platforms.Signed-off-by: Rudolf Marek
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
This driver implements support for the National Semiconductor LM70
temperature sensor.The LM70 temperature sensor chip supports a single temperature sensor.
It communicates with a host processor (or microcontroller) via an
SPI/Microwire Bus interface.Communication with the LM70 is simple: when the temperature is to be sensed,
the driver accesses the LM70 using SPI communication: 16 SCLK cycles
comprise the MOSI/MISO loop. At the end of the transfer, the 11-bit 2's
complement digital temperature (sent via the SIO line), is available in the
driver for interpretation. This driver makes use of the kernel's in-core
SPI support.Signed-off-by: Kaiwan N Billimoria
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Hardware monitoring chips don't have to be on the I2C bus.
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
One of my testers had a problem where the driver only saw 2 of the 4 fan
sensors his uGuru has, this fixes this.
-accept 0x40 (bit 6) being high as a valid fan sensor setting for all fans
not just fan 1, I have a feeling this bit indicates whether or not a fan is
actually connected .Signed-off-by: Hans de Goede
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Fixes to the Abit uGuru driver as requested in review by Jean Delvare:
- exactly calculate the sysfs_names array length using macro
- use snprintf when generating names to double check that the sysfs_names
array does not overflow.
- use ARRAY_SIZE and / or defines to determine number of loops in for loops
instead of using hardcoded values.
- In abituguru_probe(), refactor the error path leaving a single call to kfreeSigned-off-by: Hans de Goede
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
New hardware monitoring driver for the Abit uGuru
Signed-off-by: Hans de Goede
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Add missing data lock in w83792d driver to avoid unexpected
data change.Signed-off-by: Yuan Mu
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
W83792D use pwm register low 4 bits to store PWM/DC value, bit 7
is used to store fan PWM/DC mode. The store_pwm function did not
convert the pwm input correctly, so it may change the fan mode
when new value is set.This fix the problem. Change the "index" value of pwm*_mode
and pwm* SENSOR_ATTR to simplify code.Signed-off-by: Yuan Mu
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Fix a typo in the hdaps driver.
Signed-off-by: Jean Delvare
Acked-by: Robert Love
Signed-off-by: Greg Kroah-Hartman -
Following patch trims the VID value to correct number of bits
for each VRM.Signed-off-by: Rudolf Marek
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Improve the help text for CONFIG_HWMON to let the users know how they
pick the right hardware monitoring driver(s) for their system.Also fix a couple typos in the related documentation file and improve
some parts a bit.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Add support for the w83791d sensor chip. The w83791d hardware is
somewhere between the w83781d and the w83792d and this driver code
is derived from the code that supports those chips.Signed-off-by: Charles Spirakis
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Update the list of systems supported by the hdaps driver:
* Add the "ThinkPad Z60m" entry, reported by Arkadiusz Miskiewicz.
* Add the "ThinkPad H" entry, reported by Frank Gevaerts for some
ThinkPad R52 models (1846AQG).
* Drop the "ThinkPad X41 Tablet" entry, which looks redundant to me.
And a comment update for good measure.Signed-off-by: Jean Delvare
Cc: Arkadiusz Miskiewicz
Cc: Frank Gevaerts
Signed-off-by: Greg Kroah-Hartman -
The F71805F I/O resource structure needs not be a global variable,
as the platform core allocs its own copy of it anyway.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
New driver (smsc47m192) which supports voltage and temperature
measurement features of SMSC LPC47M192 and LPC47M997 chips.Signed-off-by: Hartmut Rick
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Add alarms support for the W83627EHF/EHG hardware monitoring chip.
This is based on an earlier patch from Rudolf Marek.
Signed-off-by: Rudolf Marek
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Add the voltage measuring support to W83627EHF. The code is based
on the patch provided by Yuan Mu from Winbond.Signed-off-by: Yuan Mu
Signed-off-by: Rudolf Marek
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Add LM82 temperature sensor support (similar to the LM83,
but less featureful).Signed-off-by: Jordan Crouse
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman
15 Apr, 2006
1 commit
-
Make the w83792d driver keep quiet when misdetecting a chip. This can
happen, and the user doesn't need to know.Also renumber the messages, and add one, for consistency.
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman
11 Apr, 2006
3 commits
-
Use ENODEV when the hdaps hardware isn't there, not ENXIO.
Cc: Jean Delvare
Cc: Robert Love
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add support for forthcoming Lenovo-branded machines to the HDAPS driver.
Signed-off-by: Robert Love
Cc: Jean Delvare
Cc: Dmitry Torokhov
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This adds support for my Thinkpad R52, which for some reason is not matched
by the "ThinkPad R52" line.Signed-off-by: Frank Gevaerts
Cc: Robert Love
Cc: Dmitry Torokhov
Cc: Greg KH
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
03 Apr, 2006
1 commit
-
This reverts the mutex conversion that was recently done to the hdaps
driver; this coversion was buggy because the hdaps driver started using
this semaphore in IRQ context, which mutexes do not allow. Easiest
solution for now is to just revert the patch (the patch was part of a
bigger GIT commit, 9a61bf6300533d3b64d7ff29adfec00e596de67d but this
only reverts this one file)Signed-off-by: Arjan van de Ven
Signed-off-by: Linus Torvalds
24 Mar, 2006
13 commits
-
Signed-off-by: Alexey Dobriyan
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add required locking around idr_ routines, retry the idr_pre_get/idr_get_new
pair properly, and sprinkle in some likely/unlikely for good measure.(Lack of idr locking didn't hurt when all callers were I2C clients, as the
i2c-core serialized for us anyway. Now that we have non I2C hwmon drivers,
this is truly necessary.)Signed-off-by: Mark M. Hoffman
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
"register" is a reserved keyword so using it as a parameter name
can confuse some compilers, most notably ICC.The patch below just renames all occurences to reg which fits the actual
function declarations.Signed-off-by: Darren Jenkins
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Stop resetting the chip on load by default, so as to preserve the BIOS
initializations. Same was done in the w83627hf driver some times ago
for the same reasons.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Use dynamic sysfs callbacks and array of attributes to reduce the
w83627ehf driver size.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Add support for the Intel Pentium M series to the hwmon-vid driver.
Signed-off-by: Jean Delvare
Cc: Rudolf Marek
Signed-off-by: Greg Kroah-Hartman -
Add support for the Winbond W83687THF chip to the w83627hf hardware
monitoring driver. This new chip is almost similar to the already
supported W83627THF chip, except for VID and a few other minor
changes.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Convert the new f71805f hardware monitoring driver to use mutexes
instead of semaphores.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
convert drivers/hwmon/*.c semaphore use to mutexes.
the conversion was generated via scripts, and the result was validated
automatically via a script as well.all affected hwmon drivers were build-tested.
Signed-off-by: Ingo Molnar
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Drop 3 useless macros in the w83792d hardware monitoring driver.
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Use arrays of attributes in the w83792d driver.
Signed-off-by: Jim Cromie
Signed-off-by: Yuan Mu
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Convert the f71805f driver to use arrays of attributes. This shrinks the
compiled module from 12.0 kB to 9.6 kB. We certainly should do the same
for as many hardware monitoring drivers as possible.This, together with a nice chip design by Fintek, makes this driver
very small, both in terms of number of lines of code and memory
consumption.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Convert individual sensors to sensor-attr arrays by each sensor type,
and initialize them in loops instead of long blocks of individual calls.Signed-off-by: Jim Cromie
Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman
14 Feb, 2006
3 commits
-
Fix an oops on it87 module removal when no supported hardware was
found.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
Use the real-time status registers of the Winbond W83782D, W83783S and
W83627HF chips, instead of the interrupt status registers. Interrupts
cannot be trusted at least for voltage inputs, as they are two-times
triggers (as opposed to comparator mode, which we want.) The w83627hf
driver was fixed in a similar way some times ago.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman -
The VT8231 low temperature limits are actually hysteresis temperatures
to the high limits.Signed-off-by: Jean Delvare
Cc: Roger Lucas
Signed-off-by: Greg Kroah-Hartman
07 Feb, 2006
1 commit
-
Only scan I2C address 0x2d. This is the default address and no IT87xxF
chip was ever seen on I2C at a different address. These chips are
better accessed through their ISA interface anyway.This fixes bug #5889, although it doesn't address the whole class
of problems. We'd need the ability to blacklist arbitrary I2C addresses
on systems known to contain I2C devices which behave badly when probed.Plan the I2C interface for removal as well. If nobody complains within
a year, it will confirm my impression that the I2C interface isn't
actually needed by anyone.Signed-off-by: Jean Delvare
Signed-off-by: Greg Kroah-Hartman