xref: /openbmc/linux/drivers/media/rc/img-ir/Kconfig (revision 69336533)
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.
27635abb70SJames Hogan
28635abb70SJames Hoganconfig IR_IMG_NEC
29635abb70SJames Hogan	bool "NEC protocol support"
30635abb70SJames Hogan	depends on IR_IMG_HW
31635abb70SJames Hogan	help
32635abb70SJames Hogan	   Say Y here to enable support for the NEC, extended NEC, and 32-bit
33635abb70SJames Hogan	   NEC protocols in the ImgTec infrared decoder block.
3469336533SJames Hogan
3569336533SJames Hoganconfig IR_IMG_JVC
3669336533SJames Hogan	bool "JVC protocol support"
3769336533SJames Hogan	depends on IR_IMG_HW
3869336533SJames Hogan	help
3969336533SJames Hogan	   Say Y here to enable support for the JVC protocol in the ImgTec
4069336533SJames Hogan	   infrared decoder block.
41