xref: /openbmc/linux/drivers/media/rc/img-ir/Kconfig (revision aa7383db)
154b29120SJames Hoganconfig IR_IMG
254b29120SJames Hogan	tristate "ImgTec IR Decoder"
354b29120SJames Hogan	depends on RC_CORE
46010d2c1SJames Hogan	depends on METAG || MIPS || COMPILE_TEST
554b29120SJames Hogan	select IR_IMG_HW if !IR_IMG_RAW
654b29120SJames Hogan	help
754b29120SJames Hogan	   Say Y or M here if you want to use the ImgTec infrared decoder
854b29120SJames Hogan	   functionality found in SoCs such as TZ1090.
954b29120SJames Hogan
1054b29120SJames Hoganconfig IR_IMG_RAW
1154b29120SJames Hogan	bool "Raw decoder"
1254b29120SJames Hogan	depends on IR_IMG
1354b29120SJames Hogan	help
1454b29120SJames Hogan	   Say Y here to enable the raw mode driver which passes raw IR signal
1554b29120SJames Hogan	   changes to the IR raw decoders for software decoding. This is much
1654b29120SJames Hogan	   less reliable (due to lack of timestamps) and consumes more
1754b29120SJames Hogan	   processing power than using hardware decode, but can be useful for
1854b29120SJames Hogan	   testing, debug, and to make more protocols available.
1954b29120SJames Hogan
2054b29120SJames Hoganconfig IR_IMG_HW
2154b29120SJames Hogan	bool "Hardware decoder"
2254b29120SJames Hogan	depends on IR_IMG
2354b29120SJames Hogan	help
2454b29120SJames Hogan	   Say Y here to enable the hardware decode driver which decodes the IR
2554b29120SJames Hogan	   signals in hardware. This is more reliable, consumes less processing
2654b29120SJames Hogan	   power since only a single interrupt is received for each scancode,
2754b29120SJames Hogan	   and allows an IR scancode to be used as a wake event.
28635abb70SJames Hogan
29635abb70SJames Hoganconfig IR_IMG_NEC
30635abb70SJames Hogan	bool "NEC protocol support"
31635abb70SJames Hogan	depends on IR_IMG_HW
32635abb70SJames Hogan	help
33635abb70SJames Hogan	   Say Y here to enable support for the NEC, extended NEC, and 32-bit
34635abb70SJames Hogan	   NEC protocols in the ImgTec infrared decoder block.
3569336533SJames Hogan
3669336533SJames Hoganconfig IR_IMG_JVC
3769336533SJames Hogan	bool "JVC protocol support"
3869336533SJames Hogan	depends on IR_IMG_HW
3969336533SJames Hogan	help
4069336533SJames Hogan	   Say Y here to enable support for the JVC protocol in the ImgTec
4169336533SJames Hogan	   infrared decoder block.
42e72b21abSJames Hogan
43e72b21abSJames Hoganconfig IR_IMG_SONY
44e72b21abSJames Hogan	bool "Sony protocol support"
45e72b21abSJames Hogan	depends on IR_IMG_HW
46e72b21abSJames Hogan	help
47e72b21abSJames Hogan	   Say Y here to enable support for the Sony protocol in the ImgTec
48e72b21abSJames Hogan	   infrared decoder block.
493c11305eSJames Hogan
503c11305eSJames Hoganconfig IR_IMG_SHARP
513c11305eSJames Hogan	bool "Sharp protocol support"
523c11305eSJames Hogan	depends on IR_IMG_HW
533c11305eSJames Hogan	help
543c11305eSJames Hogan	   Say Y here to enable support for the Sharp protocol in the ImgTec
553c11305eSJames Hogan	   infrared decoder block.
5646b35083SJames Hogan
5746b35083SJames Hoganconfig IR_IMG_SANYO
5846b35083SJames Hogan	bool "Sanyo protocol support"
5946b35083SJames Hogan	depends on IR_IMG_HW
6046b35083SJames Hogan	help
6146b35083SJames Hogan	   Say Y here to enable support for the Sanyo protocol (used by Sanyo,
6246b35083SJames Hogan	   Aiwa, Chinon remotes) in the ImgTec infrared decoder block.
63aa7383dbSSifan Naeem
64aa7383dbSSifan Naeemconfig IR_IMG_RC5
65aa7383dbSSifan Naeem	bool "Philips RC5 protocol support"
66aa7383dbSSifan Naeem	depends on IR_IMG_HW
67aa7383dbSSifan Naeem	help
68aa7383dbSSifan Naeem	   Say Y here to enable support for the RC5 protocol in the ImgTec
69aa7383dbSSifan Naeem	   infrared decoder block.
70