aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx/gta02.h
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2013-01-02 12:57:59 -0500
committerKukjin Kim <kgene.kim@samsung.com>2013-01-10 13:45:35 -0500
commitb2ca78717cea921151baf4af5ac9322eacf872c6 (patch)
treecefe98d438248f9a3d481360ba1785dc82c9768a /arch/arm/mach-s3c24xx/gta02.h
parentbbd7e5e1e90954761f766400000a8f4c882d1202 (diff)
ARM: S3C24XX: make gta02.h local
The header can be local in mach-s3c24xx/ and sort out inclusions. Accordingly, the GTA02_ macro in driver can be replaced. Cc: Sangbeom Kim <sbkim73@samsung.com> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/gta02.h')
-rw-r--r--arch/arm/mach-s3c24xx/gta02.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/gta02.h b/arch/arm/mach-s3c24xx/gta02.h
new file mode 100644
index 000000000000..9430a71e9184
--- /dev/null
+++ b/arch/arm/mach-s3c24xx/gta02.h
@@ -0,0 +1,23 @@
1/*
2 * GTA02 header
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7*/
8
9#ifndef __MACH_S3C24XX_GTA02_H
10#define __MACH_S3C24XX_GTA02_H __FILE__
11
12#include <mach/regs-gpio.h>
13
14#define GTA02_GPIO_AUX_LED S3C2410_GPB(2)
15#define GTA02_GPIO_USB_PULLUP S3C2410_GPB(9)
16#define GTA02_GPIO_AUX_KEY S3C2410_GPF(6)
17#define GTA02_GPIO_HOLD_KEY S3C2410_GPF(7)
18#define GTA02_GPIO_AMP_SHUT S3C2410_GPJ(1) /* v2 + v3 + v4 only */
19#define GTA02_GPIO_HP_IN S3C2410_GPJ(2) /* v2 + v3 + v4 only */
20
21#define GTA02_IRQ_PCF50633 IRQ_EINT9
22
23#endif /* __MACH_S3C24XX_GTA02_H */