diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2013-01-02 13:18:58 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-01-10 13:45:35 -0500 |
commit | 232910d6bf8d9565a20824aea0d4393b5772e985 (patch) | |
tree | b49225dce7bfc390216a4d9ff05876a048a66c92 /arch/arm/mach-s3c24xx/h1940.h | |
parent | b2ca78717cea921151baf4af5ac9322eacf872c6 (diff) |
ARM: S3C24XX: make h1940.h and h1940-latch.h local
The headers can be local in mach-s3c24xx/.
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx/h1940.h')
-rw-r--r-- | arch/arm/mach-s3c24xx/h1940.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/h1940.h b/arch/arm/mach-s3c24xx/h1940.h new file mode 100644 index 000000000000..2950cc466840 --- /dev/null +++ b/arch/arm/mach-s3c24xx/h1940.h | |||
@@ -0,0 +1,53 @@ | |||
1 | /* | ||
2 | * Copyright 2006 Ben Dooks <ben-linux@fluff.org> | ||
3 | * | ||
4 | * Copyright (c) 2005 Simtec Electronics | ||
5 | * http://armlinux.simtec.co.uk/ | ||
6 | * Ben Dooks <ben@simtec.co.uk> | ||
7 | * | ||
8 | * iPAQ H1940 series definitions | ||
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | ||
14 | |||
15 | #ifndef __MACH_S3C24XX_H1940_H | ||
16 | #define __MACH_S3C24XX_H1940_H __FILE__ | ||
17 | |||
18 | #define H1940_SUSPEND_CHECKSUM (0x30003ff8) | ||
19 | #define H1940_SUSPEND_RESUMEAT (0x30081000) | ||
20 | #define H1940_SUSPEND_CHECK (0x30080000) | ||
21 | |||
22 | extern void h1940_pm_return(void); | ||
23 | extern int h1940_led_blink_set(unsigned gpio, int state, | ||
24 | unsigned long *delay_on, | ||
25 | unsigned long *delay_off); | ||
26 | |||
27 | #include <linux/gpio.h> | ||
28 | |||
29 | #define H1940_LATCH_GPIO(x) (S3C_GPIO_END + (x)) | ||
30 | |||
31 | /* SD layer latch */ | ||
32 | |||
33 | #define H1940_LATCH_LCD_P0 H1940_LATCH_GPIO(0) | ||
34 | #define H1940_LATCH_LCD_P1 H1940_LATCH_GPIO(1) | ||
35 | #define H1940_LATCH_LCD_P2 H1940_LATCH_GPIO(2) | ||
36 | #define H1940_LATCH_LCD_P3 H1940_LATCH_GPIO(3) | ||
37 | #define H1940_LATCH_MAX1698_nSHUTDOWN H1940_LATCH_GPIO(4) | ||
38 | #define H1940_LATCH_LED_RED H1940_LATCH_GPIO(5) | ||
39 | #define H1940_LATCH_SDQ7 H1940_LATCH_GPIO(6) | ||
40 | #define H1940_LATCH_USB_DP H1940_LATCH_GPIO(7) | ||
41 | |||
42 | /* CPU layer latch */ | ||
43 | |||
44 | #define H1940_LATCH_UDA_POWER H1940_LATCH_GPIO(8) | ||
45 | #define H1940_LATCH_AUDIO_POWER H1940_LATCH_GPIO(9) | ||
46 | #define H1940_LATCH_SM803_ENABLE H1940_LATCH_GPIO(10) | ||
47 | #define H1940_LATCH_LCD_P4 H1940_LATCH_GPIO(11) | ||
48 | #define H1940_LATCH_SD_POWER H1940_LATCH_GPIO(12) | ||
49 | #define H1940_LATCH_BLUETOOTH_POWER H1940_LATCH_GPIO(13) | ||
50 | #define H1940_LATCH_LED_GREEN H1940_LATCH_GPIO(14) | ||
51 | #define H1940_LATCH_LED_FLASH H1940_LATCH_GPIO(15) | ||
52 | |||
53 | #endif /* __MACH_S3C24XX_H1940_H */ | ||