80 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config IR_IMG3 tristate "ImgTec IR Decoder"4 depends on RC_CORE5 depends on MIPS || COMPILE_TEST6 select IR_IMG_HW if !IR_IMG_RAW7 help8 Say Y or M here if you want to use the ImgTec infrared decoder9 functionality found in SoCs such as TZ1090.10 11config IR_IMG_RAW12 bool "Raw decoder"13 depends on IR_IMG14 help15 Say Y here to enable the raw mode driver which passes raw IR signal16 changes to the IR raw decoders for software decoding. This is much17 less reliable (due to lack of timestamps) and consumes more18 processing power than using hardware decode, but can be useful for19 testing, debug, and to make more protocols available.20 21config IR_IMG_HW22 bool "Hardware decoder"23 depends on IR_IMG24 help25 Say Y here to enable the hardware decode driver which decodes the IR26 signals in hardware. This is more reliable, consumes less processing27 power since only a single interrupt is received for each scancode,28 and allows an IR scancode to be used as a wake event.29 30config IR_IMG_NEC31 bool "NEC protocol support"32 depends on IR_IMG_HW33 select BITREVERSE34 help35 Say Y here to enable support for the NEC, extended NEC, and 32-bit36 NEC protocols in the ImgTec infrared decoder block.37 38config IR_IMG_JVC39 bool "JVC protocol support"40 depends on IR_IMG_HW41 help42 Say Y here to enable support for the JVC protocol in the ImgTec43 infrared decoder block.44 45config IR_IMG_SONY46 bool "Sony protocol support"47 depends on IR_IMG_HW48 help49 Say Y here to enable support for the Sony protocol in the ImgTec50 infrared decoder block.51 52config IR_IMG_SHARP53 bool "Sharp protocol support"54 depends on IR_IMG_HW55 help56 Say Y here to enable support for the Sharp protocol in the ImgTec57 infrared decoder block.58 59config IR_IMG_SANYO60 bool "Sanyo protocol support"61 depends on IR_IMG_HW62 help63 Say Y here to enable support for the Sanyo protocol (used by Sanyo,64 Aiwa, Chinon remotes) in the ImgTec infrared decoder block.65 66config IR_IMG_RC567 bool "Philips RC5 protocol support"68 depends on IR_IMG_HW69 help70 Say Y here to enable support for the RC5 protocol in the ImgTec71 infrared decoder block.72 73config IR_IMG_RC674 bool "Philips RC6 protocol support"75 depends on IR_IMG_HW76 help77 Say Y here to enable support for the RC6 protocol in the ImgTec78 infrared decoder block.79 Note: This version only supports mode 0.80