mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
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>
This commit is contained in:
parent
18fd9c6330
commit
2262d6ef51
8 changed files with 16 additions and 16 deletions
|
@ -20,6 +20,7 @@
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
#include <linux/pm_domain.h>
|
#include <linux/pm_domain.h>
|
||||||
#include <linux/irqchip.h>
|
#include <linux/irqchip.h>
|
||||||
|
#include <linux/soc/samsung/exynos-regs-pmu.h>
|
||||||
|
|
||||||
#include <asm/cacheflush.h>
|
#include <asm/cacheflush.h>
|
||||||
#include <asm/hardware/cache-l2x0.h>
|
#include <asm/hardware/cache-l2x0.h>
|
||||||
|
@ -31,7 +32,6 @@
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "mfc.h"
|
#include "mfc.h"
|
||||||
#include "regs-pmu.h"
|
|
||||||
|
|
||||||
void __iomem *pmu_base_addr;
|
void __iomem *pmu_base_addr;
|
||||||
|
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
#include <linux/io.h>
|
#include <linux/io.h>
|
||||||
#include <linux/of_address.h>
|
#include <linux/of_address.h>
|
||||||
#include <linux/syscore_ops.h>
|
#include <linux/syscore_ops.h>
|
||||||
|
#include <linux/soc/samsung/exynos-regs-pmu.h>
|
||||||
|
|
||||||
#include <asm/cputype.h>
|
#include <asm/cputype.h>
|
||||||
#include <asm/cp15.h>
|
#include <asm/cp15.h>
|
||||||
#include <asm/mcpm.h>
|
#include <asm/mcpm.h>
|
||||||
#include <asm/smp_plat.h>
|
#include <asm/smp_plat.h>
|
||||||
|
|
||||||
#include "regs-pmu.h"
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
#define EXYNOS5420_CPUS_PER_CLUSTER 4
|
#define EXYNOS5420_CPUS_PER_CLUSTER 4
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include <linux/smp.h>
|
#include <linux/smp.h>
|
||||||
#include <linux/io.h>
|
#include <linux/io.h>
|
||||||
#include <linux/of_address.h>
|
#include <linux/of_address.h>
|
||||||
|
#include <linux/soc/samsung/exynos-regs-pmu.h>
|
||||||
|
|
||||||
#include <asm/cacheflush.h>
|
#include <asm/cacheflush.h>
|
||||||
#include <asm/cp15.h>
|
#include <asm/cp15.h>
|
||||||
|
@ -30,7 +31,6 @@
|
||||||
#include <mach/map.h>
|
#include <mach/map.h>
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "regs-pmu.h"
|
|
||||||
|
|
||||||
extern void exynos4_secondary_startup(void);
|
extern void exynos4_secondary_startup(void);
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
#include <linux/cpu_pm.h>
|
#include <linux/cpu_pm.h>
|
||||||
#include <linux/io.h>
|
#include <linux/io.h>
|
||||||
#include <linux/err.h>
|
#include <linux/err.h>
|
||||||
|
#include <linux/soc/samsung/exynos-regs-pmu.h>
|
||||||
|
#include <linux/soc/samsung/exynos-pmu.h>
|
||||||
|
|
||||||
#include <asm/firmware.h>
|
#include <asm/firmware.h>
|
||||||
#include <asm/smp_scu.h>
|
#include <asm/smp_scu.h>
|
||||||
|
@ -29,8 +31,6 @@
|
||||||
#include <plat/pm-common.h>
|
#include <plat/pm-common.h>
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "exynos-pmu.h"
|
|
||||||
#include "regs-pmu.h"
|
|
||||||
|
|
||||||
static inline void __iomem *exynos_boot_vector_addr(void)
|
static inline void __iomem *exynos_boot_vector_addr(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,10 +15,10 @@
|
||||||
#include <linux/platform_device.h>
|
#include <linux/platform_device.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
|
|
||||||
#include <asm/cputype.h>
|
#include <linux/soc/samsung/exynos-regs-pmu.h>
|
||||||
|
#include <linux/soc/samsung/exynos-pmu.h>
|
||||||
|
|
||||||
#include "exynos-pmu.h"
|
#include <asm/cputype.h>
|
||||||
#include "regs-pmu.h"
|
|
||||||
|
|
||||||
#define PMU_TABLE_END (-1U)
|
#define PMU_TABLE_END (-1U)
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,8 @@
|
||||||
#include <linux/of_address.h>
|
#include <linux/of_address.h>
|
||||||
#include <linux/err.h>
|
#include <linux/err.h>
|
||||||
#include <linux/regulator/machine.h>
|
#include <linux/regulator/machine.h>
|
||||||
|
#include <linux/soc/samsung/exynos-pmu.h>
|
||||||
|
#include <linux/soc/samsung/exynos-regs-pmu.h>
|
||||||
|
|
||||||
#include <asm/cacheflush.h>
|
#include <asm/cacheflush.h>
|
||||||
#include <asm/hardware/cache-l2x0.h>
|
#include <asm/hardware/cache-l2x0.h>
|
||||||
|
@ -35,8 +37,6 @@
|
||||||
#include <plat/pm-common.h>
|
#include <plat/pm-common.h>
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "exynos-pmu.h"
|
|
||||||
#include "regs-pmu.h"
|
|
||||||
#include "regs-srom.h"
|
#include "regs-srom.h"
|
||||||
|
|
||||||
#define REG_TABLE_END (-1U)
|
#define REG_TABLE_END (-1U)
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
* published by the Free Software Foundation.
|
* published by the Free Software Foundation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __EXYNOS_PMU_H
|
#ifndef __LINUX_SOC_EXYNOS_PMU_H
|
||||||
#define __EXYNOS_PMU_H
|
#define __LINUX_SOC_EXYNOS_PMU_H
|
||||||
|
|
||||||
enum sys_powerdown {
|
enum sys_powerdown {
|
||||||
SYS_AFTR,
|
SYS_AFTR,
|
||||||
|
@ -21,4 +21,4 @@ enum sys_powerdown {
|
||||||
|
|
||||||
extern void exynos_sys_powerdown_conf(enum sys_powerdown mode);
|
extern void exynos_sys_powerdown_conf(enum sys_powerdown mode);
|
||||||
|
|
||||||
#endif /* __EXYNOS_PMU_H */
|
#endif /* __LINUX_SOC_EXYNOS_PMU_H */
|
|
@ -9,8 +9,8 @@
|
||||||
* published by the Free Software Foundation.
|
* published by the Free Software Foundation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __ASM_ARCH_REGS_PMU_H
|
#ifndef __LINUX_SOC_EXYNOS_REGS_PMU_H
|
||||||
#define __ASM_ARCH_REGS_PMU_H __FILE__
|
#define __LINUX_SOC_EXYNOS_REGS_PMU_H __FILE__
|
||||||
|
|
||||||
#define S5P_CENTRAL_SEQ_CONFIGURATION 0x0200
|
#define S5P_CENTRAL_SEQ_CONFIGURATION 0x0200
|
||||||
|
|
||||||
|
@ -690,4 +690,4 @@
|
||||||
| EXYNOS5420_KFC_USE_STANDBY_WFI2 \
|
| EXYNOS5420_KFC_USE_STANDBY_WFI2 \
|
||||||
| EXYNOS5420_KFC_USE_STANDBY_WFI3)
|
| EXYNOS5420_KFC_USE_STANDBY_WFI3)
|
||||||
|
|
||||||
#endif /* __ASM_ARCH_REGS_PMU_H */
|
#endif /* __LINUX_SOC_EXYNOS_REGS_PMU_H */
|
Loading…
Reference in a new issue