xref: /linux/drivers/media/rc/img-ir/Kconfig (revision 635abb7054f204e036bc6afe41b1f50825294867)
154b29120SJames Hoganconfig IR_IMG
254b29120SJames Hogan	tristate "ImgTec IR Decoder"
354b29120SJames Hogan	depends on RC_CORE
454b29120SJames Hogan	select IR_IMG_HW if !IR_IMG_RAW
554b29120SJames Hogan	help
654b29120SJames Hogan	   Say Y or M here if you want to use the ImgTec infrared decoder
754b29120SJames Hogan	   functionality found in SoCs such as TZ1090.
854b29120SJames Hogan
954b29120SJames Hoganconfig IR_IMG_RAW
1054b29120SJames Hogan	bool "Raw decoder"
1154b29120SJames Hogan	depends on IR_IMG
1254b29120SJames Hogan	help
1354b29120SJames Hogan	   Say Y here to enable the raw mode driver which passes raw IR signal
1454b29120SJames Hogan	   changes to the IR raw decoders for software decoding. This is much
1554b29120SJames Hogan	   less reliable (due to lack of timestamps) and consumes more
1654b29120SJames Hogan	   processing power than using hardware decode, but can be useful for
1754b29120SJames Hogan	   testing, debug, and to make more protocols available.
1854b29120SJames Hogan
1954b29120SJames Hoganconfig IR_IMG_HW
2054b29120SJames Hogan	bool "Hardware decoder"
2154b29120SJames Hogan	depends on IR_IMG
2254b29120SJames Hogan	help
2354b29120SJames Hogan	   Say Y here to enable the hardware decode driver which decodes the IR
2454b29120SJames Hogan	   signals in hardware. This is more reliable, consumes less processing
2554b29120SJames Hogan	   power since only a single interrupt is received for each scancode,
2654b29120SJames Hogan	   and allows an IR scancode to be used as a wake event.
27*635abb70SJames Hogan
28*635abb70SJames Hoganconfig IR_IMG_NEC
29*635abb70SJames Hogan	bool "NEC protocol support"
30*635abb70SJames Hogan	depends on IR_IMG_HW
31*635abb70SJames Hogan	help
32*635abb70SJames Hogan	   Say Y here to enable support for the NEC, extended NEC, and 32-bit
33*635abb70SJames Hogan	   NEC protocols in the ImgTec infrared decoder block.
34