omap: headers: Create headers necessary for compile under mach-omap1 and mach-omap2
[deliverable/linux.git] / arch / arm / plat-omap / include / mach / irda.h
CommitLineData
120db2cb 1/*
a09e64fb 2 * arch/arm/plat-omap/include/mach/irda.h
120db2cb
TL
3 *
4 * Copyright (C) 2005-2006 Komal Shah <komal_shah802003@yahoo.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10#ifndef ASMARM_ARCH_IRDA_H
11#define ASMARM_ARCH_IRDA_H
12
13/* board specific transceiver capabilities */
14
15#define IR_SEL 1 /* Selects IrDA */
16#define IR_SIRMODE 2
17#define IR_FIRMODE 4
18#define IR_MIRMODE 8
19
20struct omap_irda_config {
21 int transceiver_cap;
22 int (*transceiver_mode)(struct device *dev, int mode);
23 int (*select_irda)(struct device *dev, int state);
120db2cb
TL
24 int rx_channel;
25 int tx_channel;
26 unsigned long dest_start;
27 unsigned long src_start;
28 int tx_trigger;
29 int rx_trigger;
666cd174 30 int mode;
120db2cb
TL
31};
32
33#endif
This page took 0.363381 seconds and 5 git commands to generate.