Permalink
Browse files

Required changes to handle IR receiver based on TSOP4838

Many thanks to Rene for this contribution
More info : http://stephan-rafin.net/blog/2014/01/05/cheap-ir-receiver/
  • Loading branch information...
1 parent c40e96f commit 52f2afac736c1a6bfbc1dc1439e77fd7ee4f754a @wolfgar committed Jan 5, 2014
Showing with 477 additions and 2 deletions.
  1. +1 −2 arch/arm/mach-mx6/board-wand.c
  2. +6 −0 drivers/staging/lirc/Kconfig
  3. +1 −0 drivers/staging/lirc/Makefile
  4. +469 −0 drivers/staging/lirc/lirc_wand.c
@@ -985,8 +985,7 @@ static __init void wand_init_external_gpios(void)
gpio_export(IMX_GPIO_NR(3, 26), true);
gpio_request(IMX_GPIO_NR(3, 8), "external_gpio_6");
gpio_export(IMX_GPIO_NR(3, 8), true);
- gpio_request(IMX_GPIO_NR(4, 5), "external_gpio_7");
- gpio_export(IMX_GPIO_NR(4, 5), true);
+ //RvdB let lirc use IMX_GPIO_NR(4, 5) "external_gpio_7"
}
@@ -38,6 +38,12 @@ config LIRC_PARALLEL
help
Driver for Homebrew Parallel Port Receivers
+config LIRC_WANDBOARD
+ tristate "Homebrew GPIO Port Receiver for the wandboard"
+ depends on LIRC
+ help
+ Driver for Homebrew GPIO Port Receiver for the wandboard
+
config LIRC_SASEM
tristate "Sasem USB IR Remote"
depends on LIRC && USB
@@ -7,6 +7,7 @@ obj-$(CONFIG_LIRC_BT829) += lirc_bt829.o
obj-$(CONFIG_LIRC_IGORPLUGUSB) += lirc_igorplugusb.o
obj-$(CONFIG_LIRC_IMON) += lirc_imon.o
obj-$(CONFIG_LIRC_PARALLEL) += lirc_parallel.o
+obj-$(CONFIG_LIRC_WANDBOARD) += lirc_wand.o
obj-$(CONFIG_LIRC_SASEM) += lirc_sasem.o
obj-$(CONFIG_LIRC_SERIAL) += lirc_serial.o
obj-$(CONFIG_LIRC_SIR) += lirc_sir.o
Oops, something went wrong.

0 comments on commit 52f2afa

Please sign in to comment.