mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 17:33:01 +00:00
9bdc79ea07
This is a new driver for the Fintek LPC SuperIO CIR function, in the Fintek F71809 chip. Hardware and datasheets were provided by Fintek, so thanks go to them for supporting this effort. This driver started out as a copy of the nuvoton-cir driver, and was then modified as needed for the Fintek chip. The two share many similaries, though the buffer handling for the Fintek chip is actually nearly identical to the mceusb buffer handling, so the parser routine is almost a drop-in copy of the mceusb buffer parser (a candidate for being abstracted out into shared code at some point). This initial code drop *only* supports receive, but the hardware does support transmit as well. I really haven't even started to look at what's required, but my guess is that its also pretty similar to mceusb. Most people are probably only really interested in RX anyway though, so I think its good to get this out there even with only RX. (Nb: there are also Fintek-made mceusb receivers, which presumably, this chip shares CIR hardware with). This hardware can be found on at least Jetway NC98 boards and derivative systems, and likely others as well. Functionality was tested with an NC98 development board, in-kernel decode of RC6 (mce), RC5 (hauppauge) and NEC-ish (tivo) remotes all successful, as was lirc userspace decode of the RC6 remote. CC: Aaron Huang <aaron_huang@fintek.com.tw> CC: Tom Tsai <tom_tsai@fintek.com.tw> Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
26 lines
903 B
Makefile
26 lines
903 B
Makefile
rc-core-objs := rc-main.o ir-raw.o
|
|
|
|
obj-y += keymaps/
|
|
|
|
obj-$(CONFIG_RC_CORE) += rc-core.o
|
|
obj-$(CONFIG_LIRC) += lirc_dev.o
|
|
obj-$(CONFIG_IR_NEC_DECODER) += ir-nec-decoder.o
|
|
obj-$(CONFIG_IR_RC5_DECODER) += ir-rc5-decoder.o
|
|
obj-$(CONFIG_IR_RC6_DECODER) += ir-rc6-decoder.o
|
|
obj-$(CONFIG_IR_JVC_DECODER) += ir-jvc-decoder.o
|
|
obj-$(CONFIG_IR_SONY_DECODER) += ir-sony-decoder.o
|
|
obj-$(CONFIG_IR_RC5_SZ_DECODER) += ir-rc5-sz-decoder.o
|
|
obj-$(CONFIG_IR_LIRC_CODEC) += ir-lirc-codec.o
|
|
|
|
# stand-alone IR receivers/transmitters
|
|
obj-$(CONFIG_IR_IMON) += imon.o
|
|
obj-$(CONFIG_IR_ITE_CIR) += ite-cir.o
|
|
obj-$(CONFIG_IR_MCEUSB) += mceusb.o
|
|
obj-$(CONFIG_IR_FINTEK) += fintek-cir.o
|
|
obj-$(CONFIG_IR_NUVOTON) += nuvoton-cir.o
|
|
obj-$(CONFIG_IR_ENE) += ene_ir.o
|
|
obj-$(CONFIG_IR_REDRAT3) += redrat3.o
|
|
obj-$(CONFIG_IR_STREAMZAP) += streamzap.o
|
|
obj-$(CONFIG_IR_WINBOND_CIR) += winbond-cir.o
|
|
obj-$(CONFIG_RC_LOOPBACK) += rc-loopback.o
|