|
@@ -390,6 +390,8 @@ void exynos_sys_powerdown_conf(enum sys_powerdown mode)
|
|
|
|
|
|
static int __init exynos_pmu_init(void)
|
|
|
{
|
|
|
+ unsigned int value;
|
|
|
+
|
|
|
exynos_pmu_config = exynos4210_pmu_config;
|
|
|
|
|
|
if (soc_is_exynos4210()) {
|
|
@@ -399,6 +401,18 @@ static int __init exynos_pmu_init(void)
|
|
|
exynos_pmu_config = exynos4x12_pmu_config;
|
|
|
pr_info("EXYNOS4x12 PMU Initialize\n");
|
|
|
} else if (soc_is_exynos5250()) {
|
|
|
+ /*
|
|
|
+ * When SYS_WDTRESET is set, watchdog timer reset request
|
|
|
+ * is ignored by power management unit.
|
|
|
+ */
|
|
|
+ value = __raw_readl(EXYNOS5_AUTO_WDTRESET_DISABLE);
|
|
|
+ value &= ~EXYNOS5_SYS_WDTRESET;
|
|
|
+ __raw_writel(value, EXYNOS5_AUTO_WDTRESET_DISABLE);
|
|
|
+
|
|
|
+ value = __raw_readl(EXYNOS5_MASK_WDTRESET_REQUEST);
|
|
|
+ value &= ~EXYNOS5_SYS_WDTRESET;
|
|
|
+ __raw_writel(value, EXYNOS5_MASK_WDTRESET_REQUEST);
|
|
|
+
|
|
|
exynos_pmu_config = exynos5250_pmu_config;
|
|
|
pr_info("EXYNOS5250 PMU Initialize\n");
|
|
|
} else {
|