linux/drivers/hwmon
Giuseppe Bilotta 137bad3234 lis3lv02d: support both one- and two-byte sensors
Sensors responding with 0x3B to WHO_AM_I only have one data register per
direction, thus returning a signed byte from the position which is
occupied by the MSB in sensors responding with 0x3A.

Since multiple sensors share the reply to WHO_AM_I, we rename the defines
to better indicate what they identify (family of single and double
precision sensors).

We support both kind of sensors by checking for the sensor type on init
and defining appropriate data-access routines and sensor limits (for the
joystick) depending on what we find.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Acked-by: Eric Piel <Eric.Piel@tremplin-utc.net>
Cc: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-02-18 15:37:54 -08:00
..
ams
abituguru3.c hwmon: (abituguru3) Fix CONFIG_DMI=n fallback to probe 2009-01-15 22:27:48 +01:00
abituguru.c
ad7414.c
ad7418.c
adcxx.c
adm1021.c
adm1025.c
adm1026.c
adm1029.c
adm1031.c
adm9240.c
ads7828.c
adt7462.c
adt7470.c adt7470: make automatic fan control really work 2009-01-06 15:59:18 -08:00
adt7473.c
adt7475.c hwmon: Add a driver for the ADT7475 hardware monitoring chip 2009-01-15 22:27:47 +01:00
applesmc.c hwmon: applesmc: add support for MacPro 3 temperature sensors 2009-01-29 18:04:45 -08:00
asb100.c hwmon: Don't overuse I2C_CLIENT_MODULE_PARM 2009-01-07 16:37:32 +01:00
atxp1.c
coretemp.c
dme1737.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
ds1621.c
f71805f.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
f71882fg.c hwmon: Fix ACPI resource check error handling 2009-02-17 19:59:54 +01:00
f75375s.c
fscher.c
fschmd.c Merge branch 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6 2009-01-07 11:59:51 -08:00
fscpos.c
gl518sm.c
gl520sm.c
hdaps.c
hp_accel.c lis3lv02d: support both one- and two-byte sensors 2009-02-18 15:37:54 -08:00
hwmon-vid.c
hwmon.c
i5k_amb.c hwmon: (i5k_amb) Load automatically on all 5000/5400 chipsets 2009-01-07 16:37:33 +01:00
ibmaem.c
ibmpex.c ibmpex: add endian annotation to extract_data() helper 2009-01-06 15:59:18 -08:00
it87.c hwmon: Fix various typos 2009-01-07 16:37:35 +01:00
k8temp.c hwmon: (k8temp) Fix temperature reporting for (most) K8 RevG CPUs 2009-01-15 22:27:47 +01:00
Kconfig Merge branch 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6 2009-01-15 16:40:12 -08:00
lis3lv02d.c lis3lv02d: support both one- and two-byte sensors 2009-02-18 15:37:54 -08:00
lis3lv02d.h lis3lv02d: support both one- and two-byte sensors 2009-02-18 15:37:54 -08:00
lm63.c
lm70.c hwmon: (lm70) Add TI TMP121 support 2009-01-07 16:37:34 +01:00
lm75.c
lm75.h
lm77.c
lm78.c
lm80.c
lm83.c
lm85.c
lm87.c
lm90.c
lm92.c
lm93.c
ltc4245.c hwmon: Add LTC4245 driver 2009-01-07 16:37:32 +01:00
Makefile hwmon: Add a driver for the ADT7475 hardware monitoring chip 2009-01-15 22:27:47 +01:00
max1111.c
max1619.c
max6650.c
pc87360.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
pc87427.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
sis5595.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
smsc47b397.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
smsc47m1.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
smsc47m192.c
thmc50.c
ultra45_env.c
via686a.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
vt1211.c hwmon: Fix ACPI resource check error handling 2009-02-17 19:59:54 +01:00
vt8231.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
w83l785ts.c
w83l786ng.c
w83627ehf.c hwmon: Fix ACPI resource check error handling 2009-02-17 19:59:54 +01:00
w83627hf.c hwmon: Check for ACPI resource conflicts 2009-01-07 16:37:35 +01:00
w83781d.c hwmon: Don't overuse I2C_CLIENT_MODULE_PARM 2009-01-07 16:37:32 +01:00
w83791d.c hwmon: Don't overuse I2C_CLIENT_MODULE_PARM 2009-01-07 16:37:32 +01:00
w83792d.c hwmon: Don't overuse I2C_CLIENT_MODULE_PARM 2009-01-07 16:37:32 +01:00
w83793.c hwmon: Don't overuse I2C_CLIENT_MODULE_PARM 2009-01-07 16:37:32 +01:00