Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config IR_IMG
0003         tristate "ImgTec IR Decoder"
0004         depends on RC_CORE
0005         depends on MIPS || COMPILE_TEST
0006         select IR_IMG_HW if !IR_IMG_RAW
0007         help
0008            Say Y or M here if you want to use the ImgTec infrared decoder
0009            functionality found in SoCs such as TZ1090.
0010 
0011 config IR_IMG_RAW
0012         bool "Raw decoder"
0013         depends on IR_IMG
0014         help
0015            Say Y here to enable the raw mode driver which passes raw IR signal
0016            changes to the IR raw decoders for software decoding. This is much
0017            less reliable (due to lack of timestamps) and consumes more
0018            processing power than using hardware decode, but can be useful for
0019            testing, debug, and to make more protocols available.
0020 
0021 config IR_IMG_HW
0022         bool "Hardware decoder"
0023         depends on IR_IMG
0024         help
0025            Say Y here to enable the hardware decode driver which decodes the IR
0026            signals in hardware. This is more reliable, consumes less processing
0027            power since only a single interrupt is received for each scancode,
0028            and allows an IR scancode to be used as a wake event.
0029 
0030 config IR_IMG_NEC
0031         bool "NEC protocol support"
0032         depends on IR_IMG_HW
0033         select BITREVERSE
0034         help
0035            Say Y here to enable support for the NEC, extended NEC, and 32-bit
0036            NEC protocols in the ImgTec infrared decoder block.
0037 
0038 config IR_IMG_JVC
0039         bool "JVC protocol support"
0040         depends on IR_IMG_HW
0041         help
0042            Say Y here to enable support for the JVC protocol in the ImgTec
0043            infrared decoder block.
0044 
0045 config IR_IMG_SONY
0046         bool "Sony protocol support"
0047         depends on IR_IMG_HW
0048         help
0049            Say Y here to enable support for the Sony protocol in the ImgTec
0050            infrared decoder block.
0051 
0052 config IR_IMG_SHARP
0053         bool "Sharp protocol support"
0054         depends on IR_IMG_HW
0055         help
0056            Say Y here to enable support for the Sharp protocol in the ImgTec
0057            infrared decoder block.
0058 
0059 config IR_IMG_SANYO
0060         bool "Sanyo protocol support"
0061         depends on IR_IMG_HW
0062         help
0063            Say Y here to enable support for the Sanyo protocol (used by Sanyo,
0064            Aiwa, Chinon remotes) in the ImgTec infrared decoder block.
0065 
0066 config IR_IMG_RC5
0067         bool "Philips RC5 protocol support"
0068         depends on IR_IMG_HW
0069         help
0070            Say Y here to enable support for the RC5 protocol in the ImgTec
0071            infrared decoder block.
0072 
0073 config IR_IMG_RC6
0074         bool "Philips RC6 protocol support"
0075         depends on IR_IMG_HW
0076         help
0077            Say Y here to enable support for the RC6 protocol in the ImgTec
0078            infrared decoder block.
0079            Note: This version only supports mode 0.