diff options
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/irda.h')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/irda.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/irda.h b/arch/arm/mach-pxa/include/mach/irda.h new file mode 100644 index 000000000000..0a50c3c763df --- /dev/null +++ b/arch/arm/mach-pxa/include/mach/irda.h | |||
@@ -0,0 +1,23 @@ | |||
1 | #ifndef ASMARM_ARCH_IRDA_H | ||
2 | #define ASMARM_ARCH_IRDA_H | ||
3 | |||
4 | /* board specific transceiver capabilities */ | ||
5 | |||
6 | #define IR_OFF 1 | ||
7 | #define IR_SIRMODE 2 | ||
8 | #define IR_FIRMODE 4 | ||
9 | |||
10 | struct pxaficp_platform_data { | ||
11 | int transceiver_cap; | ||
12 | void (*transceiver_mode)(struct device *dev, int mode); | ||
13 | int (*startup)(struct device *dev); | ||
14 | void (*shutdown)(struct device *dev); | ||
15 | }; | ||
16 | |||
17 | extern void pxa_set_ficp_info(struct pxaficp_platform_data *info); | ||
18 | |||
19 | #if defined(CONFIG_PXA25x) || defined(CONFIG_PXA27x) | ||
20 | void pxa2xx_transceiver_mode(struct device *dev, int mode); | ||
21 | #endif | ||
22 | |||
23 | #endif | ||