mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
ODROID-N2: config: Add 'gpioplug_ir_recv' for GPIO-based IR receiver
Change-Id: I09c12bfa0f4832971ddedd5140128085bc26087d Signed-off-by: Dongjin Kim <tobetter@gmail.com>
This commit is contained in:
@@ -3397,6 +3397,7 @@ CONFIG_IR_MESON=m
|
||||
# CONFIG_IR_TTUSBIR is not set
|
||||
# CONFIG_RC_LOOPBACK is not set
|
||||
CONFIG_IR_GPIO_CIR=m
|
||||
CONFIG_IR_GPIOPLUG_CIR=m
|
||||
CONFIG_MEDIA_USB_SUPPORT=y
|
||||
|
||||
#
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/platform_data/media/gpio-ir-recv.h>
|
||||
|
||||
#define GPIO_IR_DRIVER_NAME "gpio-rc-recv"
|
||||
|
||||
static unsigned gpio_nr = -1;
|
||||
module_param(gpio_nr, uint, 0);
|
||||
MODULE_PARM_DESC(gpio_nr, "GPIO number to receive IR pulse");
|
||||
|
||||
Reference in New Issue
Block a user