summaryrefslogtreecommitdiffstats
path: root/include/linux/soc/samsung/exynos-pmu.h
diff options
context:
space:
mode:
authorPankaj Dubey2015-12-18 04:32:11 +0100
committerKrzysztof Kozlowski2016-02-25 02:13:36 +0100
commit2262d6ef517f9f0d427015cb9a790b86a2c95fed (patch)
tree7d9348bb908b04e763f9778637a4816ebb1674e0 /include/linux/soc/samsung/exynos-pmu.h
parentARM: EXYNOS: Correct header comment in Kconfig file (diff)
downloadkernel-qcow2-linux-2262d6ef517f9f0d427015cb9a790b86a2c95fed.tar.gz
kernel-qcow2-linux-2262d6ef517f9f0d427015cb9a790b86a2c95fed.tar.xz
kernel-qcow2-linux-2262d6ef517f9f0d427015cb9a790b86a2c95fed.zip
ARM: EXYNOS: Move pmu specific headers under "linux/soc/samsung"
Moving Exynos PMU specific header file into "include/linux/soc/samsung" thus updated affected files under "mach-exynos" to use new location of these header files. Signed-off-by: Amit Daniel Kachhap <amitdanielk@gmail.com> [tested on Peach-Pi (Exynos5880)] Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> [for testing on Trats2 (Exynos4412) and Odroid XU3 (Exynos5422)] Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Diffstat (limited to 'include/linux/soc/samsung/exynos-pmu.h')
-rw-r--r--include/linux/soc/samsung/exynos-pmu.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/soc/samsung/exynos-pmu.h b/include/linux/soc/samsung/exynos-pmu.h
new file mode 100644
index 000000000000..e2e9de1acc5b
--- /dev/null
+++ b/include/linux/soc/samsung/exynos-pmu.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * http://www.samsung.com
+ *
+ * Header for EXYNOS PMU Driver support
+ *
+ * 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 __LINUX_SOC_EXYNOS_PMU_H
+#define __LINUX_SOC_EXYNOS_PMU_H
+
+enum sys_powerdown {
+ SYS_AFTR,
+ SYS_LPA,
+ SYS_SLEEP,
+ NUM_SYS_POWERDOWN,
+};
+
+extern void exynos_sys_powerdown_conf(enum sys_powerdown mode);
+
+#endif /* __LINUX_SOC_EXYNOS_PMU_H */