162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci//
362306a36Sopenharmony_ci// Copyright (c) 2011-2015 Samsung Electronics Co., Ltd.
462306a36Sopenharmony_ci//		http://www.samsung.com/
562306a36Sopenharmony_ci//
662306a36Sopenharmony_ci// Exynos4 - CPU PMU(Power Management Unit) support
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#include <linux/soc/samsung/exynos-regs-pmu.h>
962306a36Sopenharmony_ci#include <linux/soc/samsung/exynos-pmu.h>
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#include "exynos-pmu.h"
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_cistatic const struct exynos_pmu_conf exynos4210_pmu_config[] = {
1462306a36Sopenharmony_ci	/* { .offset = offset, .val = { AFTR, LPA, SLEEP } */
1562306a36Sopenharmony_ci	{ S5P_ARM_CORE0_LOWPWR,			{ 0x0, 0x0, 0x2 } },
1662306a36Sopenharmony_ci	{ S5P_DIS_IRQ_CORE0,			{ 0x0, 0x0, 0x0 } },
1762306a36Sopenharmony_ci	{ S5P_DIS_IRQ_CENTRAL0,			{ 0x0, 0x0, 0x0 } },
1862306a36Sopenharmony_ci	{ S5P_ARM_CORE1_LOWPWR,			{ 0x0, 0x0, 0x2 } },
1962306a36Sopenharmony_ci	{ S5P_DIS_IRQ_CORE1,			{ 0x0, 0x0, 0x0 } },
2062306a36Sopenharmony_ci	{ S5P_DIS_IRQ_CENTRAL1,			{ 0x0, 0x0, 0x0 } },
2162306a36Sopenharmony_ci	{ S5P_ARM_COMMON_LOWPWR,		{ 0x0, 0x0, 0x2 } },
2262306a36Sopenharmony_ci	{ S5P_L2_0_LOWPWR,			{ 0x2, 0x2, 0x3 } },
2362306a36Sopenharmony_ci	{ S5P_L2_1_LOWPWR,			{ 0x2, 0x2, 0x3 } },
2462306a36Sopenharmony_ci	{ S5P_CMU_ACLKSTOP_LOWPWR,		{ 0x1, 0x0, 0x0 } },
2562306a36Sopenharmony_ci	{ S5P_CMU_SCLKSTOP_LOWPWR,		{ 0x1, 0x0, 0x0 } },
2662306a36Sopenharmony_ci	{ S5P_CMU_RESET_LOWPWR,			{ 0x1, 0x1, 0x0 } },
2762306a36Sopenharmony_ci	{ S5P_APLL_SYSCLK_LOWPWR,		{ 0x1, 0x0, 0x0 } },
2862306a36Sopenharmony_ci	{ S5P_MPLL_SYSCLK_LOWPWR,		{ 0x1, 0x0, 0x0 } },
2962306a36Sopenharmony_ci	{ S5P_VPLL_SYSCLK_LOWPWR,		{ 0x1, 0x0, 0x0 } },
3062306a36Sopenharmony_ci	{ S5P_EPLL_SYSCLK_LOWPWR,		{ 0x1, 0x1, 0x0 } },
3162306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_GPS_ALIVE_LOWPWR,	{ 0x1, 0x1, 0x0 } },
3262306a36Sopenharmony_ci	{ S5P_CMU_RESET_GPSALIVE_LOWPWR,	{ 0x1, 0x1, 0x0 } },
3362306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_CAM_LOWPWR,		{ 0x1, 0x1, 0x0 } },
3462306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_TV_LOWPWR,		{ 0x1, 0x1, 0x0 } },
3562306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_MFC_LOWPWR,		{ 0x1, 0x1, 0x0 } },
3662306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_G3D_LOWPWR,		{ 0x1, 0x1, 0x0 } },
3762306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_LCD0_LOWPWR,		{ 0x1, 0x1, 0x0 } },
3862306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_LCD1_LOWPWR,		{ 0x1, 0x1, 0x0 } },
3962306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_MAUDIO_LOWPWR,	{ 0x1, 0x1, 0x0 } },
4062306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_GPS_LOWPWR,		{ 0x1, 0x1, 0x0 } },
4162306a36Sopenharmony_ci	{ S5P_CMU_RESET_CAM_LOWPWR,		{ 0x1, 0x1, 0x0 } },
4262306a36Sopenharmony_ci	{ S5P_CMU_RESET_TV_LOWPWR,		{ 0x1, 0x1, 0x0 } },
4362306a36Sopenharmony_ci	{ S5P_CMU_RESET_MFC_LOWPWR,		{ 0x1, 0x1, 0x0 } },
4462306a36Sopenharmony_ci	{ S5P_CMU_RESET_G3D_LOWPWR,		{ 0x1, 0x1, 0x0 } },
4562306a36Sopenharmony_ci	{ S5P_CMU_RESET_LCD0_LOWPWR,		{ 0x1, 0x1, 0x0 } },
4662306a36Sopenharmony_ci	{ S5P_CMU_RESET_LCD1_LOWPWR,		{ 0x1, 0x1, 0x0 } },
4762306a36Sopenharmony_ci	{ S5P_CMU_RESET_MAUDIO_LOWPWR,		{ 0x1, 0x1, 0x0 } },
4862306a36Sopenharmony_ci	{ S5P_CMU_RESET_GPS_LOWPWR,		{ 0x1, 0x1, 0x0 } },
4962306a36Sopenharmony_ci	{ S5P_TOP_BUS_LOWPWR,			{ 0x3, 0x0, 0x0 } },
5062306a36Sopenharmony_ci	{ S5P_TOP_RETENTION_LOWPWR,		{ 0x1, 0x0, 0x1 } },
5162306a36Sopenharmony_ci	{ S5P_TOP_PWR_LOWPWR,			{ 0x3, 0x0, 0x3 } },
5262306a36Sopenharmony_ci	{ S5P_LOGIC_RESET_LOWPWR,		{ 0x1, 0x1, 0x0 } },
5362306a36Sopenharmony_ci	{ S5P_ONENAND_MEM_LOWPWR,		{ 0x3, 0x0, 0x0 } },
5462306a36Sopenharmony_ci	{ S5P_MODIMIF_MEM_LOWPWR,		{ 0x3, 0x0, 0x0 } },
5562306a36Sopenharmony_ci	{ S5P_G2D_ACP_MEM_LOWPWR,		{ 0x3, 0x0, 0x0 } },
5662306a36Sopenharmony_ci	{ S5P_USBOTG_MEM_LOWPWR,		{ 0x3, 0x0, 0x0 } },
5762306a36Sopenharmony_ci	{ S5P_HSMMC_MEM_LOWPWR,			{ 0x3, 0x0, 0x0 } },
5862306a36Sopenharmony_ci	{ S5P_CSSYS_MEM_LOWPWR,			{ 0x3, 0x0, 0x0 } },
5962306a36Sopenharmony_ci	{ S5P_SECSS_MEM_LOWPWR,			{ 0x3, 0x0, 0x0 } },
6062306a36Sopenharmony_ci	{ S5P_PCIE_MEM_LOWPWR,			{ 0x3, 0x0, 0x0 } },
6162306a36Sopenharmony_ci	{ S5P_SATA_MEM_LOWPWR,			{ 0x3, 0x0, 0x0 } },
6262306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_DRAM_LOWPWR,	{ 0x1, 0x0, 0x0 } },
6362306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_MAUDIO_LOWPWR,	{ 0x1, 0x1, 0x0 } },
6462306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_GPIO_LOWPWR,	{ 0x1, 0x0, 0x0 } },
6562306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_UART_LOWPWR,	{ 0x1, 0x0, 0x0 } },
6662306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_MMCA_LOWPWR,	{ 0x1, 0x0, 0x0 } },
6762306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_MMCB_LOWPWR,	{ 0x1, 0x0, 0x0 } },
6862306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_EBIA_LOWPWR,	{ 0x1, 0x0, 0x0 } },
6962306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_EBIB_LOWPWR,	{ 0x1, 0x0, 0x0 } },
7062306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_ISOLATION_LOWPWR,	{ 0x1, 0x0, 0x0 } },
7162306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_ALV_SEL_LOWPWR,	{ 0x1, 0x0, 0x0 } },
7262306a36Sopenharmony_ci	{ S5P_XUSBXTI_LOWPWR,			{ 0x1, 0x1, 0x0 } },
7362306a36Sopenharmony_ci	{ S5P_XXTI_LOWPWR,			{ 0x1, 0x1, 0x0 } },
7462306a36Sopenharmony_ci	{ S5P_EXT_REGULATOR_LOWPWR,		{ 0x1, 0x1, 0x0 } },
7562306a36Sopenharmony_ci	{ S5P_GPIO_MODE_LOWPWR,			{ 0x1, 0x0, 0x0 } },
7662306a36Sopenharmony_ci	{ S5P_GPIO_MODE_MAUDIO_LOWPWR,		{ 0x1, 0x1, 0x0 } },
7762306a36Sopenharmony_ci	{ S5P_CAM_LOWPWR,			{ 0x7, 0x0, 0x0 } },
7862306a36Sopenharmony_ci	{ S5P_TV_LOWPWR,			{ 0x7, 0x0, 0x0 } },
7962306a36Sopenharmony_ci	{ S5P_MFC_LOWPWR,			{ 0x7, 0x0, 0x0 } },
8062306a36Sopenharmony_ci	{ S5P_G3D_LOWPWR,			{ 0x7, 0x0, 0x0 } },
8162306a36Sopenharmony_ci	{ S5P_LCD0_LOWPWR,			{ 0x7, 0x0, 0x0 } },
8262306a36Sopenharmony_ci	{ S5P_LCD1_LOWPWR,			{ 0x7, 0x0, 0x0 } },
8362306a36Sopenharmony_ci	{ S5P_MAUDIO_LOWPWR,			{ 0x7, 0x7, 0x0 } },
8462306a36Sopenharmony_ci	{ S5P_GPS_LOWPWR,			{ 0x7, 0x0, 0x0 } },
8562306a36Sopenharmony_ci	{ S5P_GPS_ALIVE_LOWPWR,			{ 0x7, 0x0, 0x0 } },
8662306a36Sopenharmony_ci	{ PMU_TABLE_END,},
8762306a36Sopenharmony_ci};
8862306a36Sopenharmony_ci
8962306a36Sopenharmony_cistatic const struct exynos_pmu_conf exynos4x12_pmu_config[] = {
9062306a36Sopenharmony_ci	{ S5P_ARM_CORE0_LOWPWR,			{ 0x0, 0x0, 0x2 } },
9162306a36Sopenharmony_ci	{ S5P_DIS_IRQ_CORE0,			{ 0x0, 0x0, 0x0 } },
9262306a36Sopenharmony_ci	{ S5P_DIS_IRQ_CENTRAL0,			{ 0x0, 0x0, 0x0 } },
9362306a36Sopenharmony_ci	{ S5P_ARM_CORE1_LOWPWR,			{ 0x0, 0x0, 0x2 } },
9462306a36Sopenharmony_ci	{ S5P_DIS_IRQ_CORE1,			{ 0x0, 0x0, 0x0 } },
9562306a36Sopenharmony_ci	{ S5P_DIS_IRQ_CENTRAL1,			{ 0x0, 0x0, 0x0 } },
9662306a36Sopenharmony_ci	{ S5P_ISP_ARM_LOWPWR,			{ 0x1, 0x0, 0x0 } },
9762306a36Sopenharmony_ci	{ S5P_DIS_IRQ_ISP_ARM_LOCAL_LOWPWR,	{ 0x0, 0x0, 0x0 } },
9862306a36Sopenharmony_ci	{ S5P_DIS_IRQ_ISP_ARM_CENTRAL_LOWPWR,	{ 0x0, 0x0, 0x0 } },
9962306a36Sopenharmony_ci	{ S5P_ARM_COMMON_LOWPWR,		{ 0x0, 0x0, 0x2 } },
10062306a36Sopenharmony_ci	{ S5P_L2_0_LOWPWR,			{ 0x0, 0x0, 0x3 } },
10162306a36Sopenharmony_ci	/* XXX_OPTION register should be set other field */
10262306a36Sopenharmony_ci	{ S5P_ARM_L2_0_OPTION,			{ 0x10, 0x10, 0x0 } },
10362306a36Sopenharmony_ci	{ S5P_L2_1_LOWPWR,			{ 0x0, 0x0, 0x3 } },
10462306a36Sopenharmony_ci	{ S5P_ARM_L2_1_OPTION,			{ 0x10, 0x10, 0x0 } },
10562306a36Sopenharmony_ci	{ S5P_CMU_ACLKSTOP_LOWPWR,		{ 0x1, 0x0, 0x0 } },
10662306a36Sopenharmony_ci	{ S5P_CMU_SCLKSTOP_LOWPWR,		{ 0x1, 0x0, 0x0 } },
10762306a36Sopenharmony_ci	{ S5P_CMU_RESET_LOWPWR,			{ 0x1, 0x1, 0x0 } },
10862306a36Sopenharmony_ci	{ S5P_DRAM_FREQ_DOWN_LOWPWR,		{ 0x1, 0x1, 0x1 } },
10962306a36Sopenharmony_ci	{ S5P_DDRPHY_DLLOFF_LOWPWR,		{ 0x1, 0x1, 0x1 } },
11062306a36Sopenharmony_ci	{ S5P_LPDDR_PHY_DLL_LOCK_LOWPWR,	{ 0x1, 0x1, 0x1 } },
11162306a36Sopenharmony_ci	{ S5P_CMU_ACLKSTOP_COREBLK_LOWPWR,	{ 0x1, 0x0, 0x0 } },
11262306a36Sopenharmony_ci	{ S5P_CMU_SCLKSTOP_COREBLK_LOWPWR,	{ 0x1, 0x0, 0x0 } },
11362306a36Sopenharmony_ci	{ S5P_CMU_RESET_COREBLK_LOWPWR,		{ 0x1, 0x1, 0x0 } },
11462306a36Sopenharmony_ci	{ S5P_APLL_SYSCLK_LOWPWR,		{ 0x1, 0x0, 0x0 } },
11562306a36Sopenharmony_ci	{ S5P_MPLL_SYSCLK_LOWPWR,		{ 0x1, 0x0, 0x0 } },
11662306a36Sopenharmony_ci	{ S5P_VPLL_SYSCLK_LOWPWR,		{ 0x1, 0x0, 0x0 } },
11762306a36Sopenharmony_ci	{ S5P_EPLL_SYSCLK_LOWPWR,		{ 0x1, 0x1, 0x0 } },
11862306a36Sopenharmony_ci	{ S5P_MPLLUSER_SYSCLK_LOWPWR,		{ 0x1, 0x0, 0x0 } },
11962306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_GPS_ALIVE_LOWPWR,	{ 0x1, 0x0, 0x0 } },
12062306a36Sopenharmony_ci	{ S5P_CMU_RESET_GPSALIVE_LOWPWR,	{ 0x1, 0x0, 0x0 } },
12162306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_CAM_LOWPWR,		{ 0x1, 0x0, 0x0 } },
12262306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_TV_LOWPWR,		{ 0x1, 0x0, 0x0 } },
12362306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_MFC_LOWPWR,		{ 0x1, 0x0, 0x0 } },
12462306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_G3D_LOWPWR,		{ 0x1, 0x0, 0x0 } },
12562306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_LCD0_LOWPWR,		{ 0x1, 0x0, 0x0 } },
12662306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_ISP_LOWPWR,		{ 0x1, 0x0, 0x0 } },
12762306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_MAUDIO_LOWPWR,	{ 0x1, 0x0, 0x0 } },
12862306a36Sopenharmony_ci	{ S5P_CMU_CLKSTOP_GPS_LOWPWR,		{ 0x1, 0x0, 0x0 } },
12962306a36Sopenharmony_ci	{ S5P_CMU_RESET_CAM_LOWPWR,		{ 0x1, 0x0, 0x0 } },
13062306a36Sopenharmony_ci	{ S5P_CMU_RESET_TV_LOWPWR,		{ 0x1, 0x0, 0x0 } },
13162306a36Sopenharmony_ci	{ S5P_CMU_RESET_MFC_LOWPWR,		{ 0x1, 0x0, 0x0 } },
13262306a36Sopenharmony_ci	{ S5P_CMU_RESET_G3D_LOWPWR,		{ 0x1, 0x0, 0x0 } },
13362306a36Sopenharmony_ci	{ S5P_CMU_RESET_LCD0_LOWPWR,		{ 0x1, 0x0, 0x0 } },
13462306a36Sopenharmony_ci	{ S5P_CMU_RESET_ISP_LOWPWR,		{ 0x1, 0x0, 0x0 } },
13562306a36Sopenharmony_ci	{ S5P_CMU_RESET_MAUDIO_LOWPWR,		{ 0x1, 0x1, 0x0 } },
13662306a36Sopenharmony_ci	{ S5P_CMU_RESET_GPS_LOWPWR,		{ 0x1, 0x0, 0x0 } },
13762306a36Sopenharmony_ci	{ S5P_TOP_BUS_LOWPWR,			{ 0x3, 0x0, 0x0 } },
13862306a36Sopenharmony_ci	{ S5P_TOP_RETENTION_LOWPWR,		{ 0x1, 0x0, 0x1 } },
13962306a36Sopenharmony_ci	{ S5P_TOP_PWR_LOWPWR,			{ 0x3, 0x0, 0x3 } },
14062306a36Sopenharmony_ci	{ S5P_TOP_BUS_COREBLK_LOWPWR,		{ 0x3, 0x0, 0x0 } },
14162306a36Sopenharmony_ci	{ S5P_TOP_RETENTION_COREBLK_LOWPWR,	{ 0x1, 0x0, 0x1 } },
14262306a36Sopenharmony_ci	{ S5P_TOP_PWR_COREBLK_LOWPWR,		{ 0x3, 0x0, 0x3 } },
14362306a36Sopenharmony_ci	{ S5P_LOGIC_RESET_LOWPWR,		{ 0x1, 0x1, 0x0 } },
14462306a36Sopenharmony_ci	{ S5P_OSCCLK_GATE_LOWPWR,		{ 0x1, 0x0, 0x1 } },
14562306a36Sopenharmony_ci	{ S5P_LOGIC_RESET_COREBLK_LOWPWR,	{ 0x1, 0x1, 0x0 } },
14662306a36Sopenharmony_ci	{ S5P_OSCCLK_GATE_COREBLK_LOWPWR,	{ 0x1, 0x0, 0x1 } },
14762306a36Sopenharmony_ci	{ S5P_ONENAND_MEM_LOWPWR,		{ 0x3, 0x0, 0x0 } },
14862306a36Sopenharmony_ci	{ S5P_ONENAND_MEM_OPTION,		{ 0x10, 0x10, 0x0 } },
14962306a36Sopenharmony_ci	{ S5P_HSI_MEM_LOWPWR,			{ 0x3, 0x0, 0x0 } },
15062306a36Sopenharmony_ci	{ S5P_HSI_MEM_OPTION,			{ 0x10, 0x10, 0x0 } },
15162306a36Sopenharmony_ci	{ S5P_G2D_ACP_MEM_LOWPWR,		{ 0x3, 0x0, 0x0 } },
15262306a36Sopenharmony_ci	{ S5P_G2D_ACP_MEM_OPTION,		{ 0x10, 0x10, 0x0 } },
15362306a36Sopenharmony_ci	{ S5P_USBOTG_MEM_LOWPWR,		{ 0x3, 0x0, 0x0 } },
15462306a36Sopenharmony_ci	{ S5P_USBOTG_MEM_OPTION,		{ 0x10, 0x10, 0x0 } },
15562306a36Sopenharmony_ci	{ S5P_HSMMC_MEM_LOWPWR,			{ 0x3, 0x0, 0x0 } },
15662306a36Sopenharmony_ci	{ S5P_HSMMC_MEM_OPTION,			{ 0x10, 0x10, 0x0 } },
15762306a36Sopenharmony_ci	{ S5P_CSSYS_MEM_LOWPWR,			{ 0x3, 0x0, 0x0 } },
15862306a36Sopenharmony_ci	{ S5P_CSSYS_MEM_OPTION,			{ 0x10, 0x10, 0x0 } },
15962306a36Sopenharmony_ci	{ S5P_SECSS_MEM_LOWPWR,			{ 0x3, 0x0, 0x0 } },
16062306a36Sopenharmony_ci	{ S5P_SECSS_MEM_OPTION,			{ 0x10, 0x10, 0x0 } },
16162306a36Sopenharmony_ci	{ S5P_ROTATOR_MEM_LOWPWR,		{ 0x3, 0x0, 0x0 } },
16262306a36Sopenharmony_ci	{ S5P_ROTATOR_MEM_OPTION,		{ 0x10, 0x10, 0x0 } },
16362306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_DRAM_LOWPWR,	{ 0x1, 0x0, 0x0 } },
16462306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_MAUDIO_LOWPWR,	{ 0x1, 0x1, 0x0 } },
16562306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_GPIO_LOWPWR,	{ 0x1, 0x0, 0x0 } },
16662306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_UART_LOWPWR,	{ 0x1, 0x0, 0x0 } },
16762306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_MMCA_LOWPWR,	{ 0x1, 0x0, 0x0 } },
16862306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_MMCB_LOWPWR,	{ 0x1, 0x0, 0x0 } },
16962306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_EBIA_LOWPWR,	{ 0x1, 0x0, 0x0 } },
17062306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_EBIB_LOWPWR,	{ 0x1, 0x0, 0x0 } },
17162306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_GPIO_COREBLK_LOWPWR, { 0x1, 0x0, 0x0 } },
17262306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_ISOLATION_LOWPWR,	{ 0x1, 0x0, 0x0 } },
17362306a36Sopenharmony_ci	{ S5P_PAD_ISOLATION_COREBLK_LOWPWR,	{ 0x1, 0x0, 0x0 } },
17462306a36Sopenharmony_ci	{ S5P_PAD_RETENTION_ALV_SEL_LOWPWR,	{ 0x1, 0x0, 0x0 } },
17562306a36Sopenharmony_ci	{ S5P_XUSBXTI_LOWPWR,			{ 0x1, 0x1, 0x0 } },
17662306a36Sopenharmony_ci	{ S5P_XXTI_LOWPWR,			{ 0x1, 0x1, 0x0 } },
17762306a36Sopenharmony_ci	{ S5P_EXT_REGULATOR_LOWPWR,		{ 0x1, 0x1, 0x0 } },
17862306a36Sopenharmony_ci	{ S5P_GPIO_MODE_LOWPWR,			{ 0x1, 0x0, 0x0 } },
17962306a36Sopenharmony_ci	{ S5P_GPIO_MODE_COREBLK_LOWPWR,		{ 0x1, 0x0, 0x0 } },
18062306a36Sopenharmony_ci	{ S5P_GPIO_MODE_MAUDIO_LOWPWR,		{ 0x1, 0x1, 0x0 } },
18162306a36Sopenharmony_ci	{ S5P_TOP_ASB_RESET_LOWPWR,		{ 0x1, 0x1, 0x1 } },
18262306a36Sopenharmony_ci	{ S5P_TOP_ASB_ISOLATION_LOWPWR,		{ 0x1, 0x0, 0x1 } },
18362306a36Sopenharmony_ci	{ S5P_CAM_LOWPWR,			{ 0x7, 0x0, 0x0 } },
18462306a36Sopenharmony_ci	{ S5P_TV_LOWPWR,			{ 0x7, 0x0, 0x0 } },
18562306a36Sopenharmony_ci	{ S5P_MFC_LOWPWR,			{ 0x7, 0x0, 0x0 } },
18662306a36Sopenharmony_ci	{ S5P_G3D_LOWPWR,			{ 0x7, 0x0, 0x0 } },
18762306a36Sopenharmony_ci	{ S5P_LCD0_LOWPWR,			{ 0x7, 0x0, 0x0 } },
18862306a36Sopenharmony_ci	{ S5P_ISP_LOWPWR,			{ 0x7, 0x0, 0x0 } },
18962306a36Sopenharmony_ci	{ S5P_MAUDIO_LOWPWR,			{ 0x7, 0x7, 0x0 } },
19062306a36Sopenharmony_ci	{ S5P_GPS_LOWPWR,			{ 0x7, 0x0, 0x0 } },
19162306a36Sopenharmony_ci	{ S5P_GPS_ALIVE_LOWPWR,			{ 0x7, 0x0, 0x0 } },
19262306a36Sopenharmony_ci	{ S5P_CMU_SYSCLK_ISP_LOWPWR,		{ 0x1, 0x0, 0x0 } },
19362306a36Sopenharmony_ci	{ S5P_CMU_SYSCLK_GPS_LOWPWR,		{ 0x1, 0x0, 0x0 } },
19462306a36Sopenharmony_ci	{ PMU_TABLE_END,},
19562306a36Sopenharmony_ci};
19662306a36Sopenharmony_ci
19762306a36Sopenharmony_cistatic const struct exynos_pmu_conf exynos4412_pmu_config[] = {
19862306a36Sopenharmony_ci	{ S5P_ARM_CORE2_LOWPWR,			{ 0x0, 0x0, 0x2 } },
19962306a36Sopenharmony_ci	{ S5P_DIS_IRQ_CORE2,			{ 0x0, 0x0, 0x0 } },
20062306a36Sopenharmony_ci	{ S5P_DIS_IRQ_CENTRAL2,			{ 0x0, 0x0, 0x0 } },
20162306a36Sopenharmony_ci	{ S5P_ARM_CORE3_LOWPWR,			{ 0x0, 0x0, 0x2 } },
20262306a36Sopenharmony_ci	{ S5P_DIS_IRQ_CORE3,			{ 0x0, 0x0, 0x0 } },
20362306a36Sopenharmony_ci	{ S5P_DIS_IRQ_CENTRAL3,			{ 0x0, 0x0, 0x0 } },
20462306a36Sopenharmony_ci	{ PMU_TABLE_END,},
20562306a36Sopenharmony_ci};
20662306a36Sopenharmony_ci
20762306a36Sopenharmony_ciconst struct exynos_pmu_data exynos4210_pmu_data = {
20862306a36Sopenharmony_ci	.pmu_config	= exynos4210_pmu_config,
20962306a36Sopenharmony_ci};
21062306a36Sopenharmony_ci
21162306a36Sopenharmony_ciconst struct exynos_pmu_data exynos4212_pmu_data = {
21262306a36Sopenharmony_ci	.pmu_config	= exynos4x12_pmu_config,
21362306a36Sopenharmony_ci};
21462306a36Sopenharmony_ci
21562306a36Sopenharmony_ciconst struct exynos_pmu_data exynos4412_pmu_data = {
21662306a36Sopenharmony_ci	.pmu_config		= exynos4x12_pmu_config,
21762306a36Sopenharmony_ci	.pmu_config_extra	= exynos4412_pmu_config,
21862306a36Sopenharmony_ci};
219