Skip to contentSkip to conversation

fjkeyinf driver for FSC Lifebook laptops

PATCH New akpm-de/[email protected] 1 participant 1 message Feb 5, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/3 fjkeyinf driver for FSC Lifebook laptops

From: Hendrik Sattler <[email protected]>

This is another approach for FJKEYINF support for the FSC Lifebook laptop series. In comparison to the apanel driver that was posted lately, it supports more than one entry in the table and slits off the actual handling of the I2C devices to seperate drivers, allowing resuse in other scenarios.

---

 drivers/misc/Kconfig    |   16 ++
 drivers/misc/Makefile   |    1 
 drivers/misc/fjkeyinf.c |  242 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 259 insertions(+)
drivers/misc/Kconfig renamed from drivers/misc/Kconfig~fjkeyinf-driver-for-fsc-lifebook-laptops +16 -0
diff -puN drivers/misc/Kconfig~fjkeyinf-driver-for-fsc-lifebook-laptops drivers/misc/Kconfig
@@ -264,6 +264,22 @@ config THINKPAD_ACPI_HOTKEY_POLL
 	  If you are not sure, say Y here.  The driver enables polling only if
 	  it is strictly necessary to do so.
 
+config FJKEYINF
+	tristate "Fujutsu(-Siemens) Lifebook special BIOS signature support"
+	depends on X86
+	depends on I2C
+	select I2C_I801
+	select CHECK_SIGNATURE
+	help
+	  Say Y here to enable evaluation of the the special BIOS signature
+	  present on may Fujitsu(-Siemens) Lifebooks.
+	  The following SMBus chips are currently supported if the proper
+	  signature is found:
+	    - oz99x (for panel buttons and LEDs)
+
+	  To compile this driver as module, say M here: the module will be
+	  called fjkeyinf.
+
 config ATMEL_SSC
 	tristate "Device driver for Atmel SSC peripheral"
 	depends on AVR32 || ARCH_AT91
drivers/misc/Makefile renamed from drivers/misc/Makefile~fjkeyinf-driver-for-fsc-lifebook-laptops +1 -0
diff -puN drivers/misc/Makefile~fjkeyinf-driver-for-fsc-lifebook-laptops drivers/misc/Makefile
@@ -13,6 +13,7 @@ obj-$(CONFIG_TC1100_WMI)	+= tc1100-wmi.o
 obj-$(CONFIG_LKDTM)		+= lkdtm.o
 obj-$(CONFIG_TIFM_CORE)       	+= tifm_core.o
 obj-$(CONFIG_TIFM_7XX1)       	+= tifm_7xx1.o
+obj-$(CONFIG_FJKEYINF)		+= fjkeyinf.o
 obj-$(CONFIG_PHANTOM)		+= phantom.o
 obj-$(CONFIG_SGI_IOC4)		+= ioc4.o
 obj-$(CONFIG_SONY_LAPTOP)	+= sony-laptop.o
drivers/misc/fjkeyinf.c new file +242 -0

242 lines not on this page · raw message

_

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c