Skip to contentSkip to conversation

Add a driver for the Winbond WPCD376I Consumer IR hardware

PATCH New David Härdeman 1 participant 1 message Aug 13, 2009 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 2/2 Add a driver for the Winbond WPCD376I Consumer IR hardware

Add a driver for the the Consumer IR (CIR) functionality of the Winbond WPCD376I chipset (found on e.g. Intel DG45FC motherboards).

Changes since the first version:

o converted from an ACPI to a PNP driver using a patch provided by Bjorn Helgaas <[email protected]>

Changes since the second version:

o misc fixes to the irqhandler after discovering that the FIFO enforces 16 levels (was a separate patch in the -mm tree)
o __devexit annotations
o KEY_NUMERIC_[0-9] instead of KEY_[0-9]
o EV_MSC/MSC_SCAN instead of "last_scancode" sysfs attr
o last three points based on feedback from Dmitry Torokhov <[email protected]>

MAINTAINERS +6 -0
Index: linux-2.6/MAINTAINERS
===================================================================
@@ -6448,6 +6448,12 @@
  S:	Maintained
  F:	drivers/scsi/wd7000.c
  
+WINBOND CIR DRIVER
+P:	David Härdeman
+M:	[email protected]
+S:	Maintained
+F:	drivers/input/misc/winbond-cir.c
+
  WIMAX STACK
  P:	Inaky Perez-Gonzalez
  M:	[email protected]
drivers/input/misc/Kconfig +16 -0
Index: linux-2.6/drivers/input/misc/Kconfig
===================================================================
@@ -222,6 +222,22 @@
  	  To compile this driver as a module, choose M here: the
  	  module will be called sgi_btns.
  
+config INPUT_WINBOND_CIR
+	tristate "Winbond IR remote control"
+	depends on X86 && PNP
+	select LEDS_CLASS
+	select BITREVERSE
+	help
+	  Say Y here if you want to use the IR remote functionality found
+	  in some Winbond SuperI/O chips. Currently only the WPCD376I
+	  chip is supported (included in some Intel Media series motherboards).
+
+	  IR Receive and wake-on-IR from suspend and power-off is currently
+	  supported.
+
+	  To compile this driver as a module, choose M here: the module will be
+	  called winbond_cir.
+
  config HP_SDC_RTC
  	tristate "HP SDC Real Time Clock"
  	depends on (GSC || HP300) && SERIO
drivers/input/misc/Makefile +1 -0
Index: linux-2.6/drivers/input/misc/Makefile
===================================================================
@@ -24,5 +24,6 @@
  obj-$(CONFIG_INPUT_SPARCSPKR)		+= sparcspkr.o
  obj-$(CONFIG_INPUT_TWL4030_PWRBUTTON)	+= twl4030-pwrbutton.o
  obj-$(CONFIG_INPUT_UINPUT)		+= uinput.o
+obj-$(CONFIG_INPUT_WINBOND_CIR)		+= winbond-cir.o
  obj-$(CONFIG_INPUT_WISTRON_BTNS)	+= wistron_btns.o
  obj-$(CONFIG_INPUT_YEALINK)		+= yealink.o
drivers/input/misc/winbond-cir.c new file +1614 -0

1,614 lines not on this page · raw message

Signature · 5 lines
David Härdeman
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html