2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-20 03:24:03 +08:00
linux-next/drivers/media/IR
Jarod Wilson 6d2f5c2788 [media] IR: add driver for Nuvoton w836x7hg integrated CIR
This is a new ir-core pnp driver for the Nuvoton w836x7hg integrated CIR
function. The chip is found on at least the ASRock ION 330HT boxes and
apparently, on a number of Intel DP55-series motherboards:

http://www.asrock.com/nettop/overview.asp?Model=ION%20330HT
http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=17685&lang=eng

This driver was made possible by a hardware donation from Nuvoton, along
with sample code (in the form of an lirc driver) and datasheet, so huge
thanks to them for supporting this effort. Note that this driver
constitutes a massive rewrite, porting from the lirc interfaces to the
ir-core interfaces, and restructuring the driver to look more like Maxim
Levitsky's ene_ir driver (as well as generally making it look more like
kernel code).

There's some work left to be done on this driver, to fully support the
range of functionality possible, but receive and IR power-on/wake are
both functional (may require setting wake key under another OS atm). The
hardware I've got (one of the ASRock boxes) only supports RX, so TX is
completely untested as of yet. Certain RX parameters, like sample
resolution and RX IRQ sample length trigger level could possibly stand
to be made tweakable via modparams or sysfs nodes, but the current
values work well enough for me w/an MCE RC6A remote.

The original lirc driver carried support for the Windows MCE IR
keyboard/mouse device, which I plan to add back generically, in a way
that should be usable by any raw IR receiver (or at least by this driver
and the mceusb driver).

Suspend and resume have also been tested, the power button on my remote
can be used to wake the machine, and CIR functionality resumes just
fine. Module unload/reload has also been tested, though not extensively
or repetitively. Also tested to work with the lirc bridge plugin for
userspace decoding.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-10-21 01:18:30 -02:00
..
keymaps [media] fix A-Link DTU(m) remote controller PIP button 2010-10-21 01:18:13 -02:00
ene_ir.c V4L/DVB: IR: Port ene driver to new IR subsystem and enable it 2010-08-08 23:43:00 -03:00
ene_ir.h V4L/DVB: IR: Port ene driver to new IR subsystem and enable it 2010-08-08 23:43:00 -03:00
imon.c V4L/DVB: IR/imon: set up mce-only devices w/mce keytable 2010-10-21 01:06:08 -02:00
ir-core-priv.h V4L/DVB: IR/streamzap: functional in-kernel decoding 2010-10-21 01:04:47 -02:00
ir-functions.c V4L/DVB: ir-core: move subsystem internal calls to ir-core-priv.h 2010-05-19 12:57:04 -03:00
ir-jvc-decoder.c V4L/DVB: IR: JVC: make repeat work 2010-08-08 23:42:59 -03:00
ir-keytable.c V4L/DVB: IR: export ir_keyup so imon driver can use it directly 2010-10-21 01:06:07 -02:00
ir-lirc-codec.c V4L/DVB: IR: fix duty cycle capability 2010-09-27 22:21:54 -03:00
ir-nec-decoder.c V4L/DVB: IR: NECX: support repeat 2010-08-08 23:42:59 -03:00
ir-raw-event.c V4L/DVB: IR: ir-raw-event: null pointer dereference 2010-09-27 22:21:46 -03:00
ir-rc5-decoder.c V4L/DVB: ir-core: move decoding state to ir_raw_event_ctrl 2010-08-02 14:55:15 -03:00
ir-rc5-sz-decoder.c V4L/DVB: IR/streamzap: functional in-kernel decoding 2010-10-21 01:04:47 -02:00
ir-rc6-decoder.c V4L/DVB: ir-core: move decoding state to ir_raw_event_ctrl 2010-08-02 14:55:15 -03:00
ir-sony-decoder.c V4L/DVB: ir-core: move decoding state to ir_raw_event_ctrl 2010-08-02 14:55:15 -03:00
ir-sysfs.c V4L/DVB: IR/streamzap: functional in-kernel decoding 2010-10-21 01:04:47 -02:00
Kconfig [media] IR: add driver for Nuvoton w836x7hg integrated CIR 2010-10-21 01:18:30 -02:00
lirc_dev.c V4L/DVB: IR/lirc_dev: check for valid irctl in unregister path 2010-10-21 01:06:08 -02:00
Makefile [media] IR: add driver for Nuvoton w836x7hg integrated CIR 2010-10-21 01:18:30 -02:00
mceusb.c V4L/DVB: mceusb: add two new ASUS device IDs 2010-09-27 22:21:52 -03:00
nuvoton-cir.c [media] IR: add driver for Nuvoton w836x7hg integrated CIR 2010-10-21 01:18:30 -02:00
nuvoton-cir.h [media] IR: add driver for Nuvoton w836x7hg integrated CIR 2010-10-21 01:18:30 -02:00
rc-map.c V4L/DVB: IR: Allow not to compile keymaps in 2010-08-08 23:43:00 -03:00
streamzap.c V4L/DVB: IR/streamzap: functional in-kernel decoding 2010-10-21 01:04:47 -02:00