xref: /linux/drivers/media/rc/img-ir/Kconfig (revision 56544d29c3a0e383c0d819fefc9570b2803db193)
1config IR_IMG
2	tristate "ImgTec IR Decoder"
3	depends on RC_CORE
4	depends on METAG || MIPS || COMPILE_TEST
5	select IR_IMG_HW if !IR_IMG_RAW
6	help
7	   Say Y or M here if you want to use the ImgTec infrared decoder
8	   functionality found in SoCs such as TZ1090.
9
10config IR_IMG_RAW
11	bool "Raw decoder"
12	depends on IR_IMG
13	help
14	   Say Y here to enable the raw mode driver which passes raw IR signal
15	   changes to the IR raw decoders for software decoding. This is much
16	   less reliable (due to lack of timestamps) and consumes more
17	   processing power than using hardware decode, but can be useful for
18	   testing, debug, and to make more protocols available.
19
20config IR_IMG_HW
21	bool "Hardware decoder"
22	depends on IR_IMG
23	help
24	   Say Y here to enable the hardware decode driver which decodes the IR
25	   signals in hardware. This is more reliable, consumes less processing
26	   power since only a single interrupt is received for each scancode,
27	   and allows an IR scancode to be used as a wake event.
28
29config IR_IMG_NEC
30	bool "NEC protocol support"
31	depends on IR_IMG_HW
32	help
33	   Say Y here to enable support for the NEC, extended NEC, and 32-bit
34	   NEC protocols in the ImgTec infrared decoder block.
35
36config IR_IMG_JVC
37	bool "JVC protocol support"
38	depends on IR_IMG_HW
39	help
40	   Say Y here to enable support for the JVC protocol in the ImgTec
41	   infrared decoder block.
42
43config IR_IMG_SONY
44	bool "Sony protocol support"
45	depends on IR_IMG_HW
46	help
47	   Say Y here to enable support for the Sony protocol in the ImgTec
48	   infrared decoder block.
49
50config IR_IMG_SHARP
51	bool "Sharp protocol support"
52	depends on IR_IMG_HW
53	help
54	   Say Y here to enable support for the Sharp protocol in the ImgTec
55	   infrared decoder block.
56
57config IR_IMG_SANYO
58	bool "Sanyo protocol support"
59	depends on IR_IMG_HW
60	help
61	   Say Y here to enable support for the Sanyo protocol (used by Sanyo,
62	   Aiwa, Chinon remotes) in the ImgTec infrared decoder block.
63
64config IR_IMG_RC5
65	bool "Philips RC5 protocol support"
66	depends on IR_IMG_HW
67	help
68	   Say Y here to enable support for the RC5 protocol in the ImgTec
69	   infrared decoder block.
70
71config IR_IMG_RC6
72	bool "Philips RC6 protocol support"
73	depends on IR_IMG_HW
74	help
75	   Say Y here to enable support for the RC6 protocol in the ImgTec
76	   infrared decoder block.
77	   Note: This version only supports mode 0.
78