aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/include/mach/gpio-midas.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-exynos/include/mach/gpio-midas.h')
-rw-r--r--arch/arm/mach-exynos/include/mach/gpio-midas.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/include/mach/gpio-midas.h b/arch/arm/mach-exynos/include/mach/gpio-midas.h
new file mode 100644
index 0000000..bd52930
--- /dev/null
+++ b/arch/arm/mach-exynos/include/mach/gpio-midas.h
@@ -0,0 +1,59 @@
+/* linux/arch/arm/mach-exynos/include/mach/gpio-midas.h
+ *
+ * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
+ * http://www.samsung.com
+ *
+ * EXYNOS4 - MIDAS GPIO lib
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_GPIO_MIDAS_H
+#define __ASM_ARCH_GPIO_MIDAS_H __FILE__
+
+/* MACH_MIDAS_01_BD nor MACH_MIDAS_01_BD nomore exists
+ but SLP use GPIO_MIDAS_01_BD, GPIO_MIDAS_02_BD */
+#if defined(CONFIG_GPIO_MIDAS_01_BD)
+#include "gpio-rev01-midas.h"
+#elif defined(CONFIG_GPIO_MIDAS_02_BD)
+#include "gpio-rev02-midas.h"
+#elif defined(CONFIG_MACH_IRON)
+#include "gpio-iron.h"
+#elif defined(CONFIG_MACH_GRANDE)
+#include "gpio-rev00-m0grandectc.h"
+#elif defined(CONFIG_MACH_M0_CTC)
+#include "gpio-rev00-m0ctc.h"
+#elif defined(CONFIG_MACH_M0) || defined(CONFIG_MACH_SLP_PQ)
+#include "gpio-rev00-m0.h"
+#elif defined(CONFIG_MACH_C1) && !defined(CONFIG_TARGET_LOCALE_KOR)
+#include "gpio-rev00-c1.h"
+#elif defined(CONFIG_MACH_C1) && defined(CONFIG_TARGET_LOCALE_KOR)
+#include "gpio-rev03-c1kor.h"
+#elif defined(CONFIG_MACH_SLP_PQ_LTE) && !defined(CONFIG_TARGET_LOCALE_KOR)
+#include "gpio-rev00-c1vzw.h"
+#elif defined(CONFIG_MACH_M3)
+#include "gpio-rev00-m3.h"
+#elif defined(CONFIG_GPIO_NAPLES_00_BD)
+#include "gpio-rev00-naples.h"
+#elif defined(CONFIG_MACH_P4NOTE)
+#include "gpio-rev00-p4notepq.h"
+#elif defined(CONFIG_MACH_KONA) && defined(CONFIG_KONA_00_BD)
+#include "gpio-rev00-kona.h"
+#elif defined(CONFIG_MACH_KONA) && defined(CONFIG_KONA_01_BD)
+#include "gpio-rev01-kona.h"
+#elif defined(CONFIG_MACH_GC1)
+#include "gpio-rev00-gc1.h"
+#elif defined(CONFIG_MACH_T0_CHN_CTC)
+#include "gpio-rev00-t0ctc.h"
+#elif defined(CONFIG_MACH_T0_CHN_CU_DUOS) || \
+ defined(CONFIG_MACH_T0_CHN_OPEN_DUOS)
+#include "gpio-rev00-t0cu-duos.h"
+#elif defined(CONFIG_MACH_T0) || defined(CONFIG_MACH_SLP_T0_LTE)
+#include "gpio-rev00-t0.h"
+#elif defined(CONFIG_MACH_BAFFIN)
+#include "gpio-rev00-baffin.h"
+#endif
+
+#endif /* __ASM_ARCH_GPIO_MIDAS_H */