summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-pxa/irda.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-pxa/irda.h')
-rw-r--r--include/asm-arm/arch-pxa/irda.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/asm-arm/arch-pxa/irda.h b/include/asm-arm/arch-pxa/irda.h
new file mode 100644
index 0000000..748406f
--- /dev/null
+++ b/include/asm-arm/arch-pxa/irda.h
@@ -0,0 +1,17 @@
+#ifndef ASMARM_ARCH_IRDA_H
+#define ASMARM_ARCH_IRDA_H
+
+/* board specific transceiver capabilities */
+
+#define IR_OFF 1
+#define IR_SIRMODE 2
+#define IR_FIRMODE 4
+
+struct pxaficp_platform_data {
+ int transceiver_cap;
+ void (*transceiver_mode)(struct device *dev, int mode);
+};
+
+extern void pxa_set_ficp_info(struct pxaficp_platform_data *info);
+
+#endif
OpenPOWER on IntegriCloud