aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/files-2.6.30/arch/arm/mach-s3c2442/include
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-07-30 12:04:01 +0000
committerLars-Peter Clausen <lars@metafoo.de>2009-07-30 12:04:01 +0000
commit23608e4c25923b9ebb2b4ba163ff2bafd2446568 (patch)
tree02fecc017af7e93e093908425620dd3f540e25c4 /target/linux/s3c24xx/files-2.6.30/arch/arm/mach-s3c2442/include
parent4be26b9ae53148754007f968a90d26e11303d1a8 (diff)
downloadupstream-23608e4c25923b9ebb2b4ba163ff2bafd2446568.tar.gz
upstream-23608e4c25923b9ebb2b4ba163ff2bafd2446568.tar.bz2
upstream-23608e4c25923b9ebb2b4ba163ff2bafd2446568.zip
glamo: Implement gpiolib for the glamo. Get rid of glamo-spi-gpio and use the generic spi-gpio driver instead.
SVN-Revision: 17048
Diffstat (limited to 'target/linux/s3c24xx/files-2.6.30/arch/arm/mach-s3c2442/include')
-rw-r--r--target/linux/s3c24xx/files-2.6.30/arch/arm/mach-s3c2442/include/mach/gta02.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/files-2.6.30/arch/arm/mach-s3c2442/include/mach/gta02.h b/target/linux/s3c24xx/files-2.6.30/arch/arm/mach-s3c2442/include/mach/gta02.h
index d8d9d9053d..3d7606e9ba 100644
--- a/target/linux/s3c24xx/files-2.6.30/arch/arm/mach-s3c2442/include/mach/gta02.h
+++ b/target/linux/s3c24xx/files-2.6.30/arch/arm/mach-s3c2442/include/mach/gta02.h
@@ -2,6 +2,7 @@
#define _GTA02_H
#include <mach/regs-gpio.h>
+#include <mach/gpio.h>
#include <mach/irqs.h>
/* Different hardware revisions, passed in ATAG_REVISION by u-boot */
@@ -78,6 +79,9 @@
#define GTA02_PCB_ID2_0 S3C2410_GPD3
#define GTA02_PCB_ID2_1 S3C2410_GPD4
+#define GTA02_GPIO_GLAMO_BASE S3C_GPIO_END
+#define GTA02_GPIO_GLAMO(x) (GTA02_GPIO_GLAMO_BASE + x)
+
int gta02_get_pcb_revision(void);
extern struct pcf50633 *gta02_pcf;