diff options
author | Ravi Kumar V <kumarrav@codeaurora.org> | 2012-02-27 23:51:40 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-08 09:14:10 -0500 |
commit | fd0f6851eb46512a6df2961923a0c24edc0a55b9 (patch) | |
tree | c5fc735f8fd152b9de4896d40745a3eac9f3567d /include/media/gpio-ir-recv.h | |
parent | c5f79f6a0c70a390d07bcea4d7df6219f78e0904 (diff) |
[media] rc: Add support for GPIO based IR Receiver driver
Adds GPIO based IR Receiver driver. It decodes signals using decoders
available in rc framework.
Signed-off-by: Ravi Kumar V <kumarrav@codeaurora.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/gpio-ir-recv.h')
-rw-r--r-- | include/media/gpio-ir-recv.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/media/gpio-ir-recv.h b/include/media/gpio-ir-recv.h new file mode 100644 index 000000000000..61a7fbb47127 --- /dev/null +++ b/include/media/gpio-ir-recv.h | |||
@@ -0,0 +1,22 @@ | |||
1 | /* Copyright (c) 2012, Code Aurora Forum. All rights reserved. | ||
2 | * | ||
3 | * This program is free software; you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License version 2 and | ||
5 | * only version 2 as published by the Free Software Foundation. | ||
6 | * | ||
7 | * This program is distributed in the hope that it will be useful, | ||
8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
10 | * GNU General Public License for more details. | ||
11 | */ | ||
12 | |||
13 | #ifndef __GPIO_IR_RECV_H__ | ||
14 | #define __GPIO_IR_RECV_H__ | ||
15 | |||
16 | struct gpio_ir_recv_platform_data { | ||
17 | unsigned int gpio_nr; | ||
18 | bool active_low; | ||
19 | }; | ||
20 | |||
21 | #endif /* __GPIO_IR_RECV_H__ */ | ||
22 | |||