aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c2442/include/mach/gta02.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-01-22 12:59:41 +0100
committerLars-Peter Clausen <lars@metafoo.de>2010-01-22 13:34:11 +0100
commit5dcc9e4e521eaa806dcfaa359a29ee7a3ee48dd5 (patch)
treee6277f7b0c26bf6a412101ba8109b062dd434613 /arch/arm/mach-s3c2442/include/mach/gta02.h
parent67b7a1c5e40b7c4a398e8023a49c0688c1a0eb23 (diff)
gta02: Configure pcf50633-gpio device and add a regulator device which
represents the power switch in front of the gsm modem.
Diffstat (limited to 'arch/arm/mach-s3c2442/include/mach/gta02.h')
-rw-r--r--arch/arm/mach-s3c2442/include/mach/gta02.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2442/include/mach/gta02.h b/arch/arm/mach-s3c2442/include/mach/gta02.h
index b67e5ec2919..6db48d4ff61 100644
--- a/arch/arm/mach-s3c2442/include/mach/gta02.h
+++ b/arch/arm/mach-s3c2442/include/mach/gta02.h
@@ -83,6 +83,9 @@
#define GTA02_GPIO_GLAMO_BASE S3C_GPIO_END
#define GTA02_GPIO_GLAMO(x) (GTA02_GPIO_GLAMO_BASE + (x))
+#define GTA02_GPIO_PCF_BASE (GTA02_GPIO_GLAMO_BASE + 32)
+#define GTA02_GPIO_PCF(x) (GTA02_GPIO_PCF_BASE + (x))
+
int gta02_get_pcb_revision(void);
extern struct pcf50633 *gta02_pcf;