[media] media: rc: Introduce RX51 IR transmitter driver
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Fri, 10 Aug 2012 09:16:36 +0000 (06:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 13 Aug 2012 19:53:45 +0000 (16:53 -0300)
commitc332e8472d7db67766bcad33390c607fdd9ac5bc
treeeb69c948d5ca73c50e7a8dcbfaea97c6bb5470dc
parent65d9bc9236bb1f95b5d29912cc714d0c0c7bb79a
[media] media: rc: Introduce RX51 IR transmitter driver

This is the driver for the IR transmitter diode found on the Nokia
N900 (also known as RX51) device. The driver is mostly the same as
found in the original 2.6.28 based kernel that comes with the device.

The following modifications have been made compared to the original
driver version:

- Adopt to the changes that has happen in the kernel during the past
  five years, such as the change in the include paths

- The OMAP DM-timers require much more care nowadays. The timers need
  to be enabled and disabled or otherwise many actions fail. Timers
  must not be freed without first stopping them or otherwise the timer
  cannot be requested again.

The code has been tested with sending IR codes with N900 device
running Debian userland. The device receiving the codes was Anysee
DVB-C USB receiver.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
Cc: Tony Lindgren <tony@atomide.com>
Cc: linux-omap@vger.kernel.org
Cc: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/Kconfig
drivers/media/rc/Makefile
drivers/media/rc/ir-rx51.c [new file with mode: 0644]
include/media/ir-rx51.h [new file with mode: 0644]