Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e53004e2 authored by Jean Delvare's avatar Jean Delvare Committed by Greg Kroah-Hartman
Browse files

[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: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5db3d3da
Loading
Loading
Loading
Loading
+17 −1
Original line number Diff line number Diff line
@@ -179,11 +179,12 @@ temp[1-*]_auto_point[1-*]_temp_hyst
****************

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

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

alarms_in	Alarm bitmask relative to in (voltage) channels
		Read only
		A '1' bit means an alarm, LSB corresponds to in0 and so on
		Prefered to 'alarms' for newer chips

alarms_fan	Alarm bitmask relative to fan channels
		Read only
		A '1' bit means an alarm, LSB corresponds to fan1 and so on
		Prefered to 'alarms' for newer chips

alarms_temp	Alarm bitmask relative to temp (temperature) channels
		Read only
		A '1' bit means an alarm, LSB corresponds to temp1 and so on
		Prefered to 'alarms' for newer chips

beep_enable	Beep/interrupt enable
		0 to disable.
		1 to enable.
+6 −0
Original line number Diff line number Diff line
@@ -929,6 +929,12 @@ M: sct@redhat.com, akpm@osdl.org, adilger@clusterfs.com
L:	ext3-users@redhat.com
S:	Maintained

F71805F HARDWARE MONITORING DRIVER
P:	Jean Delvare
M:	khali@linux-fr.org
L:	lm-sensors@lm-sensors.org
S:	Maintained

FARSYNC SYNCHRONOUS DRIVER
P:	Kevin Curtis
M:	kevin.curtis@farsite.co.uk
+10 −0
Original line number Diff line number Diff line
@@ -113,6 +113,16 @@ config SENSORS_DS1621
	  This driver can also be built as a module.  If so, the module
	  will be called ds1621.

config SENSORS_F71805F
	tristate "Fintek F71805F/FG"
	depends on HWMON && EXPERIMENTAL
	help
	  If you say yes here you get support for hardware monitoring
	  features of the Fintek F71805F/FG chips.

	  This driver can also be built as a module.  If so, the module
	  will be called f71805f.

config SENSORS_FSCHER
	tristate "FSC Hermes"
	depends on HWMON && I2C && EXPERIMENTAL
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ obj-$(CONFIG_SENSORS_ADM1031) += adm1031.o
obj-$(CONFIG_SENSORS_ADM9240)	+= adm9240.o
obj-$(CONFIG_SENSORS_ATXP1)	+= atxp1.o
obj-$(CONFIG_SENSORS_DS1621)	+= ds1621.o
obj-$(CONFIG_SENSORS_F71805F)	+= f71805f.o
obj-$(CONFIG_SENSORS_FSCHER)	+= fscher.o
obj-$(CONFIG_SENSORS_FSCPOS)	+= fscpos.o
obj-$(CONFIG_SENSORS_GL518SM)	+= gl518sm.o
+908 −0

File added.

Preview size limit exceeded, changes collapsed.