diff options
author | Ian Molton <spyro@f2s.com> | 2008-08-24 19:21:26 +0100 |
---|---|---|
committer | Ian Molton <spyro@f2s.com> | 2008-11-29 23:26:36 +0000 |
commit | 36033422639913dad1f3146d452116522c77f753 (patch) | |
tree | f0865621035f9deedcab470e8267b7d19a3bf4ed /arch/arm/mach-pxa/e740.c | |
parent | 5e1dbdb458ada37f7e97265cb2ea87c55fd5d034 (diff) | |
download | blackbird-op-linux-36033422639913dad1f3146d452116522c77f753.tar.gz blackbird-op-linux-36033422639913dad1f3146d452116522c77f753.zip |
[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.c | 6 |
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 @@ #include <mach/mfp-pxa25x.h> #include <mach/hardware.h> #include <mach/udc.h> +#include <mach/irda.h> #include "generic.h" #include "eseries.h" @@ -118,6 +119,9 @@ static unsigned long e740_pin_config[] __initdata = { GPIO44_BTUART_CTS, GPIO45_GPIO, /* Used by TMIO for #SUSPEND */ + /* IrDA */ + GPIO38_GPIO | MFP_LPM_DRIVE_HIGH, + /* PC Card */ GPIO8_GPIO, /* CD0 */ GPIO44_GPIO, /* CD1 */ @@ -153,6 +157,8 @@ static void __init e740_init(void) pxa2xx_mfp_config(ARRAY_AND_SIZE(e740_pin_config)); platform_add_devices(devices, ARRAY_SIZE(devices)); pxa_set_udc_info(&e7xx_udc_mach_info); + e7xx_irda_init(); + pxa_set_ficp_info(&e7xx_ficp_platform_data); } MACHINE_START(E740, "Toshiba e740") |