From 9523be39af783431d7920195b8e38fd7ad0532df Mon Sep 17 00:00:00 2001 From: Matt Hsu Date: Thu, 8 Jan 2009 18:51:35 +0000 Subject: Add registeration of lp5521 device on gta03. Signed-off-by: Matt Hsu --- arch/arm/mach-s3c6410/include/mach/om-gta03.h | 4 ++++ arch/arm/mach-s3c6410/mach-om-gta03.c | 15 +++++++++++++++ 2 files changed, 19 insertions(+) (limited to 'arch/arm/mach-s3c6410') diff --git a/arch/arm/mach-s3c6410/include/mach/om-gta03.h b/arch/arm/mach-s3c6410/include/mach/om-gta03.h index 17a07dd4c6f..7eb68055406 100644 --- a/arch/arm/mach-s3c6410/include/mach/om-gta03.h +++ b/arch/arm/mach-s3c6410/include/mach/om-gta03.h @@ -51,6 +51,8 @@ extern struct pcf50633_platform_data om_gta03_pcf_pdata; #define GTA03_GPIO_NWLAN_POWER S3C64XX_GPK(0) #define GTA03_GPIO_MODEN_ON S3C64XX_GPK(2) +#define GTA03_GPIO_LED_TRIG S3C64XX_GPK(3) +#define GTA03_GPIO_LED_EN S3C64XX_GPK(4) #define GTA03_GPIO_TP_RESET S3C64XX_GPM(0) #define GTA03_GPIO_GPS_LNA_EN S3C64XX_GPM(2) @@ -88,4 +90,6 @@ extern struct pcf50633_platform_data om_gta03_pcf_pdata; #define GTA03_IRQ_IO1 S3C_EINT(11) #define GTA03_IRQ_NONKEYWAKE S3C_EINT(12) +#define GTA03_IRQ_LED IRQ_EINT_GROUP(6, 9) + #endif /* _OM_GTA03_H */ diff --git a/arch/arm/mach-s3c6410/mach-om-gta03.c b/arch/arm/mach-s3c6410/mach-om-gta03.c index 6ff3aad10be..4ed9b41d002 100644 --- a/arch/arm/mach-s3c6410/mach-om-gta03.c +++ b/arch/arm/mach-s3c6410/mach-om-gta03.c @@ -29,6 +29,7 @@ #include #include #include +#include #include