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