Skip to content

Commit e53004e

Browse files
Jean Delvaregregkh
Jean Delvare
authored andcommitted
[PATCH] hwmon: New f71805f driver
This is my f71805f hardware monitoring driver ported from lm_sensors to Linux 2.6. This new driver differs from the other hardware monitoring drivers in that it is implemented as a platform driver. This might not be optimal yet (we would probably need a generic infrastructure and bus type for Super-I/O logical devices) but it is certainly much better than the i2c-isa solution. Note that this driver requires lm_sensors CVS. I hope to get it released as 2.10.0 soon. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 5db3d3d commit e53004e

File tree

5 files changed

+942
-1
lines changed

5 files changed

+942
-1
lines changed

Diff for: Documentation/hwmon/sysfs-interface

+17-1
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,12 @@ temp[1-*]_auto_point[1-*]_temp_hyst
179179
****************
180180

181181
temp[1-3]_type Sensor type selection.
182-
Integers 1, 2, 3 or thermistor Beta value (3435)
182+
Integers 1 to 4 or thermistor Beta value (typically 3435)
183183
Read/Write.
184184
1: PII/Celeron Diode
185185
2: 3904 transistor
186186
3: thermal diode
187+
4: thermistor (default/unknown Beta)
187188
Not all types are supported by all chips
188189

189190
temp[1-4]_max Temperature max value.
@@ -261,6 +262,21 @@ alarms Alarm bitmask.
261262
of individual bits.
262263
Bits are defined in kernel/include/sensors.h.
263264

265+
alarms_in Alarm bitmask relative to in (voltage) channels
266+
Read only
267+
A '1' bit means an alarm, LSB corresponds to in0 and so on
268+
Prefered to 'alarms' for newer chips
269+
270+
alarms_fan Alarm bitmask relative to fan channels
271+
Read only
272+
A '1' bit means an alarm, LSB corresponds to fan1 and so on
273+
Prefered to 'alarms' for newer chips
274+
275+
alarms_temp Alarm bitmask relative to temp (temperature) channels
276+
Read only
277+
A '1' bit means an alarm, LSB corresponds to temp1 and so on
278+
Prefered to 'alarms' for newer chips
279+
264280
beep_enable Beep/interrupt enable
265281
0 to disable.
266282
1 to enable.

Diff for: MAINTAINERS

+6
Original file line numberDiff line numberDiff line change
@@ -929,6 +929,12 @@ M: sct@redhat.com, akpm@osdl.org, adilger@clusterfs.com
929929
L: ext3-users@redhat.com
930930
S: Maintained
931931

932+
F71805F HARDWARE MONITORING DRIVER
933+
P: Jean Delvare
934+
M: khali@linux-fr.org
935+
L: lm-sensors@lm-sensors.org
936+
S: Maintained
937+
932938
FARSYNC SYNCHRONOUS DRIVER
933939
P: Kevin Curtis
934940
M: kevin.curtis@farsite.co.uk

Diff for: drivers/hwmon/Kconfig

+10
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,16 @@ config SENSORS_DS1621
113113
This driver can also be built as a module. If so, the module
114114
will be called ds1621.
115115

116+
config SENSORS_F71805F
117+
tristate "Fintek F71805F/FG"
118+
depends on HWMON && EXPERIMENTAL
119+
help
120+
If you say yes here you get support for hardware monitoring
121+
features of the Fintek F71805F/FG chips.
122+
123+
This driver can also be built as a module. If so, the module
124+
will be called f71805f.
125+
116126
config SENSORS_FSCHER
117127
tristate "FSC Hermes"
118128
depends on HWMON && I2C && EXPERIMENTAL

Diff for: drivers/hwmon/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ obj-$(CONFIG_SENSORS_ADM1031) += adm1031.o
1818
obj-$(CONFIG_SENSORS_ADM9240) += adm9240.o
1919
obj-$(CONFIG_SENSORS_ATXP1) += atxp1.o
2020
obj-$(CONFIG_SENSORS_DS1621) += ds1621.o
21+
obj-$(CONFIG_SENSORS_F71805F) += f71805f.o
2122
obj-$(CONFIG_SENSORS_FSCHER) += fscher.o
2223
obj-$(CONFIG_SENSORS_FSCPOS) += fscpos.o
2324
obj-$(CONFIG_SENSORS_GL518SM) += gl518sm.o

0 commit comments

Comments
 (0)