aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/e740.c
diff options
context:
space:
mode:
authorIan Molton <spyro@f2s.com>2008-08-24 14:21:26 -0400
committerIan Molton <spyro@f2s.com>2008-11-29 18:26:36 -0500
commit36033422639913dad1f3146d452116522c77f753 (patch)
treef0865621035f9deedcab470e8267b7d19a3bf4ed /arch/arm/mach-pxa/e740.c
parent5e1dbdb458ada37f7e97265cb2ea87c55fd5d034 (diff)
[ARM] IrDA support for e7xx
This patchset provides a fully functional SIR IrDA driver for the Toshiba e7xx PDAs. Signed-off-by: Ian Molton <spyro@f2s.com>
Diffstat (limited to 'arch/arm/mach-pxa/e740.c')
-rw-r--r--arch/arm/mach-pxa/e740.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/e740.c b/arch/arm/mach-pxa/e740.c
index c57a15b37f0d..8675fd1b349b 100644
--- a/arch/arm/mach-pxa/e740.c
+++ b/arch/arm/mach-pxa/e740.c
@@ -25,6 +25,7 @@
25#include <mach/mfp-pxa25x.h> 25#include <mach/mfp-pxa25x.h>
26#include <mach/hardware.h> 26#include <mach/hardware.h>
27#include <mach/udc.h> 27#include <mach/udc.h>
28#include <mach/irda.h>
28 29
29#include "generic.h" 30#include "generic.h"
30#include "eseries.h" 31#include "eseries.h"
@@ -118,6 +119,9 @@ static unsigned long e740_pin_config[] __initdata = {
118 GPIO44_BTUART_CTS, 119 GPIO44_BTUART_CTS,
119 GPIO45_GPIO, /* Used by TMIO for #SUSPEND */ 120 GPIO45_GPIO, /* Used by TMIO for #SUSPEND */
120 121
122 /* IrDA */
123 GPIO38_GPIO | MFP_LPM_DRIVE_HIGH,
124
121 /* PC Card */ 125 /* PC Card */
122 GPIO8_GPIO, /* CD0 */ 126 GPIO8_GPIO, /* CD0 */
123 GPIO44_GPIO, /* CD1 */ 127 GPIO44_GPIO, /* CD1 */
@@ -153,6 +157,8 @@ static void __init e740_init(void)
153 pxa2xx_mfp_config(ARRAY_AND_SIZE(e740_pin_config)); 157 pxa2xx_mfp_config(ARRAY_AND_SIZE(e740_pin_config));
154 platform_add_devices(devices, ARRAY_SIZE(devices)); 158 platform_add_devices(devices, ARRAY_SIZE(devices));
155 pxa_set_udc_info(&e7xx_udc_mach_info); 159 pxa_set_udc_info(&e7xx_udc_mach_info);
160 e7xx_irda_init();
161 pxa_set_ficp_info(&e7xx_ficp_platform_data);
156} 162}
157 163
158MACHINE_START(E740, "Toshiba e740") 164MACHINE_START(E740, "Toshiba e740")