Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / include / linux / soc / samsung / exynos-pmu.h
blobe57eb4b6cc5a54f51be67d9f3a6e2b43393bba06
1 /*
2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
3 * http://www.samsung.com
5 * Header for EXYNOS PMU Driver support
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
12 #ifndef __LINUX_SOC_EXYNOS_PMU_H
13 #define __LINUX_SOC_EXYNOS_PMU_H
15 struct regmap;
17 enum sys_powerdown {
18 SYS_AFTR,
19 SYS_LPA,
20 SYS_SLEEP,
21 NUM_SYS_POWERDOWN,
24 extern void exynos_sys_powerdown_conf(enum sys_powerdown mode);
25 #ifdef CONFIG_EXYNOS_PMU
26 extern struct regmap *exynos_get_pmu_regmap(void);
27 #else
28 static inline struct regmap *exynos_get_pmu_regmap(void)
30 return ERR_PTR(-ENODEV);
32 #endif
34 #endif /* __LINUX_SOC_EXYNOS_PMU_H */