diff options
-rw-r--r-- | drivers/media/rc/Kconfig | 2 | ||||
-rw-r--r-- | drivers/media/rc/Makefile | 1 | ||||
-rw-r--r-- | drivers/media/rc/img-ir/Kconfig | 26 | ||||
-rw-r--r-- | drivers/media/rc/img-ir/Makefile | 6 |
4 files changed, 35 insertions, 0 deletions
diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig index 3b25887a9c09..8fbd377e6311 100644 --- a/drivers/media/rc/Kconfig +++ b/drivers/media/rc/Kconfig | |||
@@ -309,6 +309,8 @@ config IR_RX51 | |||
309 | The driver uses omap DM timers for generating the carrier | 309 | The driver uses omap DM timers for generating the carrier |
310 | wave and pulses. | 310 | wave and pulses. |
311 | 311 | ||
312 | source "drivers/media/rc/img-ir/Kconfig" | ||
313 | |||
312 | config RC_LOOPBACK | 314 | config RC_LOOPBACK |
313 | tristate "Remote Control Loopback Driver" | 315 | tristate "Remote Control Loopback Driver" |
314 | depends on RC_CORE | 316 | depends on RC_CORE |
diff --git a/drivers/media/rc/Makefile b/drivers/media/rc/Makefile index 36dafed412dd..f8b54ff46601 100644 --- a/drivers/media/rc/Makefile +++ b/drivers/media/rc/Makefile | |||
@@ -32,3 +32,4 @@ obj-$(CONFIG_IR_GPIO_CIR) += gpio-ir-recv.o | |||
32 | obj-$(CONFIG_IR_IGUANA) += iguanair.o | 32 | obj-$(CONFIG_IR_IGUANA) += iguanair.o |
33 | obj-$(CONFIG_IR_TTUSBIR) += ttusbir.o | 33 | obj-$(CONFIG_IR_TTUSBIR) += ttusbir.o |
34 | obj-$(CONFIG_RC_ST) += st_rc.o | 34 | obj-$(CONFIG_RC_ST) += st_rc.o |
35 | obj-$(CONFIG_IR_IMG) += img-ir/ | ||
diff --git a/drivers/media/rc/img-ir/Kconfig b/drivers/media/rc/img-ir/Kconfig new file mode 100644 index 000000000000..60eaba6a0843 --- /dev/null +++ b/drivers/media/rc/img-ir/Kconfig | |||
@@ -0,0 +1,26 @@ | |||
1 | config IR_IMG | ||
2 | tristate "ImgTec IR Decoder" | ||
3 | depends on RC_CORE | ||
4 | select IR_IMG_HW if !IR_IMG_RAW | ||
5 | help | ||
6 | Say Y or M here if you want to use the ImgTec infrared decoder | ||
7 | functionality found in SoCs such as TZ1090. | ||
8 | |||
9 | config IR_IMG_RAW | ||
10 | bool "Raw decoder" | ||
11 | depends on IR_IMG | ||
12 | help | ||
13 | Say Y here to enable the raw mode driver which passes raw IR signal | ||
14 | changes to the IR raw decoders for software decoding. This is much | ||
15 | less reliable (due to lack of timestamps) and consumes more | ||
16 | processing power than using hardware decode, but can be useful for | ||
17 | testing, debug, and to make more protocols available. | ||
18 | |||
19 | config IR_IMG_HW | ||
20 | bool "Hardware decoder" | ||
21 | depends on IR_IMG | ||
22 | help | ||
23 | Say Y here to enable the hardware decode driver which decodes the IR | ||
24 | signals in hardware. This is more reliable, consumes less processing | ||
25 | power since only a single interrupt is received for each scancode, | ||
26 | and allows an IR scancode to be used as a wake event. | ||
diff --git a/drivers/media/rc/img-ir/Makefile b/drivers/media/rc/img-ir/Makefile new file mode 100644 index 000000000000..4ef86edec873 --- /dev/null +++ b/drivers/media/rc/img-ir/Makefile | |||
@@ -0,0 +1,6 @@ | |||
1 | img-ir-y := img-ir-core.o | ||
2 | img-ir-$(CONFIG_IR_IMG_RAW) += img-ir-raw.o | ||
3 | img-ir-$(CONFIG_IR_IMG_HW) += img-ir-hw.o | ||
4 | img-ir-objs := $(img-ir-y) | ||
5 | |||
6 | obj-$(CONFIG_IR_IMG) += img-ir.o | ||